fix:玻纤监测数据不更新修复
This commit is contained in:
parent
631cba19a0
commit
38e29148a5
|
|
@ -95,8 +95,14 @@ export default {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
methods: {
|
||||||
|
open() {
|
||||||
let that = this;
|
let that = this;
|
||||||
|
this.visible = true;
|
||||||
|
that.$nextTick(() => {
|
||||||
|
let height = document.getElementById("tableWap").clientHeight;
|
||||||
|
that.tableHeight = height - 345;
|
||||||
|
})
|
||||||
that.params.timex__gte = that.startTime;
|
that.params.timex__gte = that.startTime;
|
||||||
that.params.timex__lte = that.endTime;
|
that.params.timex__lte = that.endTime;
|
||||||
that.$API.enm.mpoint.list.req({ep_belong:that.equipmentId,page:0}).then((res) => {
|
that.$API.enm.mpoint.list.req({ep_belong:that.equipmentId,page:0}).then((res) => {
|
||||||
|
|
@ -111,23 +117,11 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
|
||||||
open() {
|
|
||||||
let that = this;
|
|
||||||
this.visible = true;
|
|
||||||
that.$nextTick(() => {
|
|
||||||
let height = document.getElementById("tableWap").clientHeight;
|
|
||||||
console.log('height',height)
|
|
||||||
that.tableHeight = height - 345;
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleClick(val){
|
handleClick(val){
|
||||||
console.log('handleClick',val)
|
console.log('handleClick',val)
|
||||||
let that = this;
|
let that = this;
|
||||||
that.mpointList.forEach(item=>{
|
that.mpointList.forEach(item=>{
|
||||||
if(item.name == that.activeName){
|
if(item.name == that.activeName){
|
||||||
console.log('item',item)
|
|
||||||
console.log('that.activeName',that.activeName)
|
|
||||||
that.query.mpoint = item.id;
|
that.query.mpoint = item.id;
|
||||||
that.query.page = 1;
|
that.query.page = 1;
|
||||||
that.option.title.text = that.activeName;
|
that.option.title.text = that.activeName;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue