From ec16aa68d8776f56a75742ced751e78f9460e790 Mon Sep 17 00:00:00 2001 From: dongzhihuan Date: Fri, 6 Feb 2026 09:13:13 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E4=B8=8A=E4=BC=A0=E6=A8=A1=E5=9D=97=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BC=A0=E9=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/taskDetail/resultImage.vue | 8 ++++---- src/components/taskDetail/task3DModel.vue | 8 ++++---- src/components/taskDetail/taskCurve.vue | 8 ++++---- src/components/taskDetail/taskModel.vue | 8 ++++---- src/components/taskDetail/taskReport.vue | 8 ++++---- src/views/task/projectDetail/components/taskDetail.vue | 10 +++++----- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/components/taskDetail/resultImage.vue b/src/components/taskDetail/resultImage.vue index 3e1fef50..c81e3e81 100644 --- a/src/components/taskDetail/resultImage.vue +++ b/src/components/taskDetail/resultImage.vue @@ -25,7 +25,7 @@ :fileType="FILE_TYPE.PNG_FILE" tableName="TASK_DETAIL_UPLOAD_FILE" callbackFlag="RESULT_IMAGE_UPLOAD_FINISHED" - :discipline="discipline" + :discipline="taskData?.discipline" multiple :data="{ dirId: nodeFIleId, @@ -94,9 +94,9 @@ const props = defineProps({ type: Boolean, default: true, }, - discipline: { - type: String, - default: '', + taskData: { + type: Object, + default: () => ({}), }, }); diff --git a/src/components/taskDetail/task3DModel.vue b/src/components/taskDetail/task3DModel.vue index 9ada989c..b8202ebc 100644 --- a/src/components/taskDetail/task3DModel.vue +++ b/src/components/taskDetail/task3DModel.vue @@ -17,7 +17,7 @@ :fileType="FILE_TYPE.MODEL_3D_FILE" tableName="TASK_DETAIL_UPLOAD_FILE" callbackFlag="TASK_3D_UPLOAD_FINISHED" - :discipline="discipline" + :discipline="taskData?.discipline" multiple :data="{ dirId: nodeFIleId, @@ -88,9 +88,9 @@ const props = defineProps({ type: Boolean, default: false, }, - discipline: { - type: String, - default: '', + taskData: { + type: Object, + default: () => ({}), }, }); diff --git a/src/components/taskDetail/taskCurve.vue b/src/components/taskDetail/taskCurve.vue index 2f6e3751..0f48860d 100644 --- a/src/components/taskDetail/taskCurve.vue +++ b/src/components/taskDetail/taskCurve.vue @@ -20,7 +20,7 @@ tableName="TASK_DETAIL_UPLOAD_FILE" callbackFlag="TASK_CURVE_UPLOAD_FINISHED" multiple - :discipline="discipline" + :discipline="taskData?.discipline" :data="{ dirId: nodeFIleId, projectId: null, @@ -106,9 +106,9 @@ const props = defineProps({ type: Boolean, default: true, }, - discipline: { - type: String, - default: '', + taskData: { + type: Object, + default: () => ({}), }, }); const runTreeData = ref([]); diff --git a/src/components/taskDetail/taskModel.vue b/src/components/taskDetail/taskModel.vue index ccf768d5..4aae6d47 100644 --- a/src/components/taskDetail/taskModel.vue +++ b/src/components/taskDetail/taskModel.vue @@ -17,7 +17,7 @@ :fileType="FILE_TYPE.CALCULATION_FILE" tableName="TASK_DETAIL_UPLOAD_FILE" callbackFlag="TASK_MODEL_UPLOAD_FINISHED" - :discipline="discipline" + :discipline="taskData?.discipline" multiple :data="{ dirId: nodeFIleId, @@ -79,9 +79,9 @@ const props = defineProps({ type: Boolean, default: true, }, - discipline: { - type: String, - default: '', + taskData: { + type: Object, + default: () => ({}), }, }); // const env = import.meta.env; diff --git a/src/components/taskDetail/taskReport.vue b/src/components/taskDetail/taskReport.vue index 0ea9487a..944df977 100644 --- a/src/components/taskDetail/taskReport.vue +++ b/src/components/taskDetail/taskReport.vue @@ -18,7 +18,7 @@ tableName="TASK_DETAIL_UPLOAD_FILE" callbackFlag="TASK_REPORT_UPLOAD_FINISHED" multiple - :discipline="discipline" + :discipline="taskData?.discipline" :data="{ dirId: nodeFIleId, projectId: null, @@ -80,9 +80,9 @@ const props = defineProps({ type: Boolean, default: true, }, - discipline: { - type: String, - default: '', + taskData: { + type: Object, + default: () => ({}), }, }); const baseTableRef = ref(); diff --git a/src/views/task/projectDetail/components/taskDetail.vue b/src/views/task/projectDetail/components/taskDetail.vue index 5a6e58f9..d8695f19 100644 --- a/src/views/task/projectDetail/components/taskDetail.vue +++ b/src/views/task/projectDetail/components/taskDetail.vue @@ -15,7 +15,7 @@ @@ -40,7 +40,7 @@ @@ -51,7 +51,7 @@ @@ -77,7 +77,7 @@ @@ -87,7 +87,7 @@