Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-insurance
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.frontend
pica-insurance
提交
a027696b
提交
a027696b
编写于
11月 09, 2023
作者:
zhongyao.qiao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat 权益入参及跳转逻辑
上级
a13bb912
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
27 行增加
和
8 行删除
+27
-8
index.vue
src/views/sz-public-new/index.vue
+27
-8
未找到文件。
src/views/sz-public-new/index.vue
浏览文件 @
a027696b
...
...
@@ -130,7 +130,7 @@
</van-form>
<wx-open-launch-weapp
id=
"checkBtn"
style=
"display: block
;
"
style=
"display: block"
:username=
"openWebAppConfigPositive.username"
:path=
"openWebAppConfig_without_yunorder"
:env-version=
"envVersion"
...
...
@@ -235,6 +235,7 @@ export default {
return
{
projectEquityNo
:
''
,
externalOrderNo
:
''
,
rightsNo
:
''
,
picaWechat
:
window
.
_picaWechat
,
headerInfo
:
{
title
:
'健康服务权益领取'
,
...
...
@@ -267,7 +268,8 @@ export default {
},
// 太保项目用户信息
inherentUserInfo
:
null
,
openWebAppConfig_without_yunorder
:
'pagesInsurance/all-entrance/index?insurance_without_yunorder=insurance_without_yunorder'
openWebAppConfig_without_yunorder
:
'pagesInsurance/all-entrance/index?insurance_without_yunorder=insurance_without_yunorder'
,
};
},
computed
:
{
...
...
@@ -321,12 +323,14 @@ export default {
mounted
()
{
document
.
title
=
this
.
headerInfo
.
title
;
that
=
this
;
const
{
externalOrderNo
,
projectEquityNo
,
channelCode
}
=
this
.
$route
.
query
;
const
{
externalOrderNo
,
projectEquityNo
,
rightsNo
,
channelCode
}
=
this
.
$route
.
query
;
if
(
channelCode
)
{
this
.
uploadPointData
(
channelCode
);
}
this
.
projectEquityNo
=
projectEquityNo
;
this
.
externalOrderNo
=
externalOrderNo
||
''
;
this
.
rightsNo
=
rightsNo
||
''
;
// this.$loading.show();
this
.
getBanner
(
7
,
projectEquityNo
);
this
.
loadCardTypes
();
...
...
@@ -343,6 +347,7 @@ export default {
web_data
:
{
projectEquityNo
:
projectEquityNo
,
externalOrderNo
:
externalOrderNo
,
rightsNo
:
rightsNo
,
channelCode
:
channelCode
||
''
,
},
});
...
...
@@ -410,7 +415,7 @@ export default {
},
// 创建深圳订单
createOrderSz
()
{
const
{
externalOrderNo
,
projectEquityNo
}
=
this
;
const
{
externalOrderNo
,
projectEquityNo
,
rightsNo
}
=
this
;
const
data
=
{
...
this
.
dectionForm
,
projectEquityNo
,
...
...
@@ -418,6 +423,9 @@ export default {
if
(
externalOrderNo
)
{
data
[
'externalOrderNo'
]
=
externalOrderNo
;
}
if
(
rightsNo
)
{
data
[
'rightsNo'
]
=
rightsNo
;
}
createOrderSzV2
(
data
).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
'000000'
)
{
...
...
@@ -428,10 +436,21 @@ export default {
versionNumber
,
projectEquityNo
,
lanZhouOldflag
,
// projectEquityNoNext,
// yunOrderNoNext,
projectEquityNoNext
,
yunOrderNoNext
,
rightsNo
,
}
=
res
.
data
;
if
(
lanZhouOldflag
)
{
if
(
rightsNo
)
{
this
.
showProtocol
=
true
;
const
yo
=
yunOrderNoNext
||
yunOrderNo
;
const
po
=
projectEquityNoNext
||
projectEquityNo
;
this
.
openWebAppConfigPositive
.
path
=
`pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=
${
po
}
&yunOrderNo=
${
yo
}
&externalOrderNo=
${
externalOrderNo
}
&rightsNo=
${
rightsNo
}
`
;
console
.
log
(
'-this.openWebAppConfigPositive.path'
,
versionNumber
,
this
.
openWebAppConfigPositive
.
path
);
}
else
if
(
lanZhouOldflag
)
{
const
url
=
'/home'
;
const
l
=
window
.
location
.
origin
;
const
hr
=
...
...
@@ -483,7 +502,7 @@ export default {
console
.
log
(
'handleLaunchFn'
,
e
);
that
.
showProtocol
=
false
;
},
initInsurancePath
()
{
initInsurancePath
()
{
this
.
openWebAppConfig_without_yunorder
=
`pagesInsurance/all-entrance/index?insurance_without_yunorder=insurance_without_yunorder&projectEquityNo=
${
this
.
projectEquityNo
}
`
;
},
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录