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