xuqiang 4 年之前
父節點
當前提交
6b3f67358c
共有 1 個文件被更改,包括 16 次插入2 次删除
  1. 16 2
      src/main/nine-space/src/views/asset/Detail.vue

+ 16 - 2
src/main/nine-space/src/views/asset/Detail.vue

@@ -455,7 +455,14 @@ export default {
                             }, 1000);
                         });
                 }
-            } else {
+            } else if (this.userInfo.authStatus === 'PENDING' || this.userInfo.authStatus === 'FAIL') {
+                Dialog.confirm({
+                    title: '认证信息',
+                    message: '用户认证中,是否查看认证'
+                }).then(() => {
+                    this.$router.push('/waiting');
+                });
+            } else if (this.userInfo.authStatus === 'NOT_AUTH') {
                 Dialog.confirm({
                     title: '认证信息',
                     message: '用户未认证,是否立即认证'
@@ -467,7 +474,14 @@ export default {
         Add() {
             if (this.userInfo.authStatus === 'SUCCESS') {
                 this.$router.push('/giveSearch?id=' + this.info.id);
-            } else {
+            } else if (this.userInfo.authStatus === 'PENDING' || this.userInfo.authStatus === 'FAIL') {
+                Dialog.confirm({
+                    title: '认证信息',
+                    message: '用户认证中,是否查看认证'
+                }).then(() => {
+                    this.$router.push('/waiting');
+                });
+            } else if (this.userInfo.authStatus === 'NOT_AUTH') {
                 Dialog.confirm({
                     title: '认证信息',
                     message: '用户未认证,是否立即认证'