This commit is contained in:
parent
1f165d28e2
commit
e84f864229
|
|
@ -266,7 +266,7 @@ onMounted(() => {
|
|||
const handleCommand = (command: string) => {
|
||||
switch (command) {
|
||||
case 'profile':
|
||||
router.push('/profile/personal-center')
|
||||
router.push('/profile/personalCenter')
|
||||
break
|
||||
case 'password':
|
||||
router.push('/user/change-password')
|
||||
|
|
|
|||
|
|
@ -10,23 +10,23 @@
|
|||
<div class="wallet-grid">
|
||||
<div class="wallet-item">
|
||||
<span class="wallet-label">{{ t('withdraw.wallet.feeHandling') }}</span>
|
||||
<span class="wallet-value">{{ walletInfo.commission_fee_handling || '0.00'}}</span>
|
||||
<span class="wallet-value">{{ walletInfo.commission_fee_handling || '0.00' }}</span>
|
||||
</div>
|
||||
<div class="wallet-item">
|
||||
<span class="wallet-label">{{ t('withdraw.wallet.pointDiff') }}</span>
|
||||
<span class="wallet-value">{{ walletInfo.commission_point_diff || '0.00'}}</span>
|
||||
<span class="wallet-value">{{ walletInfo.commission_point_diff || '0.00' }}</span>
|
||||
</div>
|
||||
<div class="wallet-item">
|
||||
<span class="wallet-label">{{ t('withdraw.wallet.service') }}</span>
|
||||
<span class="wallet-value">{{ walletInfo.service || '0.00'}}</span>
|
||||
<span class="wallet-value">{{ walletInfo.service || '0.00' }}</span>
|
||||
</div>
|
||||
<div class="wallet-item" v-if="showRiskFee">
|
||||
<span class="wallet-label">{{ t('withdraw.wallet.risk') }}</span>
|
||||
<span class="wallet-value">{{ walletInfo.risk || '0.00'}}</span>
|
||||
<span class="wallet-value">{{ walletInfo.risk || '0.00' }}</span>
|
||||
</div>
|
||||
<div class="wallet-item">
|
||||
<span class="wallet-label">{{ t('withdraw.wallet.profit') }}</span>
|
||||
<span class="wallet-value">{{ walletInfo.closing_profit || '0.00'}}</span>
|
||||
<span class="wallet-value">{{ walletInfo.closing_profit || '0.00' }}</span>
|
||||
</div>
|
||||
<div class="wallet-item" v-if="roleId >= 5">
|
||||
<span class="wallet-label">{{ t('withdraw.wallet.available') }}</span>
|
||||
|
|
@ -145,7 +145,7 @@
|
|||
<div class="dialog-footer">
|
||||
<el-button @click="handleBack">{{ t('common.cancel') }}</el-button>
|
||||
<el-button type="primary" :loading="submitLoading" @click="handleSubmit">{{ t('withdraw.dialog.confirmWithdraw')
|
||||
}}</el-button>
|
||||
}}</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</Dialog>
|
||||
|
|
@ -405,7 +405,7 @@ const initData = async () => {
|
|||
if (res) {
|
||||
walletInfo.value = {
|
||||
commission_fee_handling: res.commission_fee_handling || '0',
|
||||
commission_point_diff: res.commission_point_diff || '0',
|
||||
commission_point_diff: ''+(res.commission_point_diff - res.freeze||0) || '0',
|
||||
service: res.service || '0',
|
||||
risk: res.risk || '0',
|
||||
closing_profit: res.closing_profit || '0',
|
||||
|
|
|
|||
Loading…
Reference in New Issue