Explorar el Código

盖章加等待框

peixh hace 3 años
padre
commit
a3278528df
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      front-vue/src/views/service/financeRecord/recordSeal.vue

+ 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();
             });
     }