文档工具-虚拟认证清单详情-请求参数基础表id(改)
This commit is contained in:
+21
-1
@@ -187,6 +187,7 @@
|
||||
:scroll="{x: '100%',y:'calc(100vh - 356px)'}"
|
||||
rowKey="id"
|
||||
:data-source="dataSource"
|
||||
@change="tableOnChange"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:columns="columns">
|
||||
<span slot="item" slot-scope="text,record">
|
||||
@@ -520,13 +521,32 @@ export default {
|
||||
editModelList() {
|
||||
this.getList()
|
||||
},
|
||||
tableOnChange(pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
|
||||
if(sorter.columnKey == 'shi4Yong4Fan4Wei2_dictText'){
|
||||
this.orderByField = 'shi4Yong4Fan4Wei2'
|
||||
} else if(sorter.columnKey == 'state_dictText') {
|
||||
this.orderByField = 'state'
|
||||
} else if(sorter.columnKey == 'xin1Che1Xing2Shi2Shi1Ri4Qi1') {
|
||||
this.orderByField = 'xin1_che1_xing2_shi2_shi1_ri4_qi1'
|
||||
} else if(sorter.columnKey == 'implementTime') {
|
||||
this.orderByField = 'implement_time'
|
||||
} else if(sorter.columnKey == 'dutyTerritory_dictText') {
|
||||
this.orderByField = 'dutyTerritory'
|
||||
} else if(sorter.columnKey == 'attestationRank_dictText') {
|
||||
this.orderByField = 'attestationRank'
|
||||
} else{
|
||||
this.orderByField = sorter.columnKey
|
||||
}
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
let query = {
|
||||
...this.queryParam,
|
||||
...this.queryParamQuery,
|
||||
orderBy: this.orderBy,
|
||||
orderByField: this.orderByField,
|
||||
dummyInventoryBaseId: this.$route.query.id
|
||||
authDummyInventoryBaseId: this.$route.query.id
|
||||
}
|
||||
this.loading = true
|
||||
getAction(this.url.list,query).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user