feature/GFRS-2301【需求】健康险渠道国富无忧卡金掌桂开发的需求--增加更新险种阅读接口,支付页面修改,添加模拟数据,更新险种文档阅读状态接口--提交人庞兴月

This commit is contained in:
pangxingyue
2021-04-02 16:01:02 +08:00
parent f151a33869
commit 83fdcbb9d0
6 changed files with 957 additions and 443 deletions

View File

@@ -1,3 +1,11 @@
/*
* @Author: PangXingYue
* @Date: 2021-04-01 11:00:21
* @LastEditTime: 2021-04-02 13:42:08
* @LastEditors: PangXingYue
* @Description:
* @FilePath: \ebiz-h5\src\api\ebiz\cardList\cardList.js
*/
// 卡单接口
import request from '@/assets/js/utils/request'
@@ -83,3 +91,12 @@ export function getPayTemp(data) {
data
})
}
// 更新险种文档阅读状态
export function saveOrUpdateDocument(data) {
return request({
url: getUrl('/sale/card/saveOrUpdateDocument', 1),
method: 'post',
data
})
}

View File

@@ -148,7 +148,9 @@
<!-- <van-button type="danger" style="width: 100vw;height: 13vw" @click="pay" v-no-more-click="1000">支付</van-button> -->
<van-button type="danger" style="width: 100vw; height: 13vw" @click="share" v-no-more-click="1000">支付分享</van-button>
</div>
<div class="bg-white bottom-btn" v-else><van-button type="danger" size="large" @click="pay" v-no-more-click="1000">支付</van-button></div>
<div class="bg-white bottom-btn" v-else>
<van-button type="danger" size="large" @click="pay" v-no-more-click="1000">支付</van-button>
</div>
</div>
<!-- 银行卡扫描按钮 -->
<van-popup v-model="isScan" style="height: 100vh" position="bottom">
@@ -262,13 +264,16 @@ export default {
created() {
if (this.isWeixin) {
let orderDetail = JSON.parse(sessionStorage.orderDetail)
this.underWriteData.riskName = orderDetail.insuredDTOs[0].riskDTOLst[0].riskName
this.underWriteData.appntName = orderDetail.appntDTO.name
this.underWriteData.insuredName = orderDetail.insuredDTOs[0].name
this.underWriteData.orderAmount = orderDetail.insuredDTOs[0].riskDTOLst[0].prem
this.underWriteData.schemeName = res.orderDTO.insuredDTOs[0].riskDTOLst[0].proScheme
this.underWriteData = {
'riskName': orderDetail.insuredDTOs[0].riskDTOLst[0].riskName,
'appntName': orderDetail.appntDTO.name,
'insuredName': orderDetail.insuredDTOs[0].name,
'orderAmount': orderDetail.insuredDTOs[0].riskDTOLst[0].prem,
'schemeName': orderDetail.insuredDTOs[0].riskDTOLst[0].proScheme,
'idType': orderDetail.appntDTO.idType,
}
this.orderStatus = orderDetail.orderInfoDTO.orderStatus
this.underWriteData.idType = orderDetail.appntDTO.idType
localStorage.orderNo = orderDetail.orderInfoDTO.orderNo
// this.radio = '3'
// this.isLoading = true
// this.$toast.loading({
@@ -763,9 +768,8 @@ export default {
localStorage.bankName = this.underWriteData.bankName
localStorage.bankCode = this.underWriteData.bankCode
localStorage.bankListName = this.bankListName
console.log(this.underWriteData.bankName, this.underWriteData.bankCode, this.bankListName, this.underWriteData.name)
let res = await getShareParam({ shareType: 'card_pay' })
let url = location.origin + '/#/cardList/pay?orderNo=' + localStorage.orderNo + '&token=' + res.content
let url = location.origin + '/#/cardList/phoneCode?orderNo=' + localStorage.orderNo + '&token=' + res.content
if (res.result == '0') {
EWebBridge.webCallAppInJs('bridge', {
flag: 'share',

View File

@@ -1,13 +1,24 @@
<!--
* @Author: PangXingYue
* @Date: 2021-04-01 11:00:21
* @LastEditTime: 2021-04-02 14:02:34
* @LastEditors: PangXingYue
* @Description:
* @FilePath: \ebiz-h5\src\views\ebiz\cardList\ShowPDF.vue
-->
<template>
<div>
<van-notice-bar wrapable v-if="time > 0" :scrollable="false" :text="'提示:阅读时长需在' + time + '秒以上'" />
<iframe :src="src + pdfUrl" style="width: 100vw; height: calc(100vh - 100px)"></iframe>
<div class="bg-white bottom-btn"><van-button type="danger" size="large" @click="nextStep" v-no-more-click="1000">下一步</van-button></div>
<div class="bg-white bottom-btn">
<van-button type="danger" size="large" @click="nextStep" v-no-more-click="1000">下一步</van-button>
</div>
</div>
</template>
<script>
import { Button, NoticeBar } from 'vant'
import { saveOrUpdateCard } from '@/api/ebiz/cardList/cardList.js'
export default {
data() {
return {
@@ -16,12 +27,12 @@ export default {
index: this.$route.query.index || 0, //阅读文件指针
timer: null,
time: 5,
cardListPDF: [],
cardListPDF: []
}
},
components: {
[NoticeBar.name]: NoticeBar,
[Button.name]: Button,
[Button.name]: Button
},
created() {
this.init()
@@ -29,10 +40,8 @@ export default {
mounted() {},
methods: {
init() {
console.log('init')
this.cardListPDF = JSON.parse(localStorage.cardListPDF)
console.log(this.cardListPDF)
this.pdfUrl = this.cardListPDF[this.index].documentUrl
this.pdfUrl = this.cardListPDF[this.index].originalUrl
document.title = this.cardListPDF[this.index].documentName
this.interval()
},
@@ -45,21 +54,40 @@ export default {
},
nextStep() {
// 调用阅读接口
if (this.time !== 0) {
return false
}
if (this.index >= this.cardListPDF.length - 1) {
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/cardList/SignatureConfirmation',
url: location.origin + '/#/cardList/SignatureConfirmation'
},
routerInfo: {
path: '/cardList/SignatureConfirmation',
},
path: '/cardList/SignatureConfirmation'
}
})
} else {
this.saveOrUpdateCard()
}
},
//更新险种文档阅读状态
saveOrUpdateCard() {
this.cardListPDF[this.index]['documentStatus'] = '1'
let data = {
'ebizSignDTOS': [this.cardListPDF[this.index]]
}
saveOrUpdateCard(data).then(res => {
if (res.result == '0') {
this.$toast.clear()
this.index++
this.init()
} else {
this.$toast(res.resultMessage)
return false
}
})
}
}
},
},
}
</script>

View File

@@ -19,7 +19,7 @@
<p class="mb20">以下内容需要您按照顺序阅读确认:</p>
<div>
<p>需阅读</p>
<p class="mb20" v-for="item in appntSign" :key="item.name">
<p class="mb20" v-for="item in appntSign" :key="item.signId">
<span class="text">{{ item.documentName }}</span>
<img :src="src" v-if="item.documentStatus == '1'" />
</p>
@@ -100,9 +100,11 @@ export default {
methods: {
// 初始化
async init() {
console.log(this.orderDTO, '=================this.orderDTO===================')
this.recmd = this.orderDTO.recmdDTO
this.orderInfo = this.orderDTO.orderInfoDTO
this.appntInfo = this.orderDTO.appntDTO
this.appntSign = this.orderDTO.ebizSignDTOS
// if (this.isWeixin) {
// await this.getOrderDetail()
// // weixinShare({
@@ -141,7 +143,6 @@ export default {
flag: 'h5',
extra: {
title: this.appntSign[index].documentName,
// url: 'http://47.96.143.111/pdfjs/web/viewer.html?file=' + url //测试代码
url: location.origin + '/#/cardList/pay',
},
routerInfo: {
@@ -149,7 +150,7 @@ export default {
},
})
//需要全部提交
this.$toast.loading({
/** this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
@@ -175,7 +176,7 @@ export default {
} else {
this.$toast(res.resultMessage)
}
})
})**/
}
},
},

View File

@@ -3,214 +3,71 @@
<!-- 投保人信息 -->
<van-cell-group class="mt10">
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">投保人信息</p>
<customer-picker
@on-choose="chooseCustomer(arguments)"
v-validate="'required|name'"
name="投保人姓名"
label="投保人姓名"
required
:parentShowPicker.sync="customerShowPicker"
:value.sync="userInfo.name"
@nameChange="nameChange"
@on-click="selectClick('1', '0')"
></customer-picker>
<van-field
:value="userInfo.idType | idToText('insuredIdType')"
v-validate="'required'"
readonly
required
label="证件类型"
name="证件类型"
right-icon="arrow"
placeholder="请选择"
/>
<customer-picker @on-choose="chooseCustomer(arguments)" v-validate="'required|name'" name="投保人姓名" label="投保人姓名"
required :parentShowPicker.sync="customerShowPicker" :value.sync="userInfo.name" @nameChange="nameChange"
@on-click="selectClick('1', '0')"></customer-picker>
<van-field :value="userInfo.idType | idToText('insuredIdType')" v-validate="'required'" readonly required label="证件类型"
name="证件类型" right-icon="arrow" placeholder="请选择" />
<!-- @click="toSelect('2')" -->
<!-- <van-field v-model="userInfo.idNo" v-validate="'required|idNo'" maxlength="18" label="证件号码" name="证件号码" placeholder="请输入" clearable> -->
<van-field
v-model="userInfo.idNo"
maxlength="18"
required
label="证件号码"
v-validate="'required'"
name="证件号码"
placeholder="请输入"
clearable
@blur="getRelatedData(userInfo.idNo, '1')"
>
<van-field v-model="userInfo.idNo" maxlength="18" required label="证件号码" v-validate="'required'" name="证件号码"
placeholder="请输入" clearable @blur="getRelatedData(userInfo.idNo, '1')">
<van-button v-if="userInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3','','1')">证件扫描</van-button>
</van-field>
<select-radio required :radios="sexRadio" label="性别" name="性别" v-validate="'required'" :value.sync="userInfo.sex"></select-radio>
<FieldDatePicter
v-validate="'required'"
label="出生日期"
name="出生日期"
required
:value.sync="userInfo.birthday"
type="date"
:flag="true"
@confirm="onDateConfirm($event, '2')"
ref="birthday"
:maxDate="maxDate"
>
<FieldDatePicter v-validate="'required'" label="出生日期" name="出生日期" required :value.sync="userInfo.birthday" type="date"
:flag="true" @confirm="onDateConfirm($event, '2')" ref="birthday" :maxDate="maxDate">
</FieldDatePicter>
<van-field
required
v-model="userInfo.mobile"
clearable
label="手机号码"
name="手机号码"
placeholder="请输入"
v-validate="'required|mobile'"
maxlength="11"
/>
<van-field v-model="userInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'" clearable />
<van-field required v-model="userInfo.mobile" clearable label="手机号码" name="手机号码" placeholder="请输入" v-validate="'required|mobile'"
maxlength="11" />
<van-field v-model="userInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'"
clearable />
<!-- <van-field v-model="userInfo.workcompany" required label="工作单位" name="工作单位" placeholder="请输入" v-validate="'required'" maxlength="50" clearable /> -->
<van-field @click="openOccupation('1')" label="职业类别" placeholder="请输入" name="职业类别" :value="userInfo.occupationName" right-icon="arrow" />
<van-field
:value="userInfo.nativeplace | idToText('nativeplace')"
readonly
required
label="国籍"
name="国籍"
v-validate="'required'"
right-icon="arrow"
placeholder="请选择"
@click="toSelect('1')"
/>
<van-field
:value="userInfo.marriage | idToText('marriage')"
readonly
required
label="婚姻状况"
name="婚姻状况"
v-validate="'required'"
right-icon="arrow"
placeholder="请选择"
@click="toSelect('6')"
/>
<van-field
v-model="userInfo.homeName"
readonly
label="联系地址"
name="联系地址"
required
right-icon="arrow"
placeholder="请选择"
v-validate="'required'"
@click="areaSelect('1')"
/>
<van-field v-model="userInfo.homeAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'" clearable maxlength="30" />
<van-field @click="openOccupation('1')" label="职业类别" placeholder="请输入" name="职业类别" :value="userInfo.occupationName"
right-icon="arrow" />
<van-field :value="userInfo.nativeplace | idToText('nativeplace')" readonly required label="国籍" name="国籍"
v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="toSelect('1')" />
<van-field :value="userInfo.marriage | idToText('marriage')" readonly required label="婚姻状况" name="婚姻状况"
v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="toSelect('6')" />
<van-field v-model="userInfo.homeName" readonly label="联系地址" name="联系地址" required right-icon="arrow" placeholder="请选择"
v-validate="'required'" @click="areaSelect('1')" />
<van-field v-model="userInfo.homeAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'"
clearable maxlength="30" />
<!-- </template> -->
<van-field
:value="userInfo.relationToInsured | idToText('relationToAppnt')"
readonly
required
label="与被保人关系"
name="与被保人关系"
right-icon="arrow"
placeholder="请选择"
v-validate="'required'"
@click="toSelect('9')"
/>
<van-field :value="userInfo.relationToInsured | idToText('relationToAppnt')" readonly required label="与被保人关系"
name="与被保人关系" right-icon="arrow" placeholder="请选择" v-validate="'required'" @click="toSelect('9')" />
</van-cell-group>
<!-- 被保险人信息 -->
<van-cell-group class="mt10" v-if="userInfo.relationToInsured != 1">
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">被保人信息</p>
<customer-picker
@on-choose="chooseCustomer(arguments)"
v-validate="'required|name'"
name="被保险人姓名"
label="被保险人姓名"
required
:parentShowPicker.sync="customerShowPicker2"
:value.sync="insuredInfo.name"
@nameChange="nameChanges"
@on-click="selectClick('1', '1')"
></customer-picker>
<van-field
:value="insuredInfo.idType | idToText('insuredIdType')"
v-validate="'required'"
readonly
required
label="证件类型"
name="证件类型"
right-icon="arrow"
placeholder="请选择"
/>
<customer-picker @on-choose="chooseCustomer(arguments)" v-validate="'required|name'" name="被保险人姓名" label="被保险人姓名"
required :parentShowPicker.sync="customerShowPicker2" :value.sync="insuredInfo.name" @nameChange="nameChanges"
@on-click="selectClick('1', '1')"></customer-picker>
<van-field :value="insuredInfo.idType | idToText('insuredIdType')" v-validate="'required'" readonly required
label="证件类型" name="证件类型" right-icon="arrow" placeholder="请选择" />
<!-- @click="toSelect('11')" -->
<van-field
v-model="insuredInfo.idNo"
maxlength="18"
required
label="证件号码"
v-validate="'required'"
name="证件号码"
placeholder="请输入"
clearable
@blur="getRelatedData(insuredInfo.idNo, '2')"
>
<van-field v-model="insuredInfo.idNo" maxlength="18" required label="证件号码" v-validate="'required'" name="证件号码"
placeholder="请输入" clearable @blur="getRelatedData(insuredInfo.idNo, '2')">
<van-button v-if="insuredInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3','','2')">证件扫描</van-button>
</van-field>
<select-radio required :radios="sexRadio" label="性别" name="性别" v-validate="'required'" :value.sync="userInfo.insuredSex"></select-radio>
<FieldDatePicter
v-validate="'required'"
label="出生日期"
name="出生日期"
required
:value.sync="insuredInfo.birthday"
type="date"
:flag="true"
@confirm="onDateConfirm($event, '5')"
ref="insuredBirthday"
:maxDate="insuredMaxDate"
></FieldDatePicter>
<van-field
required
v-model="insuredInfo.mobile"
clearable
label="手机号码"
name="手机号码"
placeholder="请输入"
v-validate="'required|mobile'"
maxlength="11"
/>
<van-field v-model="insuredInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'" clearable />
<van-field @click="openOccupation('2')" label="职业类别" placeholder="请输入" name="职业类别" :value="insuredInfo.occupationName" right-icon="arrow" />
<van-field
:value="insuredInfo.nativeplace | idToText('nativeplace')"
readonly
required
label="国籍"
name="国籍"
v-validate="'required'"
right-icon="arrow"
placeholder="请选择"
@click="toSelect('11')"
/>
<van-field
:value="insuredInfo.marriage | idToText('marriage')"
readonly
required
label="婚姻状况"
name="婚姻状况"
v-validate="'required'"
right-icon="arrow"
placeholder="请选择"
@click="toSelect('66')"
/>
<van-field
v-model="insuredInfo.homeName"
readonly
label="联系地址"
name="联系地址"
required
right-icon="arrow"
placeholder="请选择"
v-validate="'required'"
@click="areaSelect('2')"
/>
<van-field v-model="insuredInfo.homeAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'" clearable maxlength="30" />
<FieldDatePicter v-validate="'required'" label="出生日期" name="出生日期" required :value.sync="insuredInfo.birthday"
type="date" :flag="true" @confirm="onDateConfirm($event, '5')" ref="insuredBirthday" :maxDate="insuredMaxDate"></FieldDatePicter>
<van-field required v-model="insuredInfo.mobile" clearable label="手机号码" name="手机号码" placeholder="请输入" v-validate="'required|mobile'"
maxlength="11" />
<van-field v-model="insuredInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'"
clearable />
<van-field @click="openOccupation('2')" label="职业类别" placeholder="请输入" name="职业类别" :value="insuredInfo.occupationName"
right-icon="arrow" />
<van-field :value="insuredInfo.nativeplace | idToText('nativeplace')" readonly required label="国籍" name="国籍"
v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="toSelect('11')" />
<van-field :value="insuredInfo.marriage | idToText('marriage')" readonly required label="婚姻状况" name="婚姻状况"
v-validate="'required'" right-icon="arrow" placeholder="请选择" @click="toSelect('66')" />
<van-field v-model="insuredInfo.homeName" readonly label="联系地址" name="联系地址" required right-icon="arrow"
placeholder="请选择" v-validate="'required'" @click="areaSelect('2')" />
<van-field v-model="insuredInfo.homeAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'"
clearable maxlength="30" />
</van-cell-group>
<van-cell-group class="mt10" v-else>
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">被保人信息</p>
@@ -219,86 +76,30 @@
<!-- :parentShowPicker.sync="customerShowPicker2" -->
<!-- @nameChange="nameChanges" -->
<!-- @on-click="selectClick('1', '1')" -->
<van-field
:value="userInfo.idType | idToText('insuredIdType')"
v-validate="'required'"
readonly
required
label="证件类型"
name="证件类型"
right-icon="arrow"
placeholder="请选择"
/>
<van-field
v-model="userInfo.idNo"
maxlength="18"
required
readonly
label="证件号码"
v-validate="'required'"
name="证件号码"
placeholder="请输入"
clearable
>
<van-field :value="userInfo.idType | idToText('insuredIdType')" v-validate="'required'" readonly required label="证件类型"
name="证件类型" right-icon="arrow" placeholder="请选择" />
<van-field v-model="userInfo.idNo" maxlength="18" required readonly label="证件号码" v-validate="'required'" name="证件号码"
placeholder="请输入" clearable>
<!-- @blur="getRelatedData(insuredInfo.idNo, '2')" -->
<!-- <van-button v-if="userInfo.idType == 1" slot="button" size="small" type="danger" round @click="selectClick('3')">证件扫描</van-button> -->
</van-field>
<select-radio required :disabled="true" :radios="sexRadio" label="性别" name="性别" v-validate="'required'" :value.sync="userInfo.sex"></select-radio>
<FieldDatePicter
v-validate="'required'"
label="出生日期"
name="出生日期"
readonly
required
:value.sync="userInfo.birthday"
type="date"
:flag="true"
ref="insuredBirthday"
:maxDate="maxDate"
></FieldDatePicter
><van-field
required
v-model="userInfo.mobile"
clearable
label="手机号码"
name="手机号码"
placeholder="请输入"
v-validate="'required|mobile'"
maxlength="11"
/>
<van-field v-model="userInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'" clearable />
<select-radio required :disabled="true" :radios="sexRadio" label="性别" name="性别" v-validate="'required'"
:value.sync="userInfo.sex"></select-radio>
<FieldDatePicter v-validate="'required'" label="出生日期" name="出生日期" readonly required :value.sync="userInfo.birthday"
type="date" :flag="true" ref="insuredBirthday" :maxDate="maxDate"></FieldDatePicter>
<van-field required v-model="userInfo.mobile" clearable label="手机号码" name="手机号码" placeholder="请输入" v-validate="'required|mobile'"
maxlength="11" />
<van-field v-model="userInfo.email" required label="邮箱" name="邮箱" placeholder="请输入" v-validate="'required|email'"
clearable />
<van-field readonly label="职业类别" name="职业类别" :value="userInfo.occupationName" right-icon="arrow" />
<van-field
:value="userInfo.nativeplace | idToText('nativeplace')"
readonly
required
label="国籍"
name="国籍"
v-validate="'required'"
right-icon="arrow"
placeholder="请选择"
/>
<van-field
:value="userInfo.marriage | idToText('marriage')"
readonly
required
label="婚姻状况"
name="婚姻状况"
v-validate="'required'"
right-icon="arrow"
placeholder="请选择"
/>
<van-field
v-model="userInfo.homeName"
readonly
label="联系地址"
name="联系地址"
required
right-icon="arrow"
placeholder="请选择"
v-validate="'required'"
/>
<van-field readonly v-model="userInfo.homeAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'" clearable maxlength="30" />
<van-field :value="userInfo.nativeplace | idToText('nativeplace')" readonly required label="国籍" name="国籍"
v-validate="'required'" right-icon="arrow" placeholder="请选择" />
<van-field :value="userInfo.marriage | idToText('marriage')" readonly required label="婚姻状况" name="婚姻状况"
v-validate="'required'" right-icon="arrow" placeholder="请选择" />
<van-field v-model="userInfo.homeName" readonly label="联系地址" name="联系地址" required right-icon="arrow" placeholder="请选择"
v-validate="'required'" />
<van-field readonly v-model="userInfo.homeAddress" label name="详细地址" placeholder="请输入详细地址" v-validate="'required'"
clearable maxlength="30" />
</van-cell-group>
<!-- 受益人信息 -->
<van-cell-group class="mt10">
@@ -306,32 +107,17 @@
<van-field required readonly v-model="bnfTypeVal" clearable label="受益人类型" v-validate="'required'" style="border-bottom: 1px solid #ebedf0" />
</van-cell-group>
<p style="background: white; border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">产品信息</p>
<van-field
:value="schemeName"
readonly
required
label="保障方案"
name="保障方案"
v-validate="'required'"
right-icon="arrow"
placeholder="请选择"
@click="toSelect('10')"
/>
<FieldDatePicter
v-validate="'required'"
label="指定生效日期"
name="指定生效日期"
required
:minDate="now"
:value.sync="cvaliDate"
type="date"
:flag="true"
@confirm="onDateConfirm($event, '6')"
ref="effectiveDate"
input-align:right
>
<van-field :value="schemeName" readonly required label="保障方案" name="保障方案" v-validate="'required'" right-icon="arrow"
placeholder="请选择" @click="toSelect('10')" />
<FieldDatePicter v-validate="'required'" label="指定生效日期" name="指定生效日期" required :minDate="now" :value.sync="cvaliDate"
type="date" :flag="true" @confirm="onDateConfirm($event, '6')" ref="effectiveDate" input-align:right>
</FieldDatePicter>
<van-field :value="productDate" v-if="cvaliDate.length > 0" clearable label="保险期间" style="border-bottom: 1px solid #ebedf0" />
<div v-if="cvaliDate.length > 0" class="van-cell van-field" style="border-bottom: 1px solid rgb(235, 237, 240);">
<div class="van-cell__title van-field__label"><span>保险期间</span></div>
<div class="van-cell__value">
<div class="van-field__body"><span class="van-field__control">{{productDate}}</span></div>
</div>
</div>
<!-- <van-checkbox-group v-model="result" ref="checkboxGroup" style="box-sizing:border-box;" class="pl8 pr20 pt10 pb10 bg-white">
<van-checkbox name="a" shape="square" icon-size="13px"
>本人已仔细阅读并了解
@@ -348,10 +134,8 @@
<!-- <div class="tips" v-if="cvaliDate.length > 0">2020年04月03日0时至2021年04月02日24时止</div> -->
<van-goods-action style="z-index: 99">
<van-button type="default" style="width: 50%; font-size: 14px; height: 40px; background: white"
>总保费:<span style="color: red; font-weight: bold; font-size: 18px; font-weight: 400">{{ allPrice }}</span
></van-button
>
<van-button type="default" style="width: 50%; font-size: 14px; height: 40px; background: white">总保费:<span style="color: red; font-weight: bold; font-size: 18px; font-weight: 400">{{
allPrice }}</span></van-button>
<van-goods-action-button type="danger" text="立即投保" @click="nextStep" v-no-more-click="1000" style="border-radius: 0em; width: 50%; height: 40px" />
</van-goods-action>
@@ -405,7 +189,9 @@ import Vue from 'vue'
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant'
DataDictionary.relationToAppnt = DataDictionary.relationToAppnt.slice(0, 4)
Vue.use(Checkbox).use(CheckboxGroup)
Vue.use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton)
Vue.use(GoodsAction)
.use(GoodsActionIcon)
.use(GoodsActionButton)
export default {
name: 'insuredInfo',
components: {
@@ -422,7 +208,7 @@ export default {
[RadioGroup.name]: RadioGroup,
[Radio.name]: Radio,
[IdentityCardScan.name]: IdentityCardScan,
OccupationForLoop,
OccupationForLoop
},
data() {
return {
@@ -439,22 +225,22 @@ export default {
sexRadio: [
{
label: '男',
value: '0',
value: '0'
},
{
label: '女',
value: '1',
},
value: '1'
}
],
medicalRadio: [
{
label: '有',
value: '0',
value: '0'
},
{
label: '无',
value: '1',
},
value: '1'
}
],
maxDate: beforeDate.getBeforeYear(18), //投保人出生日期可选最大值
insuredMaxDate: beforeDate.getBeforeDays(28), //被保人出生日期可选最大值
@@ -491,7 +277,7 @@ export default {
homeName: '', //联系地址
homeAddress: '', //详细地址
mobile: '', //移动电话
email: '', //电子邮箱
email: '' //电子邮箱
// effectiveDate: '' //指定生效日期
},
//被保人信息
@@ -513,7 +299,7 @@ export default {
homeName: '', //联系地址
homeAddress: '1', //详细地址
mobile: '', //移动电话
email: '', //电子邮箱
email: '' //电子邮箱
},
selectUser: '',
areaList: areaList,
@@ -527,7 +313,7 @@ export default {
pdf: ['', '', ''],
insureType: '',
pickerIndex: 0,
areaCode: '110101',
areaCode: '110101'
}
},
created() {
@@ -612,11 +398,11 @@ export default {
type: '1',
orderDTO: {
orderInfoDTO: {
orderNo: orderNo,
},
},
orderNo: orderNo
}
underWrite(data).then((res) => {
}
}
underWrite(data).then(res => {
console.log(res)
if (res.result == '0') {
this.$toast.clear()
@@ -631,11 +417,11 @@ export default {
flag: 'h5',
extra: {
url: location.origin + `/#/cardList/pay`,
forbidSwipeBack: 1,
forbidSwipeBack: 1
},
routerInfo: {
path: `/cardList/pay`,
},
path: `/cardList/pay`
}
})
return true
} else {
@@ -653,11 +439,11 @@ export default {
extra: {
title: name,
// url: 'http://47.96.143.111/pdfjs/web/viewer.html?file=' + url //测试代码
url: location.origin + '/#/cardList/ShowPDF',
url: location.origin + '/#/cardList/ShowPDF'
},
routerInfo: {
path: '/cardList/ShowPDF',
},
path: '/cardList/ShowPDF'
}
})
},
//监听名字变化
@@ -685,7 +471,6 @@ export default {
selectComp(this, index, insureType)
// console.log(index, value)
// localStorage.setItem('value', value)
},
// closeBtn() {
// // 筛选按钮的显示
@@ -707,8 +492,8 @@ export default {
flag: 'navigation',
extra: {
title: '投被保人信息',
hiddenRight: '1',
},
hiddenRight: '1'
}
})
if (this.currentPopupIndex == 1) {
if (this.selectUser == '1') {
@@ -729,21 +514,18 @@ export default {
if (valueKey) this.valueKey = valueKey
if (pickerType == '1') {
this.columns = DataDictionary.nativeplace
this.pickerIndex = (this.userInfo.nativeplace-1) > 0 ? (this.userInfo.nativeplace-1) : 0
this.pickerIndex = this.userInfo.nativeplace - 1 > 0 ? this.userInfo.nativeplace - 1 : 0
} 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: '无' },
]
this.columns = [{ id: 0, text: '有' }, { id: 1, text: '无' }]
} else if (pickerType == '5') {
this.columns = DataDictionary.taxIdentity
} else if (pickerType == '6') {
this.columns = DataDictionary.marriage
this.pickerIndex = (this.userInfo.marriage-1) > 0 ? (this.userInfo.marriage-1) : 0
this.pickerIndex = this.userInfo.marriage - 1 > 0 ? this.userInfo.marriage - 1 : 0
} else if (pickerType == '7') {
this.columns = DataDictionary.workCondition
} else if (pickerType == '8') {
@@ -752,12 +534,11 @@ export default {
this.columns = DataDictionary.relationToAppnt
} else if (pickerType == '66') {
this.columns = DataDictionary.marriage
this.pickerIndex = (this.insuredInfo.marriage-1) > 0 ? (this.insuredInfo.marriage-1) : 0
this.pickerIndex = this.insuredInfo.marriage - 1 > 0 ? this.insuredInfo.marriage - 1 : 0
} else if (pickerType == '11') {
this.columns = DataDictionary.nativeplace
this.pickerIndex = (this.insuredInfo.nativeplace-1) > 0 ? (this.insuredInfo.nativeplace-1) : 0
this.pickerIndex = this.insuredInfo.nativeplace - 1 > 0 ? this.insuredInfo.nativeplace - 1 : 0
} else if (pickerType == '10') {
this.trialList = `{
"code": 0,
"message": "成功",
@@ -816,9 +597,9 @@ export default {
}
}`
this.columns = []
this.trialList = JSON.parse(this.trialList).content.trialList;
this.trialList = JSON.parse(this.trialList).content.trialList
console.log(this.trialList, '================this.trialList================')
this.trialList.forEach((item)=>{
this.trialList.forEach(item => {
this.columns.push({
id: item.schemeCode,
text: item.schemeName
@@ -866,7 +647,7 @@ export default {
for (let item of this.trialList) {
if (item.schemeCode === this.schemeCode) {
this.allPrice = item.prem
break;
break
}
}
}
@@ -975,31 +756,66 @@ export default {
let currentDataArr = val.split('-')
let currentData = currentDataArr[0] + '年' + currentDataArr[1] + '月' + currentDataArr[2] + '日'
let insuYear = JSON.parse(localStorage.insuYear)
let insuYearM,productDate,productDateTime
let insuYearD
switch (insuYear.insuYearFlag) {
case 'D':
var hoDate = Date.parse(val)/1000 + insuYear['insuYear']*24*3600
var productDate = new Date(parseInt(hoDate) * 1000);
var productDateTime = productDate.getFullYear() + '' + (productDate.getMonth() + 1) + '月' + productDate.getDate() + '日'
let hoDate = Date.parse(val) / 1000 + insuYear['insuYear'] * 24 * 3600
productDate = new Date(parseInt(hoDate) * 1000)
insuYearM = (productDate.getMonth() + 1) < 10 ? '0' + (productDate.getMonth() + 1) : (productDate.getMonth() + 1)
insuYearD = productDate.getDate() < 10 ? '0' + productDate.getDate() : productDate.getDate()
productDateTime = productDate.getFullYear() + '年' + insuYearM + '月' + insuYearD + '日'
this.productDate = currentData + '0时至' + productDateTime + '24时止'
break;
break
case 'Y':
var productDate = new Date()
var productDateTime = parseInt(productDate.getFullYear())+parseInt(insuYear['insuYear']) + '' + (productDate.getMonth() + 1) + '月' + productDate.getDate() + '日'
productDate = new Date(val)
insuYearM = (productDate.getMonth() + 1) < 10 ? '0' + (productDate.getMonth() + 1) : (productDate.getMonth() + 1)
insuYearD = productDate.getDate() < 10 ? '0' + productDate.getDate() : productDate.getDate()
productDateTime =
parseInt(productDate.getFullYear()) +
parseInt(insuYear['insuYear']) +
'年' +
insuYearM +
'月' +
insuYearD +
'日'
this.productDate = currentData + '0时至' + productDateTime + '24时止'
break;
break
case 'M':
var productDate = new Date()
let yearY = parseInt(productDate.getFullYear()) + parseInt((parseInt((productDate.getMonth() + 1))+parseInt(insuYear['insuYear']))/12)
let yearM = parseInt((productDate.getMonth() + 1)) + parseInt((parseInt((productDate.getMonth() + 1))+parseInt(insuYear['insuYear']))%12)
var productDateTime = yearY + '年' + yearM + '月' + productDate.getDate() + '日'
productDateTime = this.GetNextMonthDay(val, insuYear['insuYear'])
this.productDate = currentData + '0时至' + productDateTime + '24时止'
break;
break
}
}
break
}
},
GetNextMonthDay(date, monthNum) {
var dateArr = date.split('-')
var year = dateArr[0] //获取当前日期的年份
var month = dateArr[1] //获取当前日期的月份
var day = dateArr[2] //获取当前日期的日
var days = new Date(year, month, 0)
days = days.getDate() //获取当前日期中的月的天数
var year2 = year
var month2 = parseInt(month) + parseInt(monthNum)
if (month2 > 12) {
year2 = parseInt(year2) + parseInt(parseInt(month2) / 12 == 0 ? 1 : parseInt(month2) / 12)
month2 = parseInt(month2) % 12
}
var day2 = day
var days2 = new Date(year2, month2, 0)
days2 = days2.getDate()
if (day2 > days2) {
day2 = days2
}
if (month2 < 10) {
month2 = '0' + month2
}
var t2 = year2 + '年' + month2 + '月' + day2 + '日'
return t2
},
//选择客户
chooseCustomer(data) {
data = data[0]
@@ -1016,8 +832,8 @@ export default {
flag: 'navigation',
extra: {
title: '投被保人信息',
hiddenRight: '1',
},
hiddenRight: '1'
}
})
if (this.selectUser == '0') {
let { customerName, customerSex } = data
@@ -1096,7 +912,7 @@ export default {
Object.assign(this.insuredInfo, this.userInfo)
}
this.$validator.validate().then((valid) => {
this.$validator.validate().then(valid => {
if (true === valid) {
// localStorage.chooseProductCodesNew = localStorage.chooseProductCodes
//投保人校验
@@ -1316,7 +1132,7 @@ export default {
},
appntDTO: this.userInfo,
insuredDTOs: [this.insuredInfo]
},
}
}
//组装险种提交数据
@@ -1327,6 +1143,7 @@ export default {
if (item.isMainRisk == 0) {
mainRiskCode = item.productCode
}
let insuYearDate = JSON.parse(localStorage.insuYear)
let riskItem = {
cvaliDate: this.cvaliDate,
isMainRisk: item.isMainRisk,
@@ -1339,6 +1156,10 @@ export default {
predictTransferPrem: item.predictTransferPrem,
thirdInsuraceNo: this.policyNo,
mult: this.mult,
proScheme: this.schemeName,
proSchemeCode: this.schemeCode,
insuYear: insuYearDate.insuYear,
insuYearFlag: insuYearDate.insuYearFlag,
}
if (item.hasPredictTransferPrem && item.hasPredictTransferPrem === '0') {
//增加万能险 预计转入保费校验
@@ -1366,9 +1187,7 @@ export default {
// }
// console.log()
// riskItem = Object.assign(riskItem, this.trialInfos[index])
//todo
riskItem['proScheme'] = this.schemeName
riskItem['proSchemeCode'] = this.schemeCode
riskDTOLst.push(riskItem)
})
if (!rollInResult) {
@@ -1474,7 +1293,7 @@ export default {
this.insuredInfo.birthday = idToData(val).birthday
this.insuredInfo.sex = idToData(val).sex
}
},
}
},
// beforeDestroy() {
// //清理计时器
@@ -1493,9 +1312,9 @@ export default {
}
},
immediate: true,
deep: true,
},
},
deep: true
}
}
}
</script>
<style lang="scss">

View File

@@ -47,7 +47,652 @@ export default {
created() {
console.log(this.$route.query)
// if(isWeixin){
let testData = `{
"appntOrInsured": null,
"deleteFlag": null,
"productDTO": {
"productCode": null,
"productName": null,
"mainRiskCode": null,
"productChannel": null,
"productDesc": null,
"productType": null,
"planCode": null,
"productFlag": null,
"insuranceFlag": null,
"channelCode": null,
"itemStatus": null,
"isSpecial": null,
"special": {
"medical": null,
"content": "",
"dutyCode": null,
"riskCode": null
}
},
"orderInfoDTO": {
"appntDateStr": null,
"orderAmount": 3,
"customerId": null,
"orderNo": "8186270000012555",
"prtNo": "8186270000012555",
"contNo": null,
"prem": null,
"sumPrem": null,
"orderStandAmount": null,
"totalPremium": null,
"amnt": null,
"contState": null,
"expiryDate": null,
"payIntv": null,
"nextPayDate": null,
"bonusFlag": null,
"survivalFlag": null,
"loanFlag": null,
"elecUrl": null,
"productCode": null,
"rate": null,
"underLineIdentification": null,
"saleChannel": null,
"policyNumber": null,
"riskPlanCode": null,
"hesitateDays": null,
"appntDate": "2021-04-01T09:42:34.000+0000",
"appntDateLabel": "2021-04-01",
"bnfType": null,
"checkStatus": null,
"commitDate": null,
"confirmAddress": null,
"confirmZip": null,
"confirmTime": null,
"contPrintStatus": null,
"contSendStatus": null,
"elecContStatus": null,
"giftName": null,
"invoicePrintStatus": null,
"isElecCont": null,
"isLockedOrg": null,
"isUseAddress": null,
"manageOrg": "8645010101",
"needInvoice": null,
"needPrt": null,
"orderStatus": "56",
"planCode": null,
"productChannel": null,
"productType": null,
"smsSendStatus": null,
"productDTO": null,
"orderType": "102",
"productPlat": null,
"createDate": null,
"productName": null,
"bankAccount": null,
"bankCode": null,
"cardBookCode": null,
"supportBank": "0",
"skuCode": null,
"signDate": null,
"silentBatchFlag": null,
"systemSubtype": null,
"staffFlag": null,
"perfUserStatus": null,
"isNewInterface": null,
"orderExecStatus": null,
"freezeLisStatus": null,
"policySyncDate": null,
"actCode": null,
"automaticFee": null,
"expireDate": null,
"loanInterestBeforeday": null,
"loanInterest": null,
"loanMoney": null,
"contValueDate": null,
"contValue": null,
"applyDate": null,
"policyChangeDate": null,
"importLisStatus": null,
"policyValue": null,
"policyValueBeforeday": null,
"lastHesitateDate": null,
"freezePoint": null,
"availablePoint": null,
"autoPayEnd": null,
"autoPayStart": null,
"isAutoPay": null,
"saleChannelDetail": null,
"bnfFlag": "0",
"uwRes": null,
"idRejectReason": null,
"idRejectType": null,
"idCheckRes": null,
"contSendDate": null,
"receiptDate": null,
"doubleFlag": "1",
"isDoubleMailRisk": null,
"activeType": null,
"validateCustomerFlag": null,
"cvaliDate": "2021-04-01",
"nyearCashValue": null
},
"appntDTO": {
"customerNo": null,
"orderNo": "8186270000012555",
"appntId": 18512,
"name": "张华",
"sex": "0",
"birthday": "1980-08-01",
"idType": "1",
"idNo": "110101198008010152",
"idNoStar": null,
"certiexpiredate": null,
"certificateValidate": null,
"nativeplace": null,
"occupationCode": null,
"mobile": "15433112222",
"mobileStar": null,
"telephone": null,
"province": null,
"city": null,
"area": null,
"addressNo": null,
"zip": null,
"email": "8337697@qq.com",
"emailStar": null,
"marriage": null,
"stature": null,
"avoirdupois": null,
"degree": null,
"income": null,
"residentType": null,
"relationToInsured": "1",
"effectiveDateType": "false",
"medical": "",
"workcompany": null,
"postalAddress": null,
"occupationType": null,
"occupationName": null,
"birthdayLabel": "1980-08-01",
"marriageDate": null,
"health": null,
"joinCompanyDate": null,
"startWorkDate": null,
"position": null,
"salary": null,
"smokeFlag": null,
"village": null,
"taxResidentId": null,
"countyOfHospital": null,
"hospitalName": null,
"hospitalType": null,
"stepNumber": null,
"bmi": null,
"cityLevel": null,
"averageAnnualIncome": null,
"familyAnnualIncome": null,
"impartDTO": {
"orderNo": null,
"relationId": null,
"impartType": "0",
"impartItemDTOS": null
},
"financeImpartDTO": {
"orderNo": null,
"relationId": null,
"impartType": "2",
"impartItemDTOS": null
},
"mediaDTOS": null,
"jobStatus": null,
"liabilitiesMoney": null,
"companyProvince": null,
"companyCity": null,
"companyArea": null,
"companyAddress": null,
"companyZip": null,
"companyPhone": null,
"homeProvince": null,
"homeCity": null,
"homeArea": null,
"homeAddress": null,
"homeZip": null,
"homePhone": null,
"signStatus": null,
"signDate": null,
"householdProvince": null,
"householdCity": null,
"addressStatus": null,
"lifeGrade": null,
"healthGrade": null,
"salarySource": null,
"otherSalarySource": null,
"age": null,
"totalPremAll": null,
"proposalCoverUrl": null,
"ridStatus": null,
"maritalStatus": null,
"fincome": null,
"faverageIncome": null
},
"insuredDTOs": [
{
"insuredId": 18852,
"orderNo": "8186270000012555",
"occupationType": null,
"occupationName": null,
"nativeplace": null,
"insuredNo": null,
"socialSecurity": null,
"name": "张华",
"sex": "0",
"birthday": "1980-08-01",
"idType": "1",
"idNo": "110101198008010152",
"idNoStar": null,
"certiexpiredate": null,
"certificateValidate": null,
"insuredAge": null,
"occupationCode": null,
"insuredJobClass": null,
"mobile": "15433112222",
"mobileStar": null,
"telephone": null,
"province": null,
"city": null,
"area": null,
"addressNo": null,
"zip": null,
"email": "8337697@qq.com",
"emailStar": null,
"marriage": null,
"health": null,
"stature": null,
"avoirdupois": null,
"degree": null,
"income": null,
"impartAmnt": null,
"effectiveDateType": "false",
"postalAddress": null,
"workcompany": null,
"relationToMainInsured": null,
"relationToAppnt": null,
"bankCode": null,
"cardBookCode": null,
"cardBookType": null,
"countyOfHospital": null,
"medical": "",
"birthdayLabel": "1980-08-01",
"bnfDTOs": null,
"riskDTOLst": [
{
"bonusGetMode": null,
"mainRiskCode": "GFRS_M0022",
"insuredId": 18852,
"insuanceId": 22532,
"orderNo": "8186270000012555",
"itemCode": null,
"productName": null,
"riskCode": "GFRS_M0022",
"riskName": "国富人寿短期综合交通工具意外伤害保险计划",
"planCode": null,
"planCodeLabel": null,
"planName": null,
"prem": 3,
"showPrem": 3,
"amt": null,
"standPrem": 3,
"addPrem": null,
"mult": null,
"insuYearFlag": "Y",
"insuYear": 1,
"startInsureDate": null,
"stopInsureDate": null,
"payEndYear": null,
"payEndYearFlag": null,
"isMainRisk": "0",
"riskType": "3",
"dutyLst": [
{
"orderNo": "8186270000012555",
"dutyType": null,
"dutyName": "一般意外伤害身故/伤残",
"amt": 300000,
"prem": 300,
"dutyCode": "",
"standPrem": null,
"getLimit": null,
"getRate": null,
"basicAmnt": null,
"insuranceId": 22532
},
{
"orderNo": "8186270000012555",
"dutyType": null,
"dutyName": "一般意外伤害医疗(免赔额100元赔付比例80%)",
"amt": 50000,
"prem": 300,
"dutyCode": "",
"standPrem": null,
"getLimit": null,
"getRate": null,
"basicAmnt": null,
"insuranceId": 22532
},
{
"orderNo": "8186270000012555",
"dutyType": null,
"dutyName": "客运民航班机意外身故/伤残",
"amt": 1000000,
"prem": 300,
"dutyCode": "",
"standPrem": null,
"getLimit": null,
"getRate": null,
"basicAmnt": null,
"insuranceId": 22532
},
{
"orderNo": "8186270000012555",
"dutyType": null,
"dutyName": "轨道列车意外身故/伤残",
"amt": 500000,
"prem": 300,
"dutyCode": "",
"standPrem": null,
"getLimit": null,
"getRate": null,
"basicAmnt": null,
"insuranceId": 22532
},
{
"orderNo": "8186270000012555",
"dutyType": null,
"dutyName": "客运轮船意外身故/残疾",
"amt": 500000,
"prem": 300,
"dutyCode": "",
"standPrem": null,
"getLimit": null,
"getRate": null,
"basicAmnt": null,
"insuranceId": 22532
},
{
"orderNo": "8186270000012555",
"dutyType": null,
"dutyName": "意外住院津贴(免赔3天最多赔付180天)",
"amt": 100,
"prem": 300,
"dutyCode": "",
"standPrem": null,
"getLimit": null,
"getRate": null,
"basicAmnt": null,
"insuranceId": 22532
},
{
"orderNo": "8186270000012555",
"dutyType": null,
"dutyName": "私家车驾乘意外身故/残疾",
"amt": 100000,
"prem": 300,
"dutyCode": "",
"standPrem": null,
"getLimit": null,
"getRate": null,
"basicAmnt": null,
"insuranceId": 22532
}
],
"payIntv": null,
"diseaseType": null,
"cvaliDate": "2021-04-01",
"calFlag": null,
"getEndYear": null,
"getEndYearFlag": null,
"years": null,
"getYearFlag": null,
"getYear": null,
"riskGrade": null,
"acciYearFlag": null,
"acciYear": null,
"firstPremNum": null,
"getStartDate": null,
"getEndDate": null,
"deadGetMode": null,
"liveGetMode": null,
"autoPayFlag": null,
"airNo": null,
"flyDate": null,
"claimScale": null,
"deductAmt": null,
"rnewFlag": null,
"protocolCode": null,
"thirdInsuraceNo": null,
"thirdInsuraceNos": null,
"contPlanCode": null,
"riskLevel": null,
"getIntv": null,
"isDelete": null,
"createdDate": "2021-04-01T09:42:37.000+0000",
"predictTransferPrem": null,
"intMult": 0,
"pdfRiskCode": "202005001",
"getLimit": null,
"getRate": null,
"specInsuredFlag": null,
"url": null,
"clauseName": null,
"riskDutySortResult": null,
"isRotate": null,
"lineNum": null,
"thead": null,
"tableFontSize": null,
"benefitPageCSS": null,
"benefitDesc": null,
"proposalCoverUrl": null,
"choFlag": null,
"isRemit": "1",
"isRenewal": null,
"proScheme": "国富无忧卡C",
"proSchemeCode": "M0041C"
}
],
"impartDTO": {
"orderNo": null,
"relationId": null,
"impartType": "1",
"impartItemDTOS": null
},
"financeImpartDTO": {
"orderNo": null,
"relationId": null,
"impartType": "3",
"impartItemDTOS": null
},
"marriageDate": null,
"joinCompanyDate": null,
"startWorkDate": null,
"position": null,
"salary": null,
"smokeFlag": null,
"village": null,
"taxResidentId": null,
"hospitalType": null,
"hospitalName": null,
"stepNumber": null,
"bmi": null,
"cityLevel": null,
"averageAnnualIncome": null,
"familyAnnualIncome": null,
"totalPrem": null,
"totalAmt": null,
"mediaDTOS": null,
"jobStatus": null,
"liabilitiesMoney": null,
"companyProvince": null,
"companyCity": null,
"companyArea": null,
"companyAddress": null,
"companyZip": null,
"companyPhone": null,
"homeProvince": null,
"homeCity": null,
"homeArea": null,
"homeAddress": null,
"homeZip": null,
"homePhone": null,
"signStatus": null,
"signDate": null,
"householdProvince": null,
"householdCity": null,
"addressStatus": null,
"lifeGrade": null,
"healthGrade": null,
"salarySource": null,
"otherSalarySource": null,
"dutySortResult": null,
"maritalStatus": null,
"ridStatus": null,
"fincome": null,
"faverageIncome": null
}
],
"paymentDTO": null,
"orderAccountDTO": {
"orderNo": null,
"accountName": null,
"accountId": null,
"bankName": null,
"bankCode": null,
"syBankCode": null,
"syAreaCode": null,
"syLocationCode": null,
"otherBankCode": null,
"cardBookType": null,
"cardBookCode": null,
"expiredDate": null,
"cvv2Code": null,
"createdDate": null,
"modifiedDate": null,
"createdUser": null,
"modifiedUser": null,
"isDelete": null,
"isAutoRenewal": null,
"isAutoPay": null,
"accountType": null,
"accBankProvince": null,
"accBankCity": null,
"cw2Code": null
},
"channelDTO": null,
"orderExpandDTO": null,
"thirdOrderDTO": null,
"recmdDTO": {
"agentChannel": null,
"agentList": null,
"city": null,
"code": null,
"customerId": null,
"hasRecommend": null,
"manageOrgLabel": null,
"productChannel": null,
"productCode": null,
"saleChannel": null,
"saleChannelDetail": null,
"orderNo": "8186270000012555",
"recommendType": "01",
"agentCode": "145000173",
"name": "人098",
"agentGroup": null,
"managerOrg": "8645010101",
"employeeId": null,
"createdDate": "2021-04-01T09:42:35.000+0000",
"remark": "青秀一区",
"remark2": null,
"remark3": null,
"remark4": null,
"shareId": null,
"manageComCode": null,
"mobile": null,
"certificateNo": null,
"comAddress": null
},
"smsCodeDTO": null,
"mediaDTOS": [],
"ebizSignDTOS": [
{
"signId": 20915,
"signOrRead": null,
"baseEncryp": null,
"orderNo": "8186270000012555",
"riskCode": "GFRS_M0022",
"documentName": "国富人寿投保须知",
"documentCode": null,
"policyUrl": null,
"originalUrl": "http://139.199.50.151:8000/app/product/GFRS_M0041/DOC/M0041TBXZ.pdf",
"documentType": "0",
"documentStatus": "0",
"signType": null,
"relationId": null,
"signDate": null,
"createdDate": "2021-04-01T09:43:14.000+0000",
"modifiedDate": null,
"createdUser": null,
"modifiedUser": null,
"isDelete": 0,
"isSigned": null
},
{
"signId": 20916,
"signOrRead": null,
"baseEncryp": null,
"orderNo": "8186270000012555",
"riskCode": "GFRS_M0022",
"documentName": "免除保险人责任条款",
"documentCode": null,
"policyUrl": null,
"originalUrl": "http://139.199.50.151:8000/app/product/GFRS_M0041/DOC/M0041MCBXRZRTK.pdf",
"documentType": "0",
"documentStatus": "0",
"signType": null,
"relationId": null,
"signDate": null,
"createdDate": "2021-04-01T09:43:14.000+0000",
"modifiedDate": null,
"createdUser": null,
"modifiedUser": null,
"isDelete": 0,
"isSigned": null
},
{
"signId": 20917,
"signOrRead": null,
"baseEncryp": null,
"orderNo": "8186270000012555",
"riskCode": "GFRS_M0022",
"documentName": "转账授权声明",
"documentCode": null,
"policyUrl": null,
"originalUrl": "http://139.199.50.151:8000/app/product/GFRS_M0041/DOC/M0041ZZSQSM.pdf",
"documentType": "0",
"documentStatus": "0",
"signType": null,
"relationId": null,
"signDate": null,
"createdDate": "2021-04-01T09:43:15.000+0000",
"modifiedDate": null,
"createdUser": null,
"modifiedUser": null,
"isDelete": 0,
"isSigned": null
}
],
"cardOrder": null,
"xqPayDTO": null,
"prtType": "0",
"reason": "未查到详情!"
}`
sessionStorage.orderDetail = testData;
// }
if (this.$route.query.token) {
localStorage.token = this.$route.query.token