guanqb
2023-01-30 64e892d2bff0513e621922d09bfda475d0c5c8ad
社区轮播图、警力样式调整、活动监控样式调整
5 files modified
17919 ■■■■■ changed files
package-lock.json 17831 ●●●●● patch | view | raw | blame | history
prod.env.js 4 ●●●● patch | view | raw | blame | history
src/views/activity/index.vue 14 ●●●● patch | view | raw | blame | history
src/views/house/index.vue 69 ●●●● patch | view | raw | blame | history
src/views/police/index.vue 1 ●●●● patch | view | raw | blame | history
package-lock.json
Diff too large
prod.env.js
@@ -27,8 +27,8 @@
    // 视频监控平台
    // 本地开发
    // VUE_APP_OUTER_NET_VIDEO: 'http://192.168.0.126:18185/api',
    VUE_APP_OUTER_NET_VIDEO: 'http://192.168.0.129:18185/api',
    VUE_APP_OUTER_NET_VIDEO: 'http://192.168.0.126:18185/api',
    // VUE_APP_OUTER_NET_VIDEO: 'http://192.168.0.129:18185/api',
    // 内网部署
    VUE_APP_INTRANET_VIDEO: 'http://10.141.11.11:18185/api',
}
src/views/activity/index.vue
@@ -903,7 +903,7 @@
                                scale: 0.5
                            })
                            tc.addTrack(track)
                            let coords = global.DC.GeoTools.polylineBuffer(positionNewArr, 100)
                            let coords = global.DC.GeoTools.polylineBuffer(positionNewArr, 1000000)
                            let polygon = new global.DC.Polygon(coords)
                            polygon.setStyle({
                                material: global.DC.Color.RED.withAlpha(0.4)
@@ -2141,18 +2141,18 @@
    }
    .video6 {
        left: calc(1540 / 1920 * 100vw);
        top: calc(680 / 1080 * 100vh);
    }
    .video7 {
        left: calc(780 / 1920 * 100vw);
        top: calc(680 / 1080 * 100vh);
    }
    .video8 {
    .video7 {
        left: calc(1160 / 1920 * 100vw);
        top: calc(680 / 1080 * 100vh);
    }
    .video8 {
        left: calc(1540 / 1920 * 100vw);
        top: calc(680 / 1080 * 100vh);
    }
}
</style>
src/views/house/index.vue
@@ -68,12 +68,20 @@
                        <div class="progress"></div>
                    </div>
                    <div class="housing-bg">
                        <!-- <img style="height: 100%;" :src="villageInfo.pic_url" alt /> -->
                        <el-image
                            style=" height: 100%"
                            :src="villageInfo.pic_url"
                            :preview-src-list="villageInfo.pic_url_list"
                        ></el-image>
                        <div class="block">
                            <el-carousel height="150px">
                                <el-carousel-item
                                    v-for="item in villageInfo.pic_url_list"
                                    :key="item"
                                >
                                    <el-image
                                        style=" height: 100%"
                                        :src="item"
                                        :preview-src-list="villageInfo.pic_url_list"
                                    ></el-image>
                                </el-carousel-item>
                            </el-carousel>
                        </div>
                    </div>
                    <div class="housing-introduce">
                        <div>
@@ -651,7 +659,7 @@
<script>
import { listQuery, accurateSearch } from "@/utils/search.js"
import { getSearchExtensively, getHouses, getSearchExtensivelyBgAoiDeepdata, getPoliceStationTrees, getVillageInfo, getVillagePersonStatisticInfoByBuildId, getVillagePersonInfo } from '@/api/dept/index.js'
import { getSearchExtensively, getHouses, getSearchExtensivelyBgAoiDeepdata, getPoliceStationTrees, getVillageInfo, getVillagePersonStatisticInfoByBuildId, getVillagePersonInfo, getResidentialQuartersInfo } from '@/api/dept/index.js'
import { getAlarmList } from "@/api/home/index.js"
@@ -747,6 +755,7 @@
        },
    },
    created () {
        this.getResidentialQuartersInfo()
        // 首页跳转社区包含参数
        if (this.$route.query.id) {
            this.getVillageInfo(this.$route.query.id)
@@ -817,19 +826,19 @@
                    this.villageInfo.pic_url_list.push(pic_url_item)
                })
                // 停车场出入口商场
                let deepData = res.data.result[0].deep_infos.deep_info
                this.parkingLotData = []
                this.comeOutData = []
                this.businessData = []
                deepData.forEach(item => {
                    if (item.pc_type == 1) {
                        this.comeOutData.push(item)
                    } else if (item.pc_type == 2) {
                        this.parkingLotData.push(item)
                    } else if (item.pc_type == 4) {
                        this.businessData.push(item)
                    }
                })
                // let deepData = res.data.result[0].deep_infos.deep_info
                // this.parkingLotData = []
                // this.comeOutData = []
                // this.businessData = []
                // deepData.forEach(item => {
                //     if (item.pc_type == 1) {
                //         this.comeOutData.push(item)
                //     } else if (item.pc_type == 2) {
                //         this.parkingLotData.push(item)
                //     } else if (item.pc_type == 4) {
                //         this.businessData.push(item)
                //     }
                // })
                // 小区楼栋数据
                let buildData = res.data.result[0].children_infos
                this.buildingList = []
@@ -1223,6 +1232,26 @@
            this.getVillagePersonInfo('', this.choosedBuildId, this.keyPeopleType == 1 ? '' : this.keyPeopleType, this.peoplePage.currentPage, this.peopleName, this.callPhone)
        },
        getResidentialQuartersInfo () {
            getResidentialQuartersInfo('6E513C5E5D1611EAB6183C15FB00027B', '361102').then(res => {
                console.log(res, 111221)
                // 停车场出入口商场
                // let deepData = res.data.result[0].deep_infos.deep_info
                // this.parkingLotData = []
                // this.comeOutData = []
                // this.businessData = []
                // deepData.forEach(item => {
                //     if (item.pc_type == 1) {
                //         this.comeOutData.push(item)
                //     } else if (item.pc_type == 2) {
                //         this.parkingLotData.push(item)
                //     } else if (item.pc_type == 4) {
                //         this.businessData.push(item)
                //     }
                // })
            })
        },
    },
    destroyed () {
src/views/police/index.vue
@@ -105,6 +105,7 @@
                            :page-count="equimentPage.count"
                            :current-page="equimentPage.currentPage"
                            @current-change="handleCurrentChange"
                            pager-count="5"
                        ></el-pagination>
                    </div>
                </div>