zrj
2024-06-07 b07a3a9dcb89f9785b7b001d2d26b167376d597e
src/views/userHouse/houseList.vue
@@ -110,17 +110,17 @@
    update,
    getDetatil,
    getDetatils
} from "@/api/userHouse/list/house.js"
} from "@/ssoapi/userHouse/list/house.js"
import {
    removeHouseholdLabel,
    saveOrUpdateHouseholdLabel
} from "@/api/userHouse/list/userHouseList.js"
} from "@/ssoapi/userHouse/list/userHouseList.js"
import {
    getLabelList,
} from '@/api/label/label'
} from '@/ssoapi/label/label'
import {
    exportBlob
} from "@/api/common"
} from "@/ssoapi/common"
import {
    mapGetters
} from "vuex"
@@ -271,7 +271,7 @@
                        label: "小区名称",
                        prop: "districtCode",
                        type: 'tree',
                        dicUrl: `/api/blade-district/district/getDistrictTree`,
                        dicUrl: `/ssoapi/blade-district/district/getDistrictTree`,
                        props: {
                            label: "name",
                            value: "id"
@@ -328,7 +328,7 @@
                        prop: "neiCode",
                        search: false,
                        type: "tree",
                        dicUrl: "/api/blade-system/region/tree",
                        dicUrl: "/ssoapi/blade-system/region/tree",
                        props: {
                            label: "name",
                            value: "id",
@@ -369,7 +369,7 @@
                            value: "gridCode",
                        },
                        dicUrl:
                            "/api/blade-grid/grid/getGridList?communityCode={{neiCode}}",
                            "/ssoapi/blade-grid/grid/getGridList?communityCode={{neiCode}}",
                        rules: [
                            {
                                required: true,
@@ -387,7 +387,7 @@
                        listType: "picture-card",
                        dataType: "string",
                        multiple: true,
                        action: "/api/blade-resource/oss/endpoint/put-file",
                        action: "/ssoapi/blade-resource/oss/endpoint/put-file",
                        propsHttp: {
                            res: "data",
                            name: 'name',
@@ -474,7 +474,7 @@
                        res: 'data'
                    },
                    tip: '请上传 .xls,.xlsx 标准格式文件',
                    action: "/api/blade-system/user/import-user"
                    action: "/ssoapi/blade-system/user/import-user"
                },
                {
                    label: "数据覆盖",
@@ -792,7 +792,7 @@
                }
                data = Qs.stringify(data)
                exportBlob(
                    `/api/blade-house/house/export-house?${this.website.tokenHeader}=${getToken()}&` + data
                    `/ssoapi/blade-house/house/export-house?${this.website.tokenHeader}=${getToken()}&` + data
                ).then(res => {
                    downloadXls(res.data, `房屋数据表${dateNow()}.xlsx`)
                    NProgress.done()
@@ -800,7 +800,7 @@
            })
        },
        handleTemplate () {
            exportBlob(`/api/blade-system/user/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => {
            exportBlob(`/ssoapi/blade-system/user/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => {
                downloadXls(res.data, "房屋数据模板.xlsx")
            })
        },