guanqb
2023-08-01 87f3ec4cd49a56fba958c5d48e22f84aee4542bf
独栋人口弹窗
2 files modified
35 ■■■■■ changed files
src/views/house/index.vue 13 ●●●● patch | view | raw | blame | history
vue.config.js 22 ●●●● patch | view | raw | blame | history
src/views/house/index.vue
@@ -1638,7 +1638,7 @@
                this.getResident3DData(residentId)
            } else {
                residentId = params.std_addr_id.split('|')[1]
                this.getVillagePersonInfo('', residentId)
                this.getVillagePersonInfo('独栋', residentId)
                // this.$EventBus.$emit("toPosition", {
                //     siteJd: Number(params.lng),
                //     siteWd: Number(params.lat) - 0.0021,
@@ -1646,7 +1646,6 @@
                //     sitePitch: -45,
                // })
            }
            console.log('residentDetailsClick--then')
            this.getPicURL(residentId)
            this.residentDetailsTitle = `${params.name}住户信息`
            this.residentDetailsShow = true
@@ -2178,6 +2177,16 @@
                phone
            ).then((res) => {
                if (buildId) {
                    if (resBusId == '独栋') {
                        this.houseDate = res.data.data.records
                        setTimeout(() => {
                            this.residentLoading = false
                        }, 500)
                        if (res.data.data.records.length == 0) {
                            this.residentNoDataText = '暂无户室信息'
                        }
                        return
                    }
                    setTimeout(() => {
                        this.personDetailArr = res.data.data.records
                    }, 500)
vue.config.js
@@ -9,15 +9,15 @@
 * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved.
 */
const path = require("path");
const CopywebpackPlugin = require("copy-webpack-plugin");
const dvgisDist = "./node_modules/@dvgis";
const webpack = require("webpack");
const path = require("path")
const CopywebpackPlugin = require("copy-webpack-plugin")
const dvgisDist = "./node_modules/@dvgis"
const webpack = require("webpack")
const CompressionPlugin = require("compression-webpack-plugin");
const pxtovw = require("postcss-px-to-viewport");
const CompressionPlugin = require("compression-webpack-plugin")
const pxtovw = require("postcss-px-to-viewport")
const productionGzipExtensions = ["js", "css"];
const productionGzipExtensions = ["js", "css"]
module.exports = {
  css: {
@@ -104,7 +104,7 @@
          to: "warnings",
        },
      ],
    ]);
        ])
    // config.plugin("define").tap((args) => {
    //     args[0]["process"] = { ...args[0]["process.env"] }
@@ -169,8 +169,8 @@
    proxy: {
      "/api": {
        // target用于配置你允许访问数据的计算机名称,即是你的api接口的服务器地址
        // target: "http://localhost:82",
        target: "http://192.168.1.177:82",
                target: "http://localhost:82",
                // target: "http://192.168.1.177:82",
        // target: "http://106.225.193.35:82",
        // target: "http://192.168.1.170:82",
        // target: "http://192.168.0.100:82",
@@ -184,4 +184,4 @@
      },
    },
  },
};
}