From c810f8b8d3cd4f6f9a4b2bababc8743089a1f8d5 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Fri, 1 Mar 2024 19:11:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=A8=E5=B1=80=E7=94=A8=E4=BE=8B&?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF&=E9=83=A8=E5=88=86=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/ms-add-attachment/index.vue | 44 ++++++++++++------- .../ms-add-attachment/locale/en-US.ts | 1 + .../ms-add-attachment/locale/zh-CN.ts | 1 + .../pure/ms-form-create/form-create.ts | 12 ++--- .../components/pure/ms-upload/fileList.vue | 24 ++++++++-- .../src/components/pure/ms-upload/index.vue | 3 +- .../components/pure/ms-upload/locale/en-US.ts | 1 + .../components/pure/ms-upload/locale/zh-CN.ts | 1 + frontend/src/enums/routeEnum.ts | 2 +- .../routes/modules/projectManagement.ts | 12 ++--- frontend/src/router/routes/modules/setting.ts | 10 +++-- .../components/caseDetail.vue | 3 +- .../components/caseTable.vue | 5 +++ .../components/caseTemplateDetail.vue | 5 ++- .../components/export/exportCaseModal.vue | 7 +++ .../components/recycleCaseTable.vue | 14 +++++- .../components/tabContent/transferModal.vue | 16 ++++++- .../caseManagementFeature/components/utils.ts | 1 + .../caseManagementFeature/locale/en-US.ts | 5 ++- .../caseManagementFeature/locale/zh-CN.ts | 2 + .../projectAndPermission/member/index.vue | 13 +++--- .../taskCenter/component/apiCase.vue | 20 ++++++++- .../template/components/addTemplate.vue | 9 +++- .../pluginManager/components/uploadModel.vue | 2 +- 24 files changed, 158 insertions(+), 55 deletions(-) diff --git a/frontend/src/components/business/ms-add-attachment/index.vue b/frontend/src/components/business/ms-add-attachment/index.vue index 4eae6816ac..fc60c939ad 100644 --- a/frontend/src/components/business/ms-add-attachment/index.vue +++ b/frontend/src/components/business/ms-add-attachment/index.vue @@ -157,7 +157,7 @@ - + diff --git a/frontend/src/views/case-management/caseManagementFeature/components/utils.ts b/frontend/src/views/case-management/caseManagementFeature/components/utils.ts index 93e1270590..cb3360da91 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/utils.ts +++ b/frontend/src/views/case-management/caseManagementFeature/components/utils.ts @@ -101,6 +101,7 @@ export function convertToFile(fileInfo: AssociatedList): MsFileItem { }); Object.defineProperty(file, 'size', { value: fileInfo.size }); const { id, createUserName, createTime, local, isUpdateFlag, associateId } = fileInfo; + debugger; return { enable: fileInfo.enable || false, file, diff --git a/frontend/src/views/case-management/caseManagementFeature/locale/en-US.ts b/frontend/src/views/case-management/caseManagementFeature/locale/en-US.ts index 9200f19589..f3ff71c36d 100644 --- a/frontend/src/views/case-management/caseManagementFeature/locale/en-US.ts +++ b/frontend/src/views/case-management/caseManagementFeature/locale/en-US.ts @@ -116,7 +116,8 @@ export default { 'caseManagement.featureCase.recoveredSuccessfully': 'Recovered successfully', 'caseManagement.featureCase.cleanOutDeleteTip': 'After deletion, the data will not be recovered, please operate with caution!', - 'caseManagement.featureCase.cleanOutDeleteOnRecycleTip': 'After deletion, the case will not be recovered, please operate with caution!', + 'caseManagement.featureCase.cleanOutDeleteOnRecycleTip': + 'After deletion, the case will not be recovered, please operate with caution!', 'caseManagement.featureCase.pleaseEnterInputTags': 'Please enter content Enter add label', 'caseManagement.featureCase.copy': 'Copy', 'caseManagement.featureCase.copyCase': 'Copy case', @@ -262,4 +263,6 @@ export default { 'caseManagement.featureCase.jira': 'JIRA', 'caseManagement.featureCase.searchPlaceholder': 'Search by ID, name, or tag', 'caseManagement.featureCase.ModuleOwned': 'Module owned', + 'caseManagement.featureCase.excelImportTip': 'Only xls/xlsx files are supported', + 'caseManagement.featureCase.xmindImportTip': 'Only xmind files are supported', }; diff --git a/frontend/src/views/case-management/caseManagementFeature/locale/zh-CN.ts b/frontend/src/views/case-management/caseManagementFeature/locale/zh-CN.ts index fd0cded78f..7f3f8a5ec5 100644 --- a/frontend/src/views/case-management/caseManagementFeature/locale/zh-CN.ts +++ b/frontend/src/views/case-management/caseManagementFeature/locale/zh-CN.ts @@ -258,4 +258,6 @@ export default { 'caseManagement.featureCase.jira': 'JIRA', 'caseManagement.featureCase.searchPlaceholder': '通过ID、名称或标签搜索', 'caseManagement.featureCase.ModuleOwned': '所属模块', + 'caseManagement.featureCase.excelImportTip': '仅支持xls/xlsx格式的文件', + 'caseManagement.featureCase.xmindImportTip': '仅支持xmind格式的文件', }; diff --git a/frontend/src/views/project-management/projectAndPermission/member/index.vue b/frontend/src/views/project-management/projectAndPermission/member/index.vue index 84b2245016..a18d55bdce 100644 --- a/frontend/src/views/project-management/projectAndPermission/member/index.vue +++ b/frontend/src/views/project-management/projectAndPermission/member/index.vue @@ -77,7 +77,7 @@ ref="projectMemberRef" v-model:visible="addMemberVisible" :user-group-options="userGroupOptions" - @success="loadList()" + @success="initData()" /> (''); const initData = async () => { setLoadListParams({ ...searchParams.value }); - await loadList(); + loadList(); }; const searchHandler = () => { @@ -394,12 +393,12 @@ ]; }; const memberTableRef = ref(); + initOptions(); - onMounted(() => { + onBeforeMount(() => { initData(); - initOptions(); - memberTableRef.value.initColumn(columns); }); + tableStore.initColumn(TableKeyEnum.PROJECT_MEMBER, columns, 'drawer'); diff --git a/frontend/src/views/project-management/taskCenter/component/apiCase.vue b/frontend/src/views/project-management/taskCenter/component/apiCase.vue index 088f05f5bc..e57f7c98e4 100644 --- a/frontend/src/views/project-management/taskCenter/component/apiCase.vue +++ b/frontend/src/views/project-management/taskCenter/component/apiCase.vue @@ -55,7 +55,10 @@