hcong
2024-11-12 8f3255956f85af1df98170fb05e6551cea12e9b0
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';