fix: 修复表单功能按钮布局问题
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
CI / CI OK (push) Has been cancelled
Lock Threads / action (push) Has been cancelled
Issue Close Require / close-issues (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled

This commit is contained in:
2025-09-02 10:18:06 +08:00
parent c2e95ad60b
commit f7c8dd71ce
4 changed files with 23 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ const [Modal, modalApi] = useVbenModal({
modalApi.close();
},
onConfirm: async () => {
modalApi.setState({ loading: true, confirmLoading: true });
// modalApi.setState({ loading: true, confirmLoading: true });
gridApi.value?.reload();
modalApi.close();
},

View File

@@ -30,7 +30,7 @@ const [Modal, modalApi] = useVbenModal({
modalApi.close();
},
onConfirm: async () => {
modalApi.setState({ loading: true, confirmLoading: true });
// modalApi.setState({ loading: true, confirmLoading: true });
gridApi.value?.reload();
modalApi.close();
},

View File

@@ -36,9 +36,21 @@ export const gridOptions: VxeGridProps<RowType> = {
{ field: 'charge_cash', title: '手续费' },
{ field: 'apply_time', title: '申请时间' },
{ field: 'check_id', title: '审核人', slots: { default: 'check_id' } },
{ field: 'check_status', title: '审核状态', slots: { default: 'check_status'} },
{ field: 'check_result', title: '审核结果', slots: { default: 'check_result'} },
{ field: 'dakuan_status', title: '打款状态' },
{
field: 'check_status',
title: '审核状态',
slots: { default: 'check_status' },
},
{
field: 'check_result',
title: '审核结果',
slots: { default: 'check_result' },
},
{
field: 'dakuan_status',
title: '打款状态',
slots: { default: 'dakuan_status' },
},
{ field: 'dakuan_time', title: '打款时间' },
{ field: 'created_at', title: '注册时间' },
{ type: 'html', title: '操作', slots: { default: 'action' } },

View File

@@ -63,8 +63,13 @@ const chartTabs = [
{{ row.check_result }}
</Tag>
</template>
<template #dakuan_status="{ row }">
<span v-if="row.dakuan_status === -1">打款失败</span>
<span v-else-if="row.dakuan_status === 0">处理中</span>
<span v-else-if="row.dakuan_status === 1">打款成功</span>
</template>
<template #check_id="{ row }">
<span>{{ row.check_admin?.username || '暂无' }}</span>
<span>{{ row.check_admin?.username || row.check_admin?.nick_name || '暂无' }}</span>
</template>
<template #action="{ row }">
<TableAction