@ -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 {
this.queryTime = res.data.queryTime;
this.getNewListData(this.zztermid);
this.timer = window.setInterval(() => {
this.i++;
}, 5000);
}, 3000);
.catch((err) => {});
@ -145,6 +144,7 @@ export default {
hide() {
this.isShow = false;
this.loading = false;
handleclose() {
@ -639,12 +639,12 @@ export default {
console.log(res);
this.requestId = res.data.requestId;
this.realNewtime();
// this.realNewtime();
//console.log(this.requestList);
this.timernum++;
}, 2000);
.catch((err) => {
this.$message.error("查询失败");