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
f73e5334
Commit
f73e5334
authored
Sep 26, 2021
by
xhx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
5fbc7924
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
27 deletions
+22
-27
index.vue
src/views/Root/User/index.vue
+22
-27
No files found.
src/views/Root/User/index.vue
View file @
f73e5334
...
@@ -141,39 +141,34 @@ export default Vue.extend({
...
@@ -141,39 +141,34 @@ export default Vue.extend({
if
(
levelList
.
length
==
0
&&
this
.
search
.
length
==
0
){
if
(
levelList
.
length
==
0
&&
this
.
search
.
length
==
0
){
this
.
$message
.
info
({
content
:
"请通过选择或者输入详细地址搜索"
,
icon
:()
=>
{
return
this
.
$createElement
(
'Icon'
,{
style
:{
color
:
'#3E4FAF'
},
props
:{
type
:
'exclamation-circle'
}})}})
this
.
$message
.
info
({
content
:
"请通过选择或者输入详细地址搜索"
,
icon
:()
=>
{
return
this
.
$createElement
(
'Icon'
,{
style
:{
color
:
'#3E4FAF'
},
props
:{
type
:
'exclamation-circle'
}})}})
}
else
{
}
else
{
const
search
:
string
|
Array
<
{
value
:
number
,
name
:
string
}
>
=
levelList
.
length
==
0
?
this
.
search
:
levelList
const
search
=
levelList
console
.
log
(
search
)
this
.
selectTables
(
search
)
this
.
selectTables
(
search
)
}
}
// this.$router.push({name:'firstLevel'})
// this.$router.push({name:'firstLevel'})
},
},
selectTables
(
arr
:
Array
<
{
value
:
number
,
name
:
string
}
>|
string
)
{
selectTables
(
arr
:
Array
<
{
value
:
number
,
name
:
string
}
>
)
{
if
(
typeof
arr
===
'string'
)
{
const
count
=
arr
.
length
this
.
$router
.
push
({
path
:
'/backend/user/secondarySub'
,
query
:
{
address
:
arr
}})
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
{
}
else
{
const
count
=
arr
.
length
if
(
this
.
search
===
eNewRoleRelatedToBackEnd
.
ACM
&&
count
>=
3
)
{
switch
(
count
)
{
switch
(
count
)
{
case
3
:
case
1
:
this
.
$router
.
push
({
path
:
'/backend/user/firstSubClientManager'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
this
.
$router
.
push
({
path
:
'/backend/user/firstLevel'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
break
break
case
4
:
case
2
:
this
.
$router
.
push
({
path
:
'/backend/user/secondarySubClientManager'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
this
.
$router
.
push
({
path
:
'/backend/user/secondary'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
}
break
}
else
{
case
3
:
switch
(
count
)
{
this
.
$router
.
push
({
path
:
'/backend/user/firstSub'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
case
1
:
break
this
.
$router
.
push
({
path
:
'/backend/user/firstLevel'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
case
4
:
break
this
.
$router
.
push
({
path
:
'/backend/user/secondarySub'
,
query
:
{
rankVal
:
JSON
.
stringify
(
arr
),
role
:
this
.
search
}})
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