| | |
| | | v-model="downloaVisible" |
| | | title="下载" |
| | | width="30%" |
| | | :show-close="false" |
| | | > |
| | | <div |
| | | class="spatialTable" |
| | |
| | | <el-table |
| | | :data="downTable" |
| | | @selection-change="handleSelectionChange" |
| | | style="width: 100%; height: 73%;" |
| | | style="width: 100%; height: 28vh;" |
| | | > |
| | | <el-table-column |
| | | type="selection" |
| | |
| | | size="small" |
| | | @click="submitForm(downFormRef)" |
| | | >提交</el-button> |
| | | <el-button size="small">取消</el-button> |
| | | <el-button |
| | | size="small" |
| | | @click="setCloseSpatialDownload" |
| | | >取消</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | nextTick, |
| | | } from "vue"; |
| | | import menuTool from "@/assets/js/Map/menuTool"; |
| | | import config from "@/assets/js/Map/config"; |
| | | // import config from "../../../public/config/config.js"; |
| | | import { User, Lock, Plus, Refresh, Location } from "@element-plus/icons-vue"; |
| | | import { |
| | | dataQuery_selectByPage, |
| | |
| | | if (!formEl) return; |
| | | formEl.validate((valid) => { |
| | | if (valid) { |
| | | console.log("submit!"); |
| | | if (multipleSelection.value.length <= 0) { |
| | | ElMessage.error("请选择要下载的表"); |
| | | } else { |
| | | setDownLoadFrom(); |
| | | } |
| | | } else { |
| | | console.log("erro submit!"); |
| | | return false; |
| | | } |
| | | }); |
| | |
| | | downTable.value = menuList.value; |
| | | downloaVisible.value = true; |
| | | }; |
| | | const setCloseSpatialDownload = () => { |
| | | downloaVisible.value = false; |
| | | setClearDownload(); |
| | | }; |
| | | //定位显示 |
| | | const spaceLocation = (index, row) => { |
| | | var geom = menuTool.decr(row.geom); |