优化参数模块
This commit is contained in:
parent
c15decdccd
commit
8f53365516
@ -21,6 +21,21 @@ export const columns = [
|
||||
label: '参数值',
|
||||
prop: 'value',
|
||||
},
|
||||
{
|
||||
label: '参数类型',
|
||||
prop: 'type',
|
||||
render(record) {
|
||||
return h(
|
||||
ElTag,
|
||||
{
|
||||
type: record.row.type == 0 ? 'primary' : 'warning',
|
||||
},
|
||||
{
|
||||
default: () => (record.row.type == 0 ? '系统' : '业务'),
|
||||
},
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '参数状态',
|
||||
prop: 'status',
|
||||
@ -40,6 +55,10 @@ export const columns = [
|
||||
label: '排序',
|
||||
prop: 'sort',
|
||||
},
|
||||
{
|
||||
label: '备注',
|
||||
prop: 'note',
|
||||
},
|
||||
{
|
||||
label: '创建人',
|
||||
prop: 'createUser',
|
||||
@ -47,5 +66,6 @@ export const columns = [
|
||||
{
|
||||
label: '创建时间',
|
||||
prop: 'createTime',
|
||||
width: 180,
|
||||
},
|
||||
];
|
||||
|
@ -17,11 +17,11 @@ export const schemas: FormSchema[] = [
|
||||
clearable: true,
|
||||
options: [
|
||||
{
|
||||
label: '正常',
|
||||
label: '系统',
|
||||
value: '1',
|
||||
},
|
||||
{
|
||||
label: '禁用',
|
||||
label: '业务',
|
||||
value: '2',
|
||||
},
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user