提交 a17bfd14 编写于 作者: 张磊's avatar 张磊

lz-insurance

上级 7ce8dccf
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
getEntitlementList(externalOrderNo, projectEquityNo) { getEntitlementList(externalOrderNo, projectEquityNo) {
const that = this; const that = this;
that.$loading.show(); // that.$loading.show();
getEntitlementList(externalOrderNo, projectEquityNo).then(res => { getEntitlementList(externalOrderNo, projectEquityNo).then(res => {
if (res.code === '000000') { if (res.code === '000000') {
if(res?.data.length > 0) { if(res?.data.length > 0) {
...@@ -257,18 +257,9 @@ ...@@ -257,18 +257,9 @@
that.entitlementList = []; that.entitlementList = [];
const l = window.location.origin; const l = window.location.origin;
const hr = l + `/pica-insurance/sz-public?projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}`; const hr = l + `/pica-insurance/sz-public?projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}`;
window.location.href = hr; window.location.reload(hr);
// that.$router.replace(
// {
// path: '/sz-public',
// query: {
// projectEquityNo: projectEquityNo,
// externalOrderNo: externalOrderNo
// },
// }
// );
} }
that.$loading.hide(); // that.$loading.hide();
} }
}); });
}, },
......
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
:username="openWebAppConfigPositive.username" :username="openWebAppConfigPositive.username"
:path="openWebAppConfigPositive.path" :path="openWebAppConfigPositive.path"
:env-version="envVersion" :env-version="envVersion"
@error="handleErrorFn"
@launch="handleLaunchFn"
> >
<script type="text/wxtag-template"> <script type="text/wxtag-template">
<style>.btn {position:absolute; top: -3px; color: #ffffff;text-align: center;line-height: 50px; font-size: 16px; font-weight: 500; left: 0; width:100%; height: 100%;}</style> <div class="btn">领取权益</div> <style>.btn {position:absolute; top: -3px; color: #ffffff;text-align: center;line-height: 50px; font-size: 16px; font-weight: 500; left: 0; width:100%; height: 100%;}</style> <div class="btn">领取权益</div>
...@@ -34,10 +32,6 @@ ...@@ -34,10 +32,6 @@
export default { export default {
data() { data() {
return { return {
person: null,
userinfo: [
],
envVersion: VUE_APP_ENV == 'production' ? 'release' : 'trial', envVersion: VUE_APP_ENV == 'production' ? 'release' : 'trial',
// envVersion:'trial', // envVersion:'trial',
openWebAppConfigPositive:{ openWebAppConfigPositive:{
...@@ -67,12 +61,6 @@ ...@@ -67,12 +61,6 @@
} }
}); });
}, },
handleErrorFn(e) {
console.log('handleErrorFn', e);
},
handleLaunchFn(e) {
console.log('handleLaunchFn', e);
},
getEntitlementList() { getEntitlementList() {
that.$loading.show(); that.$loading.show();
const {externalOrderNo, projectEquityNo} = that.routerInfo; const {externalOrderNo, projectEquityNo} = that.routerInfo;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册