From b7c5e4e85e60c7b20531af2a9e76ccb1a447712a Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Tue, 8 Mar 2022 15:42:56 +0800 Subject: [PATCH] zx --- src/api/manage/index.js | 4 +-- src/api/upload/index.js | 2 +- src/components/upload/index.vue | 2 +- src/views/Manage/CustomerList/index.vue | 2 +- src/views/Manage/VillageManage/index.vue | 35 +++++++++++------------- 5 files changed, 21 insertions(+), 24 deletions(-) diff --git a/src/api/manage/index.js b/src/api/manage/index.js index 3b3a41a..873017f 100644 --- a/src/api/manage/index.js +++ b/src/api/manage/index.js @@ -68,7 +68,7 @@ export function getAddCommunity(params) { return httpService({ url: `/user/community/insertAdmin`, method: 'post', - params: params, + data: params, }) } @@ -77,7 +77,7 @@ export function updateCommunity(params) { return httpService({ url: `/user/community/updateAdmin`, method: 'post', - params: params, + data: params, }) } diff --git a/src/api/upload/index.js b/src/api/upload/index.js index b425417..b62842a 100644 --- a/src/api/upload/index.js +++ b/src/api/upload/index.js @@ -1,7 +1,7 @@ import httpService from "@/request" // 上传平台照片 -export function uploadImg(params) { +export function picUpload(params) { return httpService({ url: `/user/upload/uploadImg`, method: 'post', diff --git a/src/components/upload/index.vue b/src/components/upload/index.vue index 7fa8a65..c822ed8 100644 --- a/src/components/upload/index.vue +++ b/src/components/upload/index.vue @@ -64,5 +64,5 @@ export default { }; - \ No newline at end of file diff --git a/src/views/Manage/CustomerList/index.vue b/src/views/Manage/CustomerList/index.vue index b9126ec..e2128f7 100644 --- a/src/views/Manage/CustomerList/index.vue +++ b/src/views/Manage/CustomerList/index.vue @@ -9,7 +9,7 @@ - + 全部数据 已到期 diff --git a/src/views/Manage/VillageManage/index.vue b/src/views/Manage/VillageManage/index.vue index c2c07f4..0abec1e 100644 --- a/src/views/Manage/VillageManage/index.vue +++ b/src/views/Manage/VillageManage/index.vue @@ -72,18 +72,7 @@ - -
- -
Upload
-
-
+
确定 @@ -93,13 +82,15 @@