问题管理-表头排序(问题优先级)
This commit is contained in:
@@ -301,6 +301,7 @@
|
||||
align: 'left',
|
||||
dataIndex: 'problemPriority_dictText',
|
||||
width: 120,
|
||||
sorter:true,
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
@@ -432,7 +433,12 @@
|
||||
},
|
||||
tableOnChange(pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
|
||||
this.orderByField = sorter.columnKey
|
||||
|
||||
if (sorter.columnKey == 'problemPriority_dictText'){
|
||||
this.orderByField = 'problemPriority'
|
||||
}else{
|
||||
this.orderByField = sorter.columnKey
|
||||
}
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
|
||||
Reference in New Issue
Block a user