|
@@ -566,6 +566,18 @@ export default {
|
|
|
this.splitHandleShow.devArr = this.splitHandleShow.devArr ? this.splitHandleShow.devArr : [{ EquipmentMark: '', SplitStart: 1, SplitEnd: 1 }]
|
|
|
this.splitHandleShow.pointArr = this.splitHandleShow.pointArr ? this.splitHandleShow.pointArr : [{ from: '', to: '' }]
|
|
|
},
|
|
|
+ //处理函数
|
|
|
+ delDataSource(val) {
|
|
|
+ if (!val) {
|
|
|
+ return '--'
|
|
|
+ }
|
|
|
+ val = JSON.parse(val)
|
|
|
+ let str = ''
|
|
|
+ val.forEach(el => {
|
|
|
+ str += el.Code + '.' + el.Name + ' '
|
|
|
+ })
|
|
|
+ return str
|
|
|
+ },
|
|
|
//对应数据字典变化
|
|
|
changeDictionaryCas({ val, labels }) {
|
|
|
this.dictionaryData = val;
|
|
@@ -573,6 +585,7 @@ export default {
|
|
|
this.infoDict = this.$refs.dictionaryCas.pointDataSource
|
|
|
this.unitObj = this.infoDict[val[val.length - 1]]
|
|
|
this.InfomationPoint = this.unitObj.InfoPointName || ''
|
|
|
+ this.ValueDescription = this.delDataSource(this.unitObj.DataSource)
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|