From efc06c748272a8a6ba73c964f018ad3a50451aaa Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期二, 12 十一月 2024 15:58:38 +0800
Subject: [PATCH] 撤回多余的提交

---
 src/views/fysp/data-product/ProdSceneReport.vue |   42 ++++++++++++++++++++++++++++--------------
 1 files changed, 28 insertions(+), 14 deletions(-)

diff --git a/src/views/fysp/data-product/ProdSceneReport.vue b/src/views/fysp/data-product/ProdSceneReport.vue
index 1274d47..239545e 100644
--- a/src/views/fysp/data-product/ProdSceneReport.vue
+++ b/src/views/fysp/data-product/ProdSceneReport.vue
@@ -13,10 +13,27 @@
     <template #main>
       <el-scrollbar class="el-scrollbar" v-loading="mainLoading">
         <CompSceneConstructionInfo
+          v-if="curSubtask.data && curSubtask.data.sceneType == '宸ュ湴'"
           title="A銆佸熀鏈俊鎭�"
           :scene="formScene"
           :form-info="formSubScene"
+          :scene-type="1"
         />
+        <CompSceneWharfInfo
+          v-else-if="curSubtask.data && curSubtask.data.sceneType == '鐮佸ご'"
+          title="A銆佸熀鏈俊鎭�"
+          :scene="formScene"
+          :form-info="formSubScene"
+          :scene-type="2"
+        />
+        <CompSceneMixingPlantInfo
+          v-else-if="curSubtask.data && curSubtask.data.sceneType == '鎼呮媽绔�'"
+          title="A銆佸熀鏈俊鎭�"
+          :scene="formScene"
+          :form-info="formSubScene"
+          :scene-type="3"
+        />
+        <div v-else><el-text tag="h1">A銆佸熀鏈俊鎭�</el-text></div>
         <div><el-text type="">闄勫浘鐗囷細</el-text></div>
         <CompImgInfo
           v-model:title="imgTitle"
@@ -71,21 +88,16 @@
       </el-scrollbar>
     </template>
   </BaseContentLayout>
-  <el-dialog
-    v-model="anyPhotoDialog"
-    width="66%"
-    title="浠绘剰鍥剧墖"
-    destroy-on-close
+  <ArbitraryPhoto
+    v-if="anyPhotoDialog"
+    v-model:dialog-visible="anyPhotoDialog"
+    :max-select="1"
+    :readonly="false"
+    :subtask="curSubtask.data"
+    @selectByAnyPhonoEvent="handleSelectAnyPhoto"
+    :defaultFile="[sceneImg]"
   >
-    <ArbitraryPhoto
-      :max-select="1"
-      :readonly="false"
-      :subtask="curSubtask.data"
-      @selectByAnyPhonoEvent="handleSelectAnyPhoto"
-      :defaultFile="[sceneImg]"
-    >
-    </ArbitraryPhoto>
-  </el-dialog>
+  </ArbitraryPhoto>
   <el-dialog
     title="璁惧鍥剧墖"
     width="66%"
@@ -113,6 +125,8 @@
 import right_triangle from '@/assets/image/right_triangle.png';
 
 import CompSceneConstructionInfo from '@/views/fysp/scene/CompSceneConstructionInfo.vue';
+import CompSceneWharfInfo from '@/views/fysp/scene/CompSceneWharfInfo.vue';
+import CompSceneMixingPlantInfo from '@/views/fysp/scene/CompSceneMixingPlantInfo.vue';
 import ArbitraryPhoto from '@/views/fysp/check/components/ArbitraryPhoto.vue';
 import CompDevicePhono from '@/views/fysp/check/components/CompDevicePhono.vue';
 import CompImgInfo from '@/views/fysp/data-product/components/CompImgInfo.vue';

--
Gitblit v1.9.3