Explorar el Código

[Mod 0000] 修改供风距离监测参数

hongrunxia hace 1 mes
padre
commit
4f474d59b9

+ 7 - 1
src/views/vent/monitorManager/fanLocalMonitor/fanLocal.three.bk.ts

@@ -166,7 +166,13 @@ export const addText = (selectData) => {
     },
     {
       text: `${
-        selectData.fchimenylength ? selectData.fchimenylength : selectData.airSupplyDistence_merge ? selectData.airSupplyDistence_merge : '-'
+        selectData.airSupplyDistence_merge
+          ? selectData.airSupplyDistence_merge
+          : selectData.fchimenylength
+          ? selectData.fchimenylength
+          : selectData.airSupplyDistence_merge
+          ? selectData.airSupplyDistence_merge
+          : '-'
       }`,
       font: 'normal 30px Arial',
       color: '#009900',

+ 7 - 1
src/views/vent/monitorManager/fanLocalMonitor/fanLocal.threejs.base.ts

@@ -338,7 +338,13 @@ class ModelContext {
       },
       {
         text: `${
-          selectData.fchimenylength ? selectData.fchimenylength : selectData.airSupplyDistence_merge ? selectData.airSupplyDistence_merge : '-'
+          selectData.airSupplyDistence_merge
+            ? selectData.airSupplyDistence_merge
+            : selectData.fchimenylength
+            ? selectData.fchimenylength
+            : selectData.airSupplyDistence_merge
+            ? selectData.airSupplyDistence_merge
+            : '-'
         }`,
         font: 'normal 30px Arial',
         color: '#009900',

+ 7 - 1
src/views/vent/monitorManager/fanLocalMonitor1/fanLocal.three.ts

@@ -166,7 +166,13 @@ export const addText = (selectData) => {
     },
     {
       text: `${
-        selectData.fchimenylength ? selectData.fchimenylength : selectData.airSupplyDistence_merge ? selectData.airSupplyDistence_merge : '-'
+        selectData.airSupplyDistence_merge
+          ? selectData.airSupplyDistence_merge
+          : selectData.fchimenylength
+          ? selectData.fchimenylength
+          : selectData.airSupplyDistence_merge
+          ? selectData.airSupplyDistence_merge
+          : '-'
       }`,
       font: 'normal 30px Arial',
       color: '#009900',