diff --git a/kicc-ui/src/views/system/config/config.data.ts b/kicc-ui/src/views/system/config/config.data.ts index 4e1a06a3..dc8d7528 100644 --- a/kicc-ui/src/views/system/config/config.data.ts +++ b/kicc-ui/src/views/system/config/config.data.ts @@ -12,25 +12,32 @@ import { ColumnProps } from "ant-design-vue/lib/table/interface"; export const columns: ColumnProps[] = [ { title: '参数名称', - dataIndex: 'name' + align: 'center', + dataIndex: 'name', + width: 200 }, { title: '参数键名', + align: 'center', dataIndex: 'key' }, { title: '参数键值', + align: 'center', dataIndex: 'value' }, { title: '系统内置', + align: 'center', dataIndex: 'isSys', + width: 130, customRender: ({record}) => { return record.isSys == '0' ? h(Tag, { color: 'success' }, '是') : h(Tag, { color: 'red' }, '否'); } }, { title: '备注', + align: 'center', dataIndex: 'remarks', customRender: ({record}) => { return record.remarks || h(Tag, {color: 'red'},'暂无数据'); @@ -38,6 +45,7 @@ export const columns: ColumnProps[] = [ }, { title: '创建时间', + align: 'center', dataIndex: 'createTime' }, {