Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
ca4e0369
Commit
ca4e0369
authored
Dec 22, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 新增批量删除应用
parent
e4514f24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
base-manager-ui/admin/src/pages/basicset/appmarket/components/MoveApp.vue
...admin/src/pages/basicset/appmarket/components/MoveApp.vue
+14
-0
base-manager-ui/admin/src/pages/basicset/appmarket/components/TerminalApp.vue
...n/src/pages/basicset/appmarket/components/TerminalApp.vue
+14
-0
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/components/MoveApp.vue
View file @
ca4e0369
...
...
@@ -7,6 +7,9 @@
<a-button
type=
"primary"
@
click=
"handleTheme"
>
批量关联应用主题
</a-button>
<a-button
v-permission=
"[1]"
type=
"danger"
@
click=
"handleDelAll"
>
批量删除
</a-button>
</a-space>
<a-input-search
style=
"width: 300px"
...
...
@@ -379,6 +382,17 @@ export default {
},
});
},
// 批量删除
handleDelAll
()
{
if
(
!
this
.
selectedRowKeys
.
length
)
{
this
.
$message
.
warning
(
"
请先勾选应用
"
);
return
;
}
let
ids
=
this
.
selectedRowKeys
.
join
(
"
,
"
);
this
.
handleDel
(
0
,
ids
);
},
// 克隆成功
cloneSuccess
()
{
this
.
selectedRowKeys
=
[];
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/components/TerminalApp.vue
View file @
ca4e0369
...
...
@@ -7,6 +7,9 @@
<a-button
type=
"primary"
@
click=
"handleTheme"
>
批量关联应用主题
</a-button>
<a-button
v-permission=
"[1]"
type=
"danger"
@
click=
"handleDelAll"
>
批量删除
</a-button>
</a-space>
<a-input-search
style=
"width: 300px"
...
...
@@ -380,6 +383,17 @@ export default {
},
});
},
// 批量删除
handleDelAll
()
{
if
(
!
this
.
selectedRowKeys
.
length
)
{
this
.
$message
.
warning
(
"
请先勾选应用
"
);
return
;
}
let
ids
=
this
.
selectedRowKeys
.
join
(
"
,
"
);
this
.
handleDel
(
0
,
ids
);
},
// 克隆成功
cloneSuccess
()
{
this
.
selectedRowKeys
=
[];
...
...
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