参数导出模板管理--适用地区没有表头排序
参数模板管理-表头有两个适用地区
This commit is contained in:
@@ -181,12 +181,19 @@ export default {
|
||||
dataIndex: 'description',
|
||||
// scopedSlots: { customRender: 'titleName' }
|
||||
},
|
||||
// {
|
||||
// title: this.$t('zoneOfApplication'),
|
||||
// align: 'center',
|
||||
// width: 160,
|
||||
// ellipsis: true,
|
||||
// dataIndex: 'region_dictText',
|
||||
// },
|
||||
{
|
||||
title: this.$t('zoneOfApplication'),
|
||||
title: this.$t('creater'),
|
||||
align: 'center',
|
||||
width: 160,
|
||||
width: 120,
|
||||
ellipsis: true,
|
||||
dataIndex: 'region_dictText',
|
||||
dataIndex: 'createBy'
|
||||
},
|
||||
{
|
||||
title: this.$t('created'),
|
||||
|
||||
@@ -182,6 +182,7 @@ export default {
|
||||
align: 'center',
|
||||
dataIndex: 'region_dictText',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 200
|
||||
},
|
||||
{
|
||||
@@ -363,6 +364,8 @@ export default {
|
||||
this.orderByField = 'template_name'
|
||||
} else if(sorter.columnKey == 'updateTime') {
|
||||
this.orderByField = 'update_time'
|
||||
} else if(sorter.columnKey == 'region_dictText') {
|
||||
this.orderByField = 'region'
|
||||
} else{
|
||||
this.orderByField = sorter.columnKey
|
||||
}
|
||||
|
||||
@@ -237,6 +237,11 @@
|
||||
}
|
||||
getAction(`params/report/pageForManifest`, params).then(res => {
|
||||
if (res.success) {
|
||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||
this.pageNo = 1
|
||||
this.loadData()
|
||||
return
|
||||
}
|
||||
this.areaTable = [...res.result.records]
|
||||
this.total = res.result.total
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user