Browse Source

修改查询表号功能号不同状态时显示的文案

zhangyu 5 years ago
parent
commit
0130076ad8

+ 2 - 1
src/components/business_space/business/handsontable.vue

@@ -438,7 +438,8 @@ export default {
                       tools.setDataForKey(
                         item,
                         head.Path,
-                        child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        // child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        child.error ? child.value? "表号功能号格式错误" : "表号功能号不存在" : "暂未采集到实时数据"
                       );
                     }
                   });

+ 2 - 1
src/components/ledger/handsontables/assets.vue

@@ -304,7 +304,8 @@ export default {
                       tools.setDataForKey(
                         item,
                         head.Path,
-                        child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        // child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        child.error ? child.value? "表号功能号格式错误" : "表号功能号不存在" : "暂未采集到实时数据"
                       );
                     }
                   });

+ 1 - 1
src/components/ledger/handsontables/device.vue

@@ -305,7 +305,7 @@ export default {
                       tools.setDataForKey(
                         item,
                         head.Path,
-                        child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        child.error ? child.value? "表号功能号格式错误" : "表号功能号不存在" : "暂未采集到实时数据"
                       );
                     }
                   });

+ 2 - 1
src/components/ledger/handsontables/system.vue

@@ -321,7 +321,8 @@ export default {
                       tools.setDataForKey(
                         item,
                         head.Path,
-                        child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        // child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        child.error ? child.value? "表号功能号格式错误" : "表号功能号不存在" : "暂未采集到实时数据"
                       );
                     }
                   });

+ 2 - 1
src/views/ledger/cenotelist/index.vue

@@ -445,7 +445,8 @@ export default {
                       tools.setDataForKey(
                         item,
                         head.Path,
-                        child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        // child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        child.error ? child.value? "表号功能号格式错误" : "表号功能号不存在" : "暂未采集到实时数据"
                       );
                     }
                   });

+ 2 - 1
src/views/ledger/facility/parts/index.vue

@@ -485,7 +485,8 @@ export default {
                       tools.setDataForKey(
                         item,
                         head.Path,
-                        child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        // child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        child.error ? child.value? "表号功能号格式错误" : "表号功能号不存在" : "暂未采集到实时数据"
                       );
                     }
                   });

+ 2 - 1
src/views/ledger/rentlist/index.vue

@@ -485,7 +485,8 @@ export default {
                       tools.setDataForKey(
                         item,
                         head.Path,
-                        child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        // child.error ? "表号功能号格式错误" : "表号功能号不存在"
+                        child.error ? child.value? "表号功能号格式错误" : "表号功能号不存在" : "暂未采集到实时数据"
                       );
                     }
                   });