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