@@ -512,6 +532,13 @@
}
},
methods: {
+ sortChange(sortObj){
+ const search = {
+ sortField: sortObj.prop,
+ sortMode: sortObj.order || ''
+ }
+ this.searchSarBykey(search)
+ },
openStandSystemModel () {
this.$refs.standSystemModelRef.open()
},
@@ -1062,7 +1089,6 @@
}
nowdata[0].number = countAll
console.log('aaaaa',nowdata)
-
}
}
}
@@ -1496,7 +1522,7 @@
this.searchSarBykey()
}
},
- searchSarBykey () {
+ searchSarBykey (searchObj) {
console.log(this.searchOptions)
let searchCondition = this.searchCondition
let condition = {}
@@ -1531,6 +1557,7 @@
}
condition.selectType = this.selectType
condition.standSystem = this.standSystemKeys // 标准体系id
+ condition = Object.assign(condition, searchObj)
this.$http.post('search/searchCenter/searchSarBykey', condition, {
_this: this,
loading: 'resultLoading'