fix: 前后端交互数据出现问题处理

master
Chopper711 2023-09-27 07:07:22 +08:00
parent f968f3d20d
commit 7152e339e5
2 changed files with 5 additions and 1 deletions

View File

@ -368,6 +368,8 @@ export default {
if (params.row.applyStatus === 'APPLY') { if (params.row.applyStatus === 'APPLY') {
return h('div', [h('span', {}, '申请中')]); return h('div', [h('span', {}, '申请中')]);
} else if (params.row.applyStatus === 'VIA_AUDITING') { } else if (params.row.applyStatus === 'VIA_AUDITING') {
return h('div', [h('span', {}, '审核通过')]);
} else if (params.row.applyStatus === 'SUCCESS') {
return h('div', [h('span', {}, '提现成功')]); return h('div', [h('span', {}, '提现成功')]);
} else if (params.row.applyStatus === 'ERROR') { } else if (params.row.applyStatus === 'ERROR') {
return h('div', [h('span', {}, '提现失败')]); return h('div', [h('span', {}, '提现失败')]);

View File

@ -9,8 +9,10 @@
<Form-item label="审核状态" prop="applyStatus"> <Form-item label="审核状态" prop="applyStatus">
<Select v-model="searchForm.applyStatus" clearable style="width: 200px"> <Select v-model="searchForm.applyStatus" clearable style="width: 200px">
<Option value="APPLY">申请中</Option> <Option value="APPLY">申请中</Option>
<Option value="VIA_AUDITING">审核通过(提现成功)</Option> <Option value="VIA_AUDITING">审核通过</Option>
<Option value="FAIL_AUDITING">审核拒绝</Option> <Option value="FAIL_AUDITING">审核拒绝</Option>
<Option value="SUCCESS">提现成功</Option>
<Option value="ERROR">提现失败</Option>
</Select> </Select>
</Form-item> </Form-item>
<Form-item label="申请时间"> <Form-item label="申请时间">