Forráskód Böngészése

盖章加等待框

peixh 3 éve
szülő
commit
a3278528df

+ 7 - 0
front-vue/src/views/service/financeRecord/recordSeal.vue

@@ -729,7 +729,13 @@ export default {
     },
     //盖章
     contractSigning(){
+        const loading = this.$loading({
+            lock: true,
+            text: 'Loading',
+            background: 'rgba(0, 0, 0,0)'
+        });
          contractSigning(this.zcFinanceInf).then((response) => {
+             loading.close();
                 this.msgSuccess("盖章成功");
                 if(this.zfpAuthType == '02'){
                     //关闭短信验证
@@ -744,6 +750,7 @@ export default {
                 );
                 this.$router.go(-1);
             }).catch((response) => {
+                loading.close();
             });
     }