| | |
| | | class="resident-details-box" |
| | | width="30%" |
| | | > |
| | | <h3 style="text-align:left;margin:10px 0 10px 0">户主信息</h3> |
| | | <el-table |
| | | :data="houseDate.householdsDate" |
| | | :data="houseDate" |
| | | :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }" |
| | | :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75' }" |
| | | > |
| | | <el-table-column prop="name" label="姓名"></el-table-column> |
| | | <el-table-column prop="peopleType" label="重点人员"></el-table-column> |
| | | <el-table-column prop="nation" label="民族"></el-table-column> |
| | | <el-table-column prop="sex" label="性别"></el-table-column> |
| | | <el-table-column prop="age" label="年龄"></el-table-column> |
| | | <el-table-column prop="telephone" label="电话" width="120"></el-table-column> |
| | | <el-table-column prop="workplace" label="工作地" width="180"></el-table-column> |
| | | <el-table-column prop="realName" label="姓名"></el-table-column> |
| | | <el-table-column prop="phone" label="电话"></el-table-column> |
| | | <el-table-column prop="cardNo" label="身份证号"></el-table-column> |
| | | </el-table> |
| | | <!-- <h3 style="text-align:left;margin:10px 0 10px 0">户室人员信息</h3> --> |
| | | <!-- <el-table |
| | | :data="houseDate.householdsDate" |
| | | :data="houseDate" |
| | | :header-cell-style="{'text-align':'center','background-color':'#203c60','borderColor':'#324e75'}" |
| | | :cell-style="{'text-align':'center','borderColor':'#324e75'}" |
| | | > |
| | |
| | | |
| | | <script> |
| | | import { listQuery, accurateSearch } from "@/utils/search.js" |
| | | // import housingData from '@/assets/data/housingData.js' |
| | | import { getSearchExtensively, getHouses, getSearchExtensivelyBgAoiDeepdata, getPoliceStationLazyTree, getVillageInfo, getVillagePersonStatisticInfoByBuildId } from '@/api/dept/index.js' |
| | | import { getSearchExtensively, getHouses, getSearchExtensivelyBgAoiDeepdata, getPoliceStationLazyTree, getVillageInfo, getVillagePersonStatisticInfoByBuildId, getVillagePersonInfo } from '@/api/dept/index.js' |
| | | import { getAlarmList } from "@/api/home/index.js" |
| | | |
| | | |
| | |
| | | subNavType: 1, |
| | | lastFloorShow: false, |
| | | nextFloorShow: true, |
| | | houseDate: {}, |
| | | // housingData: { |
| | | // name: '', |
| | | // img: '/img/housing/one.jpg', |
| | | // classify: '住宅区', |
| | | // area: 'xxx警务室', |
| | | // principal: '王敦顿', |
| | | // address: '江西省上饶市市广信区信美路18号' |
| | | // }, |
| | | houseDate: [], |
| | | searchValue: '', |
| | | searchArray: [], |
| | | searchValBoxShow: false, |
| | |
| | | this.getVillageInfo(this.$route.query.id) |
| | | // 使用首页传过来的小区id获取停车场出入口商场和 小区名称类型地址数据 |
| | | this.getSearchExtensivelyBgAoiDeepdata('ebf48ecaa1fd436fa3d40c4600aa051f', '361100', this.$route.query.id, '1|3') |
| | | |
| | | } else {// 直接进入社区默认小区数据(万达华府) |
| | | console.log(this.$route.query.id, 6666666) |
| | | // 默认获取万达广场的责任民警及所属辖区 |
| | |
| | | }, |
| | | |
| | | residentDetailsClick (params) { |
| | | this.residentDetailsTitle = `${params.Doorplate}住户` |
| | | this.getVillagePersonInfo(params.house_id) |
| | | this.residentDetailsTitle = `${params.house_num}住户信息` |
| | | this.residentDetailsShow = true |
| | | this.houseDate = params |
| | | }, |
| | | |
| | | residentDetailsClose () { |
| | |
| | | |
| | | // 获取历史接警记录 |
| | | getAlarmList () { |
| | | getAlarmList({ current: this.callPolicePage.currentPage, size: this.pagesize, sfdz: this.housingData.name }).then(res => { |
| | | getAlarmList({ current: this.callPolicePage.currentPage, size: this.pagesize, sfdz: this.villageInfo.name }).then(res => { |
| | | this.callPolicePage.count = res.data.data.pages |
| | | |
| | | this.callPoliceData = [] |
| | |
| | | // 分页选择事件 |
| | | handleCurrentChange: function (currentPage) { |
| | | this.callPolicePage.currentPage = currentPage |
| | | |
| | | // this.getAlarmList() |
| | | }, |
| | | |
| | |
| | | }) |
| | | }, |
| | | |
| | | // 房屋人口信息 |
| | | getVillagePersonInfo (resBusId) { |
| | | getVillagePersonInfo(resBusId).then(res => { |
| | | this.houseDate = res.data.data.records |
| | | }) |
| | | }, |
| | | |
| | | }, |
| | | |
| | | destroyed () { |