UI界面变更-系统管理

This commit is contained in:
刘彦泽
2022-12-29 17:14:22 +08:00
parent 1724b6a898
commit 1043e32d94
10 changed files with 53 additions and 53 deletions
@@ -117,27 +117,27 @@
title: this.$t('DisplayArea'), title: this.$t('DisplayArea'),
dataIndex: 'showArea', dataIndex: 'showArea',
key: 'showArea', key: 'showArea',
align: "center", align: "left",
width: 100, width: 100,
ellipsis: true, ellipsis: true,
}, },
{ {
title: this.$t('enName'), title: this.$t('enName'),
align: "center", align: "left",
width: 100, width: 100,
dataIndex: 'enName', dataIndex: 'enName',
ellipsis: true, ellipsis: true,
}, },
{ {
title: this.$t('Module'), title: this.$t('Module'),
align: "center", align: "left",
width: 100, width: 100,
dataIndex: 'isModelName', dataIndex: 'isModelName',
ellipsis: true, ellipsis: true,
}, },
{ {
title: this.$t('SortNumber'), title: this.$t('SortNumber'),
align: "center", align: "left",
width: 40, width: 40,
dataIndex: 'sort', dataIndex: 'sort',
}, },
@@ -145,7 +145,7 @@
title: this.$t('operation'), title: this.$t('operation'),
dataIndex: 'action', dataIndex: 'action',
scopedSlots: {customRender: 'action'}, scopedSlots: {customRender: 'action'},
align: "center", align: "left",
width: 60 width: 60
} }
], ],
@@ -48,20 +48,20 @@
title: this.$t('name'), title: this.$t('name'),
dataIndex: 'itemText', dataIndex: 'itemText',
key: 'itemText', key: 'itemText',
align: "center", align: "left",
ellipsis: true, ellipsis: true,
width: 100, width: 100,
}, },
{ {
title: this.$t('enName'), title: this.$t('enName'),
align: "center", align: "left",
width: 100, width: 100,
ellipsis: true, ellipsis: true,
dataIndex: 'enName', dataIndex: 'enName',
}, },
{ {
title: this.$t('describe'), title: this.$t('describe'),
align: "center", align: "left",
width: 100, width: 100,
ellipsis: true, ellipsis: true,
dataIndex: 'description', dataIndex: 'description',
@@ -70,7 +70,7 @@
title: this.$t('operation'), title: this.$t('operation'),
dataIndex: 'action', dataIndex: 'action',
scopedSlots: {customRender: 'action'}, scopedSlots: {customRender: 'action'},
align: "center", align: "left",
width: 170 width: 170
} }
], ],
@@ -140,19 +140,19 @@
title: this.$t('LabelName'), title: this.$t('LabelName'),
dataIndex: 'dictName', dataIndex: 'dictName',
key: 'dictName', key: 'dictName',
align: 'center', align: 'left',
ellipsis: true, ellipsis: true,
width: 100 width: 100
}, },
{ {
title: this.$t('LabelType'), title: this.$t('LabelType'),
align: 'center', align: 'left',
width: 100, width: 100,
dataIndex: 'attributeTypeName' dataIndex: 'attributeTypeName'
}, },
{ {
title: this.$t('describe'), title: this.$t('describe'),
align: 'center', align: 'left',
dataIndex: 'description', dataIndex: 'description',
scopedSlots: { customRender: 'describe' }, scopedSlots: { customRender: 'describe' },
ellipsis: true, ellipsis: true,
@@ -160,7 +160,7 @@
}, },
{ {
title: this.$t('DisplayOrder'), title: this.$t('DisplayOrder'),
align: 'center', align: 'left',
width: 100, width: 100,
dataIndex: 'orderNum' dataIndex: 'orderNum'
}, },
@@ -168,7 +168,7 @@
title: this.$t('operation'), title: this.$t('operation'),
dataIndex: 'action', dataIndex: 'action',
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
align: 'center', align: 'left',
width: 170 width: 170
} }
], ],
@@ -133,37 +133,37 @@
taglabColumns: [ taglabColumns: [
{ {
title: this.$t('ChineseName'), title: this.$t('ChineseName'),
align: 'center', align: 'left',
width: 100, width: 100,
dataIndex: 'dbFieldTxt' dataIndex: 'dbFieldTxt'
}, },
{ {
title: this.$t('enName'), title: this.$t('enName'),
align: 'center', align: 'left',
width: 100, width: 100,
dataIndex: 'dbFieldEnName' dataIndex: 'dbFieldEnName'
}, },
{ {
title: this.$t('AttributeType'), title: this.$t('AttributeType'),
align: 'center', align: 'left',
width: 100, width: 100,
dataIndex: 'fieldShowTypeName' dataIndex: 'fieldShowTypeName'
}, },
{ {
title: this.$t('FieldLength'), title: this.$t('FieldLength'),
align: 'center', align: 'left',
width: 80, width: 80,
dataIndex: 'dbLength' dataIndex: 'dbLength'
}, },
{ {
title: this.$t('DisplayOrder'), title: this.$t('DisplayOrder'),
align: 'center', align: 'left',
width: 80, width: 80,
dataIndex: 'orderNum' dataIndex: 'orderNum'
}, },
{ {
title: this.$t('DisplayArea'), title: this.$t('DisplayArea'),
align: 'center', align: 'left',
width: 80, width: 80,
dataIndex: 'showAreaName' dataIndex: 'showAreaName'
}, },
@@ -171,38 +171,38 @@
title: this.$t('operation'), title: this.$t('operation'),
dataIndex: 'action', dataIndex: 'action',
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
align: 'center', align: 'left',
width: 170 width: 170
} }
], ],
taglabColumns1: [ taglabColumns1: [
{ {
title: this.$t('ChineseName'), title: this.$t('ChineseName'),
align: 'center', align: 'left',
width: 100, width: 100,
dataIndex: 'dbFieldTxt' dataIndex: 'dbFieldTxt'
}, },
{ {
title: this.$t('enName'), title: this.$t('enName'),
align: 'center', align: 'left',
width: 100, width: 100,
dataIndex: 'dbFieldEnName' dataIndex: 'dbFieldEnName'
}, },
{ {
title: this.$t('AttributeType'), title: this.$t('AttributeType'),
align: 'center', align: 'left',
width: 100, width: 100,
dataIndex: 'fieldShowTypeName' dataIndex: 'fieldShowTypeName'
}, },
{ {
title: this.$t('FieldLength'), title: this.$t('FieldLength'),
align: 'center', align: 'left',
width: 80, width: 80,
dataIndex: 'dbLength' dataIndex: 'dbLength'
}, },
{ {
title: this.$t('DisplayOrder'), title: this.$t('DisplayOrder'),
align: 'center', align: 'left',
width: 80, width: 80,
dataIndex: 'orderNum' dataIndex: 'orderNum'
}, },
@@ -210,7 +210,7 @@
title: this.$t('operation'), title: this.$t('operation'),
dataIndex: 'action', dataIndex: 'action',
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
align: 'center', align: 'left',
width: 170 width: 170
} }
], ],
+4 -4
View File
@@ -93,21 +93,21 @@
columns: [ columns: [
{ {
title: this.$t('name'), title: this.$t('name'),
align: "center", align: "left",
width:100, width:100,
ellipsis: true, ellipsis: true,
dataIndex: 'itemText', dataIndex: 'itemText',
}, },
{ {
title: this.$t('enName'), title: this.$t('enName'),
align: "center", align: "left",
width:100, width:100,
ellipsis: true, ellipsis: true,
dataIndex: 'enName', dataIndex: 'enName',
}, },
{ {
title: this.$t('DataValue'), title: this.$t('DataValue'),
align: "center", align: "left",
width:100, width:100,
ellipsis: true, ellipsis: true,
dataIndex: 'itemValue', dataIndex: 'itemValue',
@@ -115,7 +115,7 @@
{ {
title: this.$t('operation'), title: this.$t('operation'),
dataIndex: 'action', dataIndex: 'action',
align: "center", align: "left",
width:80, width:80,
scopedSlots: {customRender: 'action'}, scopedSlots: {customRender: 'action'},
} }
+5 -5
View File
@@ -119,14 +119,14 @@
dataIndex: '', dataIndex: '',
key: 'rowIndex', key: 'rowIndex',
width: 80, width: 80,
align: 'center', align: 'left',
customRender: function(t, r, index) { customRender: function(t, r, index) {
return parseInt(index) + 1 return parseInt(index) + 1
} }
}, },
{ {
title: this.$t('DictionaryName'), title: this.$t('DictionaryName'),
align: 'center', align: 'left',
dataIndex: 'dictName', dataIndex: 'dictName',
width: '25%', width: '25%',
ellipsis: true ellipsis: true
@@ -146,14 +146,14 @@
// }, // },
{ {
title: this.$t('DictionaryNumber'), title: this.$t('DictionaryNumber'),
align: 'center', align: 'left',
dataIndex: 'dictCode', dataIndex: 'dictCode',
width: '25%', width: '25%',
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('describe'), title: this.$t('describe'),
align: 'center', align: 'left',
dataIndex: 'description', dataIndex: 'description',
width: '25%', width: '25%',
ellipsis: true ellipsis: true
@@ -161,7 +161,7 @@
{ {
title: this.$t('operation'), title: this.$t('operation'),
dataIndex: 'action', dataIndex: 'action',
align: 'center', align: 'left',
fixed: 'right', fixed: 'right',
width: 430, width: 430,
scopedSlots: { customRender: 'action' } scopedSlots: { customRender: 'action' }
+1 -1
View File
@@ -159,7 +159,7 @@
dataIndex: 'action', dataIndex: 'action',
fixed: 'right', fixed: 'right',
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
align: 'center', align: 'left',
width: 150 width: 150
} }
], ],
+5 -5
View File
@@ -131,27 +131,27 @@
dataIndex: '', dataIndex: '',
key: 'rowIndex', key: 'rowIndex',
width: 90, width: 90,
align: 'center', align: 'left',
customRender: function(t, r, index) { customRender: function(t, r, index) {
return parseInt(index) + 1 return parseInt(index) + 1
} }
}, },
{ {
title: this.$t('RoleCode'), title: this.$t('RoleCode'),
align: 'center', align: 'left',
dataIndex: 'roleCode', dataIndex: 'roleCode',
width: 280 width: 280
}, },
{ {
title: this.$t('roleName'), title: this.$t('roleName'),
align: 'center', align: 'left',
dataIndex: 'roleName', dataIndex: 'roleName',
width: 280 width: 280
}, },
{ {
title: this.$t('createTime'), title: this.$t('createTime'),
dataIndex: 'createTime', dataIndex: 'createTime',
align: 'center', align: 'left',
width: 280, width: 280,
sorter: true, sorter: true,
customRender: (text) => { customRender: (text) => {
@@ -162,7 +162,7 @@
title: this.$t('operation'), title: this.$t('operation'),
width: 200, width: 200,
dataIndex: 'action', dataIndex: 'action',
align: 'center', align: 'left',
scopedSlots: { customRender: 'action' } scopedSlots: { customRender: 'action' }
} }
], ],
+8 -8
View File
@@ -214,14 +214,14 @@
key: 'rowIndex', key: 'rowIndex',
width: 50, width: 50,
ellipsis: true, ellipsis: true,
align: 'center', align: 'left',
customRender: function(t, r, index) { customRender: function(t, r, index) {
return parseInt(index) + 1 return parseInt(index) + 1
} }
}, },
{ {
title: this.$t('userAccount'), title: this.$t('userAccount'),
align: 'center', align: 'left',
dataIndex: 'username', dataIndex: 'username',
ellipsis: true, ellipsis: true,
width: 120, width: 120,
@@ -229,28 +229,28 @@
}, },
{ {
title: this.$t('userName'), title: this.$t('userName'),
align: 'center', align: 'left',
width: 100, width: 100,
ellipsis: true, ellipsis: true,
dataIndex: 'realname' dataIndex: 'realname'
}, },
{ {
title: this.$t('EmployeeNumber'), title: this.$t('EmployeeNumber'),
align: 'center', align: 'left',
width: 100, width: 100,
ellipsis: true, ellipsis: true,
dataIndex: 'workNo' dataIndex: 'workNo'
}, },
{ {
title: this.$t('EmployeeType'), title: this.$t('EmployeeType'),
align: 'center', align: 'left',
width: 100, width: 100,
ellipsis: true, ellipsis: true,
dataIndex: 'workerType_dictText' dataIndex: 'workerType_dictText'
}, },
{ {
title: this.$t('department'), title: this.$t('department'),
align: 'center', align: 'left',
width: 180, width: 180,
ellipsis: true, ellipsis: true,
dataIndex: 'orgCodeTxt' dataIndex: 'orgCodeTxt'
@@ -269,7 +269,7 @@
// }, // },
{ {
title: this.$t('status'), title: this.$t('status'),
align: 'center', align: 'left',
width: 80, width: 80,
ellipsis: true, ellipsis: true,
dataIndex: 'status_dictText' dataIndex: 'status_dictText'
@@ -278,7 +278,7 @@
title: this.$t('operation'), title: this.$t('operation'),
dataIndex: 'action', dataIndex: 'action',
scopedSlots: {customRender: 'action'}, scopedSlots: {customRender: 'action'},
align: "center", align: "left",
width: 80 width: 80
} }
], ],
@@ -128,21 +128,21 @@
// 表头 // 表头
columns: [{ columns: [{
title: this.$t('userAccount'), title: this.$t('userAccount'),
align: 'center', align: 'left',
dataIndex: 'username', dataIndex: 'username',
width: 180, width: 180,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('userName'), title: this.$t('userName'),
align: 'center', align: 'left',
dataIndex: 'realname', dataIndex: 'realname',
width: 180, width: 180,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('department'), title: this.$t('department'),
align: 'center', align: 'left',
dataIndex: 'orgCode', dataIndex: 'orgCode',
width: 180, width: 180,
ellipsis: true ellipsis: true