|
|
@ -343,7 +343,7 @@ |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item label="是否领取失业金" label-width="120px"> |
|
|
<el-form-item label="是否领取失业金" label-width="120px"> |
|
|
<el-radio-group v-model="form.unemployedDto.unempCompensationFlag"> |
|
|
<el-radio-group v-model="form.unemployedDto.unempCompensationFlag"> |
|
|
<el-radio :label="item.value" v-for="item in hasOptions" :key="item.value">{{ |
|
|
<el-radio :label="item.value" v-for="item in disabilityFlagList" :key="item.value">{{ |
|
|
item.label |
|
|
item.label |
|
|
}}</el-radio> |
|
|
}}</el-radio> |
|
|
</el-radio-group> |
|
|
</el-radio-group> |
|
|
@ -352,14 +352,14 @@ |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item label="是否就业困难对象" label-width="150px"> |
|
|
<el-form-item label="是否就业困难对象" label-width="150px"> |
|
|
<el-radio-group v-model="form.unemployedDto.employmentHardFlag"> |
|
|
<el-radio-group v-model="form.unemployedDto.employmentHardFlag"> |
|
|
<el-radio :label="item.value" v-for="item in hasOptions" :key="item.value">{{ |
|
|
<el-radio :label="item.value" v-for="item in disabilityFlagList" :key="item.value">{{ |
|
|
item.label |
|
|
item.label |
|
|
}}</el-radio> |
|
|
}}</el-radio> |
|
|
</el-radio-group> |
|
|
</el-radio-group> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item label="劳动就业愿望"> |
|
|
<el-form-item label="劳动就业愿望" label-width="105px"> |
|
|
<el-select v-model="form.workInfoDto.employmentWish" placeholder="请选择" size="small" |
|
|
<el-select v-model="form.workInfoDto.employmentWish" placeholder="请选择" size="small" |
|
|
class="list_item_width_1" clearable> |
|
|
class="list_item_width_1" clearable> |
|
|
<el-option v-for="(item, index) in dicts.employmentWishList" :key="index" |
|
|
<el-option v-for="(item, index) in dicts.employmentWishList" :key="index" |
|
|
@ -420,7 +420,7 @@ |
|
|
import { requestGet, requestPost } from "@/js/dai/request"; |
|
|
import { requestGet, requestPost } from "@/js/dai/request"; |
|
|
import { isCard, isPassport, isMobile, isPhone, isHKPassport, isTwPassport, isSoldier } from '@/utils/validate' |
|
|
import { isCard, isPassport, isMobile, isPhone, isHKPassport, isTwPassport, isSoldier } from '@/utils/validate' |
|
|
import { computedCard } from '@/utils/index' |
|
|
import { computedCard } from '@/utils/index' |
|
|
import { idTypeList, genderList, hasOptions } from "@/js/columns/constants"; |
|
|
import { idTypeList, genderList, hasOptions,disabilityFlagList } from "@/js/columns/constants"; |
|
|
import stafftag from "../modules/portrayal/jumin/cpts/staffTag.vue"; |
|
|
import stafftag from "../modules/portrayal/jumin/cpts/staffTag.vue"; |
|
|
import resiExpand from './resiExpand/editExpand.vue'; |
|
|
import resiExpand from './resiExpand/editExpand.vue'; |
|
|
export default { |
|
|
export default { |
|
|
@ -996,10 +996,12 @@ export default { |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
|
|
|
workInfoDtoId:null, |
|
|
|
|
|
|
|
|
idTypeList, |
|
|
idTypeList, |
|
|
genderList, |
|
|
genderList, |
|
|
hasOptions, |
|
|
hasOptions, |
|
|
|
|
|
disabilityFlagList, |
|
|
|
|
|
|
|
|
btnLoading: false, |
|
|
btnLoading: false, |
|
|
rules: { |
|
|
rules: { |
|
|
@ -1110,6 +1112,20 @@ export default { |
|
|
specialCategoryCodes: [] |
|
|
specialCategoryCodes: [] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
if (!res.data.data.unemployedDto) { |
|
|
|
|
|
this.form.unemployedDto = { |
|
|
|
|
|
originWorkUnit: null,//原工作单位 |
|
|
|
|
|
unemploymentTime: null,//失业时间yyyy-MM-dd |
|
|
|
|
|
unemploymentNum: null,//失业证号 |
|
|
|
|
|
employmentNum: null,//再就业优惠证号 |
|
|
|
|
|
specialSkill: null,//技术特长 |
|
|
|
|
|
unempCompensationFlag: null,//是否领取失业补助金 |
|
|
|
|
|
unemploymentReason: null,//失业原因【字典表】code |
|
|
|
|
|
employmentHardFlag: null,//是否就业困难对象;1是0不是 |
|
|
|
|
|
employmentWish: null,//劳动能力就业愿望 |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
for (const key in this.form.baseInfoDto.categoryInfo) { |
|
|
for (const key in this.form.baseInfoDto.categoryInfo) { |
|
|
if (this.form.baseInfoDto.categoryInfo[key] === 1 && this.incidence[key] || (this.form.baseInfoDto.categoryInfo.partyFlag == 1 && key === 'partyFlag')) { |
|
|
if (this.form.baseInfoDto.categoryInfo[key] === 1 && this.incidence[key] || (this.form.baseInfoDto.categoryInfo.partyFlag == 1 && key === 'partyFlag')) { |
|
|
const formId = key === 'partyFlag' ? 'parymemberInfoDto' : key; |
|
|
const formId = key === 'partyFlag' ? 'parymemberInfoDto' : key; |
|
|
@ -1130,7 +1146,8 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
console.log(this.footerInputList); |
|
|
this.workInfoDtoId=this.form.workInfoDto.id; |
|
|
|
|
|
console.log(this.workInfoDtoId); |
|
|
return Promise.all(promises); |
|
|
return Promise.all(promises); |
|
|
} else if (res.data.code >= 8000) { |
|
|
} else if (res.data.code >= 8000) { |
|
|
this.$message.error(res.data.msg); |
|
|
this.$message.error(res.data.msg); |
|
|
@ -1382,7 +1399,19 @@ export default { |
|
|
this.form.familyInfoDto.dependantMobile = null |
|
|
this.form.familyInfoDto.dependantMobile = null |
|
|
}, |
|
|
}, |
|
|
handelClickCareerStatus(val) { |
|
|
handelClickCareerStatus(val) { |
|
|
this.form.unemployedDto = { |
|
|
this.form.workInfoDto = { |
|
|
|
|
|
careerStatus: val,//就业状况 |
|
|
|
|
|
workUnit: null,//工作单位 |
|
|
|
|
|
occupation: null,//职业 |
|
|
|
|
|
id:this.workInfoDtoId|| null |
|
|
|
|
|
} |
|
|
|
|
|
if(!this.workInfoDtoId){ |
|
|
|
|
|
delete this.form.workInfoDto.id |
|
|
|
|
|
} |
|
|
|
|
|
console.log(this.form.workInfoDto); |
|
|
|
|
|
if (val == 0) { |
|
|
|
|
|
this.form.baseInfoDto.categoryInfo.unemployedFlag = 1 |
|
|
|
|
|
this.form.unemployedDto = { |
|
|
originWorkUnit: null,//原工作单位 |
|
|
originWorkUnit: null,//原工作单位 |
|
|
unemploymentTime: null,//失业时间yyyy-MM-dd |
|
|
unemploymentTime: null,//失业时间yyyy-MM-dd |
|
|
unemploymentNum: null,//失业证号 |
|
|
unemploymentNum: null,//失业证号 |
|
|
@ -1394,10 +1423,9 @@ export default { |
|
|
employmentWish: null,//劳动能力就业愿望 |
|
|
employmentWish: null,//劳动能力就业愿望 |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
this.form.workInfoDto = { |
|
|
}else{ |
|
|
careerStatus: val,//就业状况 |
|
|
this.form.unemployedDto = null; |
|
|
workUnit: null,//工作单位 |
|
|
this.form.baseInfoDto.categoryInfo.unemployedFlag = 0 |
|
|
occupation: null,//职业 |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
handlerCancle() { |
|
|
handlerCancle() { |
|
|
@ -1474,6 +1502,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
showDialog({ index, value }, event) { |
|
|
showDialog({ index, value }, event) { |
|
|
|
|
|
console.log(value); |
|
|
// 设置 partyFlag |
|
|
// 设置 partyFlag |
|
|
if (value === 1 || value === 0 || value === 2) { |
|
|
if (value === 1 || value === 0 || value === 2) { |
|
|
this.form.baseInfoDto.categoryInfo.partyFlag = value; |
|
|
this.form.baseInfoDto.categoryInfo.partyFlag = value; |
|
|
|