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
75b1326c
Commit
75b1326c
authored
Sep 04, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改为家人投保跳转链接
parent
25fbfabb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
router.mixin.js
src/views/Policy/mixin/router.mixin.js
+2
-0
PolicyItem.vue
src/views/Policy/modules/PolicyItem.vue
+7
-1
No files found.
src/views/Policy/mixin/router.mixin.js
View file @
75b1326c
...
@@ -15,6 +15,8 @@ export default {
...
@@ -15,6 +15,8 @@ export default {
// 点击了浏览器的返回按钮
// 点击了浏览器的返回按钮
if
(
this
.
$route
.
name
===
"
PolicyDetail
"
)
{
if
(
this
.
$route
.
name
===
"
PolicyDetail
"
)
{
this
.
$router
.
replace
(
"
/policy
"
);
this
.
$router
.
replace
(
"
/policy
"
);
}
else
if
(
this
.
$route
.
name
===
"
Sucess
"
)
{
this
.
$router
.
replace
(
"
/policy
"
);
}
else
if
(
this
.
$route
.
name
===
"
Policy
"
)
{
}
else
if
(
this
.
$route
.
name
===
"
Policy
"
)
{
this
.
$router
.
replace
(
"
/user
"
);
this
.
$router
.
replace
(
"
/user
"
);
}
}
...
...
src/views/Policy/modules/PolicyItem.vue
View file @
75b1326c
...
@@ -76,6 +76,7 @@
...
@@ -76,6 +76,7 @@
import
{
some
}
from
"
lodash-es
"
;
import
{
some
}
from
"
lodash-es
"
;
import
GOODS_LIST
from
"
@/api/goodsList.mock
"
;
import
GOODS_LIST
from
"
@/api/goodsList.mock
"
;
import
{
getPolicyList
}
from
"
@/api/policy
"
;
import
{
getPolicyList
}
from
"
@/api/policy
"
;
import
{
getLink
}
from
"
@/api/product
"
;
import
settings
from
"
@/api/settings
"
;
import
settings
from
"
@/api/settings
"
;
import
policyStatusMixin
from
"
../mixin/policyStatus.mixin
"
;
import
policyStatusMixin
from
"
../mixin/policyStatus.mixin
"
;
import
detailPayMixin
from
"
@/views/Goods/Detail/modules/detailPay.mixin
"
;
import
detailPayMixin
from
"
@/views/Goods/Detail/modules/detailPay.mixin
"
;
...
@@ -130,8 +131,13 @@ export default {
...
@@ -130,8 +131,13 @@ export default {
showStatusText
(
text
)
{
showStatusText
(
text
)
{
return
text
===
"
保障中
"
;
return
text
===
"
保障中
"
;
},
},
goNext
(
text
,
item
)
{
async
goNext
(
text
,
item
)
{
if
([
"
为家人投保
"
,
"
重新投保
"
].
includes
(
text
))
{
if
([
"
为家人投保
"
,
"
重新投保
"
].
includes
(
text
))
{
if
(
item
.
id
===
"
BNZJX001
"
)
{
const
{
url
}
=
await
getLink
();
window
.
location
.
href
=
url
;
return
;
}
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"
/goods/detail
"
,
path
:
"
/goods/detail
"
,
query
:
{
id
:
item
.
id
,
type
:
item
.
itype
}
query
:
{
id
:
item
.
id
,
type
:
item
.
itype
}
...
...
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