根据对接文档修改投保流程的投保人 被保人的新市民字段

根据对接文档修改客户管理的新增 修改基本信息关于新市民字段
This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-09-20 16:25:12 +08:00
parent f2dc1d7ee8
commit 84fb85b58b
6 changed files with 51 additions and 51 deletions

View File

@@ -1060,7 +1060,7 @@ export default {
} }
], ],
// 新市民身份 // 新市民身份
newCitizen: [ isNewPeopleFlag: [
{ {
id: 1, id: 1,
text: '是' text: '是'
@@ -1071,7 +1071,7 @@ export default {
} }
], ],
// 新市民类型 创业、就业、子女上学、投奔子女 // 新市民类型 创业、就业、子女上学、投奔子女
newCitizenType: [ npType: [
{ {
id: 1, id: 1,
text: '创业' text: '创业'

View File

@@ -85,8 +85,8 @@
<!-- 工作信息 --> <!-- 工作信息 -->
<van-cell-group> <van-cell-group>
<p class="title pl10 pv12 mt10">工作信息</p> <p class="title pl10 pv12 mt10">工作信息</p>
<div class="p15 pl8 fs14" style="border-bottom: 1px solid #eee;display: flex;justify-content: space-between;align-items: center;"> <div class="p15 pl8 fs14" style="border-bottom: 1px solid #eee;display: flex;justify-content: space-between;align-items: center;" v-if="manageComCode == '45'">
<van-radio-group v-model="userInfo.newCitizen" class="flex"> <van-radio-group v-model="userInfo.isNewPeopleFlag" class="flex">
<label> <label>
<i class="pr5"></i> <i class="pr5"></i>
新市民身份 新市民身份
@@ -94,11 +94,11 @@
<van-radio name="1" class="ml30"></van-radio> <van-radio name="1" class="ml30"></van-radio>
<van-radio name="2" class="ml20"></van-radio> <van-radio name="2" class="ml20"></van-radio>
</van-radio-group> </van-radio-group>
<van-icon name="question-o" size="20" @click="newCitizenTip"/> <van-icon name="question-o" size="20" @click="isNewPeopleFlagTip"/>
</div> </div>
<van-field <van-field
v-if="userInfo.newCitizen == 1" v-if="userInfo.isNewPeopleFlag == 1 && manageComCode == '45'"
:value="userInfo.newCitizenType | idToText('newCitizenType')" :value="userInfo.npType | idToText('npType')"
readonly readonly
label="新市民类型" label="新市民类型"
name="新市民类型" name="新市民类型"
@@ -217,8 +217,8 @@
<van-popup v-model="censusShow" position="bottom"> <van-popup v-model="censusShow" position="bottom">
<van-area :area-list="areaList" value="110101" :columns-num="2" @confirm="sureArea($event, '3')" @cancel="areaShow = false" /> <van-area :area-list="areaList" value="110101" :columns-num="2" @confirm="sureArea($event, '3')" @cancel="areaShow = false" />
</van-popup> </van-popup>
<van-popup v-model:show="newCitizenTipshow" closeable position="bottom" round :style="{ height: '30%' }"> <van-popup v-model:show="isNewPeopleFlagTipshow" closeable position="bottom" round :style="{ height: '30%' }">
<div class="newCitizenTipClass"> <div class="isNewPeopleFlagTipClass">
新市民是指因本人创业就业子女上学投靠子女等原因来到城镇常住未获得当地户籍或获得当地户籍不满三年的各类群体包括但不限于进城务工人员新就业大中专毕业生等 新市民是指因本人创业就业子女上学投靠子女等原因来到城镇常住未获得当地户籍或获得当地户籍不满三年的各类群体包括但不限于进城务工人员新就业大中专毕业生等
</div> </div>
</van-popup> </van-popup>
@@ -259,7 +259,7 @@ export default {
props: ['userInfo'], props: ['userInfo'],
data() { data() {
return { return {
newCitizenTipshow: false, isNewPeopleFlagTipshow: false,
popupShow: false, popupShow: false,
areaShow: false, //省级联动 areaShow: false, //省级联动
homeShow: false, homeShow: false,
@@ -281,8 +281,8 @@ export default {
customerType: '', customerType: '',
customerSource: '', customerSource: '',
age: '', age: '',
newCitizen: '', //新市民身份 isNewPeopleFlag: '', //新市民身份
newCitizenType: '', //新市民类型 npType: '', //新市民类型
effectiveDateTypeAble: false, //长期按钮是否禁用 effectiveDateTypeAble: false, //长期按钮是否禁用
occupationShowPicker: false, occupationShowPicker: false,
sexRadio: [ sexRadio: [
@@ -353,8 +353,8 @@ export default {
this.areaLists = areaLists this.areaLists = areaLists
}, },
methods: { methods: {
newCitizenTip(){ isNewPeopleFlagTip(){
this.newCitizenTipshow = true this.isNewPeopleFlagTipshow = true
}, },
selectClick() { selectClick() {
let title = '' let title = ''
@@ -601,7 +601,7 @@ export default {
} else if (pickerType == '9') { } else if (pickerType == '9') {
this.columns = DataDictionary.workCondition this.columns = DataDictionary.workCondition
} else if (pickerType == '11') { } else if (pickerType == '11') {
this.columns = DataDictionary.newCitizenType this.columns = DataDictionary.npType
} }
}, },
//确认选择字段 //确认选择字段
@@ -639,7 +639,7 @@ export default {
} else if (this.pickerType == '9') { } else if (this.pickerType == '9') {
;[this.userInfo.workCondition, this.workCondition] = [value.id, value.text] ;[this.userInfo.workCondition, this.workCondition] = [value.id, value.text]
} else if (this.pickerType == '11') { } else if (this.pickerType == '11') {
;[this.userInfo.newCitizenType, this.newCitizenType] = [value.id, value.text] ;[this.userInfo.npType, this.npType] = [value.id, value.text]
} }
}, },
//区域选择 //区域选择
@@ -771,7 +771,7 @@ export default {
.van-checkbox { .van-checkbox {
margin-left: auto; margin-left: auto;
} }
.newCitizenTipClass{ .isNewPeopleFlagTipClass{
margin-top: 45px;line-height: 24px;text-indent: 2em;letter-spacing: 1px;padding: 2px 10px; margin-top: 45px;line-height: 24px;text-indent: 2em;letter-spacing: 1px;padding: 2px 10px;
} }
</style> </style>

View File

@@ -85,8 +85,8 @@ export default {
homeAddress: '', //家庭详细地址 homeAddress: '', //家庭详细地址
homeZip: '', //家庭邮编 homeZip: '', //家庭邮编
homePhone: '', //家庭电话 homePhone: '', //家庭电话
newCitizen: '', //新市民身份 isNewPeople: '', //新市民身份
newCitizenType: '', //新市民类型 npType: '', //新市民类型
} }
} }
}, },

View File

@@ -96,8 +96,8 @@ export default {
homeAddress: '', //家庭详细地址 homeAddress: '', //家庭详细地址
homeZip: '', //家庭邮编 homeZip: '', //家庭邮编
homePhone: '', //家庭电话 homePhone: '', //家庭电话
newCitizen: '', //新市民身份 isNewPeople: '', //新市民身份
newCitizenType: '', //新市民类型 npType: '', //新市民类型
} }
} }
}, },

View File

@@ -172,7 +172,7 @@
@click="toSelect('3')" @click="toSelect('3')"
/> --> /> -->
<div class="p15 pl8 fs14" style="border-bottom: 1px solid #eee;display: flex;justify-content: space-between;align-items: center;" v-if="manageComCode == '45'"> <div class="p15 pl8 fs14" style="border-bottom: 1px solid #eee;display: flex;justify-content: space-between;align-items: center;" v-if="manageComCode == '45'">
<van-radio-group v-model="userInfo.newCitizen" class="flex"> <van-radio-group v-model="userInfo.isNewPeopleFlag" class="flex">
<label> <label>
<i class="red">*</i> <i class="red">*</i>
新市民身份 新市民身份
@@ -180,11 +180,11 @@
<van-radio name="1" class="ml30"></van-radio> <van-radio name="1" class="ml30"></van-radio>
<van-radio name="2" class="ml20"></van-radio> <van-radio name="2" class="ml20"></van-radio>
</van-radio-group> </van-radio-group>
<van-icon name="question-o" size="20" @click="newCitizenTip"/> <van-icon name="question-o" size="20" @click="isNewPeopleFlagTip"/>
</div> </div>
<van-field <van-field
v-if="userInfo.newCitizen == 1" v-if="userInfo.isNewPeopleFlag == 1"
:value="userInfo.newCitizenType | idToText('newCitizenType')" :value="userInfo.npType | idToText('npType')"
readonly readonly
label="新市民类型" label="新市民类型"
name="新市民类型" name="新市民类型"
@@ -400,8 +400,8 @@
</van-popup> --> </van-popup> -->
<!--身份证扫描 --> <!--身份证扫描 -->
<van-popup v-model="isScan" position="bottom"><IdentityCardScan @getScanInfo="getIdentityInfo"></IdentityCardScan></van-popup> <van-popup v-model="isScan" position="bottom"><IdentityCardScan @getScanInfo="getIdentityInfo"></IdentityCardScan></van-popup>
<van-popup v-model:show="newCitizenTipshow" closeable position="bottom" round :style="{ height: '30%' }"> <van-popup v-model:show="isNewPeopleFlagTipshow" closeable position="bottom" round :style="{ height: '30%' }">
<div class="newCitizenTipClass"> <div class="isNewPeopleFlagTipClass">
新市民是指因本人创业就业子女上学投靠子女等原因来到城镇常住未获得当地户籍或获得当地户籍不满三年的各类群体包括但不限于进城务工人员新就业大中专毕业生等 新市民是指因本人创业就业子女上学投靠子女等原因来到城镇常住未获得当地户籍或获得当地户籍不满三年的各类群体包括但不限于进城务工人员新就业大中专毕业生等
</div> </div>
</van-popup> </van-popup>
@@ -450,7 +450,7 @@ export default {
}, },
data() { data() {
return { return {
newCitizenTipshow: false, isNewPeopleFlagTipshow: false,
renovate: '', renovate: '',
specilFlag: '', //特殊显示-为桂企产品专写 1-桂企 undefind-其他 specilFlag: '', //特殊显示-为桂企产品专写 1-桂企 undefind-其他
productCodes: [], //产品编码-用于“产品允许投保人单位列表获取”接口,作为请求参数 productCodes: [], //产品编码-用于“产品允许投保人单位列表获取”接口,作为请求参数
@@ -554,8 +554,8 @@ export default {
// householdProvince: '', //户籍省 // householdProvince: '', //户籍省
// householdCity: '' //户籍市 // householdCity: '' //户籍市
// addressStatus: '0' //是否是联系地址 // addressStatus: '0' //是否是联系地址
newCitizen: '', //新市民身份 isNewPeopleFlag: '', //新市民身份
newCitizenType: '', //新市民类型 npType: '', //新市民类型
}, },
areaList: areaList, areaList: areaList,
areaLists: areaLists, areaLists: areaLists,
@@ -663,8 +663,8 @@ export default {
this.areaLists = areaLists this.areaLists = areaLists
}, },
methods: { methods: {
newCitizenTip(){ isNewPeopleFlagTip(){
this.newCitizenTipshow = true this.isNewPeopleFlagTipshow = true
}, },
workcompanys(list) { workcompanys(list) {
// 单位数据 // 单位数据
@@ -792,7 +792,7 @@ export default {
this.columns = DataDictionary.marriage this.columns = DataDictionary.marriage
break break
case '11': case '11':
this.columns = DataDictionary.newCitizenType this.columns = DataDictionary.npType
break break
} }
@@ -876,7 +876,7 @@ export default {
} else if (this.pickerType === '10') { } else if (this.pickerType === '10') {
this.userInfo.marriageStatus = value.text this.userInfo.marriageStatus = value.text
} else if (this.pickerType === '11') { } else if (this.pickerType === '11') {
this.userInfo.newCitizenType = value.id this.userInfo.npType = value.id
} }
}, },
//证件起始截止日期 //证件起始截止日期
@@ -1081,7 +1081,7 @@ export default {
async nextStep() { async nextStep() {
//表单校验, 成功跳转 //表单校验, 成功跳转
let valid = await this.$validator.validate() let valid = await this.$validator.validate()
if(!this.userInfo.newCitizen && this.manageComCode == '45'){ if(!this.userInfo.isNewPeopleFlag && this.manageComCode == '45'){
this.$toast('新市民身份不能为空') this.$toast('新市民身份不能为空')
return false return false
} }
@@ -1626,7 +1626,7 @@ export default {
/deep/.van-radio { /deep/.van-radio {
margin-left: auto; margin-left: auto;
} }
.newCitizenTipClass{ .isNewPeopleFlagTipClass{
margin-top: 45px;line-height: 24px;text-indent: 2em;letter-spacing: 1px;padding: 2px 10px; margin-top: 45px;line-height: 24px;text-indent: 2em;letter-spacing: 1px;padding: 2px 10px;
} }
} }

View File

@@ -207,7 +207,7 @@
@click="toSelect('3')" @click="toSelect('3')"
/> --> /> -->
<div class="p15 pl8 fs14" style="border-bottom: 1px solid #eee;display: flex;justify-content: space-between;align-items: center;" v-if="manageComCode == '45'"> <div class="p15 pl8 fs14" style="border-bottom: 1px solid #eee;display: flex;justify-content: space-between;align-items: center;" v-if="manageComCode == '45'">
<van-radio-group v-model="userInfo.newCitizen" class="flex"> <van-radio-group v-model="userInfo.isNewPeopleFlag" class="flex">
<label> <label>
<i class="red">*</i> <i class="red">*</i>
新市民身份 新市民身份
@@ -215,11 +215,11 @@
<van-radio name="1" class="ml30"></van-radio> <van-radio name="1" class="ml30"></van-radio>
<van-radio name="2" class="ml20"></van-radio> <van-radio name="2" class="ml20"></van-radio>
</van-radio-group> </van-radio-group>
<van-icon name="question-o" size="20" @click="newCitizenTip"/> <van-icon name="question-o" size="20" @click="isNewPeopleFlagTip"/>
</div> </div>
<van-field <van-field
v-if="userInfo.newCitizen == 1" v-if="userInfo.isNewPeopleFlag == 1"
:value="userInfo.newCitizenType | idToText('newCitizenType')" :value="userInfo.npType | idToText('npType')"
readonly readonly
label="新市民类型" label="新市民类型"
name="新市民类型" name="新市民类型"
@@ -463,8 +463,8 @@
<van-popup v-model="isMarriageStatusShow" position="bottom"> <van-popup v-model="isMarriageStatusShow" position="bottom">
<van-picker show-toolbar :columns="columns" @confirm="onMarriageConfirm" @cancel="isMarriageStatusShow = false" /> <van-picker show-toolbar :columns="columns" @confirm="onMarriageConfirm" @cancel="isMarriageStatusShow = false" />
</van-popup> </van-popup>
<van-popup v-model:show="newCitizenTipshow" closeable position="bottom" round :style="{ height: '30%' }"> <van-popup v-model:show="isNewPeopleFlagTipshow" closeable position="bottom" round :style="{ height: '30%' }">
<div class="newCitizenTipClass"> <div class="isNewPeopleFlagTipClass">
新市民是指因本人创业就业子女上学投靠子女等原因来到城镇常住未获得当地户籍或获得当地户籍不满三年的各类群体包括但不限于进城务工人员新就业大中专毕业生等 新市民是指因本人创业就业子女上学投靠子女等原因来到城镇常住未获得当地户籍或获得当地户籍不满三年的各类群体包括但不限于进城务工人员新就业大中专毕业生等
</div> </div>
</van-popup> </van-popup>
@@ -515,7 +515,7 @@ export default {
}, },
data() { data() {
return { return {
newCitizenTipshow: false, isNewPeopleFlagTipshow: false,
isMarriageStatusShow: false, isMarriageStatusShow: false,
withRootUser: { withRootUser: {
load: false, //防止重复请求 load: false, //防止重复请求
@@ -625,8 +625,8 @@ export default {
// householdProvince: '', //户籍省 // householdProvince: '', //户籍省
// householdCity: '' //户籍市 // householdCity: '' //户籍市
// addressStatus: '' //是否是联系地址 // addressStatus: '' //是否是联系地址
newCitizen: '', //新市民身份 isNewPeopleFlag: '', //新市民身份
newCitizenType: '', //新市民类型 npType: '', //新市民类型
}, },
areaList: areaList, areaList: areaList,
areaLists: areaLists, areaLists: areaLists,
@@ -817,8 +817,8 @@ export default {
this.areaLists = areaLists this.areaLists = areaLists
}, },
methods: { methods: {
newCitizenTip(){ isNewPeopleFlagTip(){
this.newCitizenTipshow = true this.isNewPeopleFlagTipshow = true
}, },
workcompanys(list) { workcompanys(list) {
// 单位数据 // 单位数据
@@ -920,7 +920,7 @@ export default {
} else if (pickerType == '9') { } else if (pickerType == '9') {
this.columns = DataDictionary.salarySource this.columns = DataDictionary.salarySource
} else if (pickerType == '11') { } else if (pickerType == '11') {
this.columns = DataDictionary.newCitizenType this.columns = DataDictionary.npType
} }
}, },
//确认选择字段 //确认选择字段
@@ -1082,7 +1082,7 @@ export default {
} else if (this.pickerType === '10') { } else if (this.pickerType === '10') {
this.userInfo this.userInfo
} else if (this.pickerType === '11') { } else if (this.pickerType === '11') {
this.userInfo.newCitizenType = value.id this.userInfo.npType = value.id
} }
}, },
//证件起始截止日期 //证件起始截止日期
@@ -1321,7 +1321,7 @@ export default {
//下一步 //下一步
async nextStep() { async nextStep() {
let valid = await this.$validator.validate() let valid = await this.$validator.validate()
if(!this.userInfo.newCitizen && this.manageComCode == '45'){ if(!this.userInfo.isNewPeopleFlag && this.manageComCode == '45'){
this.$toast('新市民身份不能为空') this.$toast('新市民身份不能为空')
return false return false
} }
@@ -2067,7 +2067,7 @@ export default {
display: flex; display: flex;
flex-direction: row-reverse; flex-direction: row-reverse;
} }
.newCitizenTipClass{ .isNewPeopleFlagTipClass{
margin-top: 45px;line-height: 24px;text-indent: 2em;letter-spacing: 1px;padding: 2px 10px; margin-top: 45px;line-height: 24px;text-indent: 2em;letter-spacing: 1px;padding: 2px 10px;
} }
} }