项目详情 相关人员名单表头排序

This commit is contained in:
范强强
2023-10-20 13:57:03 +08:00
parent 68e338c66e
commit 5e6428fd8f
@@ -648,7 +648,6 @@
this.getUserAllDutyTerritoryList() this.getUserAllDutyTerritoryList()
}, },
tableOnChange(pagination, filters, sorter) { tableOnChange(pagination, filters, sorter) {
console.log(sorter)
this.orderBy = sorter.order == 'ascend' ? '1' : '2' this.orderBy = sorter.order == 'ascend' ? '1' : '2'
if (sorter.columnKey == 'dutyTerritory_dictText') { if (sorter.columnKey == 'dutyTerritory_dictText') {
this.orderByField = 'dutyTerritory' this.orderByField = 'dutyTerritory'