| | |
| | | height: 32px; |
| | | line-height: 32px; |
| | | width: 120px; |
| | | text-align: left; |
| | | } |
| | | |
| | | .edit-line-btn-box { |
| | |
| | | position = new global.DC.Position(Number(position[0]), Number(position[1])) |
| | | let label = new global.DC.Label(position, item.name) |
| | | label.attrParams = { 'id': item.id, item } |
| | | console.log(item, `${item.width}px`, 123) |
| | | label.setStyle({ |
| | | 'fillColor': color, |
| | | "font": `${item.width}px sans-serif`, |
| | |
| | | overlay.attrParams.linePositionStr = linePosition |
| | | overlay.attrParams.polygonPositionStr = positionStr |
| | | overlay.attrParams.color = params.color |
| | | overlay.attrParams.width = params.width |
| | | |
| | | let areaPolygon = new global.DC.Polygon(positionStr) |
| | | drawLayers.addOverlay(areaPolygon) |
| | |
| | | * @return {*} |
| | | */ |
| | | getRegionList (positionNewStr) { |
| | | console.log(positionNewStr) |
| | | getRegionList({ page: 1, count: 15, range: positionNewStr }).then(res => { |
| | | let monitorData = res.data.data.list |
| | | this.initMonitoringIcon(monitorData) |
| | |
| | | // 清除定时器 |
| | | if (realPoliceTimer != {}) { |
| | | for (let item in realPoliceTimer) { |
| | | console.log(`定时器realPoliceTimer[${item}]关闭了`) |
| | | clearInterval(realPoliceTimer[item]) |
| | | } |
| | | } |
| | |
| | | */ |
| | | clearLayerIconForMap (layerName) { |
| | | realPoliceTimer[layerName] && clearInterval(realPoliceTimer[layerName]) |
| | | console.log(`定时器realPoliceTimer[${layerName}]关闭了`) |
| | | this.$EventBus.$emit('mapClearLayer', { |
| | | layerName: layerName, |
| | | type: 'VectorLayer' |
| | |
| | | |
| | | // 定时查找实时警力资源 |
| | | searchRealResources (layerName) { |
| | | console.log(`定时器realPoliceTimer[${layerName}]开启了`) |
| | | console.log(`定时器[${layerName}]开启了`) |
| | | let type = '' |
| | | if (layerName == 'activityCarLayers') { |
| | | type = 0 |
| | |
| | | // 清除定时器 |
| | | if (realPoliceTimer != {}) { |
| | | for (let item in realPoliceTimer) { |
| | | console.log(`定时器realPoliceTimer[${item}]关闭了`) |
| | | clearInterval(realPoliceTimer[item]) |
| | | } |
| | | } |
| | |
| | | <div class="two"> |
| | | <div> |
| | | <div>98</div> |
| | | <div>户籍人口</div> |
| | | </div> |
| | | <div> |
| | | <div>户籍人口</div> |
| | | </div> |
| | | <div> |
| | | <div style="color:#0E88FF">20</div> |
| | | <div>流动人口</div> |
| | | </div> |
| | |
| | | <div> |
| | | <div>120</div> |
| | | <div>出租</div> |
| | | </div> |
| | | <div> |
| | | <div>160</div> |
| | | <div>自住</div> |
| | | </div> |
| | | <div> |
| | | <div>8</div> |
| | | <div>空置</div> |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | <div> |
| | | <div>160</div> |
| | | <div>自住</div> |
| | | </div> |
| | | <div> |
| | | <div>8</div> |
| | | <div>空置</div> |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | <div class="house-element-info" v-if="isShowHouseBox"> |
| | | <!-- 选择单元 --> |
| | | <div class="condo" v-show="isShowUnitChoose"> |
| | |
| | | <div> |
| | | <span class="zizhu"></span> |
| | | 自住 |
| | | </div> |
| | | <div> |
| | | <span class="kongzhi"></span> |
| | | 空置 |
| | | </div> |
| | | <div> |
| | | <span class="shangye"></span> |
| | | 商业 |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | <div> |
| | | <span class="kongzhi"></span> |
| | | 空置 |
| | | </div> |
| | | <div> |
| | | <span class="shangye"></span> |
| | | 商业 |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | <el-main v-loading="pictLoading" element-loading-background="rgba(17, 38, 163, .1)" |
| | | element-loading-text="数据正在加载中" element-loading-spinner="el-icon-loading" |
| | | v-show="isShowHouseBox"> |
| | |
| | | <!-- :class="[{ 'chuzu': value.houseType == '出租' }, { 'zizhu': value.houseType == '自住' }, { 'kongzhi': value.houseType == '空置' }, { 'shangye': value.houseType == '商业' }]" --> |
| | | {{ value.properties.fojcu }} |
| | | <!-- <div class="flow"></div> |
| | | <div class="focus"></div> |
| | | <div class="warning"></div>--> |
| | | <div class="focus"></div> |
| | | <div class="warning"></div>--> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | } |
| | | }, |
| | | |
| | | |
| | | // 大搜之搜索面详细数据(停车场出入口商场、 小区名称类型地址、楼栋数据) |
| | | getSearchExtensivelyBgAoiDeepdata (ak, region, ids, infos) { |
| | | getSearchExtensivelyBgAoiDeepdata(ak, region, ids, infos).then(res => { |
| | |
| | | |
| | | // 小区范围围栏光柱 |
| | | getResidentialQuartersInfo (area_id, adcode) { |
| | | console.log('ResidentialQuartersInfo', area_id, adcode) |
| | | // '6E513C5E5D1611EAB6183C15FB00027B', '361102' |
| | | getResidentialQuartersInfo(area_id, adcode).then(res => { |
| | | let positionStr = '' |
| | |
| | | |
| | | return |
| | | } |
| | | console.log(row) |
| | | console.log('点击了表格', row) |
| | | this.$EventBus.$emit('toPosition', { |
| | | layerName: 'carLayers', |
| | | siteJd: row.lng, |
| | |
| | | data._positions.forEach(item => { |
| | | positionStr = positionStr + item._lng + ',' + item._lat + ';' |
| | | }) |
| | | console.log('positionStr', positionStr) |
| | | let coords = global.DC.GeoTools.polylineBuffer(positionStr, 100) |
| | | let polygon = new global.DC.Polygon(coords) |
| | | let position = '' |
| | |
| | | getSearchExtensively (ak, region, query) { |
| | | getSearchExtensively(ak, region, query).then(res => { |
| | | this.searchExtensivelyArray = res.data.result |
| | | console.log('res.data.result', res.data.result[0].name) |
| | | }) |
| | | }, |
| | | |
| | |
| | | <el-table-column prop="name" label="范围名称" min-width="50%"></el-table-column> |
| | | <el-table-column prop="extent" label="长度km/面积㎡" min-width="50%"> |
| | | <!-- <template slot-scope="scope"> |
| | | <span>{{ scope.row.extent }}</span> |
| | | <span>千米</span> |
| | | </template>--> |
| | | <span>{{ scope.row.extent }}</span> |
| | | <span>千米</span> |
| | | </template>--> |
| | | </el-table-column> |
| | | <el-table-column prop="id" label="操作" min-width="50%"> |
| | | <template slot-scope="scope"> |