Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
eb4c4c9e
Commit
eb4c4c9e
authored
Jun 23, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d551aeb8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
dept.js
src/api/system/dept.js
+1
-2
Item.vue
src/layout/components/Sidebar/Item.vue
+1
-1
sidebar.scss
src/styles/sidebar.scss
+1
-1
index.vue
src/views/system/dept/index.vue
+1
-0
No files found.
src/api/system/dept.js
View file @
eb4c4c9e
...
...
@@ -88,11 +88,10 @@ export function updateDept(data) {
// 修改部门
export
function
updateDeptStatus
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
console
.
log
(
data
)
return
request
({
url
:
'/system/dept/
update/'
+
businessId
,
url
:
'/system/dept/
enable/'
,
method
:
'put'
,
data
,
headers
:
{
...
...
src/layout/components/Sidebar/Item.vue
View file @
eb4c4c9e
...
...
@@ -22,7 +22,7 @@ export default {
if
(
title
)
{
vnodes
.
push
(
<
div
s
tyle
=
'padding-bottom: 5px;position: relative; right: 10px'
s
lot
=
'title'
>
<
div
slot
=
'title'
>
<
div
>
{(
title
.
split
(
';'
)[
0
])}
<
/div
>
<
div
style
=
'padding-left: 5px;font-size: 12px;'
>
{(
title
.
split
(
';'
)[
1
])}
<
/div
>
<
/div
>
...
...
src/styles/sidebar.scss
View file @
eb4c4c9e
...
...
@@ -58,7 +58,7 @@
.svg-icon
{
margin-top
:
15px
;
margin-left
:
12px
;
margin-right
:
17
px
;
margin-right
:
8
px
;
font-size
:
20px
;
}
...
...
src/views/system/dept/index.vue
View file @
eb4c4c9e
...
...
@@ -448,6 +448,7 @@ export default {
}).
then
(
function
()
{
return
updateDeptStatus
({
businessId
:
row
.
businessId
,
flag
:
row
.
flag
})
}).
then
(()
=>
{
this
.
getList
()
this
.
$message
({
message
:
text
+
'成功'
,
type
:
'success'
...
...
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