【update】-数据字典样式的修改

This commit is contained in:
fengchenchen
2023-07-26 17:39:37 +08:00
parent 2e87337add
commit fdbda6957b
+5 -1
View File
@@ -110,7 +110,7 @@ export default {
title: '序号',
dataIndex: '',
key: 'rowIndex',
width: 120,
width: 60,
align: 'center',
customRender: function (t, r, index) {
return parseInt(index) + 1
@@ -119,18 +119,21 @@ export default {
{
title: '字典名称',
align: 'left',
width: 120,
dataIndex: 'dictName',
scopedSlots: { customRender: 'text' }
},
{
title: '字典编号',
align: 'left',
width: 120,
dataIndex: 'dictCode',
scopedSlots: { customRender: 'text' }
},
{
title: '描述',
align: 'left',
width: 300,
dataIndex: 'description',
scopedSlots: { customRender: 'text' }
},
@@ -138,6 +141,7 @@ export default {
title: '操作',
dataIndex: 'action',
align: 'center',
width: 200,
scopedSlots: { customRender: 'action' }
}
],