guanqb
2023-05-18 90f676dae3afea1298fbd73eebb193324428b4b8
社区感知调整
2 files modified
76 ■■■■ changed files
src/styles/media/index.scss 10 ●●●●● patch | view | raw | blame | history
src/views/house/index.vue 66 ●●●● patch | view | raw | blame | history
src/styles/media/index.scss
@@ -791,15 +791,17 @@
                                                            .flow,
                                                            .focus,
                                                            .warning {
                                                                right: countSizeVw(4, 1920);
                                                                width: countSizeVw(6, 1920);
                                                                height: countSizeVh(6);
                                                                // right: countSizeVw(0, 1920);
                                                                left: countSizeVw(2, 1920);
                                                                width: countSizeVh(10);
                                                                height: countSizeVh(10);
                                                            }
                                                            .flow {
                                                                // top: calc((100% - countSizeVh(18)) / 4);
                                                                // top: calc((100% / 3) - countSizeVh(3));
                                                                top: calc(50% - countSizeVh(3));
                                                                // top: calc(50% - countSizeVh(3));
                                                                top: countSizeVh(2);
                                                            }
                                                            .focus {
src/views/house/index.vue
@@ -108,7 +108,7 @@
                                        <div>未关联</div>
                                    </div>
                                    <div>
                                        <div style="color:#eeee00">{{ villageInfo.unexaminedNumber ?
                                        <div style="color:#ee0000">{{ villageInfo.unexaminedNumber ?
                                            villageInfo.unexaminedNumber :
                                            '0' }}</div>
                                        <div>未核实</div>
@@ -222,6 +222,37 @@
                                </div>
                            </div>
                        </div>
                        <div class="people-info" v-if="isShowHouseBox">
                            <div class="title">户室情况</div>
                            <div class="content">
                                <div class="one">
                                    <div>
                                        <div style="color:#2a91f5">{{ buildingInfo.busTotalNumber ?
                                            buildingInfo.busTotalNumber :
                                            '0' }}</div>
                                        <div>户室总数</div>
                                    </div>
                                    <div>
                                        <div style="color:#eeeeee">{{ buildingInfo.uncorrelatedNumber ?
                                            buildingInfo.uncorrelatedNumber :
                                            '0' }}</div>
                                        <div>未关联</div>
                                    </div>
                                    <div>
                                        <div style="color:#ee0000">{{ buildingInfo.unexaminedNumber ?
                                            buildingInfo.unexaminedNumber :
                                            '0' }}</div>
                                        <div>未核实</div>
                                    </div>
                                    <div>
                                        <div style="color:#00ee00">{{ buildingInfo.verifiedNumber ?
                                            buildingInfo.verifiedNumber
                                            : '0' }}</div>
                                        <div>已核实</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="house-element-info" v-if="isShowHouseBox">
                            <!-- 选择单元 -->
                            <div class="condo" v-show="isShowUnitChoose">
@@ -243,7 +274,7 @@
                                    </div>
                                    <div>
                                        <span
                                            style="width: 10px; height: 10px; background: #eeee00; border-radius: 50%;"></span>
                                            style="width: 10px; height: 10px; background: #ee0000; border-radius: 50%;"></span>
                                        未核实
                                    </div>
                                    <div>
@@ -290,7 +321,7 @@
                                                @click="residentDetailsClick(value)"
                                                :class="{ on: floorChoosed == value.sname }">{{ value.sname }}室
                                                <div class="flow"
                                                    :class="[value.isBus == '1' ? 'yellow' : '', value.isBus == '2' ? 'grey' : '', value.isBus == '3' ? 'green' : '']">
                                                    :class="[value.isBus == '1' ? 'red' : '', value.isBus == '2' ? 'grey' : '', value.isBus == '3' ? 'green' : '']">
                                                </div>
                                            </div>
                                        </div>
@@ -819,7 +850,8 @@
            residentCodeUrl: '',
            unitChoosed3DList: [],
            curHousingHWTXAYjpca: '',
            personConnectionData: []
            personConnectionData: [],
            buildingInfo: {},
        }
    },
@@ -911,8 +943,6 @@
                global.viewer.addLayer(wallLayer)
            }
            // console.log('JQSmychart', JQSmychart)
            let option = {
                series: [
                    {
@@ -938,12 +968,16 @@
        // 查询当前楼栋下户室信息(是否关联)
        getPersonConnectionConditionByBuildingId (params) {
            getPersonConnectionConditionByBuildingId(params).then(res => {
                console.log(res.data.data, 'getPersonConnectionConditionByBuildingId')
                this.personConnectionData = res.data.data
                this.personConnectionData = res.data.data.list
                //未关联户室数  uncorrelatedNumber-未核实户室数 unexaminedNumber-已核实户室数 verifiedNumber-户室总数 busTotalNumber
                this.buildingInfo.uncorrelatedNumber = res.data.data.uncorrelatedNumber
                this.buildingInfo.unexaminedNumber = res.data.data.unexaminedNumber
                this.buildingInfo.verifiedNumber = res.data.data.verifiedNumber
                this.buildingInfo.busTotalNumber = res.data.data.busTotalNumber
                this.unitChoosedArr.forEach(item => {
                    item.children_infos.forEach(it => {
                        let residentId = it.std_addr_id.split('|')[2]
                        res.data.data.forEach(one => {
                        res.data.data.list.forEach(one => {
                            if (one.busId == residentId) {
                                it.isBus = one.isBus
                            }
@@ -1396,7 +1430,6 @@
                            this.isHaveResidentData = true
                        })
                    } else if (res.data.result[0].children_infos[0].exttype == 'floor') {
                        console.log(1)
                        let houseUintList = res.data.result[0]
                        this.isShowHouseBox = true
                        this.isShowBuildListBox = false
@@ -2988,16 +3021,17 @@
                                        .focus,
                                        .warning {
                                            position: absolute;
                                            right: 4px;
                                            width: 6px;
                                            height: 6px;
                                            right: 2px;
                                            width: 10px;
                                            height: 10px;
                                            border-radius: 50%;
                                        }
                                        .flow {
                                            // top: calc((100% - 18px) / 4);
                                            // top: calc((100% / 3) - 3px);
                                            top: calc(50% - 3px);
                                            // top: calc(50% - 3px);
                                            top: 2px;
                                            // background: rgb(14, 136, 255);
                                            background: rgb(238, 238, 238);
                                        }
@@ -3025,6 +3059,10 @@
                                        .grey {
                                            background: rgb(238, 238, 238);
                                        }
                                        .red {
                                            background: rgb(238, 0, 0);
                                        }
                                    }
                                    &>.on {