| | |
| | | <div class="progress"></div> |
| | | </div> |
| | | <div class="housing-bg"> |
| | | |
| | | |
| | | <img :src="villageInfo.pic_url" alt="" v-show="villageInfo.pic_url"> |
| | | <el-empty :image-size="120" description="暂无照片" |
| | | v-show="!villageInfo.pic_url && isHaveNoPic == true"></el-empty> |
| | |
| | | <div class="floor-content" v-show="subNavType == 1"> |
| | | <el-main v-loading="BuildListLoading" element-loading-background="rgba(0, 0, 0, 0.2)" |
| | | element-loading-text="数据正在加载中" element-loading-spinner="el-icon-loading" |
| | | style="overflow:hidden;padding:0px;"> |
| | | style="overflow:hidden;padding:0px;" class="build-item"> |
| | | |
| | | <div class="build-info"> |
| | | <div class="build-info" v-show="!BuildListLoading"> |
| | | <div class="nextBtn" @click="lastBtn" v-show="lastBtnShow == true"> |
| | | <i class="el-icon-caret-left"></i> |
| | | </div> |
| | |
| | | <!-- :class="[{ 'chuzu': value.houseType == '出租' }, { 'zizhu': value.houseType == '自住' }, { 'kongzhi': value.houseType == '空置' }, { 'shangye': value.houseType == '商业' }]" --> |
| | | {{ value.properties.fojcu }} |
| | | <!-- <div class="flow"></div> |
| | | <div class="warning"></div>--> |
| | | <div class="warning"></div>--> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | |
| | | <div class="police-info" v-if="navType == 1" ref="policeTableBox"> |
| | | <el-table :data="callPoliceData" style="width: 100%" :height="currentTableHeight" |
| | | :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }" |
| | | :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75' }" |
| | | :row-class-name="tableRowClassName" @row-click="clickData" empty-text="暂无警情信息"> |
| | | <el-table-column prop="JJDWMC" :show-overflow-tooltip="true" label="接警单位" |
| | | min-width="34%"></el-table-column> |
| | | <el-table-column label="报警时间" min-width="26%"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.BJSJ.substring(0, 10) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="JJYXM" :show-overflow-tooltip="true" label="接警员" |
| | | min-width="20%"></el-table-column> |
| | | <el-table-column prop="BJRXM" :show-overflow-tooltip="true" label="报警人" |
| | | min-width="20%"></el-table-column> |
| | | </el-table> |
| | | <el-main v-loading="policeInfoLoading" element-loading-text="拼命加载中" |
| | | element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.2)"> |
| | | <el-table :data="callPoliceData" style="width: 100%" :height="currentTableHeight" |
| | | :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }" |
| | | :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75' }" |
| | | :row-class-name="tableRowClassName" @row-click="clickData" :empty-text="jqNoDataText"> |
| | | <el-table-column prop="JJDWMC" :show-overflow-tooltip="true" label="接警单位" |
| | | min-width="34%"></el-table-column> |
| | | <el-table-column label="报警时间" min-width="26%"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.BJSJ.substring(0, 10) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="JJYXM" :show-overflow-tooltip="true" label="接警员" |
| | | min-width="20%"></el-table-column> |
| | | <el-table-column prop="BJRXM" :show-overflow-tooltip="true" label="报警人" |
| | | min-width="20%"></el-table-column> |
| | | </el-table> |
| | | |
| | | <div class="pages all-pagination-sty" ref="ElPagination"> |
| | | <el-pagination background layout="prev, pager, next" :page-size="callPolicePage.pageSize" |
| | | :page-count="callPolicePage.count" :current-page="callPolicePage.currentPage" |
| | | @current-change="handleCurrentChange"></el-pagination> |
| | | </div> |
| | | <div class="pages all-pagination-sty" ref="ElPagination"> |
| | | <el-pagination background layout="prev, pager, next" :page-size="callPolicePage.pageSize" |
| | | :page-count="callPolicePage.count" :current-page="callPolicePage.currentPage" |
| | | @current-change="handleCurrentChange"></el-pagination> |
| | | </div> |
| | | </el-main> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </el-dialog> |
| | | |
| | | <el-dialog :title="keyPersonTitle" :modal="false" :visible.sync="keyPersonVisible" |
| | | :before-close="keyPersonBeforeClose" :close-on-click-modal="true" class="keyPerson-details-box"> |
| | | :before-close="keyPersonBeforeClose" :close-on-click-modal="true" class="keyPerson-details-box-two"> |
| | | <div class="header"> |
| | | <div> |
| | | 姓名: |
| | |
| | | element-loading-background="rgba(0, 0, 0, 0.2)"> |
| | | <el-table :data="personDetailArr" style="width: 100%" |
| | | :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }" |
| | | :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'default' }"> |
| | | :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'default' }" |
| | | :empty-text="peopleNoDataText"> |
| | | <el-table-column label="序号" type="index" width="50" align="center"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ (peoplePage.currentPage - 1) * peoplePage.pageSize + scope.$index + 1 }}</span> |
| | |
| | | <el-table-column prop="policeStationName" label="所属派出所"></el-table-column> |
| | | <el-table-column prop="areaName" label="所属责任区"></el-table-column> |
| | | </el-table> |
| | | <div class="pages all-pagination-sty" ref="tablePagination"> |
| | | <div class="pages all-pagination-sty" ref="tablePagination" v-show="!keyPeopleLoading"> |
| | | <el-pagination background layout="prev, pager, next" :page-size="peoplePage.pageSize" |
| | | :total="peoplePage.total" :current-page="peoplePage.currentPage" |
| | | @current-change="peopleHandleCurrentChange"></el-pagination> |
| | |
| | | return { |
| | | // 下拉搜索--树状数据相关 |
| | | searchTreeShowFlag: false, |
| | | peopleNoDataText: '暂无人口数据', |
| | | peopleNoDataText: ' ', |
| | | jqNoDataText: ' ', |
| | | keyPeopleLoading: false, |
| | | policeInfoLoading: false, |
| | | isHaveNoPic: false, |
| | | residentLoading: false, |
| | | searchTreeName: "", |
| | |
| | | circleLayer = null |
| | | } |
| | | this.subNavType = 1 |
| | | this.getResidentialQuartersInfo(current.id, "361102") |
| | | this.getSearchExtensivelyBgAoiDeepdata( |
| | | "ebf48ecaa1fd436fa3d40c4600aa051f", |
| | | "361100", |
| | |
| | | this.navType = e.target.dataset.type |
| | | |
| | | if (this.navType == 1) { |
| | | this.policeInfoLoading = true |
| | | this.jqNoDataText = ' ' |
| | | this.callPolicePage.currentPage = 1 |
| | | this.getAlarmList() |
| | | } else { |
| | |
| | | getSearchExtensivelyBgAoiDeepdata (ak, region, ids, infos) { |
| | | this.villageInfoLoading = true |
| | | this.BuildListLoading = true |
| | | this.buildingList = [] |
| | | getSearchExtensivelyBgAoiDeepdata(ak, region, ids, infos).then((res) => { |
| | | let baseUrl |
| | | if (process.env.NODE_ENV == "development") { |
| | |
| | | baseUrl = "http://10.141.11.11/" |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | // 小区名称类型地址 |
| | | let villageData = res.data.result[0] |
| | |
| | | res.data.result[0].deep_infos.deep_info.length |
| | | ) { |
| | | let deepData = res.data.result[0].deep_infos.deep_info |
| | | console.log("deepData------", deepData) |
| | | this.parkingLotData = [] |
| | | this.comeOutData = [] |
| | | this.businessData = [] |
| | |
| | | res.data.result[0].children_infos.length |
| | | ) { |
| | | let buildData = res.data.result[0].children_infos |
| | | this.buildingList = [] |
| | | buildData.forEach((item) => { |
| | | this.buildingList.push({ |
| | | name: `${item.sname}`, |
| | |
| | | |
| | | if (res.data != null && houseData.nwwqd.features != []) { |
| | | let unitData = houseData.nwwqd.features |
| | | console.log(unitData.length, 223366) |
| | | this.floorInfo.house_num = unitData.length |
| | | if (houseData.hwtxa.features.length > 1) { |
| | | this.isShowUnitChoose = true |
| | |
| | | this.floorInfo.floor_num = item.floor_num |
| | | // 获取户籍人口重点人口数据 |
| | | this.choosedBuildId = item.build_id |
| | | // 重点人口户籍人口 |
| | | this.getVillagePersonStatisticInfoByBuildId(item.build_id) |
| | | // 楼栋单元楼层户室查询 |
| | | this.getHouses(item.build_id, "361102", aoiArr) |
| | | console.log("buildingClick-end") |
| | | this.floorsType = 1 |
| | |
| | | siteWd: `${row.y}`, |
| | | siteGd: 1000, |
| | | }) |
| | | this.$EventBus.$emit("layerPointAdd", { |
| | | layerName: "deepDataLayer", |
| | | type: "label", |
| | | params: { |
| | | lng: `${row.x}`, |
| | | lat: `${row.y}`, |
| | | alt: 1, |
| | | text: row.name, |
| | | }, |
| | | |
| | | var popup = new global.DC.DivForms(global.viewer, { |
| | | domId: 'houseDeepDataPopup', |
| | | position: [ |
| | | global.DC.Transform.transformWGS84ToCartesian( |
| | | new global.DC.Position( |
| | | Number(row.x), |
| | | Number(row.y), |
| | | 0 |
| | | ) |
| | | ) |
| | | ] |
| | | }) |
| | | |
| | | this.$EventBus.$emit("layerPointAdd", { |
| | | layerName: "deepDataLayer", |
| | | type: "billboard", |
| | |
| | | this.keyPeopleType = status |
| | | this.peoplePage.currentPage = 1 |
| | | this.keyPersonTitle = status == 1 ? "户籍人口详情" : "重点人口详情" |
| | | this.peopleNoDataText = status == 1 ? "暂无户籍人口数据" : "暂无重点人口数据" |
| | | this.peopleNoDataText = ' ' |
| | | this.keyPeopleLoading = true |
| | | this.personDetailArr = [] |
| | | this.getVillagePersonInfo( |
| | | "", |
| | | this.choosedBuildId, |
| | |
| | | |
| | | // 获取历史接警记录 |
| | | getAlarmList () { |
| | | circleLayer.clear() |
| | | circleLayer.remove() |
| | | circleLayer = null |
| | | if (circleLayer != null) { |
| | | circleLayer.clear() |
| | | circleLayer.remove() |
| | | circleLayer = null |
| | | } |
| | | |
| | | circleLayer = new global.DC.PrimitiveLayer("circleLayer") |
| | | global.viewer.addLayer(circleLayer) |
| | | |
| | |
| | | lat: item.ZDDWYZB, |
| | | } |
| | | }) |
| | | |
| | | this.callPoliceData.forEach((item, index) => { |
| | | if (item.lng != "" && item.lat != "") { |
| | | let center = new global.DC.Position(item.lng, item.lat) |
| | |
| | | }) |
| | | } else { |
| | | this.callPoliceData = [] |
| | | setTimeout(() => { |
| | | this.jqNoDataText = '暂无报警信息' |
| | | this.policeInfoLoading = false |
| | | }, 500) |
| | | } |
| | | |
| | | this.setTableHeight() |
| | | }).catch(res => { |
| | | setTimeout(() => { |
| | | this.jqNoDataText = '暂无报警信息' |
| | | this.policeInfoLoading = false |
| | | }, 500) |
| | | }) |
| | | }, |
| | | |
| | |
| | | // 分页选择事件 |
| | | handleCurrentChange (currentPage) { |
| | | this.callPolicePage.currentPage = currentPage |
| | | this.policeInfoLoading = true |
| | | this.jqNoDataText = ' ' |
| | | this.getAlarmList() |
| | | }, |
| | | |
| | | peopleHandleCurrentChange (currentPage) { |
| | | this.keyPeopleLoading = true |
| | | this.peoplePage.currentPage = currentPage |
| | | this.personDetailArr = [] |
| | | this.getVillagePersonInfo( |
| | | "", |
| | | this.choosedBuildId, |
| | |
| | | phone |
| | | ).then((res) => { |
| | | if (buildId) { |
| | | this.personDetailArr = res.data.data.records |
| | | setTimeout(() => { |
| | | this.personDetailArr = res.data.data.records |
| | | }, 500) |
| | | |
| | | this.peoplePage.pageSize = res.data.data.size |
| | | this.peoplePage.total = res.data.data.total |
| | | setTimeout(() => { |
| | | this.keyPeopleLoading = false |
| | | this.residentLoading = false |
| | | if (res.data.data.records.length == 0) { |
| | | if (status == '') { |
| | | this.peopleNoDataText = '暂无户籍人口信息' |
| | | } else { |
| | | this.peopleNoDataText = '暂无重点人口信息' |
| | | } |
| | | } |
| | | }, 500) |
| | | } else { |
| | | this.houseDate = res.data.data.records |
| | | } |
| | | }).catch((res) => { |
| | | setTimeout(() => { |
| | | this.keyPeopleLoading = false |
| | | this.residentLoading = false |
| | | if (status == '') { |
| | | this.peopleNoDataText = '暂无户籍人口信息' |
| | | } else { |
| | | this.peopleNoDataText = '暂无重点人口信息' |
| | | } |
| | | }, 500) |
| | | }) |
| | | }, |
| | |
| | | this.callPhone = "" |
| | | this.peopleName = "" |
| | | this.peoplePage.currentPage = 1 |
| | | this.personDetailArr = [] |
| | | this.getVillagePersonInfo( |
| | | "", |
| | | this.choosedBuildId, |
| | |
| | | searchPeopleDetail () { |
| | | this.keyPeopleLoading = true |
| | | this.peoplePage.currentPage = 1 |
| | | this.personDetailArr = [] |
| | | this.getVillagePersonInfo( |
| | | "", |
| | | this.choosedBuildId, |
| | |
| | | } |
| | | |
| | | .police-info { |
| | | .el-main { |
| | | padding: 0; |
| | | } |
| | | |
| | | .tableClass { |
| | | margin: 0 auto; |
| | | width: 600px; |