diff --git a/src/views/match/manage/work.vue b/src/views/match/manage/work.vue index c36b6b3..7d74b26 100644 --- a/src/views/match/manage/work.vue +++ b/src/views/match/manage/work.vue @@ -405,9 +405,16 @@ const columns = reactive([ el: 'select', }, enum: [ - { label: '个人报名', value: 0 }, - { label: '团队报名', value: 1 }, + { label: '个人报名', value: 1 }, + { label: '团队报名', value: 2 }, ], + customRender: ({ text }) => { + const modeMap = { + 1: '个人报名', + 2: '团队报名' + }; + return modeMap[text] || text; + } }, { width: '120px', @@ -426,6 +433,9 @@ const columns = reactive([ { label: '是', value: true }, { label: '否', value: false }, ], + customRender: ({ text }) => { + return text ? '已上传' : '未上传'; + } }, { width: '120px', @@ -435,10 +445,18 @@ const columns = reactive([ el: 'select', }, enum: [ - { label: '线上', value: 0 }, { label: '线下', value: 1 }, + { label: '线上', value: 2 }, { label: '全部', value: '' }, ], + customRender: ({ record }) => { + const methodMap = { + 0: '未选择', + 1: '线下', + 2: '线上' + }; + return methodMap[record.paymentMethod] || '未知'; + } }, { width: '120px', prop: 'paymentStatus', label: '支付状态', @@ -451,10 +469,32 @@ const columns = reactive([ { label: '待审核', value: 2 }, { label: '全部', value: '' }, ], + customRender: ({ text }) => { + const statusMap = { + 0: '未支付', + 1: '已支付', + 2: '待审核', + 3: '支付失败', + 4: '已退款' + }; + return statusMap[text] || '未知'; + } + }, + { width: '150px', prop: 'teamLeaderInfo', label: '领队信息', + customRender: ({ text }) => { + return text || '-'; + } + }, + { width: '150px', prop: 'coachInfo', label: '教练信息', + customRender: ({ text }) => { + return text || '-'; + } + }, + { width: '120px', prop: 'orderNo', label: '订单信息', + customRender: ({ text }) => { + return text || '-'; + } }, - { width: '120px', prop: 'teamLeaderInfo', label: '领队信息', }, - { width: '120px', prop: 'coachInfo', label: '教练信息', }, - { width: '120px', prop: 'orderNo', label: '订单信息', }, { width: '120px', prop: 'paymentProofUrl', label: '付款凭证', }, { width: '120px',