修改未符合项的传参
This commit is contained in:
@@ -243,6 +243,21 @@
|
||||
tableOnChange(pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
|
||||
this.orderByField = sorter.columnKey
|
||||
if (sorter.columnKey == 'serialNumber'){
|
||||
this.orderByField = 'serial_number'
|
||||
}else if(sorter.columnKey == 'flowTypeName'){
|
||||
this.orderByField = 'flow_type'
|
||||
}else if(sorter.columnKey == 'dutyTerritory_dictText'){
|
||||
this.orderByField = 'duty_territory'
|
||||
}else if(sorter.columnKey == 'flowStatusName'){
|
||||
this.orderByField = 'flow_status'
|
||||
}else if(sorter.columnKey == 'regulationOwnerIdName'){
|
||||
this.orderByField = 'regulation_owner_id'
|
||||
}else if(sorter.columnKey == 'dutyIdName'){
|
||||
this.orderByField = 'duty_id'
|
||||
}else{
|
||||
this.orderByField = sorter.columnKey
|
||||
}
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
|
||||
Reference in New Issue
Block a user