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
d8d002e4
Commit
d8d002e4
authored
Nov 09, 2021
by
maxiaohan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户组管理
用户管理 查询与认定 删除打开批量选择
parent
c5abd7f6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
3 deletions
+23
-3
src/views/SystemManage/GroupManage.vue
+11
-1
src/views/SystemManage/UserManage.vue
+10
-1
src/views/cxyrd/QueryConfirm.vue
+1
-0
src/views/cxyrd/TT.vue
+1
-1
No files found.
src/views/SystemManage/GroupManage.vue
View file @
d8d002e4
...
...
@@ -74,7 +74,7 @@
<div
class=
"operation"
>
<div
class=
"btn1"
@
click=
"batch"
>
批量操作
</div>
<div
class=
"btns"
>
<div
class=
"btn1"
@
click=
"del
('1'
)"
>
删除
</div>
<div
class=
"btn1"
@
click=
"del
More(
)"
>
删除
</div>
<div
class=
"add"
@
click=
"open"
>
<svg-icon
style=
"width: .8125rem;height: .8125rem;margin-bottom: -0.0625rem;margin-right: .25rem"
...
...
@@ -834,6 +834,16 @@ export default {
}
});
},
// 批量删除
delMore
()
{
this
.
isSelected
=
true
;
if
(
this
.
isSelected
===
true
&&
this
.
multipleSelection
.
length
>
0
)
{
var
ids
=
""
;
this
.
multipleSelection
.
forEach
((
item
,
index
)
=>
{
ids
=
ids
+
item
.
id
;
});
}
},
// 删除
del
(
id
)
{
console
.
info
(
id
);
...
...
src/views/SystemManage/UserManage.vue
View file @
d8d002e4
...
...
@@ -57,7 +57,7 @@
<div
class=
"operation"
>
<div
class=
"btn1"
@
click=
"batch"
>
批量操作
</div>
<div
class=
"btns"
>
<div
class=
"btn1"
@
click=
"del
(7
)"
>
删除
</div>
<div
class=
"btn1"
@
click=
"del
More(
)"
>
删除
</div>
<div
class=
"add"
@
click=
"open"
>
<svg-icon
style=
"width: .8125rem;height: .8125rem;margin-bottom: -.0625rem;margin-right: .25rem"
...
...
@@ -883,6 +883,15 @@ export default {
})
.
catch
(
failResponse
=>
{});
},
delMore
()
{
this
.
isSelected
=
true
;
if
(
this
.
isSelected
===
true
&&
this
.
multipleSelection
.
length
>
0
)
{
var
ids
=
""
;
this
.
multipleSelection
.
forEach
((
item
,
index
)
=>
{
ids
=
ids
+
item
.
id
;
});
}
},
del
(
id
)
{
console
.
info
(
"删除方法"
,
id
);
var
user
=
new
URLSearchParams
();
...
...
src/views/cxyrd/QueryConfirm.vue
View file @
d8d002e4
...
...
@@ -663,6 +663,7 @@ export default {
// 多选删除
delMore
()
{
// 检查table选择的数据 如果没有选择则不可以删除
this
.
isSelected
=
!
this
.
isSelected
;
if
(
this
.
selectionData
.
length
===
0
)
{
this
.
$message
.
error
(
"请选择需要删除的数据!"
);
return
;
...
...
src/views/cxyrd/TT.vue
View file @
d8d002e4
...
...
@@ -1337,7 +1337,7 @@ div {
font-size
:
16px
;
font-family
:
MicrosoftYaHei-Bold
,
MicrosoftYaHei
;
font-weight
:
bold
;
color
:
#
333333
;
color
:
#
fa9500
;
line-height
:
22px
;
margin-top
:
14px
;
}
...
...
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