From 55871dfd9d4acae2fc921a26985ae98f41ccc389 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Tue, 23 Apr 2024 20:06:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE=E5=BA=94=E7=94=A8=E6=9C=AA?= =?UTF-8?q?=E5=BC=80=E5=90=AF=E5=85=B3=E8=81=94=E9=9C=80=E6=B1=82=EF=BC=8C?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E5=85=B3=E8=81=94=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E5=85=B3=E8=81=94?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=89=E9=92=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1036126 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036126 --- .../tabDemand/associatedDemandTable.vue | 19 ++++++++++++++++--- .../tabContent/tabDemand/demand.vue | 6 +++++- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/associatedDemandTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/associatedDemandTable.vue index a1fb00a9bf..7a6f05bbf6 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/associatedDemandTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/associatedDemandTable.vue @@ -24,7 +24,11 @@
{{ t('caseManagement.caseReview.tableNoData') }} @@ -32,7 +36,11 @@ {{ t('caseManagement.featureCase.tableNoData') }} {{ t('caseManagement.featureCase.or') }} @@ -92,6 +104,7 @@ isShowOperation?: boolean; // 是否显示操作列 highlightName?: boolean; // 是否高亮名称 showEmpty?: boolean; // 是否显示自定义的空状态,否则显示表格的默认空状态 + caseEnable?: boolean; // 项目是否配置三方需求 }>(), { isShowOperation: true, diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/demand.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/demand.vue index d8ac93cbcc..c756bfeb1e 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/demand.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/demand.vue @@ -3,7 +3,7 @@
(false); + const caseEnable = ref(false); + const initModelForm: DemandItem = { id: '', caseId: '', // 功能用例ID @@ -350,6 +353,7 @@ const result = await getCaseRelatedInfo(currentProjectId.value); if (result && result.platform_key) { platformInfo.value = { ...result }; + caseEnable.value = platformInfo.value.case_enable !== 'false'; } } catch (error) { console.log(error);