|
@@ -98,12 +98,12 @@
|
|
|
</Cell>
|
|
</Cell>
|
|
|
<Cell is-link :to="{ name: 'bank-sign' }" v-if="authStatus === AuthStatus.Certified && hasSignContract">
|
|
<Cell is-link :to="{ name: 'bank-sign' }" v-if="authStatus === AuthStatus.Certified && hasSignContract">
|
|
|
<template #title>
|
|
<template #title>
|
|
|
- <Iconfont icon="g-icon-sign">签约账户</Iconfont>
|
|
|
|
|
|
|
+ <Iconfont icon="g-icon-sign">银行签约</Iconfont>
|
|
|
</template>
|
|
</template>
|
|
|
</Cell>
|
|
</Cell>
|
|
|
<Cell is-link :to="{ name: 'account-protocol', query: { memberUserId: getMemberUserId()} }" v-if="userStore.userType != 2 && authStatus === AuthStatus.Certified">
|
|
<Cell is-link :to="{ name: 'account-protocol', query: { memberUserId: getMemberUserId()} }" v-if="userStore.userType != 2 && authStatus === AuthStatus.Certified">
|
|
|
<template #title>
|
|
<template #title>
|
|
|
- <Iconfont icon="g-icon-order--line">合同签署</Iconfont>
|
|
|
|
|
|
|
+ <Iconfont icon="g-icon-order--line">入市协议</Iconfont>
|
|
|
</template>
|
|
</template>
|
|
|
</Cell>
|
|
</Cell>
|
|
|
<Cell is-link :to="{ name: 'mine-profile' }">
|
|
<Cell is-link :to="{ name: 'mine-profile' }">
|
|
@@ -189,21 +189,12 @@ const doInOutMoney = (tab: string) => {
|
|
|
showCancelButton: true,
|
|
showCancelButton: true,
|
|
|
confirmButtonText: '去签署合同'
|
|
confirmButtonText: '去签署合同'
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
- router.push({ name: 'account-protocol', query: { memberUserId: getMemberUserId()} })
|
|
|
|
|
|
|
+ /// 只有已签约的情况下才可以进行出入金
|
|
|
|
|
+ goToBank(signstatus, tab)
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|
|
|
/// 只有已签约的情况下才可以进行出入金
|
|
/// 只有已签约的情况下才可以进行出入金
|
|
|
- if (signstatus && signstatus === 4) {
|
|
|
|
|
- router.push({ name: 'bank-wallet', query: { tab } })
|
|
|
|
|
- } else {
|
|
|
|
|
- dialog({
|
|
|
|
|
- message: '请先添加签约账户信息!',
|
|
|
|
|
- showCancelButton: true,
|
|
|
|
|
- confirmButtonText: '去签约'
|
|
|
|
|
- }).then(() => {
|
|
|
|
|
- router.push({ name: 'bank-sign' })
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ goToBank(signstatus, tab)
|
|
|
}
|
|
}
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
|
hideLoading('加载失败', 'fail')
|
|
hideLoading('加载失败', 'fail')
|
|
@@ -220,6 +211,21 @@ const doInOutMoney = (tab: string) => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+const goToBank = (signstatus: number, tab: string) => {
|
|
|
|
|
+ /// 只有已签约的情况下才可以进行出入金
|
|
|
|
|
+ if (signstatus && signstatus === 4) {
|
|
|
|
|
+ router.push({ name: 'bank-wallet', query: { tab } })
|
|
|
|
|
+ } else {
|
|
|
|
|
+ dialog({
|
|
|
|
|
+ message: '请先添加签约账户信息!',
|
|
|
|
|
+ showCancelButton: true,
|
|
|
|
|
+ confirmButtonText: '去签约'
|
|
|
|
|
+ }).then(() => {
|
|
|
|
|
+ router.push({ name: 'bank-sign' })
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
const userLogout = () => {
|
|
const userLogout = () => {
|
|
|
dialog({
|
|
dialog({
|
|
|
message: '是否退出当前账号?',
|
|
message: '是否退出当前账号?',
|