li.shaoyi 1 rok temu
rodzic
commit
d8963a14a7
1 zmienionych plików z 18 dodań i 18 usunięć
  1. 18 18
      src/packages/zrwyt/views/mine/Index.vue

+ 18 - 18
src/packages/zrwyt/views/mine/Index.vue

@@ -102,7 +102,7 @@
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'account-protocol', query: { memberUserId: getMemberUserId() } }"
-                    v-if="userStore.userType != 2 && authStatus === AuthStatus.Certified">
+                    v-if="userStore.userType != 2 && authStatus === AuthStatus.Certified && currentAccount.signstatus !== 4">
                     <template #title>
                         <Iconfont icon="g-icon-order--line">入市协议</Iconfont>
                     </template>
@@ -168,7 +168,7 @@ const { currentAccount } = accountStore.$toRefs()
 const hasSignContract = shallowRef(false)
 const headerRef = shallowRef<HTMLDivElement>()
 // 实名认证状态
-const authStatus = computed(() => userStore.userAccount.hasauth) 
+const authStatus = computed(() => userStore.userAccount.hasauth)
 
 const onReady = (el: HTMLDivElement) => {
     // 设置背景图位置
@@ -186,22 +186,22 @@ const doInOutMoney = (tab: string) => {
                 /// 判断当前有签约
                 if (signstatus && signstatus === 4) {
                     /// 已实名未签合同
-                    if (!hasSignContract.value) {
-                        dialog({
-                            message: '根据平台规定,请先通过《入市协议》签署协议,谢谢!',
-                            showCancelButton: true,
-                            cancelButtonText: '暂不签署',
-                            confirmButtonText: '立即签署'
-                        })
-                        .then(() => {
-                            router.push({ name: 'account-protocol', query: { memberUserId: getMemberUserId()} })
-                        })
-                        .catch(() => {
-                            router.push({ name: 'bank-wallet', query: { tab } })
-                        })
-                    } else {
+                    // if (!hasSignContract.value) {
+                    //     dialog({
+                    //         message: '根据平台规定,请先通过《入市协议》签署协议,谢谢!',
+                    //         showCancelButton: true,
+                    //         cancelButtonText: '暂不签署',
+                    //         confirmButtonText: '立即签署'
+                    //     })
+                    //         .then(() => {
+                    //             router.push({ name: 'account-protocol', query: { memberUserId: getMemberUserId() } })
+                    //         })
+                    //         .catch(() => {
+                    //             router.push({ name: 'bank-wallet', query: { tab } })
+                    //         })
+                    // } else {
                         router.push({ name: 'bank-wallet', query: { tab } })
-                    }
+                    // }
                 } else {
                     /// 未签约
                     if (!hasSignContract.value) {
@@ -211,7 +211,7 @@ const doInOutMoney = (tab: string) => {
                             cancelButtonText: '关闭',
                             confirmButtonText: '立即签署'
                         }).then(() => {
-                            router.push({ name: 'account-protocol', query: { memberUserId: getMemberUserId()} })
+                            router.push({ name: 'account-protocol', query: { memberUserId: getMemberUserId() } })
                         })
                     } else {
                         dialog({