From acd91b5d0a22859fee9ffc96e3ea44147ec70b1b Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Fri, 22 Dec 2023 10:34:16 +0800
Subject: [PATCH] fix
---
apis/modules/parner.js | 4 +-
apis/modules/product.js | 50 -----
apis/modules/supplier.js | 6 +
apis/modules/user.js | 25 ++-
components/filter-popup/filter-popup.vue | 1 -
config/common.js | 51 +++++
config/product.js | 10 -
libs/Oss/upload.js | 3 +-
libs/util.js | 5 -
other/supplierDetail/supplierDetail.vue | 5 +-
pages.json | 6 +-
pages/index/index.vue | 17 +-
pages/login/login.vue | 19 +-
pages/person/person.vue | 154 +++++++------
pages/supplier/supplier.vue | 103 +++++----
static/image/avatar.png | Bin 1380 -> 0 bytes
styles/common.scss | 4 +-
team/auth/auth.vue | 73 +++++--
team/certified/certified.vue | 28 +--
team/info/info.vue | 114 ++++++----
team/infoEdit/infoEdit.vue | 266 +++++++++++++++--------
team/personAuth/personAuth.vue | 6 +-
team/qrcode/qrcode.vue | 46 ++--
team/setting/setting.vue | 21 +-
team/teams/teams.vue | 3 +-
team/userName/userName.vue | 42 ++--
26 files changed, 625 insertions(+), 437 deletions(-)
delete mode 100644 apis/modules/product.js
create mode 100644 apis/modules/supplier.js
create mode 100644 config/common.js
delete mode 100644 config/product.js
delete mode 100644 static/image/avatar.png
diff --git a/apis/modules/parner.js b/apis/modules/parner.js
index d4ef5cf..383c0bb 100644
--- a/apis/modules/parner.js
+++ b/apis/modules/parner.js
@@ -9,8 +9,8 @@ export const teamList = (data) => {
return post('nakadai/nakadai/partnerAccount/partnerAccountList', data)
}
-export const generateInvitationCode = accountId => {
- return post(`nakadai/nakadai/partnerAccount/generateInvitationCode?accountId=${accountId}`)
+export const generateInvitationCode = platformId => {
+ return post(`nakadai/kindergarten/platformTeamAccount/generateInvitationCode?platformId=${platformId}`)
}
export const treeList = (data) => {
diff --git a/apis/modules/product.js b/apis/modules/product.js
deleted file mode 100644
index 4726020..0000000
--- a/apis/modules/product.js
+++ /dev/null
@@ -1,50 +0,0 @@
-import request from '@/apis/request.js'
-const { get, post } = request
-
-export const AppletsDataProductList = (data) => {
- return post('nakadai/nakadai/dataProduct/AppletsDataProductList', data)
-}
-
-export const tagsList = () => {
- return get('nakadai/tags/tagsList')
-}
-
-export const listOfGoods = (data) => {
- return post('nakadai/mall/listOfGoods', data)
-}
-
-export const detailsOfGoods = (id) => {
- return get('nakadai/mall/detailsOfGoods?mallId=' + id)
-}
-
-export const productCategoryList = () => {
- return get('nakadai/productClassification/productCategoryList')
-}
-
-export const productTypeList = () => {
- return get('nakadai/productType/productTypeList')
-}
-
-export const addToShoppingCart = (data) => {
- return post('nakadai/mini/program/shopping/cart/addToShoppingCart', data)
-}
-
-export const delCart = (data) => {
- return post('nakadai/mini/program/shopping/cart/batchDeletion', data)
-}
-
-export const shoppingCartList = (data) => {
- return post('nakadai/mini/program/shopping/cart/shoppingCartList', data)
-}
-
-export const courseDiscipline = () => {
- return get('nakadai/nakadai/subject/courseDiscipline')
-}
-
-export const courseProfessionalClass = id => {
- return get('nakadai/nakadai/subject/courseProfessionalClass?disciplineId=' + id)
-}
-
-export const courseProfessional = id => {
- return get('nakadai/nakadai/subject/courseProfessional?professionalClassId=' + id)
-}
\ No newline at end of file
diff --git a/apis/modules/supplier.js b/apis/modules/supplier.js
new file mode 100644
index 0000000..c381802
--- /dev/null
+++ b/apis/modules/supplier.js
@@ -0,0 +1,6 @@
+import request from '@/apis/request.js'
+const { get, post } = request
+
+export const selectEnterpriseCertificationList = (data) => {
+ return post('users/enterprise/certification/selectEnterpriseCertificationList', data)
+}
diff --git a/apis/modules/user.js b/apis/modules/user.js
index 4f94dfc..f1cf456 100644
--- a/apis/modules/user.js
+++ b/apis/modules/user.js
@@ -22,6 +22,24 @@ export const businessLicensePictureVerification = (imgFile) => {
export const creditCodeAuthentication = (data) => {
return post(`users/users/autonym/creditCodeAuthentication`, data)
}
+export const organizationCertification = (data) => {
+ return post(`users/users/autonym/organizationCertification`, data)
+}
+export const updateTeamInfo = (data) => {
+ return post(`nakadai/kindergarten/platformTeamAccount/updateTeamInfo`, data)
+}
+export const queryTeamInfo = (data) => {
+ return get(`nakadai/kindergarten/platformTeamAccount/queryTeamInfo`, data)
+}
+export const viewUserDetails = (data) => {
+ return get(`users/users/userAccount/viewUserDetails`, data)
+}
+export const enterpriseCertificationStatus = (openId) => {
+ return post(`users/enterprise/certification/enterpriseCertificationStatus?openId=${openId}`)
+}
+export const saveCertification = (data) => {
+ return post(`users/enterprise/certification/save`, data)
+}
@@ -33,10 +51,13 @@ export const queryCity = (data) => {
return get('nakadai/nakadai/city/queryCity', data)
}
-export const updateAvatars = url => {
- return post(`users/users/user/updateAvatars?url=` + url)
+export const updateAvatars = data => {
+ return post(`users/users/user/updateAvatars?openId=${data.openId}&url=${data.url}&userName=${data.userName}`)
}
+export const sendPhoneOrEmailCode = (data) => {
+ return post('users/users/userAccount/sendPhoneOrEmailCode', data)
+}
export const userBinding = (data) => {
return post('users/users/user/userBinding', data)
}
diff --git a/components/filter-popup/filter-popup.vue b/components/filter-popup/filter-popup.vue
index d74cfa8..1dbbbbf 100644
--- a/components/filter-popup/filter-popup.vue
+++ b/components/filter-popup/filter-popup.vue
@@ -69,7 +69,6 @@
diff --git a/team/infoEdit/infoEdit.vue b/team/infoEdit/infoEdit.vue
index e4fb383..73e7a97 100644
--- a/team/infoEdit/infoEdit.vue
+++ b/team/infoEdit/infoEdit.vue
@@ -4,40 +4,42 @@
LOGO
-
+
- 幼儿园名称
-
-
-
-
- 标签
-
-
+ {{ platformName }}名称
+
- 幼儿园slogan
-
+ {{ platformName }}slogan
+
省份
- {{ provinceName }}
-
+
+
+
+
+ 城市
+
+
-
地址
-
+
+
+
+ 联系电话
+
- 幼儿园简介
-
+ {{ platformName }}简介
+
-
+
@@ -45,17 +47,39 @@
-
- 地址
-
+
+ 二维码描述一
+
+
-
- 联系电话
-
+
+ uploadQrcode(e, 'qrCodeOne')" >
+
+
+
+
+
+
+
+ 二维码描述二
+
-
+ uploadQrcode(e, 'qrCodeTwo')" >
+
+
+
+
+
+
+
+ 二维码描述三
+
+
+
+
+ uploadQrcode(e, 'qrCodeThree')" >
@@ -67,76 +91,113 @@