diff --git a/frontend/package.json b/frontend/package.json
index 82cb0ff126..a5014c61a6 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -38,7 +38,7 @@
"@7polo/kity": "2.0.8",
"@7polo/kityminder-core": "1.4.53",
"@arco-design/web-vue": "^2.51.0",
- "@arco-themes/vue-ms-theme-default": "^0.0.28",
+ "@arco-themes/vue-ms-theme-default": "^0.0.29",
"@form-create/arco-design": "^3.1.22",
"@types/color": "^3.0.3",
"@vueuse/core": "^10.2.1",
diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue
index 01a48cb929..71eaaf8665 100644
--- a/frontend/src/components/pure/ms-table/base-table.vue
+++ b/frontend/src/components/pure/ms-table/base-table.vue
@@ -77,8 +77,14 @@
+
+
+
+
+
+
-
+
diff --git a/frontend/src/views/setting/organization/project/components/addProjectModal.vue b/frontend/src/views/setting/organization/project/components/addProjectModal.vue
index be13392bad..2e136085bd 100644
--- a/frontend/src/views/setting/organization/project/components/addProjectModal.vue
+++ b/frontend/src/views/setting/organization/project/components/addProjectModal.vue
@@ -17,7 +17,7 @@
-
+
{{ t('system.organization.status') }}
@@ -104,7 +104,7 @@
const formRef = ref();
const loading = ref(false);
- const isEdit = computed(() => !!props.currentProject?.id);
+ const isEdit = computed(() => !!props.currentProject);
const affiliatedOrgOption = ref([]);
const appStore = useAppStore();
const currentOrgId = computed(() => appStore.currentOrgId);
@@ -188,7 +188,7 @@
};
watchEffect(() => {
initAffiliatedOrgOption();
- if (props.currentProject) {
+ if (isEdit.value && props.currentProject) {
form.id = props.currentProject.id;
form.name = props.currentProject.name;
form.description = props.currentProject.description;
diff --git a/frontend/src/views/setting/organization/project/components/userDrawer.vue b/frontend/src/views/setting/organization/project/components/userDrawer.vue
index 9aabf4e677..d35e2e3027 100644
--- a/frontend/src/views/setting/organization/project/components/userDrawer.vue
+++ b/frontend/src/views/setting/organization/project/components/userDrawer.vue
@@ -68,6 +68,7 @@
const props = defineProps();
const emit = defineEmits<{
(e: 'cancel'): void;
+ (e: 'requestFetchData'): void;
}>();
const currentVisible = ref(props.visible);
@@ -80,10 +81,13 @@
{
title: 'system.organization.userName',
slotName: 'name',
+ showTooltip: true,
+ width: 200,
},
{
title: 'system.organization.email',
dataIndex: 'email',
+ showTooltip: true,
width: 200,
},
{
@@ -123,6 +127,7 @@
userVisible.value = false;
if (shouldSearch) {
fetchData();
+ emit('requestFetchData');
}
};
diff --git a/frontend/src/views/setting/organization/project/locale/zh-CN.ts b/frontend/src/views/setting/organization/project/locale/zh-CN.ts
index 36149933aa..e89bce7100 100644
--- a/frontend/src/views/setting/organization/project/locale/zh-CN.ts
+++ b/frontend/src/views/setting/organization/project/locale/zh-CN.ts
@@ -62,7 +62,7 @@ export default {
'system.project.affiliatedOrgPlaceholder': '请选择所属组织',
'system.project.projectAdmin': '项目管理员',
'system.project.projectAdminPlaceholder': '默认选择创建项目人为项目管理员',
- 'system.project.moduleSetting': '模块设置',
+ 'system.project.moduleSetting': '启用模块',
'system.project.projectNameRequired': '项目名称不能为空',
'system.project.createTip': '项目启用后,将展示在项目切换列表',
'system.project.affiliatedOrgRequired': '所属组织不能为空',
diff --git a/frontend/src/views/setting/organization/project/orgProject.vue b/frontend/src/views/setting/organization/project/orgProject.vue
index 1317f6af82..b6d6abf934 100644
--- a/frontend/src/views/setting/organization/project/orgProject.vue
+++ b/frontend/src/views/setting/organization/project/orgProject.vue
@@ -44,9 +44,13 @@
-
+
-
+
@@ -185,6 +189,7 @@
];
const showAddProject = () => {
+ currentUpdateProject.value = undefined;
addProjectVisible.value = true;
};
@@ -261,7 +266,6 @@
const handleUserDrawerCancel = () => {
currentUserDrawer.visible = false;
- fetchData();
};
const handleAddUserModalCancel = (shouldSearch: boolean) => {
diff --git a/frontend/src/views/setting/system/organizationAndProject/components/systemOrganization.vue b/frontend/src/views/setting/system/organizationAndProject/components/systemOrganization.vue
index b409ba5f84..e39a270f4e 100644
--- a/frontend/src/views/setting/system/organizationAndProject/components/systemOrganization.vue
+++ b/frontend/src/views/setting/system/organizationAndProject/components/systemOrganization.vue
@@ -48,7 +48,7 @@
@submit="fetchData"
/>
-
+