From 8f3255956f85af1df98170fb05e6551cea12e9b0 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期二, 12 十一月 2024 15:54:57 +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