guanqb
2022-10-08 cb7a60609c8a13c0bffd4b555147efaff3e27b12
楼层信息弹窗数据修改
2 files modified
29 ■■■■ changed files
src/assets/data/villageHouse.js 2 ●●● patch | view | raw | blame | history
src/views/house/index.vue 27 ●●●● patch | view | raw | blame | history
src/assets/data/villageHouse.js
@@ -5803,7 +5803,7 @@
                            peopleCount: 4,
                            workplace: 'xx区xx路xxx有限公司',
                            peopleType: '流动人口',
                            houseType: '自住'
                            houseType: '自住',
                        },
                        {
                            Doorplate: 102,
src/views/house/index.vue
@@ -283,7 +283,7 @@
                                    <div
                                        v-for="(value,index) in item"
                                        :key="index"
                                        @click="residentDetailsClick(item)"
                                        @click="residentDetailsClick(value)"
                                        :class="[{'chuzu':value.houseType == '出租'},{'zizhu':value.houseType == '自住'},{'kongzhi':value.houseType == '空置'},{'shangye':value.houseType == '商业'}]"
                                    >
                                        {{value.Doorplate}}
@@ -409,25 +409,31 @@
                    style="width: 100%; flex: 1; display: flex; align-items: center; justify-content: space-between;"
                >
                    <div>户主</div>
                    <div>XXX</div>
                    <div>{{houseDate.householderName}}</div>
                </div>
                <div
                    style="width: 100%; flex: 1; display: flex; align-items: center; justify-content: space-between;"
                >
                    <div>联系方式</div>
                    <div>173xxxxxxxx</div>
                    <div>{{houseDate.telephone}}</div>
                </div>
                <div
                    style="width: 100%; flex: 1; display: flex; align-items: center; justify-content: space-between;"
                >
                    <div>人口数量</div>
                    <div>4</div>
                    <div>{{houseDate.peopleCount}}</div>
                </div>
                <div
                    style="width: 100%; flex: 1; display: flex; align-items: center; justify-content: space-between;"
                >
                    <div>上班所在地</div>
                    <div>xx区xx路xxxx有限公司</div>
                    <div>{{houseDate.workplace}}</div>
                </div>
                <div
                    style="width: 100%; flex: 1; display: flex; align-items: center; justify-content: space-between;"
                >
                    <div>房屋类型</div>
                    <div>{{houseDate.houseType}}</div>
                </div>
            </div>
        </el-dialog>
@@ -436,6 +442,7 @@
<script>
import villageHousesList from '@/assets/data/villageHouse.js'
import house from '../../assets/data/house'
export default {
@@ -538,6 +545,7 @@
            lastFloorShow: false,
            nextFloorShow: true,
            levelList: [],
            houseDate: {},
        }
    },
    created () {
@@ -589,8 +597,9 @@
        },
        residentDetailsClick (params) {
            this.residentDetailsTitle = `10${params}住户`
            this.residentDetailsTitle = `${params.Doorplate}住户`
            this.residentDetailsShow = true
            this.houseDate = params
        },
        residentDetailsClose () {
@@ -606,6 +615,10 @@
            this.ridgepoleNum.siteGd = item.alt
            this.$EventBus.$emit('toPosition', this.ridgepoleNum)
            this.floorsType = 1
            document.querySelector(".floor-num").style.left = '0px'
            this.lastFloorShow = false
            this.apartmentValue = '1'
        },
        nextBtn () {
            if (parseInt(document.querySelector(".build-box").offsetWidth) > Math.abs(parseInt(document.querySelector(".build-box").style.left)) + 356) {
@@ -644,6 +657,8 @@
        },
        chooseUnit (value) {
            this.floorsType = 1
            document.querySelector(".floor-num").style.left = '0px'
            this.lastFloorShow = false
            this.levelList = this.ridgepoleNum.unit[value - 1].storey
        },
    },