Browse Source

主机监测详情-放开操作接口注释

dev
selia-zx 2 weeks ago
parent
commit
f5d9461622
  1. 50
      src/views/centerairC/sysMonitor/hostDetails.vue

50
src/views/centerairC/sysMonitor/hostDetails.vue

@ -683,31 +683,31 @@ export default {
param: param, param: param,
}; };
console.log("操作参数", data); console.log("操作参数", data);
// operationConrol([data]) operationConrol([data])
// .then((res) => { .then((res) => {
// if (res.code == 200) { if (res.code == 200) {
// this.$modal.msgSuccess("!"); this.$modal.msgSuccess("指令下发成功!");
// // loading // loading
// this.loading = true; this.loading = true;
// // ; // ;
// setTimeout(() => { setTimeout(() => {
// this.getPolicyList().finally(() => { this.getPolicyList().finally(() => {
// // loading // loading
// this.loading = false; this.loading = false;
// }); });
// }, 5000); }, 5000);
// } else { } else {
// // this.$modal.msgError(""); // this.$modal.msgError("");
// console.log(""); console.log("应该更新状态的");
// // ; // ;
// this.getPolicyList(); this.getPolicyList();
// } }
// }) })
// .catch((error) => { .catch((error) => {
// console.log("", error); console.log("请求发生错误,更新设备状态", error);
// // ; // ;
// this.getPolicyList(); this.getPolicyList();
// }); });
}, },
}, },
}; };

Loading…
Cancel
Save