| | |
| | | <template> |
| | | <div class="menuPop"> |
| | | <div class="leftBox"> |
| | | <div class="leftDown" v-if="$store.state.download"> |
| | | <div |
| | | class="leftDown" |
| | | v-if="$store.state.download" |
| | | > |
| | | <div @click="getDownloadDep"> |
| | | <el-link icon="el-icon-download"> </el-link> |
| | | </div> |
| | |
| | | <el-table |
| | | :data="tableData" |
| | | ref="dialogPayChannel" |
| | | height="300px" |
| | | height="100%" |
| | | style="width: 100%" |
| | | border |
| | | > |
| | | <el-table-column |
| | | align="center" |
| | |
| | | label="序号" |
| | | width="50" |
| | | /> |
| | | <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-table-column> |
| | | </el-table> |
| | | </div> |
| | | <div class="pagination_box"> |
| | | <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" |
| | |
| | | class="primary" |
| | | size="small" |
| | | @click="download('codeForm')" |
| | | >{{ $t("common.confirm") }}</el-button |
| | | > |
| | | <el-button type="info" size="small" @click="closeDown('codeForm')">{{ |
| | | >{{ $t("common.confirm") }}</el-button> |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="closeDown('codeForm')" |
| | | >{{ |
| | | $t("common.cancel") |
| | | }}</el-button> |
| | | </el-form-item> |
| | |
| | | :before-close="handleInsertClose" |
| | | > |
| | | <div style="width: 100%; max-height: 450px; overflow-y: auto"> |
| | | <el-form ref="form" :model="ruleForm" label-width="100px"> |
| | | <el-form |
| | | ref="form" |
| | | :model="ruleForm" |
| | | label-width="100px" |
| | | > |
| | | <el-form-item label="审核单位"> |
| | | <div> |
| | | <ul> |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button class="primary" size="small" @click="getInsertDown">{{ |
| | | <el-button |
| | | class="primary" |
| | | size="small" |
| | | @click="getInsertDown" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | | <el-button type="info" size="small" @click="closeInsertDown">{{ |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="closeInsertDown" |
| | | >{{ |
| | | $t("common.cancel") |
| | | }}</el-button> |
| | | </el-form-item> |
| | |
| | | .then((_) => { |
| | | this.closeInsertDown(); |
| | | }) |
| | | .catch((_) => {}); |
| | | .catch((_) => { }); |
| | | }, |
| | | closeInsertDown() { |
| | | this.ruleForm = { |
| | |
| | | .then((_) => { |
| | | this.closeDown(); |
| | | }) |
| | | .catch((_) => {}); |
| | | .catch((_) => { }); |
| | | }, |
| | | closeDown() { |
| | | this.dialogVisible = false; |
| | |
| | | }, |
| | | clearQuerInfo() { |
| | | if (this.$store.state.queryInfo.length != 0) { |
| | | sgworld.Creator.SimpleGraphic.clear(); |
| | | for (var i in this.$store.state.queryInfo) { |
| | | sgworld.Viewer.entities.remove(this.$store.state.queryInfo[i]); |
| | | } |
| | |
| | | this.imagePoint = null; |
| | | } |
| | | var wkt = this.$wkt.parse(val1); |
| | | this.setMapLoaction(wkt); |
| | | this.setMapLoaction(wkt, row); |
| | | } |
| | | }, |
| | | setMapLoaction(res) { |
| | |
| | | this.listdata.pageIndex = 1; |
| | | this.listdata.pageSize = 10; |
| | | this.listdata.name = res.entity; |
| | | this.$store.state.propertiesName = res; |
| | | this.getTableDateHidder(); |
| | | }, |
| | | handleSizeChange(val) { |
| | |
| | | }, |
| | | async showAllImage(res) { |
| | | for (var i in res) { |
| | | let properties = res[i]; |
| | | var param = { |
| | | gid: res[i].gid, |
| | | name: this.listdata.name, |
| | |
| | | if (val1) { |
| | | var wkt = this.$wkt.parse(val1); |
| | | // this.getprimitiLayer(wkt); |
| | | this.primitivesAddLayer(wkt); |
| | | this.primitivesAddLayer(wkt, properties); |
| | | } |
| | | } |
| | | }, |
| | |
| | | break; |
| | | } |
| | | }, |
| | | primitivesAddLayer(res) { |
| | | primitivesAddLayer(res, properties) { |
| | | switch (res.type) { |
| | | case "Point": |
| | | var val = Cesium.Cartesian3.fromDegrees( |
| | |
| | | ); |
| | | var point = Viewer.entities.add({ |
| | | position: val, |
| | | properties: properties, |
| | | tag: "properties_point", |
| | | billboard: { |
| | | // 图像地址,URI或Canvas的属性 |
| | | image: SmartEarthRootUrl + "Workers/image/mark.png", |
| | |
| | | }); |
| | | point.billboard.disableDepthTestDistance = Number.POSITIVE_INFINITY; |
| | | this.$store.state.queryInfo.push(point); |
| | | //点击事件 |
| | | window.propertieshandler = new Cesium.ScreenSpaceEventHandler( |
| | | sgworld.Viewer.scene.canvas |
| | | ); |
| | | window.propertieshandler.setInputAction(event => { |
| | | let pick = sgworld.Viewer.scene.pick(event.position); |
| | | // ; |
| | | if (pick && pick.id && pick.id.tag == "properties_point") { |
| | | this.$store.state.propertiesFlag = '1'; |
| | | let properties = pick.id.properties; |
| | | let propertyNames = pick.id.properties.propertyNames; |
| | | let obj = {}; |
| | | obj["eventid"] = properties['_eventid']._value; |
| | | this.attributeData.forEach(item => { |
| | | propertyNames.forEach(itemElement => { |
| | | if (itemElement == item.field) { |
| | | obj[item.alias] = properties[itemElement]._value |
| | | } |
| | | }) |
| | | }) |
| | | this.$store.state.propertiesInfo = obj; |
| | | } |
| | | }, Cesium.ScreenSpaceEventType.LEFT_CLICK); |
| | | break; |
| | | case "LineString": |
| | | case "MultiLineString": |
| | |
| | | } |
| | | }); |
| | | }, |
| | | destroyed() { |
| | | this.$store.state.propertiesFlag = null; |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | |
| | | width: 100%; |
| | | } |
| | | .tableBox { |
| | | height: 327px; |
| | | position: relative; |
| | | height: 89%; |
| | | } |
| | | .rightPage { |
| | | margin-left: 50px; |