参数清单收集-表头排序开发。
This commit is contained in:
@@ -918,6 +918,8 @@
|
||||
sorter.columnKey = 'nio_number'
|
||||
}else if (sorter.columnKey == 'dutyTerritory'){
|
||||
sorter.columnKey = 'duty_territory'
|
||||
}else if (sorter.columnKey == 'reportTime'){
|
||||
sorter.columnKey = 'report_time'
|
||||
}
|
||||
this.orderByField = sorter.columnKey
|
||||
this.getTableList()
|
||||
|
||||
@@ -639,8 +639,6 @@
|
||||
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
|
||||
if(sorter.columnKey == 'nioNumber'){
|
||||
sorter.columnKey = 'nio_number'
|
||||
} else if (sorter.columnKey == 'reportTime'){
|
||||
sorter.columnKey = 'report_time'
|
||||
}
|
||||
this.orderByField = sorter.columnKey
|
||||
this.getTableList()
|
||||
|
||||
Reference in New Issue
Block a user