shuishen
2023-04-05 d4eeffad89e7910b22738c899cfbc5caa2cd335d
社区更改
4 files modified
41 ■■■■■ changed files
src/api/dept/index.js 2 ●●● patch | view | raw | blame | history
src/components/map/index.vue 23 ●●●● patch | view | raw | blame | history
src/views/house/index.vue 10 ●●●● patch | view | raw | blame | history
vue.config.js 6 ●●●● patch | view | raw | blame | history
src/api/dept/index.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-11-30 15:18:29
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-04-05 00:49:17
 * @LastEditTime: 2023-04-05 02:37:40
 * @FilePath: \srs-police-affairs\src\api\dept\index.js
 * @Description:
 *
src/components/map/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 17:00:30
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-04-05 00:50:03
 * @LastEditTime: 2023-04-05 02:42:41
 * @FilePath: \srs-police-affairs\src\components\map\index.vue
 * @Description: 公用地图组件
 * 
@@ -1061,14 +1061,6 @@
            tilesetObject[titlesetName].setHeight(-72)
            if (this.$route.path.indexOf('/layout/house') != -1) {
                tilesetObject[titlesetName].on(global.DC.MouseEventType.CLICK, this.housingIndent)
                console.log('addMxTileset11111')
            } else {
                console.log('addMxTileset22222')
                tilesetObject[titlesetName].off(global.DC.MouseEventType.CLICK, this.housingIndent)
            }
            tilesetLayer.addOverlay(tilesetObject[titlesetName])
            // global.viewer.flyTo(tilesetObject[titlesetName])removeMxTileset
@@ -1107,7 +1099,6 @@
         */
        removeMxTileset (titlesetName) {
            if (tilesetObject[titlesetName] && tilesetObject[titlesetName] != null) {
                tilesetObject[titlesetName].off(global.DC.MouseEventType.CLICK, this.housingIndent)
                tilesetLayer.removeOverlay(tilesetObject[titlesetName])
                tilesetObject[titlesetName] = null
            }
@@ -1162,17 +1153,11 @@
        $route: {
            handler (route) {
                if (route.path.indexOf('/layout/house') != -1) {
                    console.log('/layout/house1111111')
                    label.forEach(item => {
                        tilesetObject[`sdTilesetLayer${item}`] && tilesetObject[`sdTilesetLayer${item}`].on(global.DC.MouseEventType.CLICK, this.housingIndent)
                    })
                    tilesetLayer && tilesetLayer.off(global.DC.MouseEventType.CLICK, this.housingIndent)
                    tilesetLayer && tilesetLayer.on(global.DC.MouseEventType.CLICK, this.housingIndent)
                } else {
                    console.log('/layout/other2222222')
                    label.forEach(item => {
                        tilesetObject[`sdTilesetLayer${item}`] && tilesetObject[`sdTilesetLayer${item}`].off(global.DC.MouseEventType.CLICK, this.housingIndent)
                    })
                    tilesetLayer && tilesetLayer.off(global.DC.MouseEventType.CLICK, this.housingIndent)
                }
            },
            immediate: true
        }
src/views/house/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-04-05 00:58:14
 * @LastEditTime: 2023-04-05 02:29:08
 * @FilePath: \srs-police-affairs\src\views\house\index.vue
 * @Description: 小区-栋-层-房屋
 * 
@@ -187,7 +187,7 @@
                                                <!-- :class="[{ 'chuzu': value.houseType == '出租' }, { 'zizhu': value.houseType == '自住' }, { 'kongzhi': value.houseType == '空置' }, { 'shangye': value.houseType == '商业' }]" -->
                                                {{ value.properties.fojcu }}
                                                <!-- <div class="flow"></div>
                                                        <div class="warning"></div>-->
                                                            <div class="warning"></div>-->
                                            </div>
                                        </div>
                                    </div>
@@ -376,7 +376,11 @@
                    <el-table-column prop="zdryxl" label="重点人员类型" v-if="keyPeopleType == 2"></el-table-column>
                    <el-table-column prop="realName" label="姓名"></el-table-column>
                    <el-table-column prop="cardNo" label="身份证号"></el-table-column>
                    <el-table-column prop="address" label="地址" v-if="false"></el-table-column>
                    <el-table-column label="地址">
                        <template slot-scope="scope">
                            {{ scope.row.address.match(/信州区(\S*)/)[1] }}
                        </template>
                    </el-table-column>
                    <el-table-column prop="phone" label="电话"></el-table-column>
                    <el-table-column prop="policeStationName" label="所属派出所"></el-table-column>
                    <el-table-column prop="areaName" label="所属责任区"></el-table-column>
vue.config.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-09-07 09:37:07
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-04-04 16:45:30
 * @LastEditTime: 2023-04-05 01:24:12
 * @FilePath: \srs-police-affairs\vue.config.js
 * @Description:
 *
@@ -161,8 +161,8 @@
        proxy: {
            "/api": {
                // target用于配置你允许访问数据的计算机名称,即是你的api接口的服务器地址
                // target: "http://localhost:82",
                target: "http://192.168.0.100:82",
                target: "http://localhost:82",
                // target: "http://192.168.0.100:82",
                // target: "http://17.20.10.3:82",
                // target: "http://10.141.11.11:8081/api",
                // ws: true, //启用webSocket6566