|
|
@@ -41,8 +41,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="button">
|
|
|
- <Button size="small" @click="doInOutMoney" round>提现</Button>
|
|
|
- <Button type="primary" size="small" color="#00577C" @click="doInOutMoney" round>充值</Button>
|
|
|
+ <Button size="small" @click="doInOutMoney('1')" round>提现</Button>
|
|
|
+ <Button type="primary" size="small" color="#00577C" @click="doInOutMoney('0')" round>充值</Button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -141,20 +141,16 @@ const onReady = (el: HTMLDivElement) => {
|
|
|
}
|
|
|
|
|
|
/// 进行出入金操作判断
|
|
|
-const doInOutMoney = (active: number) => {
|
|
|
+const doInOutMoney = (tab: string) => {
|
|
|
|
|
|
console.log('xxxx', dataList.value)
|
|
|
/// 当前未签约
|
|
|
- if (dataList.value.length === 0 || dataList.value[0].signstatus === 1 ) {
|
|
|
+ if (dataList.value.length === 0 || dataList.value[0].signstatus === 1) {
|
|
|
dialog('当前未签约,请先进行账户签约才进行出入金操作')
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- if (active == 0) {
|
|
|
- router.push({ name: 'bank-wallet', query: { tab: '0' } })
|
|
|
- } else {
|
|
|
- router.push({ name: 'bank-wallet', query: { tab: '1' } })
|
|
|
- }
|
|
|
+ router.push({ name: 'bank-wallet', query: { tab } })
|
|
|
}
|
|
|
|
|
|
// 检查是否已实名认证
|