Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
3b3c3243
Commit
3b3c3243
authored
Sep 26, 2021
by
xhx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户跳转
parent
82a0c019
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
12 deletions
+22
-12
index.vue
src/views/Root/User/index.vue
+22
-12
No files found.
src/views/Root/User/index.vue
View file @
3b3c3243
...
...
@@ -152,18 +152,28 @@ export default Vue.extend({
this
.
$router
.
push
({
path
:
'/backend/user/secondarySub'
,
query
:
{
address
:
arr
}})
}
else
{
const
count
=
arr
.
length
switch
(
count
)
{
case
1
:
this
.
$router
.
push
({
path
:
'/backend/user/firstLevel'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
break
case
2
:
this
.
$router
.
push
({
path
:
'/backend/user/secondary'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
break
case
3
:
this
.
$router
.
push
({
path
:
'/backend/user/firstSub'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
break
case
4
:
this
.
$router
.
push
({
path
:
'/backend/user/secondarySub'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
if
(
this
.
search
===
eNewRoleRelatedToBackEnd
.
ACM
&&
count
>=
3
)
{
switch
(
count
)
{
case
3
:
this
.
$router
.
push
({
path
:
'/backend/user/firstSubClientManager'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
break
case
4
:
this
.
$router
.
push
({
path
:
'/backend/user/secondarySubClientManager'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
}
}
else
{
switch
(
count
)
{
case
1
:
this
.
$router
.
push
({
path
:
'/backend/user/firstLevel'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
break
case
2
:
this
.
$router
.
push
({
path
:
'/backend/user/secondary'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
break
case
3
:
this
.
$router
.
push
({
path
:
'/backend/user/firstSub'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
break
case
4
:
this
.
$router
.
push
({
path
:
'/backend/user/secondarySub'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
}
}
}
},
...
...
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