diff --git a/src/api/modules/capital/rechargeCheck.ts b/src/api/modules/capital/rechargeCheck.ts index 137cda9..49c2266 100644 --- a/src/api/modules/capital/rechargeCheck.ts +++ b/src/api/modules/capital/rechargeCheck.ts @@ -8,3 +8,8 @@ export const getRechargeCheckListApi = (params: any) => { export const reviewRechargeOrder = (params: any) => { return request.post('/user/reviewRechargeOrder', { ...params }) } + +// 获取充值渠道选项(下拉框用) +export const getRechargeChannelOptions = () => { + return request.get('/user/rechargeChannelOptions', undefined, { showMessage: false }) +} diff --git a/src/api/modules/capital/withdraw.ts b/src/api/modules/capital/withdraw.ts index 4997dc0..c190297 100644 --- a/src/api/modules/capital/withdraw.ts +++ b/src/api/modules/capital/withdraw.ts @@ -1,5 +1,10 @@ import { request } from '@/api' +// 获取取款渠道选项(下拉框用) +export const getWithdrawChannelOptions = () => { + return request.get('/withdraw/withdrawChannelOptions', undefined, { showMessage: false }) +} + // 获取用户钱包信息 export const getWalletCapital = () => { return request.get('/user/getWalletCapital', undefined, { showMessage: false }) @@ -53,6 +58,7 @@ export const getWithdrawReviewList = (params: { start_time?: string end_time?: string user_name?: string + channel_id?: number }) => { return request.get('/withdraw/withdrawReviewList', params as any) } diff --git a/src/views/capital/fundFlow/options.ts b/src/views/capital/fundFlow/options.ts index a2b5aec..6e5bbe0 100644 --- a/src/views/capital/fundFlow/options.ts +++ b/src/views/capital/fundFlow/options.ts @@ -59,22 +59,23 @@ export const tableColumns = [ // 用户名 { prop: 'username', label: '用户名' }, //单号 - { prop: 'orderNo', label: '单号' }, - { prop: 'account_id', label: '子账号' }, + { prop: 'orderNo', label: '单号' , width:'200' }, + { prop: 'account_id', label: '子账号'}, //操作类型 - { prop: 'type', label: '操作类型' }, + { prop: 'type', label: '操作类型', width:'120' }, //资金流向 // { prop: 'fundDirection', label: '资金流向' }, //原有金额 - { prop: 'amount', label: '变动金额', isNumber: true }, + { prop: 'amount', label: '变动金额', isNumber: true , width:'120' }, + { prop: 'description', label: '描述', isNumber: true , width:'120'}, //余额变动 - { prop: 'balance', label: '变动后余额' , isNumber: true}, + { prop: 'balance', label: '变动后余额' , isNumber: true, width:'120' }, //现有余额 // { prop: 'currentBalance', label: '现有余额' }, //状态 // { prop: 'status', label: '状态' }, //创建时间 - { prop: 'createTime', label: '创建时间' }, + { prop: 'createTime', label: '创建时间' , width:'180' }, //钱包类型 - { prop: 'walletType', label: '钱包类型' }, + { prop: 'walletType', label: '钱包类型', width:'120' }, ] \ No newline at end of file diff --git a/src/views/capital/rechangeCheck/index.vue b/src/views/capital/rechangeCheck/index.vue index d6ab041..77c43fa 100644 --- a/src/views/capital/rechangeCheck/index.vue +++ b/src/views/capital/rechangeCheck/index.vue @@ -2,12 +2,18 @@