diff --git a/frontend/src/api/modules/case-management/featureCase.ts b/frontend/src/api/modules/case-management/featureCase.ts
index 4c8c32305a..804ed94bd0 100644
--- a/frontend/src/api/modules/case-management/featureCase.ts
+++ b/frontend/src/api/modules/case-management/featureCase.ts
@@ -160,7 +160,7 @@ export function batchDeleteCase(data: BatchDeleteType) {
return MSR.post({ url: `${BatchDeleteCaseUrl}`, data });
}
// 批量编辑属性
-export function batchEditAttrs(data: BatchEditCaseType) {
+export function batchEditAttrs(data: TableQueryParams) {
return MSR.post({ url: `${BatchEditCaseUrl}`, data });
}
// 批量移动到模块
diff --git a/frontend/src/views/case-management/caseManagementFeature/components/batchEditModal.vue b/frontend/src/views/case-management/caseManagementFeature/components/batchEditModal.vue
index e009ea41c1..42b725db53 100644
--- a/frontend/src/views/case-management/caseManagementFeature/components/batchEditModal.vue
+++ b/frontend/src/views/case-management/caseManagementFeature/components/batchEditModal.vue
@@ -38,7 +38,13 @@
-
+
@@ -59,6 +65,7 @@
import useAppStore from '@/store/modules/app';
import type { BatchEditCaseType, CustomAttributes } from '@/models/caseManagement/featureCase';
+ import { TableQueryParams } from '@/models/common';
import Message from '@arco-design/web-vue/es/message';
@@ -165,8 +172,10 @@
customField.fieldId = item.field;
customField.value = Array.isArray(item.value) ? JSON.stringify(item.value) : item.value;
});
- const params: BatchEditCaseType = {
- selectIds: props.batchParams.selectedIds as string[],
+ const { selectedIds, selectAll } = props.batchParams;
+ const params: TableQueryParams = {
+ selectedIds,
+ selectAll,
projectId: currentProjectId.value,
append: enable as boolean,
tags: form.value.tags,
diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue
index 0fd809aa9d..4a8a0610cd 100644
--- a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue
+++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue
@@ -1038,7 +1038,7 @@
};
function successHandler() {
- loadList();
+ initData();
emitTableParams();
resetSelector();
}