| | |
| | | |
| | | dataManage: { |
| | | dataManage: 'Data Manage', |
| | | catalogueManage: 'catalogueManage', |
| | | catalogueManage: 'project management', |
| | | dataUpdata: 'dataUpdata', |
| | | datawarehousing: 'Data warehousing', |
| | | rangeManage: 'Range management', |
| | | dataRetrieval: 'data retrieval', |
| | | dataDownload: 'Data download', |
| | | projectManage: 'project management', |
| | | projectManage: 'Project information', |
| | | dataStatistics: 'data Statistics', |
| | | dataStaticObj: { |
| | | type1: 'Primary module', |
| | |
| | | Histogram: "Histogram", |
| | | Download: "Download", |
| | | }, |
| | | lable1:"Please enter a name", |
| | | lable2:"Please enter a data name", |
| | | lable3:"Please enter a table name", |
| | | lable4:"Please enter a domain name", |
| | | lable5:"Please enter a version name", |
| | | lable6:"Advanced queries", |
| | | lable1: "Please enter a name", |
| | | lable2: "Please enter a data name", |
| | | lable3: "Please enter a table name", |
| | | lable4: "Please enter a domain name", |
| | | lable5: "Please enter a version name", |
| | | lable6: "Advanced queries", |
| | | |
| | | |
| | | |
| | |
| | | }, |
| | | dataManage: { |
| | | dataManage: '数据管理', |
| | | catalogueManage: '目录管理', |
| | | catalogueManage: '项目管理', |
| | | dataUpdata: '数据上传', |
| | | datawarehousing: '数据入库', |
| | | rangeManage: '值域管理', |
| | | dataRetrieval: '数据检索', |
| | | dataDownload: '数据下载', |
| | | projectManage: '项目管理', |
| | | projectManage: '项目信息', |
| | | dataStatistics: '数据统计', |
| | | dataStaticObj: { |
| | | type1: '服务名称', |
| | |
| | | Histogram: "柱状图", |
| | | Download: "下载", |
| | | }, |
| | | lable1:"请输入名称", |
| | | lable2:"请输入数据名称", |
| | | lable3:"请输入表名称", |
| | | lable4:"请输入值域名称", |
| | | lable5:"请输入版本名称", |
| | | lable6:"高级查询", |
| | | lable1: "请输入名称", |
| | | lable2: "请输入数据名称", |
| | | lable3: "请输入表名称", |
| | | lable4: "请输入值域名称", |
| | | lable5: "请输入版本名称", |
| | | lable6: "高级查询", |
| | | |
| | | |
| | | |
| | |
| | | close: () => { |
| | | if (this.$store.state.pipelineEntity.length != 0) { |
| | | for (var i in this.$store.state.pipelineEntity) { |
| | | var item = this.$store.state.pipelineEntity[i]; |
| | | sgworld.Viewer.entities.remove(item); |
| | | sgworld.Viewer.entities.remove(this.$store.state.pipelineEntity[i]); |
| | | } |
| | | } |
| | | }, |
| | |
| | | <div class="pipeLineBox"> |
| | | <div class="headerBox"> |
| | | <div class="elFrom"> |
| | | <el-form ref="form" :model="ruleFrom" label-width="120px"> |
| | | <el-form |
| | | ref="form" |
| | | :model="ruleFrom" |
| | | label-width="120px" |
| | | > |
| | | <el-form-item label="管道中心线"> |
| | | <el-select |
| | | @change="selectChange" |
| | |
| | | </div> |
| | | <div class="transInfo"> |
| | | <div> |
| | | <el-link @click="setTransRight" :underline="false" |
| | | ><i class="el-icon-d-arrow-right"></i |
| | | ></el-link> |
| | | <el-link |
| | | @click="setTransRight" |
| | | :underline="false" |
| | | ><i class="el-icon-d-arrow-right"></i></el-link> |
| | | <br /> |
| | | <el-link @click="setTransLeft" :underline="false" |
| | | ><i class="el-icon-d-arrow-left"></i |
| | | ></el-link> |
| | | <el-link |
| | | @click="setTransLeft" |
| | | :underline="false" |
| | | ><i class="el-icon-d-arrow-left"></i></el-link> |
| | | </div> |
| | | </div> |
| | | <div class="transBox"> |
| | |
| | | </div> |
| | | <div class="sureButton"> |
| | | <div class="suerBox"> |
| | | <el-button @click="setAnalysis" size="small">分析</el-button> |
| | | <el-button @click="clearAnalysis" size="small">取消</el-button> |
| | | <el-button |
| | | @click="setAnalysis" |
| | | size="small" |
| | | >分析</el-button> |
| | | <el-button |
| | | @click="clearAnalysis" |
| | | size="small" |
| | | >取消</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <div class="contentLeft"> |
| | | <div style="float: right; padding: 2px"> |
| | | <el-button @click="showDialogVivable()" size="small" type="info" |
| | | >下载</el-button |
| | | > |
| | | <el-button |
| | | @click="showDialogVivable()" |
| | | size="small" |
| | | type="info" |
| | | >下载</el-button> |
| | | <!-- <el-button |
| | | size="mini" |
| | | type="info" |
| | |
| | | type="info" |
| | | >删除</el-button> --> |
| | | </div> |
| | | <el-table :data="tableData" style="width: 100%" height="70%"> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | height="70%" |
| | | > |
| | | <el-table-column |
| | | align="center" |
| | | type="index" |
| | | :label="$t('operatManage.ELM.index')" |
| | | width="70px" |
| | | /> |
| | | <el-table-column label="定位" width="100" align="center"> |
| | | <el-table-column |
| | | label="定位" |
| | | width="100" |
| | | align="center" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | icon="el-icon-map-location" |
| | |
| | | ></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="acrossName" label="被穿越地物名称" width="180"> |
| | | <el-table-column |
| | | prop="acrossName" |
| | | label="被穿越地物名称" |
| | | width="180" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="acrossLength" label="穿越长度" width="100"> |
| | | <el-table-column |
| | | prop="acrossLength" |
| | | label="穿越长度" |
| | | width="100" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="pipeName" label="管线名称" width="180"> |
| | | <el-table-column |
| | | prop="pipeName" |
| | | label="管线名称" |
| | | width="180" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="segName" label="管段名称" width="180"> |
| | | <el-table-column |
| | | prop="segName" |
| | | label="管段名称" |
| | | width="180" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="remarks" label="备注" width="100"> |
| | | <el-table-column |
| | | prop="remarks" |
| | | label="备注" |
| | | width="100" |
| | | > |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="pagination_box" style="margin-top: 10px"> |
| | | <div |
| | | class="pagination_box" |
| | | style="margin-top: 10px" |
| | | > |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | |
| | | label-width="100px" |
| | | class="codeForm" |
| | | > |
| | | <el-form-item :label="$t('common.passworld')" prop="password"> |
| | | <el-form-item |
| | | :label="$t('common.passworld')" |
| | | prop="password" |
| | | > |
| | | <el-input |
| | | type="password" |
| | | v-model="codeForm.password" |
| | | show-password |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item :label="$t('common.SPassword')" prop="repassword"> |
| | | <el-form-item |
| | | :label="$t('common.SPassword')" |
| | | prop="repassword" |
| | | > |
| | | <el-input |
| | | type="password" |
| | | v-model="codeForm.repassword" |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="info" size="small" @click="download">{{ |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="download" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | | <el-button type="info" size="small" @click="closeDialog">{{ |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="closeDialog" |
| | | >{{ |
| | | $t("common.cancel") |
| | | }}</el-button> |
| | | </el-form-item> |
| | |
| | | } |
| | | }, |
| | | setShowImagePoint(res) { |
| | | var obj = { X: res[0], Y: res[1], Altitude: 1000 }; |
| | | var imageLabel = sgworld.Creator.CreateImageLabel( |
| | | obj, |
| | | SmartEarthRootUrl + "Workers/image/mark.png", |
| | | {}, |
| | | 0, |
| | | "管道空间分析" |
| | | // var obj = { X: res[0], Y: res[1], Altitude: 1000 }; |
| | | // var imageLabel = sgworld.Creator.CreateImageLabel( |
| | | // obj, |
| | | // SmartEarthRootUrl + "Workers/image/mark.png", |
| | | // {}, |
| | | // 0, |
| | | // "管道空间分析" |
| | | // ); |
| | | var val = Cesium.Cartesian3.fromDegrees( |
| | | res[0], |
| | | res[1] |
| | | ); |
| | | this.$store.state.pipelineEntity.push(imageLabel.item); |
| | | sgworld.Navigate.flyToObj(imageLabel.item); |
| | | var point = Viewer.entities.add({ |
| | | position: val, |
| | | billboard: { |
| | | // 图像地址,URI或Canvas的属性 |
| | | image: SmartEarthRootUrl + "Workers/image/mark.png", |
| | | heightReference: Cesium.HeightReference.CLAMP_TO_GROUND, |
| | | // 大小是否以米为单位 |
| | | sizeInMeters: false, |
| | | // 相对于坐标的垂直位置 |
| | | verticalOrigin: Cesium.VerticalOrigin.CENTER, |
| | | // 相对于坐标的水平位置 |
| | | horizontalOrigin: Cesium.HorizontalOrigin.LEFT, |
| | | // 应用于图像的统一比例。比例大于会1.0放大标签,而比例小于会1.0缩小标签。 |
| | | scale: 1.0, |
| | | // 是否显示 |
| | | show: true, |
| | | }, |
| | | }); |
| | | point.billboard.disableDepthTestDistance = Number.POSITIVE_INFINITY; |
| | | this.$store.state.pipelineEntity.push(point); |
| | | sgworld.Navigate.flyToObj(point); |
| | | }, |
| | | setShowImageLine(res) { |
| | | var obj = []; |
| | |
| | | .then((_) => { |
| | | this.closeDialog(); |
| | | }) |
| | | .catch((_) => {}); |
| | | .catch((_) => { }); |
| | | }, |
| | | closeDialog() { |
| | | this.dialogVisible = false; |
| | |
| | | return item.id === id; |
| | | }); |
| | | let data = this.PopupData.splice(index, 1)[0]; |
| | | // data.close && data.close(); |
| | | if(this.$store.state.primitLayer != null){ |
| | | sgworld.Viewer.entities.remove(this.$store.state.primitLayer); |
| | | sgworld.Creator.DeleteObject(this.$store.state.primitLayer); |
| | | this.$store.state.primitLayer = null |
| | | if (this.$store.state.pipelineEntity.length != 0) { |
| | | for (var i in this.$store.state.pipelineEntity) { |
| | | sgworld.Viewer.entities.remove(this.$store.state.pipelineEntity[i]); |
| | | } |
| | | |
| | | } |
| | | |
| | | if (this.$store.state.primitLayer != null) { |
| | | sgworld.Viewer.entities.remove(this.$store.state.primitLayer); |
| | | sgworld.Creator.DeleteObject(this.$store.state.primitLayer); |
| | | this.$store.state.primitLayer = null |
| | | } |
| | | |
| | | }, |
| | | // 打开弹窗 |
| | | open(title, value, style = {}) { |