|
|
@ -176,7 +176,7 @@ |
|
|
|
<template v-for="itemj in footerInputList"> |
|
|
|
<section v-if="item.groupId == itemj.id" class="f-flex" style="flex-wrap: wrap;"> |
|
|
|
<el-form-item v-for="(itemk,index) in itemj.children" |
|
|
|
:key="index" label-width="100px" |
|
|
|
:key="index" label-width="105px" |
|
|
|
:label="itemk.label" |
|
|
|
:class="itemk.itemType=='textarea'?'textareaDidth':''" > |
|
|
|
<template v-if="itemk.itemType == 'radio1'" > |
|
|
@ -697,8 +697,8 @@ export default { |
|
|
|
itemType:"radio1", |
|
|
|
formName:"elderlyFlag", |
|
|
|
opction:[ |
|
|
|
{label:'是',value:1}, |
|
|
|
{label:'否',value:0} |
|
|
|
{label:'有',value:1}, |
|
|
|
{label:'无',value:0} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
@ -786,14 +786,15 @@ export default { |
|
|
|
itemType:"datepicker1", |
|
|
|
formName:"joinCommunityTime", |
|
|
|
opction:[ |
|
|
|
]},{ |
|
|
|
label:"是否请长假", |
|
|
|
itemType:"radio1", |
|
|
|
formName:"longHolidayFlag", |
|
|
|
opction:[ |
|
|
|
{label:'是',value:1}, |
|
|
|
{label:'否',value:0}, |
|
|
|
]} |
|
|
|
]}, |
|
|
|
// { |
|
|
|
// label:"是否请长假", |
|
|
|
// itemType:"radio1", |
|
|
|
// formName:"longHolidayFlag", |
|
|
|
// opction:[ |
|
|
|
// {label:'是',value:1}, |
|
|
|
// {label:'否',value:0}, |
|
|
|
// ]} |
|
|
|
] |
|
|
|
},{ |
|
|
|
id:'ensureHouseDto', |
|
|
@ -865,7 +866,7 @@ export default { |
|
|
|
opction:[ |
|
|
|
]},{ |
|
|
|
label:"失业原因", |
|
|
|
itemType:"input1", |
|
|
|
itemType:"select1", |
|
|
|
formName:"unemploymentReason", |
|
|
|
opction:[ |
|
|
|
]} ,{ |
|
|
@ -877,7 +878,7 @@ export default { |
|
|
|
{label:'否',value:0} |
|
|
|
]}, { |
|
|
|
label:"劳动能力就业愿望", |
|
|
|
itemType:"input1", |
|
|
|
itemType:"select1", |
|
|
|
formName:"employmentWish", |
|
|
|
opction:[ |
|
|
|
]} |
|
|
@ -1228,7 +1229,7 @@ export default { |
|
|
|
{groupId:'economyDto',label:'经济情况'}, |
|
|
|
{groupId:'resideInfoDto',label:'居住'}, |
|
|
|
{groupId:'familyInfoDto',label:'家庭'}, |
|
|
|
{groupId:'birthRecordDTO',label:'出生人员'}, |
|
|
|
{groupId:'birthRecordDTO',label:'出生信息'}, |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
@ -1299,6 +1300,8 @@ export default { |
|
|
|
this.getVolunteerDict() |
|
|
|
this.gethobbyDict() |
|
|
|
this.getWelfareDict() |
|
|
|
this.getUnemployment() |
|
|
|
this.getCareer() |
|
|
|
}, |
|
|
|
getGridList () { |
|
|
|
const { user } = this.$store.state |
|
|
@ -1440,6 +1443,37 @@ export default { |
|
|
|
console.log(error,'获取公益岗位字典'); |
|
|
|
} |
|
|
|
}, |
|
|
|
async getUnemployment(){ |
|
|
|
try { |
|
|
|
const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'unemployment_cause'}) |
|
|
|
this.footerInputList.forEach(c => { |
|
|
|
for(let i of c.children){ |
|
|
|
if(i.formName == 'unemploymentReason'){ |
|
|
|
i.opction = data.data |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
} catch (error) { |
|
|
|
console.log(error,'获取失业原因字典'); |
|
|
|
} |
|
|
|
}, |
|
|
|
async getCareer(){ |
|
|
|
try { |
|
|
|
const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'career_goals'}) |
|
|
|
this.footerInputList.forEach(c => { |
|
|
|
for(let i of c.children){ |
|
|
|
if(i.formName == 'employmentWish'){ |
|
|
|
i.opction = data.data |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
} catch (error) { |
|
|
|
console.log(error,'获取就业愿望字典'); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async getHouseholdDict(){ |
|
|
|
try { |
|
|
|
const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'household_situation'}) |
|
|
@ -1747,7 +1781,7 @@ export default { |
|
|
|
} else { |
|
|
|
await this.getFamilyInfoDetailById(this.form.resiId) |
|
|
|
} |
|
|
|
} else if (tab._props.label == '出生人员') { |
|
|
|
} else if (tab._props.label == '出生信息') { |
|
|
|
if (!this.form.resiId) { |
|
|
|
this.newForm.birthRecordDTO = this.form.birthRecordDTO |
|
|
|
} else { |
|
|
@ -2205,7 +2239,7 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 出生人员 |
|
|
|
// 出生信息 |
|
|
|
residentBirthRecord(id) { |
|
|
|
if(this.newForm.birthRecordDTO) return |
|
|
|
this.$http.post(`/actual/base/residentBirthRecord/detail/${id}`).then(({ data: res }) => { |
|
|
|