装置状态更新

master
liuyi 2 years ago
parent 1b31a886f0
commit cc4f2097b0

@ -64,7 +64,7 @@ export default {
isShow: false, isShow: false,
infornr: {}, // infornr: {}, //
timer: null, timer: null,
requestId:'',//ID queryTime:'',//ID
cmdid:'' cmdid:''
}; };
}, },
@ -77,7 +77,7 @@ export default {
termId: val, termId: val,
}) })
.then((res) => { .then((res) => {
this.requestId = res.data.requestId this.queryTime = res.data.queryTime
this.getNewListData(val); this.getNewListData(val);
this.timer = window.setInterval(() => { this.timer = window.setInterval(() => {
this.getNewListData(val); this.getNewListData(val);
@ -88,7 +88,7 @@ export default {
// //
getNewListData(val) { getNewListData(val) {
getNewDeviceList({ getNewDeviceList({
requestId: this.requestId, queryTime: this.queryTime,
termId: val, termId: val,
}) })
.then((res) => { .then((res) => {

Loading…
Cancel
Save