fix:监测数据查询条件更改
This commit is contained in:
parent
650bf99415
commit
407a6beacb
|
|
@ -61,8 +61,8 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
let that = this;
|
||||
that.params.timex_gte = that.startTime;
|
||||
that.params.timex_lte = that.endTime;
|
||||
that.params.timex__gte = that.startTime;
|
||||
that.params.timex__lte = that.endTime;
|
||||
that.$API.enm.mpoint.list.req({ep_belong:that.equipmentId,page:0}).then((res) => {
|
||||
if(res.length>0){
|
||||
that.mpointList = res;
|
||||
|
|
@ -85,14 +85,11 @@ export default {
|
|||
})
|
||||
},
|
||||
handleClick(val){
|
||||
console.log('val',val)
|
||||
console.log('this.activeName',this.activeName)
|
||||
let that = this;
|
||||
that.mpointList.forEach(item=>{
|
||||
if(item.name == that.activeName){
|
||||
that.query.mpoint = item.id;
|
||||
that.query.page = 1;
|
||||
// that.$refs.table.queryData(that.query);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue