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);