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/gzll/components/ownersMemberManager.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/views/gzll/components/ownersMemberManager.vue b/src/views/gzll/components/ownersMemberManager.vue
index f5ec5b8..e0fecd7 100644
--- a/src/views/gzll/components/ownersMemberManager.vue
+++ b/src/views/gzll/components/ownersMemberManager.vue
@@ -33,15 +33,15 @@
add,
update,
getDetail
- } from "@/api/owners/ownersCommittee.js"
+ } from "@/ssoapi/owners/ownersCommittee.js"
import {
getUserByDistrictId
- } from "@/api/system/user.js"
+ } from "@/ssoapi/system/user.js"
// import {
// update as committeeUpdate,
- // } from "@/api/owners_committee"
+ // } from "@/ssoapi/owners_committee"
import {
mapGetters
@@ -96,7 +96,7 @@
type: "tree",
remote: true,
hide: true,
- // dicUrl: `/api/blade-system/user/searchUserByDistrictId?districtId={{key}}`,
+ // dicUrl: `/ssoapi/blade-system/user/searchUserByDistrictId?districtId={{key}}`,
dicData: [],
props: {
label: 'name',
@@ -149,7 +149,7 @@
prop: "areaId",
searchSpan: 5,
type: 'tree',
- dicUrl: `/api/blade-district/district/getDistrictTree`,
+ dicUrl: `/ssoapi/blade-district/district/getDistrictTree`,
props: {
label: "name",
value: "id"
@@ -172,7 +172,7 @@
type: "select",
hide: true,
labelWidth: 120,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=sex",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=sex",
dataType: "number",
props: {
label: "dictValue",
@@ -241,7 +241,7 @@
type: "select",
hide: true,
labelWidth: 120,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=nationType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=nationType",
dataType: "number",
props: {
label: "dictValue",
@@ -254,7 +254,7 @@
type: "select",
hide: true,
labelWidth: 120,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
+ dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=educationType",
dataType: "number",
props: {
label: "dictValue",
@@ -268,7 +268,7 @@
// type: "select",
// labelWidth: 120,
// 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",
@@ -282,7 +282,7 @@
// type: "select",
// labelWidth: 120,
// 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",
@@ -302,7 +302,7 @@
prop: "profile",
component: "AvueUeditor",
options: {
- action: "/api/blade-resource/oss/endpoint/put-file",
+ action: "/ssoapi/blade-resource/oss/endpoint/put-file",
props: {
res: "data",
url: "link",
@@ -337,7 +337,7 @@
res: 'data'
},
tip: '请上传 .xls,.xlsx 标准格式文件',
- action: "/api/blade-system/user/import-user"
+ action: "/ssoapi/blade-system/user/import-user"
},
{
label: "数据覆盖",
@@ -502,7 +502,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()
@@ -510,7 +510,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