update all

This commit is contained in:
2021-04-28 18:44:47 +08:00
parent deda0e65a5
commit 0d16af867a
25 changed files with 88 additions and 24576 deletions

View File

@@ -73,24 +73,29 @@ export default {
{
title: '字典值',
dataIndex: 'value',
sorter: true,
},
{
title: '唯一编码',
dataIndex: 'code',
sorter: true,
},
{
title: '排序',
dataIndex: 'sort',
sorter: true,
},
{
title: '备注',
dataIndex: 'remark',
width: 200,
sorter: true,
},
{
title: '状态',
dataIndex: 'status',
scopedSlots: { customRender: 'status' },
sorter: true,
},
],
};
@@ -99,7 +104,7 @@ export default {
this.onLoadCodes();
/** 根据权限添加操作列 */
const flag = this.$auth(/** ... */);
const flag = this.$auth({ sysDictData: [['edit'], ['delete']] });
if (flag) {
this.columns.push({
title: '操作',