From a0b5604fcefa0c7900ecc50830b718f77bba8f39 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 15 七月 2022 14:43:40 +0800
Subject: [PATCH] add cluster pwd

---
 src/views/productDetail/components/ConfirmOrder.vue |   71 ++++++-----------------------------
 1 files changed, 12 insertions(+), 59 deletions(-)

diff --git a/src/views/productDetail/components/ConfirmOrder.vue b/src/views/productDetail/components/ConfirmOrder.vue
index 33045aa..3fde954 100644
--- a/src/views/productDetail/components/ConfirmOrder.vue
+++ b/src/views/productDetail/components/ConfirmOrder.vue
@@ -30,13 +30,13 @@
                     >{{ item + " " }}</span
                   >
                 </p>
-                <p>
+                <p v-if="scope.row.ChCount">
                   閫氶亾鏁伴噺锛�
-                  <span>{{ scope.row.chCount || 0 }}</span>
+                  <span>{{ scope.row.ChCount }}</span>
                 </p>
-                <p>
+                <p v-if="scope.row.authCount">
                   鎺堟潈鏁伴噺锛�
-                  <span>{{ scope.row.authCount || 0 }}</span>
+                  <span>{{ scope.row.authCount }}</span>
                 </p>
                 <p v-if="scope.row.sdkNames.length > 0">
                   绠楁硶锛�
@@ -46,6 +46,7 @@
                     >{{ item + " " }}</span
                   >
                 </p>
+
                 <p>
                   鏈嶅姟鏃堕暱锛�
                   <span>{{ scope.row.serveYear + "骞�" }}</span>
@@ -126,60 +127,6 @@
       <div class="btns">
         <el-button @click="onlinePayVisible = false">杩斿洖</el-button>
         <el-button type="primary" @click="assureOnlinePay">瀹屾垚鏀粯</el-button>
-      </div>
-    </el-dialog>
-    <el-dialog
-      class="offpay-instruct-dialog"
-      :visible="offPayInstruVisible"
-      :show-close="true"
-      @close="offPayInstruVisible = false"
-    >
-      <div slot="title" class="dialog-title">绾夸笅姹囨璇存槑</div>
-      <div class="offPay-instruct">
-        <h5>璇峰皢娆鹃」姹囧叆浠ヤ笅閾惰璐︽埛锛�</h5>
-        <ul>
-          <li><label>寮�鎴烽摱琛岋細</label>鍖椾含閾惰澶槼瀹敮琛�</li>
-          <li><label>璐� 鍙凤細</label>2000 0031 2025 0000 9136 746</li>
-          <li><label>寮�鎴疯琛屽彿锛�</label>313100001792</li>
-          <li>
-            <label>娆鹃」锛�</label>
-            <span class="main-color">{{ sum }}鍏�</span>
-          </li>
-        </ul>
-        <div class="dash-line"></div>
-        <ul class="userinfo">
-          <li>
-            <label>鎮ㄧ殑鐧诲綍鐢ㄦ埛鍚嶏細</label>
-            {{ this.username }}
-          </li>
-          <li>
-            <label>鎮ㄧ殑璁㈠崟鍙凤細</label>
-            {{ orderId }}
-          </li>
-        </ul>
-        <div class="attentions">
-          <p class="title">娉ㄦ剰浜嬮」锛�</p>
-          <p>1銆佽鍦ㄨ浆璐︽椂鍔″繀鎻愪緵鐢ㄦ埛鍚嶅拰璁㈠崟缂栧彿锛�</p>
-          <p>
-            2銆佽浆璐﹀悗锛岃鍔″繀鐐瑰嚮鈥滄敮浠樺畬鎴�/涓婁紶鍑瘉鈥濇彁浜よ浆璐︿俊鎭紝浠ヤ究璐㈠姟纭锛岃储鍔$‘璁ゆ椂闂翠负鎻愪氦鍚庣殑1-3涓伐浣滄棩锛�
-          </p>
-          <p>3銆佹偍鍙互鍦ㄢ�滄垜鐨勮鍗曗�濈偣鍑汇�愭彁浜や粯娆惧嚟璇併�戯紝鏌ョ湅鏈〉涓殑鍐呭</p>
-        </div>
-        <div class="btns text-center">
-          <el-button
-            class="btn-cancle"
-            @click="offPayInstruVisible = false"
-            style="margin-right: 20px"
-            >鍙栨秷</el-button
-          >
-          <router-link
-            :to="`/Layout/ManageOrder?confirmOrder=offPay&orderId=${orderId}`"
-          >
-            <el-button class="btn-assure" type="primary"
-              >鏀粯瀹屾垚/涓婁紶鍑瘉</el-button
-            >
-          </router-link>
-        </div>
       </div>
     </el-dialog>
 
@@ -272,7 +219,13 @@
       if (this.orderInfo.orderMoney == 0) {
         resumePay({ orderId, payMethod: 5 }).then((res) => {
           if (res.success) {
-            //  this.$router.replace("/Layout/ManageOrder");
+            this.$router.push("/trialCenter");
+            this.$notify({
+              type: "success",
+              message: "鎴愬姛璇曠敤",
+              duration: 2500,
+              offset: 57,
+            });
           }
         });
         return;

--
Gitblit v1.8.0