状态修改

This commit is contained in:
仲么了
2024-01-26 09:08:20 +08:00
parent 35f8cced00
commit f12af238f4
4 changed files with 47 additions and 32 deletions

View File

@@ -54,7 +54,20 @@ const tableStore = new TableStore({
{ title: '角色名称', field: 'name', align: 'center' },
{ title: '角色编码', field: 'code', align: 'center' },
{ title: '备注', field: 'remark', align: 'center' },
{ title: '状态', field: 'state', align: 'center' },
{
title: '状态',
field: 'state',
width: '80',
render: 'tag',
custom: {
0: 'danger',
1: 'success',
},
replaceValue: {
0: '注销',
1: '正常',
}
},
{
title: '操作',
align: 'center',