修改已知bug1

This commit is contained in:
qq787203167
2022-06-02 15:35:10 +08:00
parent 361707bd61
commit 46fa579da7
4 changed files with 18 additions and 3 deletions
@@ -87,6 +87,7 @@
v-if="isTrue"
ref="table"
size="middle"
@change="tableOnChange"
:loading="loading"
:pagination="false"
:scroll="{x: '100%'}"
@@ -302,6 +303,7 @@
align: 'center',
ellipsis: true,
width: 170,
sorter: true,
dataIndex: 'issue_time'
},
{
@@ -309,12 +311,14 @@
align: 'center',
ellipsis: true,
width: 210,
sorter: true,
dataIndex: 'implement_time'
},
{
title: this.$t('ImplementationDate'),
align: 'center',
ellipsis: true,
sorter: true,
width: 210,
dataIndex: 'xin1_che1_xing2_shi2_shi1_ri4_qi1'
},
@@ -342,7 +346,9 @@
mapTwo: {},
selectModelName: '',
queryParamOne: {},
searchQueryOne: {}
searchQueryOne: {},
orderBy: '1',
orderByField: ''
}
},
watch: {
@@ -575,6 +581,11 @@
changeQuery(val, name) {
this.queryParamOne[name + '_name'] = val
},
tableOnChange(pagination, filters, sorter) {
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
this.orderByField = sorter.columnKey
this.getInfoList()
},
getInfoList(num) {
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
Object.keys(queryParam).forEach(val => {
@@ -596,6 +607,8 @@
let query = {
pageNo: this.pageNo,
pageSize: this.pageSize,
orderBy: this.orderBy,
orderByField: this.orderByField,
mapOne: this.mapOne,
mapTwo: this.mapTwo
}