pull/265/head
xiaojunnuo 2024-12-01 02:14:49 +08:00
parent 327a919958
commit 1c8163dd82
1 changed files with 4 additions and 3 deletions

View File

@ -7,8 +7,8 @@
<div v-if="selectedRowKeys.length > 0" class="batch-actions">
<div class="batch-actions-inner">
<span> 已选择 {{ selectedRowKeys.length }} </span>
<fs-button icon="ion:trash-outline" type="link" text="批量删除" @click="batchDelete"></fs-button>
<change-group :selected-row-keys="selectedRowKeys" @change="groupChanged"></change-group>
<fs-button icon="ion:trash-outline" class="color-plus" type="link" text="批量删除" @click="batchDelete"></fs-button>
<change-group class="color-plus" :selected-row-keys="selectedRowKeys" @change="groupChanged"></change-group>
</div>
</div>
<template #actionbar-right> </template>
@ -28,6 +28,8 @@ import PiCertdForm from "./certd-form/index.vue";
import ChangeGroup from "./components/change-group.vue";
import { Modal, notification } from "ant-design-vue";
import * as api from "./api";
import { useSettingStore } from "/@/store/modules/settings";
import { mitter } from "/@/utils/util.mitt";
defineOptions({
name: "PipelineManager"
});
@ -59,7 +61,6 @@ onActivated(async () => {
function groupChanged() {
crudExpose.doRefresh();
}
function batchDelete() {
Modal.confirm({
title: "确认删除",