GFRS-2759【前端】开发柳州需求投保风险提示书的页面--提交人:张齐

This commit is contained in:
zhangqi1
2021-10-14 14:07:19 +08:00
parent f300714d04
commit 69ef117d67

View File

@@ -546,10 +546,7 @@ export default {
if (sessionStorage.shareCode == '1') { if (sessionStorage.shareCode == '1') {
console.log('进来被保险人') console.log('进来被保险人')
this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
} else if(sessionStorage.shareCode == '3'){ } else {
console.log('进来代理人')
this.tipsName =this.recmd.name
}else {
console.log('进来投保人') console.log('进来投保人')
this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).name this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).name
// console.log('localStorage.saleInsuredInfo', localStorage.saleInsuredInfo) // console.log('localStorage.saleInsuredInfo', localStorage.saleInsuredInfo)
@@ -1502,7 +1499,7 @@ export default {
riskName = res.orderDTO.insuredDTOs[0].riskDTOLst[0].riskName riskName = res.orderDTO.insuredDTOs[0].riskDTOLst[0].riskName
} }
if (that.orderInfo && that.orderInfo.activeType) { if (that.orderInfo && that.orderInfo.activeType) {
that.$CacheUtils.setLocItem('activeType',that.orderInfo.activeType) that.$CacheUtils.setLocItem('activeType', that.orderInfo.activeType)
} }
localStorage.setItem('productCode', productCode) localStorage.setItem('productCode', productCode)
this.riskName = riskName this.riskName = riskName
@@ -1574,7 +1571,7 @@ export default {
item.key = 2 item.key = 2
item.routePath = 'insuranceInformation' item.routePath = 'insuranceInformation'
} else if (item.documentCode == '2') { } else if (item.documentCode == '2') {
item.key = 8 item.key = 9
item.routePath = 'SignatureOfElectronic' item.routePath = 'SignatureOfElectronic'
} else if (item.documentCode == '3') { } else if (item.documentCode == '3') {
item.key = 4 item.key = 4
@@ -1583,10 +1580,10 @@ export default {
item.key = 5 item.key = 5
item.routePath = 'InsuranceTip' item.routePath = 'InsuranceTip'
} else if (item.documentCode == '6') { } else if (item.documentCode == '6') {
item.key = 6 item.key = 7
item.routePath = 'avoidDutyTip' item.routePath = 'avoidDutyTip'
} else if (item.documentCode == '7') { } else if (item.documentCode == '7') {
item.key = 7 item.key = 8
item.routePath = 'doubleRecordTip' item.routePath = 'doubleRecordTip'
} else if (item.documentCode == '8') { } else if (item.documentCode == '8') {
item.key = 1 item.key = 1
@@ -1597,6 +1594,9 @@ export default {
}else if (item.documentCode == '10') { }else if (item.documentCode == '10') {
item.key = 1 item.key = 1
item.routePath = 'commitmentSelfProtect' item.routePath = 'commitmentSelfProtect'
} else if (item.documentCode == '11') {
item.key = 6
item.routePath = 'InsuranceRiskReminder'
} }
}, },
getSignInvalid() { getSignInvalid() {
@@ -1860,17 +1860,21 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang='scss' scoped>
@import '@/assets/sass/variables.scss'; @import '@/assets/sass/variables.scss';
.text { .text {
color: #4a90e2; color: #4a90e2;
} }
.start { .start {
color: #4fc6b3; color: #4fc6b3;
} }
.tips { .tips {
line-height: 30px; line-height: 30px;
} }
.tips { .tips {
line-height: 30px; line-height: 30px;
} }