mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 09:16:43 +08:00
save
This commit is contained in:
@@ -241,18 +241,6 @@ export default {
|
||||
})
|
||||
}
|
||||
},
|
||||
computed:{
|
||||
isupdateAnswerType(){
|
||||
return this.$store.state.updateAnswerType
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
isupdateAnswerType(newVal,oldVal){
|
||||
console.log(newVal,'newVal');
|
||||
console.log(oldVal,'oldVal');
|
||||
this.$store.state.updateAnswerType = newVal
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div style="background: #f5f5f5" class="select-product-container">
|
||||
<div v-if="isFrom == 'sale'">
|
||||
<index-bar></index-bar>
|
||||
<index-bar :key="renovate"></index-bar>
|
||||
</div>
|
||||
<div class="mt8"></div>
|
||||
<div v-for="(item, index) in chooseProducts" :key="index" class="mb20 bg-white mh15 pv15 pr15 pl10 radius5">
|
||||
@@ -147,6 +147,7 @@ export default {
|
||||
checkedUrl: require('@/assets/images/kmh/checked.png'),
|
||||
noCheckedUrl: require('@/assets/images/kmh/no_checked.png'),
|
||||
proposalOrderNo:'',
|
||||
renovate:'',//刷新子组件
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -263,9 +264,6 @@ export default {
|
||||
orderType: 'proposalInsuredInfo',
|
||||
orderDTO: { insuredDTOs: [{ insuredId: insuredId }] }
|
||||
})
|
||||
let updateAnswerType = resultData.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
} else {
|
||||
this.$toast.loading({
|
||||
duration: 0, // 持续展示 toast
|
||||
@@ -280,6 +278,7 @@ export default {
|
||||
let updateAnswerType = resultData.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
this.renovate = new Date().getTime()
|
||||
let riskDTOLst
|
||||
if (isProposal) {
|
||||
this.$CacheUtils.setLocItem('saleInsuredInfo',JSON.stringify(resultData.content[0].appntDTO))//存储投保人信息
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="accountInformation-container redRadioCheckbox">
|
||||
<index-bar></index-bar>
|
||||
<index-bar :key="renovate"></index-bar>
|
||||
<div class="aaountInfomation-content" v-if="!isScan">
|
||||
|
||||
<van-radio-group v-model="radio" class="flex pl30 pr30 pt15 pb15 justify-content-s bg-white mt10">
|
||||
@@ -201,7 +201,7 @@ export default {
|
||||
accBankCity: '',
|
||||
areaStr: '',
|
||||
orderInfoDTO: '',
|
||||
updateAnswerType:false,
|
||||
renovate:'',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -651,7 +651,7 @@ export default {
|
||||
}
|
||||
},
|
||||
async created() {
|
||||
// this.$store.commit('updateAnswerType', false )
|
||||
this.$store.commit('updateAnswerType', false )
|
||||
let res = await getOrderDetail({ orderNo: localStorage.orderNo })
|
||||
this.$toast.loading({
|
||||
duration: 0, // 持续展示 toast
|
||||
@@ -660,10 +660,10 @@ export default {
|
||||
message: '加载中……'
|
||||
})
|
||||
if (res.result == 0) {
|
||||
this.updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
console.log(updateAnswerType,'updateAnswerType555555555555');
|
||||
this.renovate = new Date().getTime()
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
if(res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint == '1'&&res.orderDTO.riskEvaluationDTO.totalScore == null){
|
||||
Dialog.alert({
|
||||
title: '提示',
|
||||
@@ -757,7 +757,7 @@ export default {
|
||||
// this.updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
// let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', this.updateAnswerType )
|
||||
console.log(this.updateAnswerType,'updateAnswerType6666666666');
|
||||
console.log(this.updateAnswerType,'updateAnswerType');
|
||||
},
|
||||
computed: {
|
||||
listenChange() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="beneficiary-container redRadioCheckbox">
|
||||
<div style="background: rgb(245, 245, 245);" class="pt3 pb5">
|
||||
<index-bar></index-bar>
|
||||
<index-bar :key="renovate"></index-bar>
|
||||
</div>
|
||||
<div h10></div>
|
||||
<div class="fs14 flex justify-content-s pv12 ph15 van-hairline--bottom">
|
||||
@@ -64,6 +64,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
renovate: '',
|
||||
type: '1',
|
||||
insuredPerson: '', //被保险人
|
||||
isAssign: false, // 是否指定受益人
|
||||
@@ -87,6 +88,7 @@ export default {
|
||||
this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
this.renovate = new Date().getTime()
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
this.$utils.intLocalStorage(res)
|
||||
this.type = res.orderDTO.orderInfoDTO.bnfFlag == '1' ? '2' : '1' //bnfFlag 0-法定受益人 1-指定受益人
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="insured-info-container pb60 redRadioCheckbox">
|
||||
<!-- 基本信息 -->
|
||||
<index-bar></index-bar>
|
||||
<index-bar :key="renovate"></index-bar>
|
||||
<van-cell-group class="mt10">
|
||||
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">基本信息</p>
|
||||
<customer-picker
|
||||
@@ -422,6 +422,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
renovate: '',
|
||||
specilFlag: '', //特殊显示-为桂企产品专写 1-桂企 undefind-其他
|
||||
productCodes: [], //产品编码-用于“产品允许投保人单位列表获取”接口,作为请求参数
|
||||
isScan: false, //是否显示证件扫描组件
|
||||
@@ -559,6 +560,7 @@ export default {
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
this.$store.commit( 'updateAnswerType',updateAnswerType )
|
||||
this.renovate = new Date().getTime()
|
||||
//投保人信息返显
|
||||
this.userInfo = res.orderDTO.appntDTO
|
||||
this.setCustomerMarriage(res.orderDTO.appntDTO.marriage)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="insured-person-container pb50 redRadioCheckbox">
|
||||
<!-- 基本信息 -->
|
||||
<index-bar></index-bar>
|
||||
<index-bar :key="renovate"></index-bar>
|
||||
<van-cell-group v-if="!isScan">
|
||||
<p style="border-bottom: 1px solid #ebedf0" class="mt10 fs15 fwb pl10 pv12">基本信息</p>
|
||||
<van-field
|
||||
@@ -606,7 +606,7 @@ export default {
|
||||
userWorkcompanys:[],//单位数据
|
||||
manageComCode:'',//代理人管理机构 52贵州 45广西
|
||||
areaValue:'', //代理人管理机构--省级编号
|
||||
isShowEvaluationPoint:'0'//是否展示风险测评
|
||||
renovate:''//是否展示风险测评
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -617,9 +617,9 @@ export default {
|
||||
if (orderNo) {
|
||||
getOrderDetail({ orderNo: orderNo }).then((res) => {
|
||||
if (res.result == 0) {
|
||||
this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
this.renovate = new Date().getTime()
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
//投被同人
|
||||
if (res.orderDTO.insuredDTOs.length && res.orderDTO.insuredDTOs[0].relationToAppnt == '1') {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="pb50">
|
||||
<div class="allFalse">
|
||||
<div style="background-color: rgb(245, 245, 245);padding-bottom:5px">
|
||||
<index-bar></index-bar>
|
||||
<index-bar :key="renovate"></index-bar>
|
||||
</div>
|
||||
<div v-if="!isSpecificMedicalInsurance" class="flex justify-content-s align-items-c bg-white pt20 pb20 pr10">
|
||||
<span class="pl10">告知项目</span>
|
||||
@@ -144,6 +144,7 @@ import IndexBar from '@/components/ebiz/sale/IndexBar'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
renovate:'',
|
||||
// 告知信息
|
||||
impartDTOS: [],
|
||||
// 折叠面板
|
||||
@@ -201,6 +202,7 @@ export default {
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit( 'updateAnswerType',updateAnswerType )
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
this.renovate = new Date().getTime()
|
||||
this.isExistAdditionalRisk = res.orderDTO.insuredDTOs[0].riskDTOLst.length > 1 ? true : false
|
||||
|
||||
console.log('this.is ====', this.isExistAdditionalRisk)
|
||||
|
||||
Reference in New Issue
Block a user