提交 a1ab59a3 编写于 作者: xinglee23's avatar xinglee23

fix: add rightsno

上级 2cf83f23
...@@ -154,6 +154,7 @@ export default { ...@@ -154,6 +154,7 @@ export default {
projectEquityNo === 'YX202306161001636491' || projectEquityNo === 'YX202306161001636491' ||
projectEquityNo === 'YX202302271000328363' projectEquityNo === 'YX202302271000328363'
) { ) {
this.handleInsuranceStatusCheck(projectEquityNo, rightsNo);
const url = `${window.location.origin}/pica-insurance/sz-public-new2?projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}`; const url = `${window.location.origin}/pica-insurance/sz-public-new2?projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}`;
window.location.href = url; window.location.href = url;
return; return;
...@@ -172,10 +173,9 @@ export default { ...@@ -172,10 +173,9 @@ export default {
} }
} }
this.handleInsuranceStatusCheck(projectEquityNo);
this.getBanner(7, rightsNo || projectEquityNo); this.getBanner(7, rightsNo || projectEquityNo);
this.getBanner2(36, rightsNo || projectEquityNo); this.getBanner2(36, rightsNo || projectEquityNo);
this.handleInsuranceStatusCheck(projectEquityNo, rightsNo);
this.openWebAppConfigPositive.path = `pagesInsurance/health-card/index?channelCode=${channelCode}&projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}&rightsNo=${rightsNo}&userInfo=${userInfo}&identity=${identity}&token=${token}&cardNo=${cardNo}`; this.openWebAppConfigPositive.path = `pagesInsurance/health-card/index?channelCode=${channelCode}&projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}&rightsNo=${rightsNo}&userInfo=${userInfo}&identity=${identity}&token=${token}&cardNo=${cardNo}`;
if (channelCode) uploadPointData({ channelCode }); if (channelCode) uploadPointData({ channelCode });
...@@ -198,8 +198,8 @@ export default { ...@@ -198,8 +198,8 @@ export default {
); );
}, },
methods: { methods: {
handleInsuranceStatusCheck(projectEquityNo) { handleInsuranceStatusCheck(projectEquityNo, rightsNo) {
insuranceStatusCheck({ projectEquityNo }).then((res) => { insuranceStatusCheck({ projectEquityNo, rightsNo }).then((res) => {
if (res.code === '000000') { if (res.code === '000000') {
this.hideWeApp = res.data === 0 ? true : false; this.hideWeApp = res.data === 0 ? true : false;
if (this.hideWeApp) { if (this.hideWeApp) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册