diff --git a/web/client/assets/images/electrical/fault.png b/web/client/assets/images/electrical/fault.png new file mode 100644 index 0000000..09f3830 Binary files /dev/null and b/web/client/assets/images/electrical/fault.png differ diff --git a/web/client/src/sections/bigScreen/components/electrity/realTimeStatus.js b/web/client/src/sections/bigScreen/components/electrity/realTimeStatus.js index 9a5b2c3..d037197 100644 --- a/web/client/src/sections/bigScreen/components/electrity/realTimeStatus.js +++ b/web/client/src/sections/bigScreen/components/electrity/realTimeStatus.js @@ -192,7 +192,7 @@ const RealTimeStatus = ({ dispatch, actions, user, pumpId, pumpList, setPumpId, onSelect={(v, option) => { setPumpId(v) setPumpName(option.label) - setPumpOne(currentSix?.find(d => d.id == v) || {}) + // setPumpOne(currentSix?.find(d => d.id == v) || {}) }} options={pumpList?.map(v => ({ value: v.id, label: v.name })) || []} /> @@ -202,7 +202,7 @@ const RealTimeStatus = ({ dispatch, actions, user, pumpId, pumpList, setPumpId, {pumpOne?.data ? + ? 'fault' : '无状态'}.png`} style={{ width: 98, height: 115 }} /> : }
远程模式:
{pumpOne?.data[0]?.sMotor_RunMode == 1 ? '就地手动' - : pumpOne?.data[0]?.sMotor_RunMode == 2 ? "平台手动" - : pumpOne?.data[0]?.sMotor_RunMode == 3 ? "平台液控" : "--"} + : pumpOne?.data[0]?.sMotor_RunMode == 3 ? "平台手动" + : pumpOne?.data[0]?.sMotor_RunMode == 2 ? "平台液控" : "--"}