feat: 更新沃尔玛账户和分组管理界面,调整卡片标题和表格布局

This commit is contained in:
danial
2025-04-29 11:02:45 +08:00
parent 2a24627ccf
commit 3d873344ce
3 changed files with 8 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="container">
<Breadcrumb :items="['充值账户管理', '列表/统计']" />
<a-card class="general-card" title="沃尔玛Cookie管理">
<a-card class="general-card" title="列表/统计">
<template #extra>
<a-radio-group v-model="state.module" type="button">
<a-radio value="list">列表</a-radio>

View File

@@ -236,6 +236,7 @@ export default defineComponent({
</Row>
</Space>
</Row>
<Divider style='margin-top: 0' />
<Table
columns={columns}
data={tableData.value}

View File

@@ -70,7 +70,6 @@ export default defineComponent({
title: '分组名称',
dataIndex: 'groupName',
render({ record }) {
console.log(record.groupName);
return record.groupName || '未分组';
}
},
@@ -195,7 +194,11 @@ export default defineComponent({
<FormItem field='userId' label='创建人'>
<Select v-model={formModel.value.userId}>
{userList.value.map(item => (
<Option key={item.id} value={item.userName} />
<Option
key={item.id}
value={item.id}
label={item.userName}
/>
))}
</Select>
</FormItem>
@@ -244,6 +247,7 @@ export default defineComponent({
</Row>
</Space>
</Row>
<Divider style='margin-top: 0' />
<Table
columns={columns}
data={tableData.value}