| | |
| | | <!DOCTYPE html> |
| | | <html lang=""> |
| | | <head> |
| | | <meta charset="utf-8" /> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| | | <meta name="viewport" content="width=device-width,initial-scale=1.0" /> |
| | | <title> </title> |
| | | |
| | | <link rel="stylesheet" href="./SmartEarthSDK/Workers/css/smartearth.css" /> |
| | | <link rel="stylesheet" href="./SmartEarthSDK/Workers/layui/css/layui.css" /> |
| | | <head> |
| | | <meta charset="utf-8" /> |
| | | |
| | | <script src="./SmartEarthSDK/Workers/polyfill.min.js"></script> |
| | | <script src="./SmartEarthSDK/Cesium/Cesium.js"></script> |
| | | <script src="./SmartEarthSDK/SmartEarth.min.js"></script> |
| | | <script src="./SmartEarthSDK/Workers/TreeTool.js"></script> |
| | | <script src="./config/config.js"></script> |
| | | <script src="./config/rsa.min.js"></script> |
| | | <script src="./config/rollups.js"></script> |
| | | <meta name="viewport" content="width=device-width,initial-scale=1.0" /> |
| | | |
| | | <style> |
| | | .esriControlsBR { |
| | | display: none; |
| | | } |
| | | |
| | | .ol-overlaycontainer-stopevent { |
| | | /* display: none; */ |
| | | } |
| | | .ol-control button { |
| | | display: block; |
| | | margin: 1px; |
| | | padding: 0; |
| | | color: rgb(102, 102, 102); |
| | | font-weight: bold; |
| | | text-decoration: none; |
| | | font-size: inherit; |
| | | text-align: center; |
| | | height: 1.375em; |
| | | width: 1.375em; |
| | | line-height: 0.4em; |
| | | background-color: #fff; |
| | | border: none; |
| | | border-radius: 2px; |
| | | } |
| | | .ol-full-screen { |
| | | display: none; |
| | | position: absolute; |
| | | right: 0.5em; |
| | | top: 0.5em; |
| | | } |
| | | .ol-rotate { |
| | | display: none; |
| | | position: absolute; |
| | | top: 3em; |
| | | right: 0.5em; |
| | | transition: opacity 0.25s linear, visibility 0s linear; |
| | | } |
| | | .ol-scale-line { |
| | | display: none; |
| | | right: 0.3em; |
| | | bottom: 0.5em; |
| | | position: absolute; |
| | | } |
| | | .ol-scale-line-inner { |
| | | /* padding: 5px 10px; */ |
| | | color: rgb(102, 102, 102); |
| | | font-weight: bold; |
| | | background-color: #fff; |
| | | text-align: center; |
| | | border-radius: 5px; |
| | | } |
| | | .ol-zoom { |
| | | display: none; |
| | | right: 0.3em; |
| | | bottom: 3em; |
| | | position: absolute; |
| | | } |
| | | </style> |
| | | </head> |
| | | <meta http-equiv="Expires" content="0" /> |
| | | <meta http-equiv="Cache" content="no-cache" /> |
| | | <meta http-equiv="Pragma" content="no-cache" /> |
| | | <meta http-equiv="Cache-control" content="no-cache" /> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| | | <title> </title> |
| | | |
| | | <body> |
| | | <div id="app"></div> |
| | | </body> |
| | | </html> |
| | | <link rel="stylesheet" href="./SmartEarthSDK/Workers/css/smartearth.css" /> |
| | | <link rel="stylesheet" href="./SmartEarthSDK/Workers/layui/css/layui.css" /> |
| | | |
| | | <script src="./SmartEarthSDK/Workers/polyfill.min.js"></script> |
| | | <script src="./SmartEarthSDK/Cesium/Cesium.js"></script> |
| | | <script src="./SmartEarthSDK/SmartEarth.min.js"></script> |
| | | <script src="./SmartEarthSDK/Workers/TreeTool.js"></script> |
| | | <script src="./config/config.js"></script> |
| | | <script src="./config/rsa.min.js"></script> |
| | | <script src="./config/rollups.js"></script> |
| | | |
| | | <style> |
| | | .esriControlsBR { |
| | | display: none; |
| | | } |
| | | |
| | | .ol-overlaycontainer-stopevent { |
| | | /* display: none; */ |
| | | } |
| | | |
| | | .ol-control button { |
| | | display: block; |
| | | margin: 1px; |
| | | padding: 0; |
| | | color: rgb(102, 102, 102); |
| | | font-weight: bold; |
| | | text-decoration: none; |
| | | font-size: inherit; |
| | | text-align: center; |
| | | height: 1.375em; |
| | | width: 1.375em; |
| | | line-height: 0.4em; |
| | | background-color: #fff; |
| | | border: none; |
| | | border-radius: 2px; |
| | | } |
| | | |
| | | .ol-full-screen { |
| | | display: none; |
| | | position: absolute; |
| | | right: 0.5em; |
| | | top: 0.5em; |
| | | } |
| | | |
| | | .ol-rotate { |
| | | display: none; |
| | | position: absolute; |
| | | top: 3em; |
| | | right: 0.5em; |
| | | transition: opacity 0.25s linear, visibility 0s linear; |
| | | } |
| | | |
| | | .ol-scale-line { |
| | | display: none; |
| | | right: 0.3em; |
| | | bottom: 0.5em; |
| | | position: absolute; |
| | | } |
| | | |
| | | .ol-scale-line-inner { |
| | | /* padding: 5px 10px; */ |
| | | color: rgb(102, 102, 102); |
| | | font-weight: bold; |
| | | background-color: #fff; |
| | | text-align: center; |
| | | border-radius: 5px; |
| | | } |
| | | |
| | | .ol-zoom { |
| | | display: none; |
| | | right: 0.3em; |
| | | bottom: 3em; |
| | | position: absolute; |
| | | } |
| | | </style> |
| | | </head> |
| | | |
| | | <body> |
| | | <div id="app"></div> |
| | | </body> |
| | | |
| | | </html> |
| | |
| | | code:'Code' |
| | | }, |
| | | |
| | | metadataManage: 'metadataManage', |
| | | metadataManage: 'Source Data Management', |
| | | dataLoading: 'dataLoading', |
| | | SpatialData: 'SpatialData', |
| | | versionManage: 'versionManage', |
| | |
| | | status: 'status', |
| | | careatetime: 'Date of application', |
| | | ReApply: 'Re apply', |
| | | details: 'details' |
| | | details: 'details', |
| | | ApplicationCancel: "Application Cancel", |
| | | }, |
| | | loglog: { |
| | | serialnumber: 'Serial Number', |
| | |
| | | const zh = { |
| | | common: { |
| | | bak:'备注', |
| | | bak: '备注', |
| | | domCode: '编码', |
| | | confirm: '确认', |
| | | choose: '请选择', |
| | |
| | | size: '大小', |
| | | versionName: '版本名称', |
| | | type: '类型', |
| | | fileType:'文件类型', |
| | | fileType: '文件类型', |
| | | quayTest: '质检', |
| | | md5: 'MD5码', |
| | | lineNuber: '行数', |
| | |
| | | entryName: '项目名称', |
| | | selectWBSData: '选择WBS数据', |
| | | coordinateSystem: '坐标系', |
| | | fileExtension:"文件扩展名", |
| | | inspectionItems:"检查项", |
| | | code:'编码' |
| | | fileExtension: "文件扩展名", |
| | | inspectionItems: "检查项", |
| | | code: '编码' |
| | | }, |
| | | metadataManage: '元数据管理', |
| | | metadataManage: '源数据管理', |
| | | dataLoading: '数据入库', |
| | | SpatialData: '空间数据管理', |
| | | versionManage: '版本管理', |
| | |
| | | synthesis: { |
| | | import: '导入KML', |
| | | export: '导出KML', |
| | | import1:'导入SHP', |
| | | import1: '导入SHP', |
| | | export1: '导出SHP', |
| | | pipelineAnalysis: '管道分析', |
| | | synthesis: '综合展示', |
| | |
| | | status: '状态', |
| | | careatetime: '申请日期', |
| | | ReApply: '重新申请', |
| | | details: '详情' |
| | | details: '详情', |
| | | ApplicationCancel: "申请取消", |
| | | }, |
| | | downlog: { |
| | | type1: 'Shp文件', |
| | |
| | | std1.push(this.option[i].entity) |
| | | } |
| | | var obj = { |
| | | depcodes: this.insertOption.ids, |
| | | ids: this.insertOption.ids, |
| | | pwd: encr(this.codeForm.password), |
| | | tabs: std, |
| | | entities: std1, |
| | |
| | | <script> |
| | | import queryinfo from "../../views/Tools/queryinfo.vue" |
| | | import $ from 'jquery'; |
| | | import { inquiry_SelectTabs, inquiry_uploadShp, encr } from '../../api/api.js'; |
| | | import { inquiry_SelectTabs, inquiry_uploadShp, encr, dataLib_selectTabs } from '../../api/api.js'; |
| | | import { getToken } from '@/utils/auth'; |
| | | import * as turf from '@turf/turf'; |
| | | export default { |
| | |
| | | } |
| | | }, |
| | | async getAllTable() { |
| | | const data = await inquiry_SelectTabs(); |
| | | const data = await dataLib_selectTabs({ |
| | | pageIndex: 1, |
| | | pageSize: 500 |
| | | }); |
| | | if (data.code != 200) { |
| | | this.$message.error('列表调用失败'); |
| | | } |
| | | var option = data.result; |
| | | |
| | | var option = data.result.filter((res) => { |
| | | if (res.rows != 0) { |
| | | return res; |
| | | } |
| | | }) |
| | | for (var i in option) { |
| | | var val_Data = option[i]; |
| | | val_Data.id = '1' + i; |
| | |
| | | formData.append(val[i].name, val[i]); // fs.files[i].name,file |
| | | } |
| | | } |
| | | |
| | | if (count != 4) { |
| | | |
| | | this.$message({ |
| | |
| | | if (rs.code !== 200) { |
| | | return this.$message.error('用户角色请求错误'); |
| | | } |
| | | this.$store.state.mapMenuShpFile = rs.result; |
| | | |
| | | this.$store.state.mapMenuShpFile = rs.result.wkt; |
| | | this.showMapMenuPop(); |
| | | }, |
| | | error: (e) => { |
| | |
| | | queryLayer: '', |
| | | }, |
| | | layerData: [ |
| | | { |
| | | id: 1, |
| | | label: '基础数据', |
| | | tabDesc: '基础数据', |
| | | value: 'BD', |
| | | children: [], |
| | | }, |
| | | { |
| | | id: 2, |
| | | label: '业务数据', |
| | | tabDesc: '业务数据', |
| | | value: 'BS', |
| | | children: [], |
| | | }, |
| | | // { |
| | | // id: 1, |
| | | // label: '基础数据', |
| | | // tabDesc: '基础数据', |
| | | // value: 'BD', |
| | | // children: [], |
| | | // }, |
| | | // { |
| | | // id: 2, |
| | | // label: '业务数据', |
| | | // tabDesc: '业务数据', |
| | | // value: 'BS', |
| | | // children: [], |
| | | // }, |
| | | ], |
| | | defaultProps: { |
| | | children: 'children', |
| | |
| | | @click="handleApplyCancel(scope.$index, scope.row)" |
| | | v-if="matchState(scope,/[]/)" |
| | | plain |
| | | >{{$t('dataApply.type1')}}</el-button> |
| | | >{{$t('dataApply.ApplicationCancel')}}</el-button> |
| | | <el-button |
| | | type="warning" |
| | | size="mini" |
| | |
| | | return; |
| | | } |
| | | this.downloadLogVisible = false; |
| | | |
| | | var obj = { |
| | | entities: [this.listTypeData.name], // bpachydrogeology,bhydrogeologyattach |
| | | filter: this.listTypeData.filter, |
| | | pwd: encrypt.encrypt(this.codeForm.password) |
| | | pwd: encrypt.encrypt(this.codeForm.password), |
| | | depcodes: [this.listData.depcode], |
| | | dirs: this.listData.dirs |
| | | |
| | | }; |
| | | this.loading = true; |
| | | var that = this; |
| | |
| | | var data2 = domains.result; |
| | | this.formInline.fileName = "" |
| | | var std = []; |
| | | this.filedsOption=[]; |
| | | for (var i in data1) { |
| | | |
| | | if (data1[i].type != 'geomtry' && data1[i].type != 'null') { |
| | |
| | | /deeep/.el-form-item { |
| | | margin-bottom: 0px; |
| | | } |
| | | /deeep/ .el-dialog__wrapper{ |
| | | z-index: 999; |
| | | .el-dialog__wrapper { |
| | | z-index: 9999; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | window.model.deleteObject(); |
| | | window.model = null; |
| | | } |
| | | sgworld.Analysis.clearCurtainContrast(); |
| | | if (this.isMenuFlag == "d") { |
| | | this.clearAllAnalsy(); |
| | | } |
| | | if (this.isMenuFlag != res.id) { |
| | | if (this.isMenuFlag !=val) { |
| | | sgworld.Creator.SimpleGraphic.clear(); |
| | | this.isMenuFlag = val; |
| | | if (this.entityaLayers.length != 0) { |
| | |
| | | > |
| | | <i class="el-icon-edit"></i> 修改节点 |
| | | </div> |
| | | <div |
| | | class="edit" |
| | | @click="showLayerAttribute()" |
| | | > |
| | | <i class="el-icon-edit"></i> 属性 |
| | | </div> |
| | | <!-- <div |
| | | class="edit" |
| | | @click="menuMoveF( 'up')" |
| | |
| | | >确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <queryinfo ref="queryinfo" /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import Image from 'ol/layer/Image'; |
| | | import GeoJSON from 'ol/format/GeoJSON.js'; |
| | | import Map from 'ol/Map.js'; |
| | | |
| | | import queryinfo from './queryinfo.vue'; |
| | | import { Vector as VectorSource } from "ol/source"; |
| | | import { Vector as VectorLayer, } from "ol/layer"; |
| | | |
| | |
| | | import { perms_selectLayers } from '../../api/api.js' |
| | | export default { |
| | | name: 'tree', |
| | | components: { queryinfo }, |
| | | data() { |
| | | return { |
| | | eleId: '', |
| | |
| | | |
| | | this.$refs.tree.remove(this.currentNode); |
| | | }, |
| | | //属性显示 |
| | | showLayerAttribute(data) { |
| | | this.foo(); |
| | | this.currentData = data ? data : this.currentData; |
| | | var layer = this.currentData.layer.replaceAll('_', ""); |
| | | this.$store.state.mapSpaceQueryLayer = layer; |
| | | // this.$store.state.mapPopBoolean = true; |
| | | this.$store.state.mapPopBoxFlag = '2'; |
| | | this.$refs && this.$refs.queryinfo && this.$refs.queryinfo.close(); |
| | | this.$refs && this.$refs.queryinfo && this.$refs.queryinfo.open("属性", null, { |
| | | close: () => { |
| | | |
| | | if (this.$store.state.primitLayer != null) { |
| | | sgworld.Creator.DeleteObject(this.$store.state.primitLayer); |
| | | this.$store.state.primitLayer = null; |
| | | } |
| | | |
| | | if (window.Viewer.scene.primitives.length != 0) { |
| | | window.Viewer.scene.primitives.removeAll() |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | // 编辑节点 |
| | | editNode(data) { |
| | | |
| | |
| | | return this.$message.error("图层列表查询失败"); |
| | | |
| | | } |
| | | |
| | | this.newData = data.result; |
| | | this.oriData = data.result; |
| | | var std = []; |
| | |
| | | } else if (data.result[i].type == 2) { |
| | | |
| | | if (data.result[i].url != null) { |
| | | |
| | | var layer_entity = { |
| | | id: data.result[i].id, |
| | | pid: data.result[i].pid, |
| | |
| | | resource: data.result[i].url, |
| | | type: data.result[i].type, |
| | | isEdit: false, |
| | | layer: data.result[i].enName, |
| | | layerType: data.result[i].serveType |
| | | } |
| | | layer_list.push(layer_entity) |