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

lz-insurance

上级 7ce8dccf
......@@ -171,7 +171,7 @@
getEntitlementList(externalOrderNo, projectEquityNo) {
const that = this;
that.$loading.show();
// that.$loading.show();
getEntitlementList(externalOrderNo, projectEquityNo).then(res => {
if (res.code === '000000') {
if(res?.data.length > 0) {
......@@ -257,18 +257,9 @@
that.entitlementList = [];
const l = window.location.origin;
const hr = l + `/pica-insurance/sz-public?projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}`;
window.location.href = hr;
// that.$router.replace(
// {
// path: '/sz-public',
// query: {
// projectEquityNo: projectEquityNo,
// externalOrderNo: externalOrderNo
// },
// }
// );
window.location.reload(hr);
}
that.$loading.hide();
// that.$loading.hide();
}
});
},
......
......@@ -14,8 +14,6 @@
:username="openWebAppConfigPositive.username"
:path="openWebAppConfigPositive.path"
:env-version="envVersion"
@error="handleErrorFn"
@launch="handleLaunchFn"
>
<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>
......@@ -34,10 +32,6 @@
export default {
data() {
return {
person: null,
userinfo: [
],
envVersion: VUE_APP_ENV == 'production' ? 'release' : 'trial',
// envVersion:'trial',
openWebAppConfigPositive:{
......@@ -67,12 +61,6 @@
}
});
},
handleErrorFn(e) {
console.log('handleErrorFn', e);
},
handleLaunchFn(e) {
console.log('handleLaunchFn', e);
},
getEntitlementList() {
that.$loading.show();
const {externalOrderNo, projectEquityNo} = that.routerInfo;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册