|
@@ -90,6 +90,7 @@
|
|
|
list: [], //设备列表
|
|
|
pointData: [], //信息点数据
|
|
|
exampleData: {}, //实例数据
|
|
|
+ criterias: [], //动态参数
|
|
|
selectRadio: {
|
|
|
information: '设备信息点',
|
|
|
radioList: [
|
|
@@ -161,6 +162,17 @@
|
|
|
Promise.all([promise1, promise2]).then(values => {
|
|
|
this.pointData = values[0].Content;
|
|
|
this.exampleData = values[1].Content[0];
|
|
|
+ this.pointData.forEach(item => {
|
|
|
+ if (item.InputMode == "L" || item.InputMode == "L1" || item.InputMode == "L2" || item.InputMode == "M") {
|
|
|
+ let cur = tools.dataForKey(this.exampleData, item.Path);
|
|
|
+ if (cur) {
|
|
|
+ this.criterias.push({
|
|
|
+ id: exampleData.EquipID,
|
|
|
+ code: item.InfoPointCode
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
goBack () {
|