家庭收支
This commit is contained in:
@@ -564,8 +564,7 @@ export default {
|
||||
{dictName: '是否接受其它健康扶贫', checked: false},
|
||||
],
|
||||
guaranteeList: [],
|
||||
|
||||
|
||||
isAdd: 'false',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -600,10 +599,12 @@ export default {
|
||||
this.flag = true
|
||||
this.id = query.id
|
||||
this.getInfo(this.id)
|
||||
|
||||
|
||||
} else {
|
||||
} else if (!query.id) {
|
||||
this.form.currentAreaId = this.user.areaId
|
||||
}
|
||||
}
|
||||
// else if (query.id && isAdd)
|
||||
})
|
||||
console.log(this.helthList);
|
||||
},
|
||||
@@ -699,7 +700,7 @@ export default {
|
||||
}
|
||||
|
||||
this.basicsCheckList.map((item, index) => {
|
||||
if (item.checked) {
|
||||
if (item.checked) {
|
||||
this.basicsList.push(index)
|
||||
}
|
||||
})
|
||||
@@ -707,10 +708,11 @@ export default {
|
||||
this.form.basicsCheck = this.basicsList.join(',')
|
||||
|
||||
this.guaranteeCheckList.map((item, index) => {
|
||||
if (item.checked) {
|
||||
if (item.checked) {
|
||||
this.guaranteeList.push(index)
|
||||
}
|
||||
})
|
||||
|
||||
this.form.guaranteeCheck = this.guaranteeList.join(',')
|
||||
|
||||
this.checkInit('jcbxCxyiliao',this.basicsCheckList, 0)
|
||||
@@ -726,8 +728,7 @@ export default {
|
||||
this.checkInit('bzcsWubaohu',this.guaranteeCheckList, 2)
|
||||
this.checkInit('bzcsYiliaojiuzhu',this.guaranteeCheckList, 3)
|
||||
this.checkInit('bzcsQita',this.guaranteeCheckList, 4)
|
||||
|
||||
|
||||
|
||||
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
|
||||
...this.form,
|
||||
id: this.id || '',
|
||||
|
||||
Reference in New Issue
Block a user