mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 09:16:43 +08:00
获客功能代码编辑
This commit is contained in:
@@ -284,16 +284,16 @@
|
||||
/>
|
||||
</van-cell-group>
|
||||
<div class="bottom-btn" style="display: flex;justify-content: space-between;">
|
||||
<van-button type="default" plain style="width: 50%;" @click="nextStep" v-no-more-click="1000">总保费:<span style="color: #ee0a24;">0</span> 元</van-button>
|
||||
<van-button type="danger" style="width: 50%;" @click="nextStep" v-no-more-click="1000">提交</van-button>
|
||||
<van-button type="default" plain style="width: 50%;" v-no-more-click="1000">
|
||||
总保费:<span style="color: #ee0a24;">0</span> 元
|
||||
</van-button>
|
||||
<van-button type="danger" style="width: 50%;" @click="nextStep" v-no-more-click="1000">
|
||||
提交
|
||||
</van-button>
|
||||
</div>
|
||||
|
||||
<!-- 字段选择 -->
|
||||
<van-popup v-model="popupShow" position="bottom"><van-picker show-toolbar :columns="columns" @confirm="onConfirm" @cancel="popupShow = false" /></van-popup>
|
||||
<!-- 地区选择 -->
|
||||
<!-- <van-popup v-model="areaShow" position="bottom">
|
||||
<van-area :area-list="areaList" value="110101" @confirm="sureArea($event, '1')" @cancel="areaShow = false" />
|
||||
</van-popup> -->
|
||||
<!-- 联系地址选择 -->
|
||||
<van-popup v-model="homeShow" position="bottom"
|
||||
><van-area :area-list="areaLists" :value="areaValue" @confirm="sureArea($event, '2')" @cancel="homeShow = false"
|
||||
@@ -458,7 +458,6 @@
|
||||
setDefaultAddress: false, //设为联系地址
|
||||
sessionId: '', //后台返回的 id
|
||||
effectiveDateTypeAble: false, //长期按钮是否禁用
|
||||
isElecCont: '', // 保单类型 0 为电子 2 为纸质加电子
|
||||
userInfo: {
|
||||
marriageStatus: '',
|
||||
name: '', //投保人姓名
|
||||
@@ -525,9 +524,7 @@
|
||||
localStorage.removeItem('imgBackPath')
|
||||
localStorage.removeItem('imgBackInsuredPath')
|
||||
|
||||
// document.body.style.backgroundColor = '#F5F5F5'
|
||||
//如果是编辑/导航进来
|
||||
// this.isElecCont = '0'
|
||||
if (this.$route.query.edit) {
|
||||
const orderNo = this.$route.query.orderNo
|
||||
getOrderDetail({ orderNo: orderNo }).then((res) => {
|
||||
@@ -803,9 +800,6 @@
|
||||
case '2':
|
||||
this.columns = DataDictionary.insuredIdType
|
||||
break
|
||||
// case '3':
|
||||
// this.columns = DataDictionary.degree
|
||||
// break
|
||||
case '4':
|
||||
this.columns = [
|
||||
{ id: 0, text: '有' },
|
||||
@@ -815,12 +809,6 @@
|
||||
case '5':
|
||||
this.columns = DataDictionary.taxIdentity
|
||||
break
|
||||
// case '6':
|
||||
// this.columns = DataDictionary.marriage
|
||||
// break
|
||||
// case '7':
|
||||
// this.columns = DataDictionary.workCondition
|
||||
// break
|
||||
case '8':
|
||||
this.columns = DataDictionary.salarySource
|
||||
break
|
||||
@@ -846,37 +834,6 @@
|
||||
this.columns = this.departmentList
|
||||
break
|
||||
}
|
||||
|
||||
// if (pickerType == '1') {
|
||||
// this.columns = DataDictionary.nativeplace
|
||||
// } else if (pickerType == '2') {
|
||||
// this.columns = DataDictionary.insuredIdType
|
||||
// } else if (pickerType == '3') {
|
||||
// this.columns = DataDictionary.degree
|
||||
// } else if (pickerType == '4') {
|
||||
// this.columns = [
|
||||
// { id: 0, text: '有' },
|
||||
// { id: 1, text: '无' }
|
||||
// ]
|
||||
// } else if (pickerType == '5') {
|
||||
// this.columns = DataDictionary.taxIdentity
|
||||
// } else if (pickerType == '6') {
|
||||
// this.columns = DataDictionary.marriage
|
||||
// } else if (pickerType == '7') {
|
||||
// this.columns = DataDictionary.workCondition
|
||||
// } else if (pickerType == '8') {
|
||||
// this.columns = DataDictionary.salarySource
|
||||
// } else if (pickerType == '9') {
|
||||
// this.productCodes.length = 0
|
||||
// this.productCodes.push('GFRS_M0024')
|
||||
// getCompany({ productCodes: this.productCodes }).then(res => {
|
||||
// if (res.result == 0) {
|
||||
// this.columns = res.content
|
||||
// } else {
|
||||
// this.$toast(res.resultMessage)
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
},
|
||||
//确认选择字段
|
||||
onConfirm(value) {
|
||||
@@ -1061,17 +1018,6 @@
|
||||
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
|
||||
this.userInfo.isNewPeopleFlag = data.isNewPeopleFlag //新市民身份
|
||||
this.userInfo.npType = data.npType //新市民类型
|
||||
// this.userInfo.homeZip = data.homeZip //家庭邮编
|
||||
// this.userInfo.homePhone = data.homePhone //家庭电话
|
||||
// this.userInfo.householdProvince = data.province //户籍省
|
||||
// this.userInfo.householdCity = data.city //户籍市
|
||||
this.isElecCont = data.isElecCont //保单形式
|
||||
// if (data.province.length) {
|
||||
// this.census = getAreaName([{ code: data.province }, { code: data.city }]) //户籍
|
||||
// }
|
||||
// if (data.companyProvince.length) {
|
||||
// this.areaName = getAreaName([{ code: data.companyProvince }, { code: data.companyCity }, { code: data.companyArea }]) //单位地址
|
||||
// }
|
||||
if (data.homeProvince.length) {
|
||||
this.homeName = getAreaName([{ code: data.homeProvince }, { code: data.homeCity }, { code: data.homeArea }]) //联系地址
|
||||
}
|
||||
@@ -1330,17 +1276,13 @@
|
||||
|
||||
async save() {
|
||||
let params = {
|
||||
orderType: 'APPNT_ORDER',
|
||||
orderDTO: {
|
||||
orderInfoDTO: {
|
||||
orderNo: this.$route.query.orderNo,
|
||||
isElecCont: this.isElecCont
|
||||
},
|
||||
appntDTO: {}
|
||||
}
|
||||
appntDTO: this.userInfo,
|
||||
riskDTO:{
|
||||
riskName: this.userInfo.riskName,
|
||||
riskProductCode: this.userInfo.riskProductCode
|
||||
},
|
||||
}
|
||||
this.thismystr = ''
|
||||
params.orderDTO.appntDTO = this.userInfo
|
||||
if(this.branchType == '13'){
|
||||
params.orderDTO.ebizOrderGbcRelDTO = {
|
||||
projectCode: this.projectDTO.projectCode,
|
||||
|
||||
Reference in New Issue
Block a user