zrj
2024-06-07 b07a3a9dcb89f9785b7b001d2d26b167376d597e
src/views/userHouse/hireInfoList.vue
@@ -80,7 +80,7 @@
    add as householdAdd,
    update as householdUpdate,
    getDetatil as getHouseholdDetatil
} from "@/api/userHouse/list/houseHold.js"
} from "@/ssoapi/userHouse/list/houseHold.js"
import {
    getList,
    getPageList,
@@ -88,14 +88,14 @@
    add,
    update,
    getDetatil
} from "@/api/userHouse/list/houseRental.js"
} from "@/ssoapi/userHouse/list/houseRental.js"
import {
    getList as getHouseList,
    getDetatil as getHouseDetail
} from "@/api/userHouse/list/house.js"
} from "@/ssoapi/userHouse/list/house.js"
import {
    exportBlob
} from "@/api/common"
} from "@/ssoapi/common"
import {
    mapGetters
} from "vuex"
@@ -197,7 +197,7 @@
                //     label: "关系",
                //     prop: "relationship",
                //     type: "select",
                //     dicUrl: "/api/blade-system/dict-biz/dictionary?code=roleRelation",
                //     dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=roleRelation",
                //     dataType: "number",
                //     props: {
                //         label: "dictValue",
@@ -210,7 +210,7 @@
                    prop: "ethnicity",
                    type: "select",
                    // hide: true,
                    dicUrl: "/api/blade-system/dict-biz/dictionary?code=nationType",
                    dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=nationType",
                    dataType: "number",
                    props: {
                        label: "dictValue",
@@ -407,7 +407,7 @@
                        search: true,
                        dataType: "number",
                        width: 100,
                        dicUrl: "/api/blade-system/dict-biz/dictionary?code=rentalUseType",
                        dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=rentalUseType",
                        props: {
                            label: "dictValue",
                            value: "dictKey",
@@ -500,7 +500,7 @@
                        width: 80,
                        type: "upload",
                        listType: "picture-img",
                        action: "/api/blade-resource/oss/endpoint/put-file",
                        action: "/ssoapi/blade-resource/oss/endpoint/put-file",
                        propsHttp: {
                            res: "data",
                            url: "link",
@@ -527,7 +527,7 @@
                        res: 'data'
                    },
                    tip: '请上传 .xls,.xlsx 标准格式文件',
                    action: "/api/blade-system/user/import-user"
                    action: "/ssoapi/blade-system/user/import-user"
                },
                {
                    label: "数据覆盖",
@@ -795,7 +795,7 @@
                }
                data = Qs.stringify(data)
                exportBlob(
                    `/api/blade-houseRental/houseRental/export-houseRental?${this.website.tokenHeader}=${getToken()}&` +
                    `/ssoapi/blade-houseRental/houseRental/export-houseRental?${this.website.tokenHeader}=${getToken()}&` +
                    data
                ).then(res => {
                    downloadXls(res.data, `出租信息数据表${dateNow()}.xlsx`)
@@ -804,7 +804,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")
            })
        },