Browse Source

机柜记录搜索与延迟调用

develop
wangsixiang 1 month ago
parent
commit
adb4b64a52
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/IntegratedCabinet/components/DeviceControlDialog.vue
  2. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/control/device/record/data.js

3
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/IntegratedCabinet/components/DeviceControlDialog.vue

@ -151,14 +151,13 @@
if (result.code != 200) {
Message.error("操作失败");
this.swicthLight =!e
console.log(this.swicthLight)
return;
}
this.$modal.msgSuccess(text + "成功");
this.swicthLight=e
setTimeout(() => {
this.AddMethods();
}, 1000);
}, 3000);
}).catch((error)=>{
console.error('请求失败:', error);
this.swicthLight = !e;

4
ruoyi-ui/src/views/JiHeExpressway/pages/control/device/record/data.js

@ -60,6 +60,10 @@ export const searchFormList = [
key: 16,
label: "远端机",
},
{
key: 17,
label: "一体机柜",
},
],
},
},

Loading…
Cancel
Save