Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
1d349650
Commit
1d349650
authored
Feb 24, 2020
by
黄森林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户功能bug修复
parent
e449bf95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/views/system/systemUser.vue
+8
-3
No files found.
src/views/system/systemUser.vue
View file @
1d349650
...
@@ -401,7 +401,7 @@ export default {
...
@@ -401,7 +401,7 @@ export default {
if
(
event
){
if
(
event
){
userUnFreeze
({
userId
:
id
}).
then
(
res
=>
{
userUnFreeze
({
userId
:
id
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
notification
.
error
({
message
:
'系统提示'
,
description
:
'解冻成功'
})
notification
.
success
({
message
:
'系统提示'
,
description
:
'解冻成功'
})
}
else
{
}
else
{
notification
.
error
({
message
:
'系统提示'
,
description
:
'解冻失败'
})
notification
.
error
({
message
:
'系统提示'
,
description
:
'解冻失败'
})
}
}
...
@@ -409,7 +409,7 @@ export default {
...
@@ -409,7 +409,7 @@ export default {
}
else
{
}
else
{
userFreeze
({
userId
:
id
}).
then
(
res
=>
{
userFreeze
({
userId
:
id
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
notification
.
error
({
message
:
'系统提示'
,
description
:
'冻结成功'
})
notification
.
success
({
message
:
'系统提示'
,
description
:
'冻结成功'
})
}
else
{
}
else
{
notification
.
error
({
message
:
'系统提示'
,
description
:
'冻结失败'
})
notification
.
error
({
message
:
'系统提示'
,
description
:
'冻结失败'
})
}
}
...
@@ -558,7 +558,7 @@ export default {
...
@@ -558,7 +558,7 @@ export default {
handleUpdata
()
{
handleUpdata
()
{
this
.
visible
=
false
this
.
visible
=
false
let
that
=
this
let
that
=
this
getEditUser
(
that
.
showModals
).
then
(()
=>
{
getEditUser
(
that
.
showModals
).
then
((
res
)
=>
{
that
.
showModals
.
deptName
=
''
that
.
showModals
.
deptName
=
''
that
.
showModals
.
deptid
=
''
that
.
showModals
.
deptid
=
''
that
.
showModals
.
name
=
''
that
.
showModals
.
name
=
''
...
@@ -569,6 +569,11 @@ export default {
...
@@ -569,6 +569,11 @@ export default {
that
.
showModals
.
account
=
''
that
.
showModals
.
account
=
''
that
.
showModals
.
id
=
''
that
.
showModals
.
id
=
''
that
.
showModals
.
roleid
=
''
that
.
showModals
.
roleid
=
''
if
(
res
.
code
==
200
){
that
.
$notification
.
success
({
message
:
"系统提示"
,
description
:
res
.
message
,
duration
:
4
})
}
else
{
that
.
$notification
.
error
({
message
:
"系统提示"
,
description
:
res
.
message
,
duration
:
4
})
}
that
.
$refs
.
table
.
refresh
({
search
:
true
})
that
.
$refs
.
table
.
refresh
({
search
:
true
})
})
})
},
},
...
...
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