From ff95e73d12418ee4b1e400eaceac3d4d623f85b6 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期五, 29 三月 2024 18:44:04 +0800
Subject: [PATCH] 提交一把

---
 company/src/components/business/OperaWtbApplyShopWindow.vue |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/company/src/components/business/OperaWtbApplyShopWindow.vue b/company/src/components/business/OperaWtbApplyShopWindow.vue
index d7ad881..ff5a3a5 100644
--- a/company/src/components/business/OperaWtbApplyShopWindow.vue
+++ b/company/src/components/business/OperaWtbApplyShopWindow.vue
@@ -448,7 +448,7 @@
             <div style="width: 100%; display: flex; align-items: center;">
               <el-input v-model="form.code" placeholder="璇疯緭鍏�" v-trim/>
               <el-button type="primary" style="margin-left: 15px;" @click="send" v-if="num === 0">鍙戦�侀獙璇佺爜</el-button>
-              <el-button type="primary" style="margin-left: 15px;" v-else>{{num}}</el-button>
+              <el-button type="primary" style="margin-left: 15px;" v-else>{{num}}s</el-button>
             </div>
           </el-form-item>
         </el-form>
@@ -612,22 +612,25 @@
         if(this.form.type===0){
           getSignTBQRSLink(this.form).then(res => {
             setTimeout(() => {
+              this.visiblePhone=false
               window.open(res)
             }, 500)
           }).catch(err => {
             this.$tip.apiFailed(err)
           })
-        } else if (flag === 1) {
+        } else if (this.form.type === 1) {
           getMemberListOnlineSignLink(this.form).then(res => {
             setTimeout(() => {
+              this.visiblePhone=false
               window.open(res)
             }, 500)
           }).catch(err => {
             this.$tip.apiFailed(err)
           })
-        } else if (flag === 2) {
+        } else if (this.form.type === 2) {
           getSignLink(this.dataId).then(res => {
             setTimeout(() => {
+              this.visiblePhone=false
               window.open(res)
             }, 500)
           }).catch(err => {
@@ -638,7 +641,7 @@
     },
     send () {
       sendSms({
-        phone: this.form1.phone
+        phone: this.form.phone
       }).then(res => {
         this.num = 60
         this.setTime()
@@ -863,13 +866,13 @@
       }
     },
     viewFanganshu () {
-      if (this.model.baoxiandanFile && this.model.baoxiandanFile.fileurlFull) {
-        window.open(this.model.baoxiandanFile.fileurlFull)
+      if (this.model.fanganFile && this.model.fanganFile.fileurlFull) {
+        window.open(this.model.fanganFile.fileurlFull)
       }
     },
     viewShenqingdan () {
-      if (this.model.baoxiandanFile && this.model.baoxiandanFile.fileurlFull) {
-        window.open(this.model.baoxiandanFile.fileurlFull)
+      if (this.model.shenqingdanFile && this.model.shenqingdanFile.fileurlFull) {
+        window.open(this.model.shenqingdanFile.fileurlFull)
       }
     },
     handleSizeChange (val) {

--
Gitblit v1.9.3