|
|
|
@ -415,15 +415,7 @@ export default { |
|
|
|
itemType:"checkbox", |
|
|
|
formName:"hobbyCode", |
|
|
|
opction:[ |
|
|
|
{label:'治安巡逻',formName:'hobbyCode1'}, |
|
|
|
{label:'人民调解',formName:'hobbyCode2'}, |
|
|
|
{label:'民情采集',formName:'hobbyCode3'}, |
|
|
|
{label:'问题辅导',formName:'hobbyCode4'}, |
|
|
|
{label:'结对帮扶',formName:'hobbyCode5'}, |
|
|
|
{label:'应急处理',formName:'hobbyCode6'}, |
|
|
|
{label:'义务理发',formName:'hobbyCode7'}, |
|
|
|
{label:'家电维修',formName:'hobbyCode8'}, |
|
|
|
{label:'其他',formName:'9'}, |
|
|
|
|
|
|
|
]}, |
|
|
|
{ |
|
|
|
label:'兴趣', |
|
|
|
@ -968,14 +960,6 @@ export default { |
|
|
|
itemType:"checkbox", |
|
|
|
formName:"volunteerCategory", |
|
|
|
opction:[ |
|
|
|
{label:'文化队伍',formName:'hobbyCode1'}, |
|
|
|
{label:'楼委会',formName:'hobbyCode2'}, |
|
|
|
{label:'能人达人',formName:'hobbyCode3'}, |
|
|
|
{label:'老友俱乐部',formName:'hobbyCode4'}, |
|
|
|
{label:'代办员',formName:'hobbyCode5'}, |
|
|
|
{label:'调解员',formName:'hobbyCode6'}, |
|
|
|
{label:'采集员',formName:'hobbyCode7'}, |
|
|
|
{label:'治安巡逻员',formName:'9'}, |
|
|
|
]}, |
|
|
|
{ |
|
|
|
label:'备注', |
|
|
|
@ -1282,6 +1266,8 @@ export default { |
|
|
|
this.getPartyNation() |
|
|
|
this.getResidentNation() |
|
|
|
this.getHousing() |
|
|
|
this.getVolunteerNation() |
|
|
|
this.gethobbyNation() |
|
|
|
}, |
|
|
|
getGridList () { |
|
|
|
const { user } = this.$store.state |
|
|
|
@ -1325,6 +1311,38 @@ export default { |
|
|
|
console.log(error,'获取残疾字典'); |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
async getVolunteerNation(){ |
|
|
|
try { |
|
|
|
const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'VOLUNTEER_CATEGORY'}) |
|
|
|
this.footerInputList.forEach(c => { |
|
|
|
for(let i of c.children){ |
|
|
|
if(i.formName == 'volunteerCategory'){ |
|
|
|
i.opction = data.data |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
} catch (error) { |
|
|
|
console.log(error,'获取志愿者字典'); |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
async gethobbyNation(){ |
|
|
|
try { |
|
|
|
const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'SPECIAL_SKILL'}) |
|
|
|
this.footerInputList.forEach(c => { |
|
|
|
for(let i of c.children){ |
|
|
|
if(i.formName == 'hobbyCode'){ |
|
|
|
i.opction = data.data |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
} catch (error) { |
|
|
|
console.log(error,'获取兴趣爱好字典'); |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
async getdisabilityNationClass(){ |
|
|
|
try { |
|
|
|
@ -1436,6 +1454,7 @@ export default { |
|
|
|
async getResidentNation(){ |
|
|
|
try { |
|
|
|
const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'special_resident_category'}) |
|
|
|
console.log(data.data,'see'); |
|
|
|
this.footerInputList.forEach(c => { |
|
|
|
for(let i of c.children){ |
|
|
|
if(i.formName == 'specialCategoryCode'){ |
|
|
|
@ -1627,6 +1646,9 @@ export default { |
|
|
|
// console.log(tab); |
|
|
|
// console.log(event); |
|
|
|
// console.log(tab._props.label ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (tab._props.label == '教育') { |
|
|
|
if (!this.form.resiId) { |
|
|
|
this.newForm.eduInfoDto = this.form.eduInfoDto |
|
|
|
@ -1971,6 +1993,7 @@ export default { |
|
|
|
}, |
|
|
|
// 教育信息详情 |
|
|
|
residentEduInfo(id) { |
|
|
|
if(this.newForm.eduInfoDto) return |
|
|
|
this.$http.get(`/actual/base/residentEduInfo/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -1985,6 +2008,7 @@ export default { |
|
|
|
}, |
|
|
|
// 兴趣爱好详情 |
|
|
|
residentHobbyInfo(id) { |
|
|
|
if(this.newForm.hobbyInfoDto) return |
|
|
|
this.$http.get(`/actual/base/residentHobbyInfo/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2003,6 +2027,7 @@ export default { |
|
|
|
}, |
|
|
|
// 宗教信仰详情 |
|
|
|
residentReligion(id) { |
|
|
|
if(this.newForm.religionDto) return |
|
|
|
this.$http.get(`/actual/base/residentReligion/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2018,6 +2043,7 @@ export default { |
|
|
|
}, |
|
|
|
// 健康信息详情 |
|
|
|
getHealthInfoDetailById(id) { |
|
|
|
if(this.newForm.healthDto) return |
|
|
|
this.$http.post(`/actual/base/residentHealthInfo/getHealthInfoDetailById/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2049,6 +2075,7 @@ export default { |
|
|
|
}, |
|
|
|
// 工作信息详情 |
|
|
|
residentWorkInfo(id) { |
|
|
|
if(this.newForm.healthDto) return |
|
|
|
this.$http.get(`/actual/base/residentWorkInfo/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2066,6 +2093,7 @@ export default { |
|
|
|
}, |
|
|
|
// 经济状况详情 |
|
|
|
getEconomyDetailById(id) { |
|
|
|
if(this.newForm.economyDto) return |
|
|
|
this.$http.post(`/actual/base/residentEconomy/getEconomyDetailById/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2080,6 +2108,7 @@ export default { |
|
|
|
}, |
|
|
|
// 居住信息详情 |
|
|
|
getResideInfoDetailById(id) { |
|
|
|
if(this.newForm.resideInfoDto) return |
|
|
|
this.$http.post(`/actual/base/residentResideInfo/getResideInfoDetailById/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2097,6 +2126,7 @@ export default { |
|
|
|
}, |
|
|
|
// 家庭信息详情 |
|
|
|
getFamilyInfoDetailById(id) { |
|
|
|
if(this.newForm.familyInfoDto) return |
|
|
|
this.$http.post(`/actual/base/residentFamilyInfo/getFamilyInfoDetailById/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2117,6 +2147,7 @@ export default { |
|
|
|
}, |
|
|
|
// 出生人员 |
|
|
|
residentBirthRecord(id) { |
|
|
|
if(this.newForm.birthRecordDTO) return |
|
|
|
this.$http.post(`/actual/base/residentBirthRecord/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2134,6 +2165,7 @@ export default { |
|
|
|
}, |
|
|
|
// 党员信息详情 |
|
|
|
residentPartyMemberInfo(id) { |
|
|
|
if(this.newForm.parymemberInfoDto) return |
|
|
|
this.$http.get(`/actual/base/residentPartyMemberInfo/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2157,6 +2189,7 @@ export default { |
|
|
|
}, |
|
|
|
// 保障房信息详情 |
|
|
|
residentEnsureHouse(id) { |
|
|
|
if(this.newForm.ensureHouseDto) return |
|
|
|
this.$http.get(`/actual/base/residentEnsureHouse/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2174,6 +2207,7 @@ export default { |
|
|
|
}, |
|
|
|
// 失业信息详情 |
|
|
|
residentUnemployed(id) { |
|
|
|
if(this.newForm.unemployedDto) return |
|
|
|
this.$http.get(`/actual/base/residentUnemployed/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2194,6 +2228,7 @@ export default { |
|
|
|
}, |
|
|
|
// 退役军人信息详情 |
|
|
|
getVeteranDetailById(id) { |
|
|
|
if(this.newForm.veteranDto) return |
|
|
|
this.$http.post(`/actual/base/residentVeteran/getVeteranDetailById/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2216,6 +2251,7 @@ export default { |
|
|
|
}, |
|
|
|
// 统战人员详情 |
|
|
|
residentUnitedFront(id) { |
|
|
|
if(this.newForm.unitedFrontDto) return |
|
|
|
this.$http.get(`/actual/base/residentUnitedFront/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2230,6 +2266,7 @@ export default { |
|
|
|
}, |
|
|
|
// 志愿者信息详情 |
|
|
|
getVolunteerDetailById(id) { |
|
|
|
if(this.newForm.volunteerDto) return |
|
|
|
this.$http.post(`/actual/base/residentVolunteer/getVolunteerDetailById/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2248,6 +2285,7 @@ export default { |
|
|
|
}, |
|
|
|
// 老年人信息详情 |
|
|
|
getOldPeopleDetailById(id) { |
|
|
|
if(this.newForm.oldPeopleDto) return |
|
|
|
this.$http.post(`/actual/base/residentOldPeople/getOldPeopleDetailById/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2262,6 +2300,7 @@ export default { |
|
|
|
}, |
|
|
|
// 特殊人群信息 |
|
|
|
residentSpecial(id) { |
|
|
|
if(this.newForm.specialDto) return |
|
|
|
this.$http.get(`/actual/base/residentSpecial/detail/${id}`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
@ -2322,7 +2361,6 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
this.newForm.eduInfoDto = this.form.eduInfoDto |
|
|
|
this.newForm.specialDto = this.form.specialDto |
|
|
|
console.log(this.newForm.specialDto); |
|
|
|
}, |
|
|
|
setJSON() { |
|
|
|
|