ds1.0
fanluyan 2 years ago
parent 087ff69d36
commit 0075989360

@ -889,13 +889,14 @@ export default {
},
//
handleDeviceReset() {
console.log(this.rowData);
this.$confirm("此操作将复位装置, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
resetTerminalApi({ cmId: this.rowData.cmdId })
resetTerminalApi({ cmId: this.rowData.cmdId || this.rowData.cmdid })
.then((res) => {
if (res.code == 200) {
this.$message({

@ -98,11 +98,10 @@ export default {
})
.then((res) => {
this.queryTime = res.data.queryTime;
this.getNewListData(this.zztermid);
this.timer = window.setInterval(() => {
this.getNewListData(this.zztermid);
this.i++;
}, 5000);
}, 3000);
})
.catch((err) => {});
},
@ -145,6 +144,7 @@ export default {
},
hide() {
this.isShow = false;
this.loading = false;
},
handleclose() {
this.isShow = false;

@ -639,12 +639,12 @@ export default {
.then((res) => {
console.log(res);
this.requestId = res.data.requestId;
this.realNewtime();
// this.realNewtime();
this.timer = window.setInterval(() => {
//console.log(this.requestList);
this.realNewtime();
this.timernum++;
}, 3000);
}, 2000);
})
.catch((err) => {
this.$message.error("查询失败");

Loading…
Cancel
Save