Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
2b97d188
Commit
2b97d188
authored
May 20, 2022
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update queryRole.vue
parent
cd844a51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
src/views/userAuth/role/queryRole.vue
+10
-7
No files found.
src/views/userAuth/role/queryRole.vue
View file @
2b97d188
...
...
@@ -12,7 +12,7 @@
@
toInfor=
"toInfor"
@
selectionChange=
"selectionChange"
>
<template
#
listOperation=
"scope"
>
<template
#
listOperation=
"scope"
>
<span
class=
"hbyps"
@
click=
"editMenu(scope.scope)"
>
菜单配置
</span>
<span
class=
"flTtitle Add"
@
click=
"add(scope.scope)"
>
<i
class=
"el-icon-plus"
></i>
新增
</span
...
...
@@ -72,7 +72,7 @@ export default {
limit
:
10
,
page
:
1
,
roleAlias
:
""
,
parentId
:
0
parentId
:
0
,
},
cxQueryField
:
[
{
...
...
@@ -139,7 +139,7 @@ export default {
selectedTree
:
[],
//全选
checkAll
:
false
,
selec
:
[]
selec
:
[]
,
};
},
created
()
{
...
...
@@ -189,7 +189,7 @@ export default {
this
.
checkAll
=
false
;
},
submitMenu
()
{
console
.
log
(
this
.
selec
)
;
debugger
;
let
userIds
=
""
;
this
.
selectedId
.
forEach
((
item
)
=>
{
userIds
=
item
.
id
;
...
...
@@ -230,7 +230,6 @@ export default {
// row.forEach((item) => {
// this.selectedId.push(item.id);
// });
this
.
selectedId
=
val
;
this
.
checkAll
=
false
;
this
.
selec
=
[];
...
...
@@ -291,7 +290,7 @@ export default {
});
},
dele
(
obj
)
{
this
.
$confirm
(
"此操作将永久删除该
角色
, 是否继续?"
,
"提示"
,
{
this
.
$confirm
(
"此操作将永久删除该
用户
, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
...
...
@@ -305,7 +304,7 @@ export default {
type
:
"success"
,
message
:
"删除成功"
,
});
this
.
$r
outer
.
go
(
0
)
this
.
$r
efs
.
rightContent
.
doQuery
(
"yes"
);
}
});
})
...
...
@@ -319,10 +318,14 @@ export default {
//全选
handleCheckAllChange
(
val
)
{
if
(
this
.
checkAll
)
{
this
.
treeData
.
forEach
((
item
)
=>
{
this
.
selectedTree
.
push
(
item
.
id
);
});
this
.
$refs
.
tree
.
setCheckedNodes
(
this
.
treeData
);
}
else
{
this
.
$refs
.
tree
.
setCheckedKeys
([]);
this
.
selec
=
[];
this
.
selectedTree
=
[]
}
},
},
...
...
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