From 413c7fc7b328c46aeffd5f5225acae80ec2d5247 Mon Sep 17 00:00:00 2001 From: baiqi Date: Fri, 21 Jun 2024 16:47:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=85=A8=E5=B1=80):=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=20bug=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/case-management/featureCase.ts | 4 +- frontend/src/assets/style/arco-reset.less | 1 + .../business/ms-assertion/index.vue | 1 - .../ms-associate-case/locale/zh-CN.ts | 4 +- .../business/ms-batch-form/index.vue | 60 +++- .../business/ms-batch-form/types.ts | 5 +- .../ms-case-associate/locale/zh-CN.ts | 2 +- .../business/ms-comment/comment-item.vue | 1 - .../components/business/ms-comment/input.vue | 2 - .../ms-common-script/insertCommonScript.vue | 2 - .../ms-minders/featureCaseMinder/index.vue | 282 +++++++++++++----- .../featureCaseMinder/useMinderBaseApi.ts | 4 + .../ms-minders/testPlanMinder/index.vue | 10 +- .../business/ms-quick-input/index.vue | 148 +++++++++ .../src/components/business/ms-tree/index.vue | 4 + .../pure/ms-advance-filter/index.vue | 2 - .../pure/ms-form-create/comp/jiraKey.vue | 1 - .../components/pure/ms-table/base-table.vue | 1 - .../pure/ms-table/columnSelectorIcon.vue | 4 +- frontend/src/locale/zh-CN/common.ts | 4 +- .../views/api-test/components/paramTable.vue | 2 +- .../src/views/api-test/debug/locale/zh-CN.ts | 2 +- .../views/api-test/management/locale/zh-CN.ts | 2 +- .../views/api-test/scenario/locale/zh-CN.ts | 2 +- .../components/bug-detail-drawer.vue | 1 - .../src/views/bug-management/locale/zh-CN.ts | 2 +- .../caseManagementFeature/locale/zh-CN.ts | 4 +- .../caseReview/locale/zh-CN.ts | 4 +- .../commonScript/locale/zh-CN.ts | 2 +- .../components/common/CommonImportPop.vue | 1 - .../components/common/TabSettingDrawer.vue | 1 - .../components/envParams/HostTab.vue | 6 +- .../envParams/popUp/AddHttpDrawer.vue | 3 - .../environmental/locale/zh-CN.ts | 2 +- .../components/falseAlermRule.vue | 37 +-- .../menuManagement/locale/en-US.ts | 106 ++++--- .../menuManagement/locale/zh-CN.ts | 1 + .../projectVersion/locale/zh-CN.ts | 2 +- .../template/components/editFieldDrawer.vue | 6 +- .../organizationAndProject/locale/zh-CN.ts | 4 +- .../setting/system/resourcePool/detail.vue | 6 +- .../src/views/setting/system/user/index.vue | 6 +- .../setting/system/usergroup/locale/zh-CN.ts | 2 +- .../views/test-plan/testPlan/locale/zh-CN.ts | 4 +- 44 files changed, 542 insertions(+), 208 deletions(-) create mode 100644 frontend/src/components/business/ms-quick-input/index.vue diff --git a/frontend/src/api/modules/case-management/featureCase.ts b/frontend/src/api/modules/case-management/featureCase.ts index 52db7e0249..c781176a5d 100644 --- a/frontend/src/api/modules/case-management/featureCase.ts +++ b/frontend/src/api/modules/case-management/featureCase.ts @@ -188,8 +188,8 @@ export function saveCaseMinder(data: FeatureCaseMinderUpdateParams) { } // 获取脑图 -export function getCaseMinder(data: { projectId: string; moduleId: string }) { - return MSR.post({ url: `${GetCaseMinderUrl}`, data }); +export function getCaseMinder(data: { projectId: string; moduleId: string; current: number }) { + return MSR.post>({ url: `${GetCaseMinderUrl}`, data }); } // 获取脑图模块树(包含文本节点) diff --git a/frontend/src/assets/style/arco-reset.less b/frontend/src/assets/style/arco-reset.less index abb8ac5b25..ba1bb28b04 100644 --- a/frontend/src/assets/style/arco-reset.less +++ b/frontend/src/assets/style/arco-reset.less @@ -370,6 +370,7 @@ .ms-scroll-bar(); padding-right: 16px; + min-height: 30px; } .arco-textarea-wrapper { resize: vertical !important; diff --git a/frontend/src/components/business/ms-assertion/index.vue b/frontend/src/components/business/ms-assertion/index.vue index 6b7fb71f41..58eb2498ae 100644 --- a/frontend/src/components/business/ms-assertion/index.vue +++ b/frontend/src/components/business/ms-assertion/index.vue @@ -138,7 +138,6 @@ + + diff --git a/frontend/src/components/business/ms-tree/index.vue b/frontend/src/components/business/ms-tree/index.vue index ff84b7222b..a682136866 100644 --- a/frontend/src/components/business/ms-tree/index.vue +++ b/frontend/src/components/business/ms-tree/index.vue @@ -399,6 +399,10 @@ (val) => { if (typeof val === 'boolean') { treeRef.value?.expandAll(val); + filterTreeData.value = mapTree(filterTreeData.value, (node) => { + node.expanded = val; + return node; + }); } } ); diff --git a/frontend/src/components/pure/ms-advance-filter/index.vue b/frontend/src/components/pure/ms-advance-filter/index.vue index 2072aa2b94..5ddb74e1b2 100644 --- a/frontend/src/components/pure/ms-advance-filter/index.vue +++ b/frontend/src/components/pure/ms-advance-filter/index.vue @@ -72,8 +72,6 @@