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
提交
289995dc
提交
289995dc
编写于
6月 26, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'release' into hotfix0626
上级
6f170467
68d3152c
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
23 行增加
和
83 行删除
+23
-83
list.vue
src/views/entitlement/list.vue
+13
-14
index.vue
src/views/sz-public/index.vue
+10
-69
未找到文件。
src/views/entitlement/list.vue
浏览文件 @
289995dc
...
@@ -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
)
{
...
@@ -255,20 +255,19 @@
...
@@ -255,20 +255,19 @@
that
.
entitlementList
=
arr
;
that
.
entitlementList
=
arr
;
}
else
{
}
else
{
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.href = hr;
// that.$router.replace(
this
.
$router
.
push
({
// {
path
:
'/sz-public'
,
// path: '/sz-public',
query
:
{
// query: {
externalOrderNo
:
externalOrderNo
,
// projectEquityNo: projectEquityNo,
projectEquityNo
:
projectEquityNo
,
// externalOrderNo: externalOrderNo
reload
:
'reload'
,
// },
}
// }
});
// );
}
}
that
.
$loading
.
hide
();
//
that.$loading.hide();
}
}
});
});
},
},
...
...
src/views/sz-public/index.vue
浏览文件 @
289995dc
...
@@ -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>
...
@@ -23,58 +21,6 @@
...
@@ -23,58 +21,6 @@
</wx-open-launch-weapp>
</wx-open-launch-weapp>
</div>
</div>
</div>
</div>
<van-popup
v-model=
"show"
closeable
round
position=
"bottom"
:style=
"
{ height: '500px' ,overflow:'hidden'}"
>
<div
class=
"popup-title"
>
选择被保险人
</div>
<div
class=
"popup-list"
>
<van-radio-group
v-model=
"person"
>
<van-cell-group>
<van-cell
v-for=
"(item) in userinfo"
:key=
"item.id"
clickable
@
click=
"person = item.name"
>
<div
class=
"popup-list-item"
>
<div
class=
"name"
>
{{
item
.
name
}}
</div>
<div
class=
"info"
>
<div
class=
"phoneNum"
>
<span>
手机号码:
</span>
<span>
{{
item
.
mobile
}}
</span>
</div>
<div
class=
"idCard"
>
<span>
身份证号:
</span>
<span>
{{
item
.
id_number
}}
</span>
</div>
</div>
</div>
<template
#
right-icon
>
<van-radio
:name=
"item.name"
/>
</
template
>
</van-cell>
</van-cell-group>
</van-radio-group>
</div>
<div
class=
"popup-btn-box"
>
<van-button
class=
"popup-btn"
:disabled=
"!person"
@
click=
"show=false
"
>
确定
</van-button>
</div>
</van-popup>
</div>
</div>
</
template
>
</
template
>
...
@@ -86,11 +32,6 @@
...
@@ -86,11 +32,6 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
show
:
false
,
person
:
null
,
userinfo
:
[
],
envVersion
:
VUE_APP_ENV
==
'production'
?
'release'
:
'trial'
,
envVersion
:
VUE_APP_ENV
==
'production'
?
'release'
:
'trial'
,
// envVersion:'trial',
// envVersion:'trial',
openWebAppConfigPositive
:{
openWebAppConfigPositive
:{
...
@@ -105,13 +46,17 @@
...
@@ -105,13 +46,17 @@
};
};
},
},
mounted
()
{
mounted
()
{
const
{
externalOrderNo
,
projectEquityNo
}
=
this
.
$route
.
query
;
const
{
externalOrderNo
,
projectEquityNo
,
reload
}
=
this
.
$route
.
query
;
this
.
routerInfo
=
this
.
$route
.
query
;
this
.
routerInfo
=
this
.
$route
.
query
;
that
=
this
;
that
=
this
;
this
.
openWebAppConfigPositive
.
path
=
`pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=
${
projectEquityNo
}
&externalOrderNo=
${
externalOrderNo
}
&detectionKind=1`
;
console
.
log
(
'-this.openWebAppConfigPositiv'
,
this
.
openWebAppConfigPositive
);
console
.
log
(
'-this.openWebAppConfigPositiv'
,
this
.
openWebAppConfigPositive
);
if
(
reload
&&
reload
==
'reload'
)
{
const
l
=
window
.
location
.
origin
;
const
hr
=
l
+
`/pica-insurance/sz-public?projectEquityNo=
${
projectEquityNo
}
&externalOrderNo=
${
externalOrderNo
}
`
;
window
.
location
.
href
=
hr
;
}
this
.
vis
();
this
.
vis
();
this
.
getDetailtxt
(
projectEquityNo
);
this
.
getDetailtxt
(
projectEquityNo
,
externalOrderNo
);
},
},
methods
:
{
methods
:
{
vis
()
{
vis
()
{
...
@@ -121,12 +66,6 @@
...
@@ -121,12 +66,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
;
...
@@ -147,13 +86,14 @@
...
@@ -147,13 +86,14 @@
}
}
});
});
},
},
getDetailtxt
(
projectEquityNo
)
{
getDetailtxt
(
projectEquityNo
,
externalOrderNo
)
{
const
o
=
{
const
o
=
{
yunOrderNo
:
projectEquityNo
,
yunOrderNo
:
projectEquityNo
,
pageType
:
5
pageType
:
5
};
};
getDetailtxt
(
o
).
then
(
res
=>
{
getDetailtxt
(
o
).
then
(
res
=>
{
this
.
insuranceText
=
res
.
data
;
this
.
insuranceText
=
res
.
data
;
this
.
openWebAppConfigPositive
.
path
=
`pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=
${
projectEquityNo
}
&externalOrderNo=
${
externalOrderNo
}
&detectionKind=1`
;
});
});
}
}
}
}
...
@@ -173,6 +113,7 @@
...
@@ -173,6 +113,7 @@
bottom
:
0
;
bottom
:
0
;
width
:
100vw
;
width
:
100vw
;
background
:
#fff
;
background
:
#fff
;
z-index
:
1000
;
padding-bottom
:
27px
;
padding-bottom
:
27px
;
.bottom-text
{
.bottom-text
{
padding
:
10px
21px
10px
15px
;
padding
:
10px
21px
10px
15px
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录