diff --git a/frontend/src/api/modules/setting/system/organizationAndProject.ts b/frontend/src/api/modules/setting/system/organizationAndProject.ts
index ca092c7782..c54855c87f 100644
--- a/frontend/src/api/modules/setting/system/organizationAndProject.ts
+++ b/frontend/src/api/modules/setting/system/organizationAndProject.ts
@@ -8,6 +8,16 @@ export function postOrgTable(data: TableQueryParams) {
return MSR.post({ url: orgUrl.postOrgTableUrl, data });
}
+// 删除组织
+export function deleteOrg(id: string) {
+ return MSR.get({ url: `${orgUrl.getDeleteOrgUrl}${id}` });
+}
+
+// 启用或禁用组织
+export function enableOrDisableOrg(id: string, isEnable = true) {
+ return MSR.get({ url: `${isEnable ? orgUrl.getEnableOrgUrl : orgUrl.getDisableOrgUrl}${id}` });
+}
+
// 获取项目列表
export function postProjectTable(data: TableQueryParams) {
return MSR.post({ url: orgUrl.postProjectTableUrl, data });
diff --git a/frontend/src/components/bussiness/ms-remove-button/MsRemoveButton.vue b/frontend/src/components/bussiness/ms-remove-button/MsRemoveButton.vue
index 8cc8c2c4d5..4d82dc514f 100644
--- a/frontend/src/components/bussiness/ms-remove-button/MsRemoveButton.vue
+++ b/frontend/src/components/bussiness/ms-remove-button/MsRemoveButton.vue
@@ -1,21 +1,18 @@
- {{ t('common.remove') }}
+ {{ t('common.remove') }}