Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
向伟
horse
Commits
3c0d8e14
Commit
3c0d8e14
authored
Nov 24, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2d59494b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
axios.ts
src/api/axios.ts
+2
-1
departmentStaff.vue
src/components/common/departmentStaff.vue
+4
-1
No files found.
src/api/axios.ts
View file @
3c0d8e14
...
...
@@ -126,7 +126,8 @@ service.interceptors.response.use(
router
.
replace
({
path
:
'/auth/login'
})
})
location
.
reload
()
},
1000
)
}
}
}
else
{
...
...
src/components/common/departmentStaff.vue
View file @
3c0d8e14
...
...
@@ -165,7 +165,6 @@ export default {
if
(
e
.
slice
(
0
,
1
)
==
1
)
{
const
node
=
tree
.
value
.
getNodeByKey
(
e
)
if
(
node
[
props
.
childrenKey
]
&&
node
[
props
.
childrenKey
].
length
>
0
)
{
ticketArr
.
value
.
splice
(
i
,
1
)
findChild
(
node
[
props
.
childrenKey
])
}
else
{
ticketArr
.
value
.
push
(
node
.
DataType
+
'-'
+
node
.
DeptId
)
...
...
@@ -184,10 +183,14 @@ export default {
if
(
e
[
props
.
childrenKey
]
&&
e
[
props
.
childrenKey
].
length
>
0
)
{
findChild
(
e
[
props
.
childrenKey
])
}
else
{
console
.
log
(
182
,
e
.
DeptName
,
e
.
DataType
+
'-'
+
e
.
DeptId
)
ticketArr
.
value
.
push
(
e
.
DataType
+
'-'
+
e
.
DeptId
)
console
.
log
(
18
,
ticketArr
.
value
)
}
})
}
// 有默认值----end--------
let
showDialog
=
()
=>
{
initDefault
()
...
...
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