UI界面变更-知识分享

This commit is contained in:
刘彦泽
2022-12-29 10:28:38 +08:00
parent 6d2a598342
commit 94400820bd
2 changed files with 12 additions and 9 deletions
@@ -76,7 +76,7 @@
columns: [ columns: [
{ {
title: this.$t('number'), title: this.$t('number'),
align: 'center', align: 'left',
width: 70, width: 70,
customRender: function(t, r, index) { customRender: function(t, r, index) {
return parseInt(index) + 1 return parseInt(index) + 1
@@ -85,20 +85,20 @@
{ {
title: this.$t('problemLabel'), title: this.$t('problemLabel'),
dataIndex: 'problemLabel', dataIndex: 'problemLabel',
align: 'center', align: 'left',
width: 240, width: 240,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('personCharge'), title: this.$t('personCharge'),
dataIndex: 'chargePersonIdName', dataIndex: 'chargePersonIdName',
align: 'center', align: 'left',
width: 240, width: 240,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),
align: 'center', align: 'left',
fixed: 'right', fixed: 'right',
width: 180, width: 180,
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
@@ -105,31 +105,31 @@
{ {
title: this.$t('standard'), title: this.$t('standard'),
dataIndex: 'serial_number', dataIndex: 'serial_number',
align: 'center', align: 'left',
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('title'), title: this.$t('title'),
dataIndex: 'title', dataIndex: 'title',
align: 'center', align: 'left',
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('zoneOfApplication'), title: this.$t('zoneOfApplication'),
dataIndex: 'region', dataIndex: 'region',
align: 'center', align: 'left',
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('ImplementationDate'), title: this.$t('ImplementationDate'),
dataIndex: 'xin1_che1_xing2_shi2_shi1_ri4_qi1', dataIndex: 'xin1_che1_xing2_shi2_shi1_ri4_qi1',
align: 'center', align: 'left',
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('vehicleInProductionDate'), title: this.$t('vehicleInProductionDate'),
dataIndex: 'implement_time', dataIndex: 'implement_time',
align: 'center', align: 'left',
ellipsis: true ellipsis: true
} }
], ],
@@ -312,4 +312,7 @@
.box-button { .box-button {
height: 38px; height: 38px;
} }
/deep/.ant-table-column-title{
font-weight: bold!important;
}
</style> </style>