| | |
| | | @click="personTabClick(0)" |
| | | > |
| | | <div class="tab-title-small">户籍人口:</div> |
| | | <div class="tab-title-small">{{ policeStationPersonInfo.total }}人</div> |
| | | <div |
| | | class="tab-title-small" |
| | | >{{ policeStationPersonInfo.total?policeStationPersonInfo.total:0 }}人</div> |
| | | </div> |
| | | <div |
| | | class="tab" |
| | |
| | | @click="personTabClick(1)" |
| | | > |
| | | <div class="tab-title-small">重点人员:</div> |
| | | <div class="tab-title-small">{{ policeStationPersonInfo.emphasisNum }}人</div> |
| | | <div |
| | | class="tab-title-small" |
| | | >{{ policeStationPersonInfo.emphasisNum?policeStationPersonInfo.emphasisNum:0 }}人</div> |
| | | </div> |
| | | <!-- <div class="tab3" :class="{ 'select-on-tab': tabType == 2 }" @click="personTabClick(2)"> |
| | | <div class="num">91995人</div> |
| | |
| | | </div> |
| | | <div class="house-box" style="position: relative;"> |
| | | <div class="box"> |
| | | <div class="title">现有房屋</div> |
| | | <div class="title">现有住宅</div> |
| | | <div class="sub-tab"> |
| | | <div |
| | | class="tab" |
| | |
| | | @click="landTabClick(0)" |
| | | > |
| | | <div class="tab-title-small">小区:</div> |
| | | <div class="tab-title-small">{{ villageNum }}个</div> |
| | | <div class="tab-title-small">{{ villageNum?villageNum:0 }}个</div> |
| | | </div> |
| | | <div |
| | | class="tab" |
| | |
| | | @click="landTabClick(1)" |
| | | > |
| | | <div class="tab-title-small">责任区:</div> |
| | | <div class="tab-title-small">{{ areaNum }}个</div> |
| | | <div class="tab-title-small">{{ areaNum?areaNum:0 }}个</div> |
| | | </div> |
| | | </div> |
| | | <div class="sub-tab" v-else> |
| | | <div class="tab1 select-on-tab"> |
| | | <div class="tab-title-small">小区:</div> |
| | | <div class="tab-title-small">{{ policeVillageNum }}个</div> |
| | | <div class="tab-title-small">{{ policeVillageNum?policeVillageNum:0 }}个</div> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | this.inithouseEcharts() |
| | | this.clickLandChart() |
| | | |
| | | console.log(1312399999) |
| | | console.log(this.userInfo.dept_id, 98999) |
| | | this.getHouseStatisticInfo(this.userInfo.dept_id, 2) |
| | | if (this.userInfo.dept_id != '1123598813738675201') { |
| | |
| | | formatter: params => { |
| | | let msg |
| | | if (params.value > 10000) { |
| | | msg = (params.value / 10000).toFixed(2) + '万人' |
| | | msg = (params.value / 10000).toFixed(2) + '万栋' |
| | | } else { |
| | | msg = params.value + '人' |
| | | msg = params.value + '栋' |
| | | } |
| | | |
| | | msg = `${params.marker}${params.name}<strong style="margin-left:10px">${msg}</strong>'` |
| | |
| | | & > div { |
| | | height: 22px; |
| | | line-height: 22px; |
| | | white-space: nowrap; |
| | | } |
| | | } |
| | | |