From 529d0b8982cf30f57ba7e366c0f822c1d82c0b69 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 07 五月 2024 13:37:27 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/1.0.1' into 1.0.1

---
 company/src/components/business/OperaApplyChangeDetailWindow.vue |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/company/src/components/business/OperaApplyChangeDetailWindow.vue b/company/src/components/business/OperaApplyChangeDetailWindow.vue
index 556fc19..ee7b975 100644
--- a/company/src/components/business/OperaApplyChangeDetailWindow.vue
+++ b/company/src/components/business/OperaApplyChangeDetailWindow.vue
@@ -25,7 +25,7 @@
                       <template v-if="userInfo.type === 1">
                           <el-button type="primary"  v-if="[5,8].includes(model.status)"  @click="$refs.reinsurance.open('鍔犲噺淇濈敵璇�', {id: dataId, applyChangId: modelId})">鍐嶆鎶曚繚</el-button>
                         <el-button type="primary"  @click="$refs.ApplyChangeDetails.open('鍔犲噺淇濊鍗�',apply,model,0)">瀵煎嚭璇﹀崟</el-button>
-                        <el-button type="primary" v-if="model.status == 0" @click="getSignLink(0)">绛剧讲鐢宠鍗�</el-button>
+                        <el-button type="primary" v-if="model.status == 0" :disabled="loading" :loading="loading" @click="getSignLink(0)">绛剧讲鐢宠鍗�</el-button>
                         <el-button v-if="[0, 1, 3, 7].includes(model.status) && model.solutionType == 0" type="danger" @click="$refs.add_subtract_return.open('鐢宠閫�鍥�', { id: modelId })">鐢宠閫�鍥�</el-button>
                         <el-button v-if="[1,2,4,7,9].includes(model.status)" type="primary" @click="viewApplyFile">鏌ョ湅鐢宠鍗�</el-button>
                           <el-button v-if="model.status == 2" type="primary" @click="viewPidan">鏌ョ湅鎵瑰崟</el-button>
@@ -307,7 +307,8 @@
         list: [],
       activeName: '0',
         total: 0,
-      currentPage: 1
+      currentPage: 1,
+        loading: false
     }
   },
   created () {
@@ -354,10 +355,18 @@
     getSignLink (flag) {
         this.signTitle = '绛剧讲鐢宠鍗�'
       this.form.type = flag
-      this.visiblePhone = true
-      this.$nextTick(() => {
-        this.$refs.form.resetFields()
-      });
+        this.loading = true
+        getChangeMemberListOnlineSignLink(this.form).then(res => {
+            this.loading = false
+            window.open(res)
+        }).catch(err => {
+            this.loading = false
+            this.$tip.apiFailed(err)
+        })
+      // this.visiblePhone = true
+      // this.$nextTick(() => {
+      //   this.$refs.form.resetFields()
+      // });
     },
     goSignDo(){
       this.$refs.form.validate((valid) => {

--
Gitblit v1.9.3