|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
<view style="height: 20px" />
|
|
|
+ <basics ref="basics" />
|
|
|
<pilotLamp ref="pilotLamp" itemW="21%" />
|
|
|
<view class="control-title">设备参数</view>
|
|
|
<preview ref="preview" />
|
|
@@ -12,9 +13,10 @@
|
|
|
import controlPanel from "../prodnum-YK01/modules/controlPanel.vue";
|
|
|
import preview from "../prodnum-YK01/modules/preview.vue";
|
|
|
import pilotLamp from "../prodnum-MT03/modules/pilotLamp.vue";
|
|
|
+import basics from "./modules/basics.vue";
|
|
|
export default {
|
|
|
name: "prodnum-FW01",
|
|
|
- components: { controlPanel, pilotLamp, preview },
|
|
|
+ components: { controlPanel, pilotLamp, preview, basics },
|
|
|
props: {
|
|
|
control: Object,
|
|
|
},
|
|
@@ -49,6 +51,14 @@ export default {
|
|
|
value: getBoole("A002"),
|
|
|
},
|
|
|
];
|
|
|
+
|
|
|
+ if (getBoole("A005")) {
|
|
|
+ this.$refs.basics.ctrlModel = this.__proto__.getControlItem(
|
|
|
+ ["开度提醒复位"],
|
|
|
+ newVal
|
|
|
+ )[0];
|
|
|
+ console.log(this.$refs.basics.ctrlModel);
|
|
|
+ }
|
|
|
function getBoole(name, expect = 1) {
|
|
|
try {
|
|
|
return newVal.paramvalues[name] == expect;
|