|
@@ -151,7 +151,8 @@ export default {
|
|
|
required: true,
|
|
|
message: '请选择值处理方式',
|
|
|
trigger: 'change'
|
|
|
- }]
|
|
|
+ }],
|
|
|
+ dict: [{ required: true }]
|
|
|
},
|
|
|
pointDes: ""
|
|
|
}
|
|
@@ -176,7 +177,7 @@ export default {
|
|
|
this.form1 = {
|
|
|
dict: 1
|
|
|
}
|
|
|
- this.$refs.dictionaryCas.setCascaderVal([''])
|
|
|
+ this.$refs.dictionaryCas.setCascaderVal([])
|
|
|
this.form2 = {
|
|
|
ValueDescription: '',
|
|
|
DataRuleType: '无需处理,直接使用'
|
|
@@ -579,11 +580,7 @@ export default {
|
|
|
this.dictionaryNames = labels
|
|
|
this.infoDict = this.$refs.dictionaryCas.pointDataSource
|
|
|
this.unitObj = this.infoDict[val[val.length - 1]]
|
|
|
- console.log(11111111111)
|
|
|
- console.log(val[val.length - 1])
|
|
|
- console.log(this.infoDict)
|
|
|
- console.log(this.unitObj)
|
|
|
- this.InfomationPoint = this.unitObj.infoPointName
|
|
|
+ this.InfomationPoint = this.unitObj.infoPointName || ''
|
|
|
}
|
|
|
}
|
|
|
}
|