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

根据对接文档修改客户管理的新增 修改基本信息关于新市民字段
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,
text: '是'
@@ -1071,7 +1071,7 @@ export default {
}
],
// 新市民类型 创业、就业、子女上学、投奔子女
newCitizenType: [
npType: [
{
id: 1,
text: '创业'

View File

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

View File

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

View File

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

View File

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

View File

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