迁移大屏vue文件到ipc文件夹下

This commit is contained in:
zhanghan11 2024-04-11 17:51:16 +08:00
parent 111978d720
commit 9ccb016d4b
2 changed files with 1 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public class IPCPlcDataSyncThread implements Runnable {
// 获取运行状态不一致则新增运行状态 // 获取运行状态不一致则新增运行状态
String status = iIpcRunningStatusRecordService.selectLatestStatus(); String status = iIpcRunningStatusRecordService.selectLatestStatus();
String sss = iIpcRunningStatusRecordService.getSSS(); String sss = iIpcRunningStatusRecordService.getSSS();
if(sss==null){sss="4";} if(sss==null){sss=IpcConstant.RUNNING_STATUS_SHUTDOWN;}
if (StringUtils.isNull(status) || !status.equals(sss)) { if (StringUtils.isNull(status) || !status.equals(sss)) {
status = sss; status = sss;
iIpcRunningStatusRecordService.insertIpcRunningStatusRecord(new IpcRunningStatusRecord(status)); iIpcRunningStatusRecordService.insertIpcRunningStatusRecord(new IpcRunningStatusRecord(status));

View File

@ -68,7 +68,6 @@ export default {
getFaultTreeShow(this.part).then((response) => { getFaultTreeShow(this.part).then((response) => {
const nodes = this.handleTree(response.data, "nodeId", "parentId"); const nodes = this.handleTree(response.data, "nodeId", "parentId");
this.updateParentStatusBasedOnLogic(nodes); this.updateParentStatusBasedOnLogic(nodes);
console.log(nodes);
this.treeData = nodes[0].children; this.treeData = nodes[0].children;
this.loading = false; this.loading = false;
}); });