|
@@ -79,7 +79,7 @@
|
|
|
<template slot="append" v-if="item.Unit">{{item.Unit}}</template>
|
|
|
</el-input>
|
|
|
<el-input v-model="form[item.Path]" v-else disabled title="暂不支持"></el-input>
|
|
|
- <!-- <div>{{item.InfoPointCode}}</div>-->
|
|
|
+<!-- <div>{{item.InfoPointCode}}</div>-->
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
</el-form>
|
|
@@ -142,7 +142,7 @@
|
|
|
getDataDictionary(params, res => {
|
|
|
let arr = res.Content.map(item => {
|
|
|
if (item.InputMode === 'D1') {
|
|
|
- item.options = JSON.parse(item.DataSource)
|
|
|
+ item.options = item.DataSource && JSON.parse(item.DataSource)
|
|
|
}
|
|
|
switch (item.InfoPointCode) { //过滤掉待删除的
|
|
|
case 'FloorIdentity':
|
|
@@ -155,7 +155,8 @@
|
|
|
return item
|
|
|
}
|
|
|
})
|
|
|
- this.InforsList = arr.filter(t => t)
|
|
|
+ //手动删除掉数据字典中不存在的字段,等待后台同步
|
|
|
+ this.InforsList = arr.filter(t => t && t.InfoPointCode != 'FloorQRCode')
|
|
|
})
|
|
|
},
|
|
|
submitForm(call) {
|