吉安感知网项目-前端
张含笑
2026-01-21 792403d97b0b0e06b9faba5c18c4886bf9f7586b
applications/task-work-order/src/views/orderView/orderManage/orderManage/FormDiaLog.vue
@@ -8,7 +8,7 @@
      destroy-on-close
   >
      <div class="content" style="display: flex">
         <div class="processBox">
         <div class="processBox" v-if="dialogMode !== 'add'">
            <el-steps direction="vertical" :active="processList.length">
               <el-step v-for="item in processList" :title="item.flowName" :description="item.flowDesc" />
            </el-steps>
@@ -130,6 +130,7 @@
               :layer-mode="4"
               :boundary="false"
               :zoomToBoundary="false"
               @ready="mapReady"
            />
         </div>
         <div class="rightBox" v-if="!dialogReadonly">
@@ -200,7 +201,7 @@
<script setup>
import { computed, ref, onMounted, nextTick } from 'vue'
import { ElMessage } from 'element-plus'
import { dateRangeFormat, fieldRules, geomAnalysis, getDictLabel } from '@ztzf/utils'
import { dateRangeFormat, fieldRules, flyVisual, geomAnalysis, getDictLabel } from '@ztzf/utils'
import {
   gdWorkOrderDetailApi,
   gdWorkOrderFlowListApi,
@@ -402,7 +403,10 @@
         material: Cesium.Color.RED,
      },
   })
   viewer.flyTo(mian, { duration: 0 })
   flyVisual({
      positionsData: pointList.map(i => [i.longitude, i.latitude, i.height || 0]),
      viewer,
   })
}
// 同步关联场景
@@ -444,6 +448,11 @@
   viewer = map?.viewer || null
}
function mapReady() {
   console.log(6363)
   dialogMode.value === 'add' && mapRef.value.flyBoundary()
}
defineExpose({ open })
</script>