Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
234b2c96
Commit
234b2c96
authored
Oct 27, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
6e7b29b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
memberGroup.vue
src/components/UserMan/memberGroup.vue
+20
-8
No files found.
src/components/UserMan/memberGroup.vue
View file @
234b2c96
...
...
@@ -134,16 +134,28 @@
SetDefault
(
item
)
{
let
that
=
this
;
var
tipMsg
=
"是否设置【"
+
item
.
GroupName
+
"】为默认分组?"
;
that
.
Confirm
(
tipMsg
,
function
()
{
that
.
apipost
(
"/api/User/SetDefaultGroup"
,
{
GroupId
:
item
.
GroupId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
that
.
$confirm
(
tipMsg
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
that
.
apipost
(
"/api/User/SetDefaultGroup"
,
{
GroupId
:
item
.
GroupId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
});
})
.
catch
(()
=>
{
if
(
item
.
IsDefault
==
1
)
{
item
.
IsDefault
=
0
;
}
else
{
item
.
IsDefault
=
1
;
}
});
});
},
//保存用户分组信息
SaveGroup
(
formName
)
{
...
...
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