jihongshun
7 天以前 fffd807c69b56990a5eb89cf894a12abc1ef637a
bugfix
已修改2个文件
14 ■■■■ 文件已修改
src/views/system/project/components/addPorjectDialog.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/shootPoint/components/shootPointDialog.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/project/components/addPorjectDialog.vue
@@ -47,7 +47,6 @@
                    class="filter-tree"
                    :data="treeData"
                    :props="defaultProps"
                    draggable
                    default-expand-all
                    ref="tree">
                  </el-tree>
@@ -97,6 +96,7 @@
  methods:{
    handleClose(){
      this.dialogVisible = false
      this.$emit('close')
    },
    flyToLocal(row){
      console.log(row)
@@ -400,6 +400,9 @@
     const rotatedZ = localStartPoint.z; // Z轴坐标保持不变
      // 将旋转后的局部坐标转换回世界坐标系
     return Cesium.Matrix4.multiplyByPoint(transformationMatrix, new Cesium.Cartesian3(rotatedX, rotatedY, rotatedZ), new Cesium.Cartesian3());
    },
    submit(){
      console.log('生成航线')
    }
  }
}
src/views/system/shootPoint/components/shootPointDialog.vue
@@ -96,10 +96,12 @@
    }
  },
  mounted(){
    console.log(this.templateId)
    if(this.templateId) {
      //预览逻辑
      getPointInfo(this.templateId).then(res=>{
        if(res.code == 200 ) {
          console.log(res.data)
          this.getRowData(res.data)
          let drawArr = this.convertToTree(res.data.ardListWayPointsLS)
          setTimeout(() => {
@@ -450,7 +452,12 @@
      this.showMap =false
      this.$nextTick(()=>{
        // this.towerUrl = row.modelRoute
        this.towerUrl = row.modelRoute
        if(this.templateId){
          this.towerUrl = row.ardTowerModel.modelRoute
        }else {
          this.towerUrl = row.modelRoute
        }
        this.showMap = true
      })
    },