特殊人群

This commit is contained in:
liuye
2021-12-24 16:25:23 +08:00
parent 5c603d543c
commit c1fd80e43d

View File

@@ -271,13 +271,12 @@ export default {
if (e.type == 'onOff') { //开关 if (e.type == 'onOff') { //开关
this.formData[e.fieldDbName] = 0 this.formData[e.fieldDbName] = 0
} }
})
if (e.type == 'area') { //地区 if (e.type == 'area') { //地区
this.formData[e.fieldDbName+'_name'] = this.user.areaName this.formData[e.fieldDbName+'_name'] = this.user.areaName
} }
}) })
})
console.log(this.formData)
this.$forceUpdate() this.$forceUpdate()
this.pageShow = true this.pageShow = true
} }
@@ -290,7 +289,6 @@ export default {
item.map((e) => { item.map((e) => {
if(e.type == 'checkbox') { //多选 if(e.type == 'checkbox') { //多选
var list = this.$dict.getDict(e.dict) var list = this.$dict.getDict(e.dict)
console.log(list)
list.map((items) => { list.map((items) => {
items.checked = false items.checked = false
}) })
@@ -308,7 +306,6 @@ export default {
this.pageShow = true this.pageShow = true
}) })
console.log(this.formData)
}, },
selectClick(name, dictName) { selectClick(name, dictName) {
this.selectName = name this.selectName = name