迁移大屏vue文件到ipc文件夹下
This commit is contained in:
parent
111978d720
commit
9ccb016d4b
@ -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));
|
||||||
|
@ -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;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user