Ver código fonte

盖章增加等待框

xuefy 4 anos atrás
pai
commit
b5fcc2bbf6
1 arquivos alterados com 8 adições e 1 exclusões
  1. 8 1
      front-vue/src/views/service/credit/creditSeal.vue

+ 8 - 1
front-vue/src/views/service/credit/creditSeal.vue

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