修改机械分厂设备二级状态显示
This commit is contained in:
parent
581028aca6
commit
8352d3042b
@ -172,8 +172,12 @@ export const useMechanicsStore = defineStore(Names.Mechanics, {
|
|||||||
this.mechanicsData.forEach((ele) => {
|
this.mechanicsData.forEach((ele) => {
|
||||||
ele.data?.forEach((item) => {
|
ele.data?.forEach((item) => {
|
||||||
if (item.id == val.id) {
|
if (item.id == val.id) {
|
||||||
|
if (val.realStatus) {
|
||||||
|
item.status == val.status?'':item.status = val.status;
|
||||||
|
} else {
|
||||||
|
item.status == val.status?'':item.status = 'H_IDLE';
|
||||||
|
}
|
||||||
|
|
||||||
item.status == val.status?'':item.status = val.status;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -45,7 +45,7 @@ const gatewayvalue = reactive({
|
|||||||
title: null,
|
title: null,
|
||||||
counts: null,
|
counts: null,
|
||||||
gateway: null,
|
gateway: null,
|
||||||
iconname: "",
|
iconname: "icon-beikongshuiwupingtaimenhu-tubiao_zhinengwangguan",
|
||||||
});
|
});
|
||||||
let boxWH=reactive({
|
let boxWH=reactive({
|
||||||
width:'0px',
|
width:'0px',
|
||||||
|
Loading…
Reference in New Issue
Block a user