shuishen
2026-01-06 f9e061ff5e75793505108cef38eb02e8e5c330ea
户室详情顶部tab按钮增加判断是否显示处理
5 files modified
102 ■■■■ changed files
src/api/dept/index.js 42 ●●●● patch | view | raw | blame | history
src/api/dept/newIndex.js 24 ●●●●● patch | view | raw | blame | history
src/views/house/components/useWater.vue 2 ●●●●● patch | view | raw | blame | history
src/views/house/index.vue 32 ●●●●● patch | view | raw | blame | history
src/views/layoutT/index.vue 2 ●●● patch | view | raw | blame | history
src/api/dept/index.js
@@ -45,11 +45,11 @@
 */
export const getResidentialQuartersInfo = (area_id, adcode) => {
    return request({
        url: '/sf3d/area/info',
        // url: '/data/getResidentialQuartersInfo.json',
        // url: '/sf3d/area/info',
        url: '/data/getResidentialQuartersInfo.json',
        method: 'get',
        authorization: false,
        requestBaseUrl: 'fengt',
        // requestBaseUrl: 'fengt',
        params: {
            area_id,
            adcode
@@ -66,11 +66,11 @@
export const getAoiByPt = (lng, lat, height, adcode, tolerance) => {
    return request({
        // url: '/sf3d/area/getAoiByPt',
        url: '/sf3d/area/stdgetAoiByPt',
        // url: '/data/getAoiByBgId.json',
        // url: '/sf3d/area/stdgetAoiByPt',
        url: '/data/getAoiByBgId.json',
        method: 'get',
        authorization: false,
        requestBaseUrl: 'fengt',
        // requestBaseUrl: 'fengt',
        params: {
            lng,
            lat,
@@ -106,11 +106,11 @@
export const getHouses = (build_id, adcode) => {
    return request({
        // url: '/sf3d/build/houses',
        url: '/sf3d/build/stdhouses',
        // url: '/data/huafu15d.json',
        // url: '/sf3d/build/stdhouses',
        url: '/data/huafu15d.json',
        method: 'get',
        authorization: false,
        requestBaseUrl: 'fengt',
        // requestBaseUrl: 'fengt',
        params: {
            build_id,
            adcode
@@ -126,10 +126,10 @@
 */
export const getSearchExtensively = (ak, region, query, ids) => {
    return request({
        url: '/zhs/bs/search',
        // url: '/data/jingzuo.json',
        // url: '/zhs/bs/search',
        url: '/data/jingzuo.json',
        method: 'get',
        requestBaseUrl: 'fengtDS',
        // requestBaseUrl: 'fengtDS',
        params: {
            ak,
            region,
@@ -146,10 +146,10 @@
 */
export const getSearchExtensivelyPage = (ak, region, query, page_num, page_size) => {
    return request({
        url: '/zhs/bs/search',
        // url: '/data/jingzuo.json',
        // url: '/zhs/bs/search',
        url: '/data/jingzuo.json',
        method: 'get',
        requestBaseUrl: 'fengtDS',
        // requestBaseUrl: 'fengtDS',
        params: {
            ak,
            region,
@@ -167,15 +167,15 @@
 */
export const getSearchExtensivelyBgAoiDeepdata = (ak, region, ids, infos) => {
    return request({
        url: '/zhs/bs/search',
        // url: '/zhs/bs/search',
        // url: '/data/汇成观邸.json',
        // url: '/data/search.json',
        // url: '/data/阳光小区独栋.json',
        url: '/data/阳光小区独栋.json',
        // url: '/data/search汇杰小区.json',
        // url: '/data/汪家园林家小区id详情搜.json',
        // url: '/data/search三江星座.json',
        method: 'get',
        requestBaseUrl: 'fengtDS',
        // requestBaseUrl: 'fengtDS',
        params: {
            ak,
            region,
@@ -192,13 +192,13 @@
 */
export const getSearchExtensivelyHousesdata = (ak, region, ids, infos) => {
    return request({
        url: '/zhs/bs/search',
        // url: '/zhs/bs/search',
        // url: '/data/汇成观邸-户室.json',
        // url: '/data/阳光小区独栋.json',
        url: '/data/阳光小区独栋.json',
        // url: '/data/search汇杰小区1栋.json',
        // url: '/data/汪家园林家小区2号id详情搜.json',
        method: 'get',
        requestBaseUrl: 'fengtDS',
        // requestBaseUrl: 'fengtDS',
        params: {
            ak,
            region,
src/api/dept/newIndex.js
@@ -387,4 +387,28 @@
        method: 'get',
        params
    })
}
/**
 * 维修基金信息
 * @param {*} params
 * @returns
 */
export const getHouseDetailEvent = (resBusId, type = 1) => {
    let params = {
        resBusId
    }
    if (type != 1) {
        params = {
            buildId: resBusId
        }
    }
    return request({
        url: '/api/villagePersonInfo/villagePersonInfo/getHouseDetailEvent',
        method: 'get',
        params
    })
}
src/views/house/components/useWater.vue
@@ -27,7 +27,9 @@
                <el-table-column align="center" prop="yhkh" label="银行卡号" show-overflow-tooltip>
                </el-table-column>
            </el-table>
        </div>
        <div v-if="false">
            <el-button class="message-btn" type="primary" size="mini" :disabled="false">用水信息</el-button>
            <el-table
                :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
src/views/house/index.vue
@@ -847,7 +847,7 @@
                        <template slot-scope="scope">{{ scope.row.isNonage == 1 ? '是' : '否' }}</template>
                    </el-table-column>
                    <el-table-column label="户室">
                        <template slot-scope="scope">{{ scope.row.reAddress.split(villageInfo.name)[1] }}</template>
                        <template slot-scope="scope">{{ scope.row.reAddress ? scope.row.reAddress.split(villageInfo.name)[1] : '' }}</template>
                    </el-table-column>
                    <el-table-column prop="phone" label="电话"></el-table-column>
                    <el-table-column prop="policeStationName" label="所属派出所"></el-table-column>
@@ -887,6 +887,7 @@
    getPersonConnectionConditionByBuildingId,
    getBusinessList
} from "@/api/dept/index.js"
import {getHouseDetailEvent} from "@/api/dept/newIndex.js"
import { getAlarmList, getAlarmStatistics } from "@/api/home/index.js"
import employees from "./components/employees"
@@ -1151,21 +1152,26 @@
                    isHover: false,
                },
                {
                    name: 'cyry',
                    label: "从业人员",
                    value: 5,
                    isHover: true,
                },
                {
                    name: 'zdkz',
                    label: "阵地控制",
                    value: 6,
                    isHover: true,
                },
                {
                    name: 'fzxc',
                    label: "反诈宣传",
                    value: 7,
                    isHover: true,
                },
                {
                    name: 'smbj',
                    label: "扫码报警",
                    value: 8,
                    isHover: true,
@@ -1175,26 +1181,31 @@
                //     value: 9,
                // },
                {
                    name: 'czw',
                    label: "出租屋",
                    value: 10,
                    isHover: true,
                },
                {
                    name: 'jxcs',
                    label: "九小场所",
                    value: 11,
                    isHover: true,
                },
                {
                    name: 'wzrz',
                    label: "无诈认证",
                    value: 12,
                    isHover: true,
                },
                {
                    name: 'wxjj',
                    label: "维修基金",
                    value: 13,
                    isHover: true,
                },
                {
                    name: 'ysxx',
                    label: "用水数据",
                    value: 14,
                    isHover: true,
@@ -1204,6 +1215,7 @@
                //     value: 13,
                // }
                {
                    name: 'qt',
                    label: "其他",
                    value: 3,
                    isHover: true,
@@ -2037,7 +2049,7 @@
        },
        // 点击户室--大搜
        residentDetailsClick (params) {
        async residentDetailsClick (params) {
            let residentId = ''
            this.houseDate = []
            if (params.exttype == 'room') {
@@ -2056,6 +2068,7 @@
                }
                this.residentDetailsType = 1
                this.residentIdSave = residentId
                await this.getHouseDetailEvent(residentId, 1)
                this.getVillagePersonInfo(residentId, '', { personType: this.hushiPeoTy })
                this.floorChoosed = params.sname
                this.getResident3DData(residentId)
@@ -2063,7 +2076,9 @@
                residentId = params.std_addr_id.split('|')[1]
                this.residentDetailsType = 2
                this.residentIdSave = residentId
                await this.getHouseDetailEvent(residentId, 2)
                this.getVillagePersonInfo('', residentId, '', '', '', '', '独栋')
                // this.$EventBus.$emit("toPosition", {
                //     siteJd: Number(params.lng),
                //     siteWd: Number(params.lat) - 0.0021,
@@ -2628,6 +2643,19 @@
        },
        async getHouseDetailEvent (id, type) {
          const res = await getHouseDetailEvent(id, type)
          if (res.data.data.length > 0) {
            res.data.data.forEach(item => {
              this.menuList.forEach(menuItem => {
                if (item.name === menuItem?.name) {
                  menuItem.isHover = item.count > 0
                }
              })
            })
          }
        },
        // 房屋人口信息
        getVillagePersonInfo (resBusId, buildId, typeObj, current, realName, phone, isDuDong) {
            getVillagePersonInfo(
src/views/layoutT/index.vue
@@ -809,7 +809,7 @@
  top: 50%;
  left: 0px;
  // z-index: 11;
  z-index: 99;
  z-index: 89;
  width: 32px;
  height: 64px;
  color: #fff;