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
提交
2cf83f23
提交
2cf83f23
编写于
8月 01, 2024
作者:
xinglee23
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 保险流程优化
上级
7ff14b66
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
34 行增加
和
2 行删除
+34
-2
entitlement.js
src/api/entitlement.js
+9
-0
index.vue
src/views/sz-public-new/index.vue
+25
-2
未找到文件。
src/api/entitlement.js
浏览文件 @
2cf83f23
...
@@ -63,3 +63,12 @@ export const getActivityInfo = (params) => {
...
@@ -63,3 +63,12 @@ export const getActivityInfo = (params) => {
withCredentials
:
true
,
withCredentials
:
true
,
});
});
};
};
export
const
insuranceStatusCheck
=
(
params
)
=>
{
return
request
({
url
:
'/tis/insurance/merchant/check/projectOpened'
,
method
:
'get'
,
params
,
withCredentials
:
true
,
});
};
src/views/sz-public-new/index.vue
浏览文件 @
2cf83f23
...
@@ -32,7 +32,8 @@
...
@@ -32,7 +32,8 @@
<div
class=
"fixed-btn"
>
<div
class=
"fixed-btn"
>
<div
<div
class=
"wx-btn"
class=
"wx-btn"
v-if=
"picaWechat != 'wechat'"
v-if=
"picaWechat !== 'wechat' || hideWeApp"
@
click=
"handleClick"
>
>
<span>
领取权益
</span>
<span>
领取权益
</span>
</div>
</div>
...
@@ -72,7 +73,11 @@
...
@@ -72,7 +73,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getBanner
,
getRequestParm
}
from
'@/api/entitlement'
;
import
{
getBanner
,
getRequestParm
,
insuranceStatusCheck
,
}
from
'@/api/entitlement'
;
import
{
uploadPointData
}
from
'@/api/question'
;
import
{
uploadPointData
}
from
'@/api/question'
;
import
{
isWeixin
,
isMobile
}
from
'@/utils/index'
;
import
{
isWeixin
,
isMobile
}
from
'@/utils/index'
;
...
@@ -101,6 +106,7 @@ export default {
...
@@ -101,6 +106,7 @@ export default {
descList
:
[],
descList
:
[],
descBottomList
:
[],
descBottomList
:
[],
},
},
hideWeApp
:
false
,
};
};
},
},
created
()
{
created
()
{
...
@@ -166,6 +172,8 @@ export default {
...
@@ -166,6 +172,8 @@ 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
);
...
@@ -190,6 +198,16 @@ export default {
...
@@ -190,6 +198,16 @@ export default {
);
);
},
},
methods
:
{
methods
:
{
handleInsuranceStatusCheck
(
projectEquityNo
)
{
insuranceStatusCheck
({
projectEquityNo
}).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
this
.
hideWeApp
=
res
.
data
===
0
?
true
:
false
;
if
(
this
.
hideWeApp
)
{
return
this
.
$toast
(
'活动已结束'
);
}
}
});
},
getBanner
(
pageType
,
yunOrderNo
)
{
getBanner
(
pageType
,
yunOrderNo
)
{
this
.
$loading
.
show
();
this
.
$loading
.
show
();
getBanner
(
pageType
,
yunOrderNo
).
then
((
res
)
=>
{
getBanner
(
pageType
,
yunOrderNo
).
then
((
res
)
=>
{
...
@@ -219,6 +237,11 @@ export default {
...
@@ -219,6 +237,11 @@ export default {
console
.
log
(
'index'
,
index
);
console
.
log
(
'index'
,
index
);
window
.
location
.
href
=
this
.
staticINFO2
.
descBottomList
[
index
];
window
.
location
.
href
=
this
.
staticINFO2
.
descBottomList
[
index
];
},
},
handleClick
()
{
if
(
this
.
hideWeApp
)
{
this
.
$toast
(
'活动已结束'
);
}
},
},
},
};
};
</
script
>
</
script
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录