mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 05:16:44 +08:00
没展示指定生效日问题,现在activeType从订单详情接口取值了
This commit is contained in:
@@ -431,7 +431,8 @@ export default {
|
||||
return {
|
||||
isEnterAddtionRisk: true, //附加险list
|
||||
activeRadio: '1',
|
||||
activeType: localStorage.getItem('active_type'),
|
||||
// activeType: localStorage.getItem('active_type'), 现在从订单详情接口取值了
|
||||
activeType: '',
|
||||
cvalidateFlag: false,
|
||||
cvalidateStr: '', //活动生效日
|
||||
chooseProducts: [],
|
||||
@@ -504,7 +505,6 @@ export default {
|
||||
this.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
// this.cvalidateFlag = (this.activeType == 'KMH'||this.activeType == 'SQY') && this.isFrom != 'proposal'
|
||||
this.cvalidateFlag = this.activeType && this.isFrom != 'proposal'
|
||||
// this.cvalidateStr = this.cvalidateFlag?this.activeType == 'KMH'?'2021-01-01':this.activeType == 'SQY'?'2021-06-01':'':''
|
||||
//GFRS-2552【需求】关于金掌桂投保流程增设指定生效日按钮的申请
|
||||
const orderNo = this.$CacheUtils.getLocItem('orderNo')
|
||||
@@ -512,7 +512,9 @@ export default {
|
||||
if (this.isFrom != 'proposal') {
|
||||
//活动生效日期
|
||||
this.cvalidateStr = detailPromise.orderDTO.orderInfoDTO.cvaliDate
|
||||
this.activeType = detailPromise.orderDTO.orderInfoDTO.activeType
|
||||
}
|
||||
this.cvalidateFlag = this.activeType && this.isFrom != 'proposal'
|
||||
|
||||
//构建提交数据、渲染险种
|
||||
this.chooseProducts = JSON.parse(localStorage.chooseProducts)
|
||||
|
||||
@@ -161,7 +161,7 @@ export default {
|
||||
mounted() {
|
||||
if (localStorage.isFrom == 'sale') {
|
||||
// 清除活动标志
|
||||
localStorage.removeItem('active_type')
|
||||
// localStorage.removeItem('active_type')
|
||||
setTimeout(() => {
|
||||
// eslint-disable-next-line no-undef
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
@@ -536,7 +536,7 @@ export default {
|
||||
this.active_show = false
|
||||
this.active_sqy_show = false
|
||||
// localStorage.setItem('active_type', type=='KMH'?this.active_radio == '1'?'KMH':'':type=='SQY'?this.active_sqy_radio=='1'?'SQY':'':'')
|
||||
localStorage.setItem('active_type', this.activityList[this.active_sqy_radio].isKmh)
|
||||
// localStorage.setItem('active_type', this.activityList[this.active_sqy_radio].isKmh)
|
||||
if (res.result == 0) {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
|
||||
Reference in New Issue
Block a user