Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
dcbd0939
Commit
dcbd0939
authored
Apr 28, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 下架泰康和华泰
parent
3186c7f1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
goodsList.mock.js
src/api/goodsList.mock.js
+1
-1
index.vue
src/views/Consultant/Plan/index.vue
+1
-1
index.vue
src/views/Consultant/index.vue
+5
-1
index.vue
src/views/Home/SmartMeasure/Report/index.vue
+1
-4
UserFamily.vue
src/views/User/modules/UserFamily.vue
+1
-0
No files found.
src/api/goodsList.mock.js
View file @
dcbd0939
...
...
@@ -18,7 +18,7 @@ export default [
itype
:
"
mi
"
,
// 保险类型,英文收字母缩写,详情需要传
scope
:
[
1
,
2
,
3
],
// 范围,列表中区分类型用,1成人 2老年 3少儿
img
:
good01
,
hidden
:
fals
e
,
hidden
:
tru
e
,
title
:
"
万家保·百万医疗险
"
,
sub
:
"
看病报销医药费,最高600万
"
,
glory
:
"
好评榜第1名
"
,
...
...
src/views/Consultant/Plan/index.vue
View file @
dcbd0939
...
...
@@ -120,7 +120,7 @@ export default {
ensureList
()
{
return
this
.
goodInfo
.
ensure
?
this
.
goodInfo
.
ensure
.
map
(
item
=>
{
item
.
detailIndex
=
this
.
goods
.
findIndex
(
it
=>
it
.
id
===
item
.
productNo
);
item
.
detailIndex
=
this
.
goods
.
findIndex
(
it
=>
it
.
id
===
item
.
productNo
&&
!
it
.
hidden
);
return
item
;
})
:
[];
...
...
src/views/Consultant/index.vue
View file @
dcbd0939
...
...
@@ -34,6 +34,7 @@ export default {
return
{
isLogin
:
localStorage
.
get
(
"
mongoToken
"
),
showQuestion
:
false
,
payStateTimer
:
null
,
orderInfo
:
[
{
consultantOrderNo
:
""
,
...
...
@@ -63,6 +64,9 @@ export default {
Cookies
.
get
(
"
consultantPay
"
)
==
1
;
this
.
getOrderInfo
(
fromPay
);
},
beforeDestroy
()
{
clearTimeout
(
this
.
payStateTimer
);
},
methods
:
{
...
mapActions
([
"
setIsLoading
"
]),
// 1-待支付,3-支付成功,4-问卷收集完成,方案配置中,5-方案配置完成, -1 -支付失败订单关闭,-2 -支付超过1小时订单关闭,-3 -订单关闭
...
...
@@ -85,7 +89,7 @@ export default {
this
.
setIsLoading
(
true
);
const
res
=
await
getPayState
({
consultantOrderNo
:
this
.
orderInfo
[
0
].
consultantOrderNo
});
if
(
res
.
state
===
2
)
{
setTimeout
(()
=>
{
this
.
payStateTimer
=
setTimeout
(()
=>
{
this
.
setIsLoading
(
false
);
this
.
getPayState
();
},
3000
);
...
...
src/views/Home/SmartMeasure/Report/index.vue
View file @
dcbd0939
...
...
@@ -124,10 +124,7 @@ export default {
}
;
}
,
planList
()
{
const
ids
=
this
.
answers
?.
age
<
60
?
[
"
TKYLX001
"
,
"
HTDQZJX001
"
,
"
ZAYWX001
"
,
"
HGSX001
"
]
:
[
"
TKYLX001
"
,
"
ZAYWX001
"
];
const
ids
=
this
.
answers
?.
age
<
60
?
[
"
ZAYWX001
"
,
"
HGSX001
"
]
:
[
"
ZAYWX001
"
];
const
goods
=
this
.
goodsList
.
filter
(
v
=>
ids
.
includes
(
v
.
id
));
return
goods
;
}
,
...
...
src/views/User/modules/UserFamily.vue
View file @
dcbd0939
...
...
@@ -24,6 +24,7 @@
<div
class=
"user-family-insurance"
>
<div
class=
"user-family-insurance-item"
v-show=
"!item.hidden && !item.productNo"
@
click=
"go('/policy/detail', item)"
v-for=
"(item, index) in policyList"
:key=
"index"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment