Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
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
中汽测评-信息安全测评系统
web
Commits
d9d0c463
Commit
d9d0c463
authored
Mar 20, 2024
by
高滢
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.91isoft.com:90/car-test/web
into gaoying
parents
530af7a6
f0013528
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
index.vue
src/components/TopNav/index.vue
+1
-0
index.vue
src/views/system/role/index.vue
+3
-2
index.vue
src/views/system/user/index.vue
+2
-0
No files found.
src/components/TopNav/index.vue
View file @
d9d0c463
<
template
>
<
template
>
<el-menu
<el-menu
style=
"margin-bottom: 30px"
:default-active=
"activeMenu"
:default-active=
"activeMenu"
mode=
"horizontal"
mode=
"horizontal"
@
select=
"handleSelect"
@
select=
"handleSelect"
...
...
src/views/system/role/index.vue
View file @
d9d0c463
...
@@ -528,10 +528,11 @@ export default {
...
@@ -528,10 +528,11 @@ export default {
handleStatusChange
(
row
)
{
handleStatusChange
(
row
)
{
const
text
=
row
.
status
===
'0'
?
'启用'
:
'停用'
const
text
=
row
.
status
===
'0'
?
'启用'
:
'停用'
this
.
$modal
this
.
$modal
.
confirm
(
'确认要"'
+
text
+
'""'
+
row
.
roleName
+
'"角色吗?'
,
{
.
confirm
(
'确认要"'
+
text
+
'""'
+
row
.
roleName
+
'"角色吗?'
,{
type
:
'warning'
,
title
:
text
,
closeOnClickModal
:
false
closeOnClickModal
:
false
})
})
.
then
(
function
()
{
.
then
(
function
()
{
return
changeRoleStatus
(
row
.
roleId
,
row
.
status
)
return
changeRoleStatus
(
row
.
roleId
,
row
.
status
)
})
})
...
...
src/views/system/user/index.vue
View file @
d9d0c463
...
@@ -678,6 +678,8 @@ export default {
...
@@ -678,6 +678,8 @@ export default {
const
text
=
row
.
status
===
'0'
?
'启用'
:
'停用'
const
text
=
row
.
status
===
'0'
?
'启用'
:
'停用'
this
.
$modal
this
.
$modal
.
confirm
(
'确认要"'
+
text
+
'""'
+
row
.
userName
+
'"用户吗?'
,
{
.
confirm
(
'确认要"'
+
text
+
'""'
+
row
.
userName
+
'"用户吗?'
,
{
type
:
'warning'
,
title
:
text
,
closeOnClickModal
:
false
closeOnClickModal
:
false
})
})
.
then
(
function
()
{
.
then
(
function
()
{
...
...
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