From b07a3a9dcb89f9785b7b001d2d26b167376d597e Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Fri, 07 Jun 2024 11:43:49 +0800
Subject: [PATCH] 接口代理修改
---
src/views/publicSecurity/components/userHouseList.vue | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/views/publicSecurity/components/userHouseList.vue b/src/views/publicSecurity/components/userHouseList.vue
index 778dab7..afea0d5 100644
--- a/src/views/publicSecurity/components/userHouseList.vue
+++ b/src/views/publicSecurity/components/userHouseList.vue
@@ -81,17 +81,17 @@
update,
getDetatil,
getDetatils
- } from "@/api/userHouse/list/houseHold.js"
+ } from "@/ssoapi/userHouse/list/houseHold.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"
@@ -208,7 +208,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",
hide: true,
props: {
@@ -241,7 +241,7 @@
label: "证件类型",
prop: "cardType",
type: "select",
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=cardType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=cardType",
dataType: "number",
props: {
label: "dictValue",
@@ -325,7 +325,7 @@
prop: "residentialStatus",
type: "select",
hide: true,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=residentialStatusType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=residentialStatusType",
dataType: "number",
props: {
label: "dictValue",
@@ -347,7 +347,7 @@
label: "是否主要联系人",
prop: "isPrimaryContact",
type: "select",
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=primaryContactType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=primaryContactType",
dataType: "number",
hide: true,
props: {
@@ -360,7 +360,7 @@
// label: "关系",
// prop: "roleType",
// type: "select",
- // dicUrl: "/api/blade-system/dict-biz/dictionary?code=roleType",
+ // dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=roleType",
// dataType: "number",
// props: {
// label: "dictValue",
@@ -442,7 +442,7 @@
label: 'name',
value: 'id'
},
- dicUrl: `/api/blade-system/region/getBaseTree`,
+ dicUrl: `/ssoapi/blade-system/region/getBaseTree`,
},
{
@@ -450,7 +450,7 @@
label: "户籍类型",
prop: "residentType",
type: "select",
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=residentType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=residentType",
dataType: "number",
props: {
label: "dictValue",
@@ -480,7 +480,7 @@
label: 'name',
value: 'id'
},
- dicUrl: `/api/blade-system/region/getBaseTree`,
+ dicUrl: `/ssoapi/blade-system/region/getBaseTree`,
},
{
@@ -499,7 +499,7 @@
label: 'name',
value: 'code'
},
- dicUrl: `/api/blade-system/region/select?code=361102`,
+ dicUrl: `/ssoapi/blade-system/region/select?code=361102`,
},
{
@@ -522,7 +522,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",
@@ -535,7 +535,7 @@
prop: "education",
type: "select",
hide: true,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=educationType",
dataType: "number",
props: {
label: "dictValue",
@@ -568,7 +568,7 @@
prop: "workStatus",
type: "select",
hide: true,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=workStatusType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=workStatusType",
dataType: "number",
props: {
label: "dictValue",
@@ -581,7 +581,7 @@
prop: "maritalStatus",
type: "select",
hide: true,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=marriageStatusType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=marriageStatusType",
dataType: "number",
props: {
label: "dictValue",
@@ -601,7 +601,7 @@
label: "健康状态",
prop: "healthStatus",
type: "select",
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=healthStatus",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=healthStatus",
dataType: "number",
props: {
label: "dictValue",
@@ -707,7 +707,7 @@
res: 'data'
},
tip: '请上传 .xls,.xlsx 标准格式文件',
- action: "/api/blade-system/user/import-user"
+ action: "/ssoapi/blade-system/user/import-user"
},
{
label: "数据覆盖",
@@ -1031,7 +1031,7 @@
}
data = Qs.stringify(data)
exportBlob(
- `/api/blade-household/household/export-household?${this.website.tokenHeader}=${getToken()}&` + data
+ `/ssoapi/blade-household/household/export-household?${this.website.tokenHeader}=${getToken()}&` + data
).then(res => {
downloadXls(res.data, `住户数据表${dateNow()}.xlsx`)
NProgress.done()
@@ -1039,7 +1039,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")
})
},
--
Gitblit v1.9.3