jihongshun
5 天以前 ca62ae43d7614216e5d43dd905fde1fd4a260158
src/views/system/shootPoint/components/chooseModelDialog.vue
@@ -6,10 +6,8 @@
    width="70%">
    <el-row :gutter="20">
       <el-col :span="showMap ? 12 : 24" :xs="24">
        <AppTable ref="AppTable"  :showDeptSearch="false" :url="'tower/point/list'" :tableColumns="tableColumns"  :showSearchBtn="false">
        <AppTable ref="AppTable"  :showDeptSearch="false" :url="'tower/model/list'" :tableColumns="tableColumns"  :showSearchBtn="false">
          <template #operator="{ row }">
            <el-button size="mini" type="text"
              @click="clickRow(row)">预览</el-button>
            <el-button size="mini" type="text"
              @click="chooseRow(row)">选择</el-button>
          </template>
@@ -22,10 +20,10 @@
          <CesiumMap ></CesiumMap>
       </el-col>
     </el-row>
    <span slot="footer" class="dialog-footer">
    <!-- <span slot="footer" class="dialog-footer">
      <el-button @click="cancel">取 消</el-button>
      <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
    </span>
    </span> -->
  </el-dialog>
</template>
<script>
@@ -97,7 +95,6 @@
              orientation: orientation,
              model: {
                uri: row.modelRoute, // 替换成你的模型路径
                scale: 1000,
              },
            });
            viewer.flyTo(entity)