mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 12:16:43 +08:00
提交
This commit is contained in:
@@ -103,7 +103,8 @@ export default {
|
||||
pageItem: '风险测评',
|
||||
urlStr: '/sale/answerPage',
|
||||
tabClass: '',
|
||||
show:this.$store.getters.getAnswerType,
|
||||
// show:this.$store.getters.getAnswerType,
|
||||
show:localStorage.getItem('updateAnswerType'),
|
||||
imgCheckedUrl: this.$assetsUrl + 'images/kmh/fx1.png',
|
||||
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/fx2.png'
|
||||
},
|
||||
@@ -112,7 +113,8 @@ export default {
|
||||
pageItem: '风险测评结果',
|
||||
urlStr: '/sale/answerSuccess',
|
||||
tabClass: '',
|
||||
show:this.$store.getters.getAnswerType,
|
||||
// show:this.$store.getters.getAnswerType,
|
||||
show:localStorage.getItem('updateAnswerType'),
|
||||
imgCheckedUrl: this.$assetsUrl + 'images/kmh/fxjg1.png',
|
||||
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/fxjg2.png'
|
||||
},
|
||||
|
||||
@@ -650,7 +650,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
|
||||
@@ -678,7 +678,8 @@ export default {
|
||||
})
|
||||
}
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
localStorage.setItem('updateAnswerType',updateAnswerType)
|
||||
// this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
this.appntDTO = res.orderDTO.appntDTO
|
||||
this.orderInfoDTO = res.orderDTO.orderInfoDTO
|
||||
//如果是从编辑进来的
|
||||
|
||||
@@ -80,6 +80,7 @@ export default {
|
||||
// 是否从添加指定受益人页面跳转
|
||||
if (localStorage.fromAddBeneficiaryInfo) {
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
localStorage.setItem('updateAnswerType',updateAnswerType)
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
this.type = '2'
|
||||
this.beneficiaries = this.beneficiaries.concat(JSON.parse(localStorage.beneficiaryInfo))
|
||||
|
||||
@@ -558,6 +558,7 @@ export default {
|
||||
if (res.result == 0) {
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
localStorage.setItem('updateAnswerType',updateAnswerType)
|
||||
this.$store.commit( 'updateAnswerType',updateAnswerType )
|
||||
//投保人信息返显
|
||||
this.userInfo = res.orderDTO.appntDTO
|
||||
|
||||
@@ -620,6 +620,7 @@ export default {
|
||||
this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
localStorage.setItem('updateAnswerType',updateAnswerType)
|
||||
//投被同人
|
||||
if (res.orderDTO.insuredDTOs.length && res.orderDTO.insuredDTOs[0].relationToAppnt == '1') {
|
||||
this.$nextTick(() => {
|
||||
|
||||
@@ -200,6 +200,7 @@ export default {
|
||||
// this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
localStorage.setItem('updateAnswerType',updateAnswerType)
|
||||
console.log(updateAnswerType,'updateAnswerType');
|
||||
this.$store.commit( 'updateAnswerType',updateAnswerType )
|
||||
this.isExistAdditionalRisk = res.orderDTO.insuredDTOs[0].riskDTOLst.length > 1 ? true : false
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: jiawei
|
||||
* @Date: 2023-02-15 09:41:46
|
||||
* @LastEditors: jiawei jia.wei@ebiz-digits.com
|
||||
* @LastEditTime: 2023-02-20 17:55:07
|
||||
* @LastEditTime: 2023-02-22 11:44:35
|
||||
* @FilePath: \ebiz-h5\src\views\ebiz\sale\answerPage.vue
|
||||
* @Description:
|
||||
-->
|
||||
@@ -71,8 +71,8 @@ export default {
|
||||
created(){
|
||||
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
|
||||
if (res.result == 0) {
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
// let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
// this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
this.question =JSON.parse( res.orderDTO.riskEvaluationDTO.quentionAnswer)
|
||||
console.log( this.question,' this.question');
|
||||
this.isDisabledType()
|
||||
|
||||
@@ -66,10 +66,11 @@ export default {
|
||||
created(){
|
||||
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
|
||||
if (res.result == 0) {
|
||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
this.riskEvaluationDTO = res.orderDTO.riskEvaluationDTO
|
||||
this.getStatement()
|
||||
// let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||
// this.$store.commit('updateAnswerType', updateAnswerType )
|
||||
// localStorage.setItem('updateAnswerType',updateAnswerType)
|
||||
this.riskEvaluationDTO = res.orderDTO.riskEvaluationDTO
|
||||
this.getStatement()
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user