指定生效日说明文件参数传递修改

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-11-17 11:42:42 +08:00
parent 621c8ed0cc
commit 828ed1ef22

View File

@@ -134,7 +134,7 @@ export default {
methods: { methods: {
async init(){ async init(){
this.isFrom = window.localStorage.isFrom this.isFrom = window.localStorage.isFrom
const orderNo = this.$CacheUtils.getLocItem('orderNo') const orderNo = this.$route.query.orderNo
let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo }) let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo })
if(this.isFrom != 'proposal'){ if(this.isFrom != 'proposal'){
//活动生效日期 //活动生效日期
@@ -202,13 +202,13 @@ export default {
orderType: 'SIGN_ORDER', orderType: 'SIGN_ORDER',
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo') orderNo: that.$route.query.orderNo
}, },
ebizSignDTOS: [ ebizSignDTOS: [
{ {
signOrRead: 'read', signOrRead: 'read',
signId: that.appntSign.signId, signId: that.appntSign.signId,
orderNo: window.localStorage.getItem('orderNo'), orderNo: that.$route.query.orderNo,
documentCode: that.appntSign.documentCode, documentCode: that.appntSign.documentCode,
documentStatus: '1', documentStatus: '1',
documentType: that.appntSign.documentType, documentType: that.appntSign.documentType,
@@ -226,10 +226,10 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
url: location.origin + '/#/sale/' + url url: location.origin + '/#/sale/' + url + '?orderNo=' + that.$route.query.orderNo,
}, },
routerInfo: { routerInfo: {
path: '/sale/' + url path: '/sale/' + url + '?orderNo=' + that.$route.query.orderNo,
} }
}) })
} else { } else {
@@ -254,13 +254,13 @@ export default {
orderType: 'SIGN_ORDER', orderType: 'SIGN_ORDER',
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo') orderNo: that.$route.query.orderNo
}, },
ebizSignDTOS: [ ebizSignDTOS: [
{ {
signOrRead: 'read', signOrRead: 'read',
signId: that.insuredSign.signId, signId: that.insuredSign.signId,
orderNo: window.localStorage.getItem('orderNo'), orderNo: that.$route.query.orderNo,
documentCode: that.insuredSign.documentCode, documentCode: that.insuredSign.documentCode,
documentStatus: '1', documentStatus: '1',
documentType: that.insuredSign.documentType, documentType: that.insuredSign.documentType,
@@ -276,10 +276,10 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
url: location.origin + '/#/sale/SignatureOfElectronic' url: location.origin + '/#/sale/SignatureOfElectronic' + '?orderNo=' + that.$route.query.orderNo,
}, },
routerInfo: { routerInfo: {
path: '/sale/SignatureOfElectronic' path: '/sale/SignatureOfElectronic' + '?orderNo=' + that.$route.query.orderNo,
} }
}) })
} else { } else {
@@ -308,13 +308,13 @@ export default {
orderType: 'SIGN_ORDER', orderType: 'SIGN_ORDER',
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo') orderNo: that.$route.query.orderNo
}, },
ebizSignDTOS: [ ebizSignDTOS: [
{ {
signOrRead: 'read', signOrRead: 'read',
signId: that.appntSign.signId, signId: that.appntSign.signId,
orderNo: window.localStorage.getItem('orderNo'), orderNo: that.$route.query.orderNo,
documentCode: that.appntSign.documentCode, documentCode: that.appntSign.documentCode,
documentStatus: '1', documentStatus: '1',
documentType: that.appntSign.documentType, documentType: that.appntSign.documentType,
@@ -331,11 +331,11 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
url: location.origin + '/#/sale/' + url, url: location.origin + '/#/sale/' + url + '?orderNo=' + that.$route.query.orderNo,
forbidSwipeBack: '1' forbidSwipeBack: '1'
}, },
routerInfo: { routerInfo: {
path: '/sale/' + url path: '/sale/' + url + '?orderNo=' + that.$route.query.orderNo
} }
}) })
} else { } else {
@@ -354,13 +354,13 @@ export default {
orderType: 'SIGN_ORDER', orderType: 'SIGN_ORDER',
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo') orderNo: that.$route.query.orderNo
}, },
ebizSignDTOS: [ ebizSignDTOS: [
{ {
signOrRead: 'read', signOrRead: 'read',
signId: that.insuredSign.signId, signId: that.insuredSign.signId,
orderNo: window.localStorage.getItem('orderNo'), orderNo: that.$route.query.orderNo,
documentCode: that.insuredSign.documentCode, documentCode: that.insuredSign.documentCode,
documentStatus: '1', documentStatus: '1',
documentType: that.insuredSign.documentType, documentType: that.insuredSign.documentType,
@@ -376,11 +376,11 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
url: location.origin + '/#/sale/SignatureOfElectronic', url: location.origin + '/#/sale/SignatureOfElectronic' + '?orderNo=' + that.$route.query.orderNo,,
forbidSwipeBack: '1' forbidSwipeBack: '1'
}, },
routerInfo: { routerInfo: {
path: '/sale/SignatureOfElectronic' path: '/sale/SignatureOfElectronic' + '?orderNo=' + that.$route.query.orderNo,
} }
}) })
} else { } else {