修改已知bug1

This commit is contained in:
qq787203167
2022-06-02 14:53:00 +08:00
parent 7469c0a236
commit de2ed1eb60
15 changed files with 141 additions and 39 deletions
+12 -4
View File
@@ -63,6 +63,7 @@
ref="table"
rowKey="id"
size="middle"
:scroll="{x: '100%'}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
@@ -117,7 +118,7 @@
title: '#',
dataIndex: '',
key: 'rowIndex',
width: 120,
width: 80,
align: 'center',
customRender: function(t, r, index) {
return parseInt(index) + 1
@@ -126,7 +127,9 @@
{
title: this.$t('DictionaryName'),
align: 'center',
dataIndex: 'dictName'
dataIndex: 'dictName',
width: '25%',
ellipsis: true,
},
// {
// title: this.$t('DictionaryEnName'),
@@ -137,17 +140,22 @@
{
title: this.$t('DictionaryNumber'),
align: 'center',
dataIndex: 'dictCode'
dataIndex: 'dictCode',
width: '25%',
ellipsis: true,
},
{
title: this.$t('describe'),
align: 'center',
dataIndex: 'description'
dataIndex: 'description',
width: '25%',
ellipsis: true,
},
{
title: this.$t('operation'),
dataIndex: 'action',
align: 'center',
fixed: 'right',
width: 430,
scopedSlots: { customRender: 'action' }
}
+1 -1
View File
@@ -28,7 +28,7 @@
<a-table
:columns="columns"
:scroll="{x: 1500}"
:scroll="{x: '100%'}"
size="middle"
:pagination="false"
:dataSource="dataSource"
+9 -1
View File
@@ -97,6 +97,7 @@
<a-table
ref="table"
rowKey="id"
:scroll="{x: '100%'}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
@@ -178,7 +179,8 @@
title: this.$t('serialNumber'),
dataIndex: '',
key: 'rowIndex',
width: 20,
width: 50,
ellipsis: true,
align: 'center',
customRender: function(t, r, index) {
return parseInt(index) + 1
@@ -188,6 +190,7 @@
title: this.$t('userAccount'),
align: 'center',
dataIndex: 'username',
ellipsis: true,
width: 120,
sorter: true
},
@@ -195,24 +198,28 @@
title: this.$t('userName'),
align: 'center',
width: 100,
ellipsis: true,
dataIndex: 'realname'
},
{
title: this.$t('EmployeeNumber'),
align: 'center',
width: 100,
ellipsis: true,
dataIndex: 'workNo'
},
{
title: this.$t('EmployeeType'),
align: 'center',
width: 100,
ellipsis: true,
dataIndex: 'workerType_dictText'
},
{
title: this.$t('department'),
align: 'center',
width: 180,
ellipsis: true,
dataIndex: 'orgCodeTxt'
},
// {
@@ -231,6 +238,7 @@
title: this.$t('status'),
align: 'center',
width: 80,
ellipsis: true,
dataIndex: 'status_dictText'
},
{