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 @@ - - 地址 - + + 二维码描述一 + + - - 联系电话 - + + + + + + + + + + 二维码描述二 + - + + + + + + + + + 二维码描述三 + + + + + @@ -67,76 +91,113 @@