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