|
|
@ -1714,7 +1714,6 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getValiheList () { |
|
|
|
const { user } = this.$store.state |
|
|
|
this.$http.post('/actual/base/communityQuarters/listQuartersOptions', { gridId: this.form.gridId, agencyId: user.agencyId }).then(({ data: res }) => { |
|
|
@ -2446,9 +2445,10 @@ export default { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
} else { |
|
|
|
|
|
|
|
if (res.data && res.data.chronicDiseaseCode) { |
|
|
|
res.data.chronicDiseaseCode = res.data.chronicDiseaseCode.split(',') |
|
|
|
}else{ |
|
|
|
res.data.chronicDiseaseCode = [] |
|
|
|
} |
|
|
|
|
|
|
|
this.form.healthDto = res.data ? res.data : { // 健康 |
|
|
@ -2478,7 +2478,7 @@ export default { |
|
|
|
}, |
|
|
|
// 工作信息详情 |
|
|
|
residentWorkInfo (id) { |
|
|
|
if (this.newForm.healthDto) return |
|
|
|
if (this.newForm.workInfoDto) return |
|
|
|
this.$http.get(`/actual/base/residentWorkInfo/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|