|
|
|
@ -8,7 +8,6 @@ |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.baseInfoDto.name" placeholder="请输入内容" |
|
|
|
size="small" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="证件类型" prop="baseInfoDto.idType" class="font-color-orange flex_item_width1"> |
|
|
|
<el-select v-model.trim="form.baseInfoDto.idType" placeholder="请选择" size="small" |
|
|
|
class="list_item_width_1" clearable> |
|
|
|
@ -16,12 +15,10 @@ |
|
|
|
:value="item.value" @click.native="handelCLickIdType(item.value)"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="证件号" prop="baseInfoDto.idNum" class="font-color-orange flex_item_width1"> |
|
|
|
<el-input v-model.trim="form.baseInfoDto.idNum" placeholder="请输入内容" clearable size="small" |
|
|
|
class="list_item_width_1" @blur="handleValidBlur"></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="国籍" prop="baseInfoDto.nationality" class="font-color-orange flex_item_width1"> |
|
|
|
<el-select v-model.trim="form.baseInfoDto.nationality" placeholder="请选择" size="small" |
|
|
|
class="list_item_width_1" clearable> |
|
|
|
@ -29,12 +26,10 @@ |
|
|
|
:label="item.label" :value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="联系电话" prop="baseInfoDto.mobile" class="font-color-orange flex_item_width1"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.baseInfoDto.mobile" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="性别" class="flex_item_width1"> |
|
|
|
<el-select v-model.trim="form.baseInfoDto.gender" placeholder="请选择" size="small" |
|
|
|
class="list_item_width_1" clearable> |
|
|
|
@ -42,14 +37,12 @@ |
|
|
|
:value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="出生日期" class="flex_item_width1"> |
|
|
|
<el-date-picker v-model.trim="form.baseInfoDto.birthday" class="list_item_width_1" |
|
|
|
type="date" size="small" clearable placeholder="选择日期" format="yyyy 年 MM 月 dd 日" |
|
|
|
value-format="yyyy-MM-dd"> |
|
|
|
</el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="民族" class="flex_item_width1"> |
|
|
|
<el-select v-model.trim="form.baseInfoDto.nation" placeholder="请选择" size="small" |
|
|
|
class="list_item_width_1" clearable> |
|
|
|
@ -57,7 +50,6 @@ |
|
|
|
:label="item.label" :value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="文化程度" class="flex_item_width1"> |
|
|
|
<el-select v-model.trim="form.eduInfoDto.cultureLevel" placeholder="请选择" size="small" |
|
|
|
class="list_item_width_1" clearable> |
|
|
|
@ -65,7 +57,6 @@ |
|
|
|
:label="item.label" :value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="婚姻状况" class="flex_item_width1"> |
|
|
|
<el-select v-model.trim="form.familyInfoDto.marriage" placeholder="请选择" size="small" |
|
|
|
class="list_item_width_1" clearable> |
|
|
|
@ -104,7 +95,6 @@ |
|
|
|
v-model.trim="form.resideInfoDtos[index].gridId" :options="orgOptions" |
|
|
|
:props="orgOptionProps" @change="handleChangeAgency(index)"></el-cascader> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item :prop="`resideInfoDtos[${index}].villageId`" label="所属房屋" |
|
|
|
label-width="100px" class="font-color-orange flex_item_width4" :rules="[ |
|
|
|
{ required: true, message: '请选择小区', trigger: 'blur' }, |
|
|
|
@ -116,8 +106,6 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item :prop="`resideInfoDtos[${index}].buildId`" label-width="0" |
|
|
|
style="margin:0px" :rules="[ |
|
|
|
{ required: true, message: '请选择楼栋', trigger: 'blur' }, |
|
|
|
@ -187,7 +175,6 @@ |
|
|
|
v-model.trim="form.resideInfoDtos[index].currentResidence" placeholder="请输入内容" |
|
|
|
size="small" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item class="flex_item_width1" label="迁出时间" v-else-if="form.resideInfoDtos[index].householdSituation == 'rhdbz'"> |
|
|
|
<el-date-picker v-model.trim="form.resideInfoDtos[index].outOfTime" |
|
|
|
class="list_item_width_1" type="date" size="small" clearable placeholder="选择日期" |
|
|
|
@ -202,17 +189,13 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</section> |
|
|
|
<h5>拓展信息登记</h5> |
|
|
|
<div class="flex_box"> |
|
|
|
|
|
|
|
<el-form-item label="宗教信仰" class="flex_item_width1"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.religionDto.religion" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="就业状态" class="font-color-blue flex_item_width1"> |
|
|
|
<el-select v-model.trim="form.workInfoDto.careerStatus" placeholder="请选择" size="small" |
|
|
|
class="list_item_width_1" clearable> |
|
|
|
@ -221,22 +204,18 @@ |
|
|
|
@click.native="handelClickCareerStatus(item.value)"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="工作单位" class="flex_item_width1" v-if="form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.workInfoDto.workUnit" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="职业" class="flex_item_width1" v-if="form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.workInfoDto.occupation" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<!-- <el-form-item label="原工作单位" class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.unemployedDto.originWorkUnit" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<!-- <el-form-item label="失业时间" class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus"> |
|
|
|
<el-date-picker v-model.trim="form.unemployedDto.unemploymentTime" |
|
|
|
class="list_item_width_1" type="date" size="small" clearable placeholder="选择日期" |
|
|
|
@ -247,14 +226,12 @@ |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.economyDto.monthIncome" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<!-- <el-form-item label="失业证号" class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus" :rules="[ |
|
|
|
{ required: true, message: '请填写失业证号', trigger: 'blur' }, |
|
|
|
]" prop="unemployedDto.unemploymentNum"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.unemployedDto.unemploymentNum" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<!-- <el-form-item label="失业原因" class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus"> |
|
|
|
<el-select v-model.trim="form.unemployedDto.unemploymentReason" placeholder="请选择" |
|
|
|
size="small" class="list_item_width_1" clearable> |
|
|
|
@ -262,18 +239,14 @@ |
|
|
|
:label="item.label" :value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<!-- <el-form-item label="再就业优惠证号" class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.unemployedDto.employmentNum" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<!-- <el-form-item label="技术特长"class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.unemployedDto.specialSkill" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="是否领取失业金" class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus"> |
|
|
|
<el-radio-group v-model.trim="form.unemployedDto.unempCompensationFlag"> |
|
|
|
<el-radio :label="item.value" v-for="item in disabilityFlagList" :key="item.value">{{ |
|
|
|
@ -281,7 +254,6 @@ |
|
|
|
}}</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<!-- <el-form-item label="是否就业困难对象" class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus"> |
|
|
|
<el-radio-group v-model.trim="form.unemployedDto.employmentHardFlag"> |
|
|
|
<el-radio :label="item.value" v-for="item in disabilityFlagList" :key="item.value">{{ |
|
|
|
@ -289,7 +261,6 @@ |
|
|
|
}}</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<!-- <el-form-item label="劳动就业愿望" class="flex_item_width1" v-if="(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6) && form.workInfoDto.careerStatus" :rules="[ |
|
|
|
{ required: true, message: '请选择劳动就业愿望', trigger: 'blur' }, |
|
|
|
]" prop="workInfoDto.employmentWish"> |
|
|
|
@ -299,7 +270,6 @@ |
|
|
|
:label="item.label" :value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<el-form-item label="有无赡养人" class="flex_item_width1"> |
|
|
|
<el-radio-group v-model.trim="form.familyInfoDto.elderlyFlag"> |
|
|
|
<el-radio :label="item.value" v-for="item in hasOptions" :key="item.value" |
|
|
|
@ -307,7 +277,6 @@ |
|
|
|
}}</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="与赡养人关系" class="flex_item_width1" v-if="form.familyInfoDto.elderlyFlag == 1"> |
|
|
|
<el-select v-model.trim="form.familyInfoDto.elderlyRelation" placeholder="请选择" size="small" |
|
|
|
class="list_item_width_1" clearable> |
|
|
|
@ -315,7 +284,6 @@ |
|
|
|
:label="item.label" :value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="赡养人联系电话" class="flex_item_width1"v-if="form.familyInfoDto.elderlyFlag == 1"> |
|
|
|
<el-input class="list_item_width_1" v-model.trim="form.familyInfoDto.dependantMobile" |
|
|
|
placeholder="请输入内容" size="small" clearable></el-input> |
|
|
|
@ -354,7 +322,6 @@ |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { requestGet, requestPost } from "@/js/dai/request"; |
|
|
|
import { |
|
|
|
@ -675,7 +642,6 @@ export default { |
|
|
|
opctionParams: { dictType: 'subsistence_allowance_reasons' }, |
|
|
|
opction: [] |
|
|
|
}, |
|
|
|
|
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
@ -826,7 +792,6 @@ export default { |
|
|
|
itemType: "inputNum", |
|
|
|
formName: "settlementAmount", |
|
|
|
opction: [ |
|
|
|
|
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
@ -877,7 +842,6 @@ export default { |
|
|
|
{ |
|
|
|
id: 'specialSupportDto', |
|
|
|
children: [ |
|
|
|
|
|
|
|
{//0 |
|
|
|
label: "特扶类别", |
|
|
|
check:'fourFont', |
|
|
|
@ -942,7 +906,6 @@ export default { |
|
|
|
opctionParams: { dictType: 'disability_level' }, |
|
|
|
opction: [] |
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
@ -1012,7 +975,6 @@ export default { |
|
|
|
opctionParams: { dictType: 'career_goals' }, |
|
|
|
opction: [] |
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
} |
|
|
|
], |
|
|
|
@ -1065,7 +1027,6 @@ export default { |
|
|
|
created() { |
|
|
|
this.getDicts(); |
|
|
|
this.getOrgTreeList(); |
|
|
|
|
|
|
|
this.initHouseBind(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
@ -1137,7 +1098,6 @@ export default { |
|
|
|
this.$http.post("sys/dict/data/dictlist", { |
|
|
|
dictType: "unemployment_reason", |
|
|
|
}), |
|
|
|
|
|
|
|
]; |
|
|
|
const dictKeys = [ |
|
|
|
"nationalityList", |
|
|
|
@ -1150,7 +1110,6 @@ export default { |
|
|
|
"spouseSituationList", |
|
|
|
"unemploymentReasonList", |
|
|
|
]; // 对应的键名 |
|
|
|
|
|
|
|
const results = await Promise.all(requests); |
|
|
|
results.forEach((result, index) => { |
|
|
|
if (result.data.code === 0) { |
|
|
|
@ -1170,7 +1129,6 @@ export default { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
} else { |
|
|
|
console.log("获取组织树成功", res.data); |
|
|
|
this.orgOptions = []; |
|
|
|
this.orgOptions.push(res.data); |
|
|
|
} |
|
|
|
@ -1184,7 +1142,6 @@ export default { |
|
|
|
val == 0 ? "rhyz" : "rzhbz"; |
|
|
|
}, |
|
|
|
handleChangeV(index) { |
|
|
|
console.log(this.form.resideInfoDtos[index].villageId); |
|
|
|
this.form.resideInfoDtos[index].buildId = ""; |
|
|
|
this.form.resideInfoDtos[index].unitId = ""; |
|
|
|
this.form.resideInfoDtos[index].homeId = ""; |
|
|
|
@ -1202,15 +1159,7 @@ export default { |
|
|
|
this.form.resideInfoDtos[index].homeId = ""; |
|
|
|
this.getHouseList(index); |
|
|
|
}, |
|
|
|
handleChangeH(i) { |
|
|
|
// let item = this.optionsH.find((item, index) => index === i); |
|
|
|
// if (item && item.type == '1') { |
|
|
|
// // this.form.IS_TENANT = '1' |
|
|
|
// console.log('item-----', item) |
|
|
|
// } |
|
|
|
// else |
|
|
|
// this.form.IS_TENANT = '0' |
|
|
|
}, |
|
|
|
handleChangeH(i) {}, |
|
|
|
handleChangeAgency(index) { |
|
|
|
let obj = this.$refs[`myCascader`][index].getCheckedNodes()[0] |
|
|
|
? this.$refs["myCascader"][index].getCheckedNodes()[0].data |
|
|
|
@ -1219,12 +1168,10 @@ export default { |
|
|
|
if (obj.level === "grid") { |
|
|
|
this.form.resideInfoDtos[index].gridId = obj.agencyId; |
|
|
|
this.form.resideInfoDtos[index].agencyId = obj.pid; |
|
|
|
|
|
|
|
this.form.resideInfoDtos[index].villageId = ""; |
|
|
|
this.form.resideInfoDtos[index].buildId = ""; |
|
|
|
this.form.resideInfoDtos[index].unitId = ""; |
|
|
|
this.form.resideInfoDtos[index].homeId = ""; |
|
|
|
|
|
|
|
this.getValiheList(index); |
|
|
|
} else { |
|
|
|
// this.selGridId = [] |
|
|
|
@ -1233,13 +1180,9 @@ export default { |
|
|
|
this.$message.info('请选择网格') |
|
|
|
return false |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
getValiheList(index) { |
|
|
|
console.log(this.form.resideInfoDtos[index].gridId, '小区接口'); |
|
|
|
console.log(this.form.resideInfoDtos); |
|
|
|
const { user } = this.$store.state |
|
|
|
this.$http.post('/actual/base/communityQuarters/listQuartersOptions', { gridId: this.form.resideInfoDtos[index].gridId, agencyId: user.agencyId }).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
@ -1329,7 +1272,6 @@ export default { |
|
|
|
i = user.areaCodePath.length - 1 |
|
|
|
huji = user.areaCodePath[i].length > 6 ? user.areaCodePath[i].substr(0, 6) : user.areaCodePath[i] |
|
|
|
} |
|
|
|
|
|
|
|
if (this.form.baseInfoDto.idNum.length === 18 || this.form.baseInfoDto.idNum.length === 15) { |
|
|
|
const _id = this.form.baseInfoDto.idNum.substr(0, 6) |
|
|
|
const { sex, birth, age } = computedCard(this.form.baseInfoDto.idNum); |
|
|
|
@ -1343,9 +1285,7 @@ export default { |
|
|
|
// this.form.IS_BDHJ = huji == _id ? '1' : '' |
|
|
|
// 身份证前端验证角色方法 因原型没有注释 |
|
|
|
// this.validateIdcard(this.form.idNum) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
async getResidentInfoByIdNum(){ |
|
|
|
try { |
|
|
|
@ -1363,11 +1303,8 @@ export default { |
|
|
|
}).then(() => { |
|
|
|
this.resiId = data.id |
|
|
|
this.showCheckPassword = true; |
|
|
|
|
|
|
|
}).catch(() => { |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} else if (code >= 8000) { |
|
|
|
this.$message.error(msg); |
|
|
|
this.btnLoading = false; |
|
|
|
@ -1381,7 +1318,6 @@ export default { |
|
|
|
handleLocalRadio(e) { |
|
|
|
if (e.target.type === 'radio') return |
|
|
|
this.form.baseInfoDto.localResidenceFlag = this.form.baseInfoDto.localResidenceFlag === 0 ? 1 : 0; |
|
|
|
console.log(this.form.baseInfoDto.localResidenceFlag); |
|
|
|
}, |
|
|
|
handelClickMarriage() { |
|
|
|
this.form.familyInfoDto.spouseSituation = null |
|
|
|
@ -1401,7 +1337,6 @@ export default { |
|
|
|
unemploymentReason: null,//失业原因【字典表】code |
|
|
|
employmentHardFlag: null,//是否就业困难对象;1是0不是 |
|
|
|
employmentWish: null,//劳动能力就业愿望 |
|
|
|
|
|
|
|
} |
|
|
|
this.form.workInfoDto = { |
|
|
|
careerStatus: val,//就业状况 |
|
|
|
@ -1456,7 +1391,6 @@ export default { |
|
|
|
this.form.resideInfoDtos = homeArr |
|
|
|
} |
|
|
|
this.btnLoading = false; |
|
|
|
|
|
|
|
} else if (code >= 8000) { |
|
|
|
this.$message.error(msg); |
|
|
|
this.btnLoading = false; |
|
|
|
@ -1516,7 +1450,6 @@ export default { |
|
|
|
'volunteerFlag': { formId: 'volunteerDto', formType: 'volunteerDto', title: '志愿者' }, |
|
|
|
'unemployedFlag': { formId: 'unemployedDto', formType: 'unemployedDto', title: '失业人员' } |
|
|
|
}; |
|
|
|
|
|
|
|
if (map[value]) { |
|
|
|
this.dialogTitle = map[value].title; |
|
|
|
this.dialogVisible = |
|
|
|
@ -1550,7 +1483,6 @@ export default { |
|
|
|
watch: {}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang='scss' scoped> |
|
|
|
@import "@/assets/scss/modules/management/form-main.scss"; |
|
|
|
@import "@/assets/scss/pages/resiAdd.scss"; |
|
|
|
|