fix:监测数据查询条件更改

This commit is contained in:
shijing 2025-04-08 13:38:42 +08:00
parent 650bf99415
commit 407a6beacb
1 changed files with 2 additions and 5 deletions

View File

@ -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);
}
})
},