소스 검색

实名认证

panhui 4 년 전
부모
커밋
a3bcf67816
2개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      src/main/comos/src/views/account/Verified.vue
  2. 8 0
      src/main/nine-space/src/views/account/Verified.vue

+ 8 - 0
src/main/comos/src/views/account/Verified.vue

@@ -157,6 +157,10 @@ export default {
             this.$refs.form
             this.$refs.form
                 .validate()
                 .validate()
                 .then(() => {
                 .then(() => {
+                    this.$toast.loading({
+                        message: '加载中...',
+                        forbidClick: true
+                    });
                     let form = { ...this.form };
                     let form = { ...this.form };
                     form.userId = this.userInfo.id;
                     form.userId = this.userInfo.id;
                     form.status = 'PENDING';
                     form.status = 'PENDING';
@@ -166,7 +170,11 @@ export default {
                             ...form
                             ...form
                         })
                         })
                         .then(() => {
                         .then(() => {
+                            this.$toast.clear();
                             this.$router.replace('/Waiting');
                             this.$router.replace('/Waiting');
+                        })
+                        .catch(() => {
+                            this.$toast.clear();
                         });
                         });
                 })
                 })
                 .catch(() => {
                 .catch(() => {

+ 8 - 0
src/main/nine-space/src/views/account/Verified.vue

@@ -157,6 +157,10 @@ export default {
             this.$refs.form
             this.$refs.form
                 .validate()
                 .validate()
                 .then(() => {
                 .then(() => {
+                    this.$toast.loading({
+                        message: '加载中...',
+                        forbidClick: true
+                    });
                     let form = { ...this.form };
                     let form = { ...this.form };
                     form.userId = this.userInfo.id;
                     form.userId = this.userInfo.id;
                     form.status = 'PENDING';
                     form.status = 'PENDING';
@@ -166,7 +170,11 @@ export default {
                             ...form
                             ...form
                         })
                         })
                         .then(() => {
                         .then(() => {
+                            this.$toast.clear();
                             this.$router.replace('/Waiting');
                             this.$router.replace('/Waiting');
+                        })
+                        .catch(() => {
+                            this.$toast.clear();
                         });
                         });
                 })
                 })
                 .catch(() => {
                 .catch(() => {