From 851b60ec81a822076d927fa467ffb5c9eaecf065 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 8 Mar 2023 14:15:05 +0800 Subject: [PATCH] fix --- README.md | 2 +- apis/modules/client.js | 4 - apis/modules/order.js | 10 +- apis/modules/parner.js | 16 +- apis/modules/user.js | 10 +- components/filter-popup/filter-popup.vue | 49 ++++- config/request.js | 2 +- manifest.json | 2 +- order/addCourse/addCourse.vue | 2 +- order/curClient/curClient.vue | 29 ++- order/editCourse/editCourse.vue | 4 +- order/orderDetail/orderDetail.vue | 250 ++++++++++++++--------- order/orders/orders.vue | 130 +++--------- pages.json | 14 +- pages/addStaff/addStaff.vue | 58 ++++-- pages/clientDetail/clientDetail.vue | 15 +- pages/clients/clients.vue | 58 +----- pages/index/index.vue | 82 +------- pages/login/login.vue | 16 +- pages/person/person.vue | 41 +--- pages/products/products.vue | 2 +- pages/qrcode/qrcode.vue | 31 ++- pages/setting/setting.vue | 8 +- pages/teamDetail/teamDetail.vue | 119 +++++++++++ pages/teams/teams.vue | 64 ++++-- 25 files changed, 568 insertions(+), 450 deletions(-) create mode 100644 pages/teamDetail/teamDetail.vue diff --git a/README.md b/README.md index 654e9e1..9f257e4 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# 或然中台小程序端 \ No newline at end of file +# 或然科技产业平台运营版 \ No newline at end of file diff --git a/apis/modules/client.js b/apis/modules/client.js index 560370c..15b6ec1 100644 --- a/apis/modules/client.js +++ b/apis/modules/client.js @@ -9,10 +9,6 @@ export const list = (data) => { return post('nakadai/nakadai/applets/customer/getCustomerListBasedOnBusinessManagerId', data) } -export const all = (data) => { - return post('nakadai/nakadai/applets/customer/customerList', data) -} - export const queryCustomerDetails = (data) => { return get('nakadai/nakadai/customer/queryCustomerDetails', data) } diff --git a/apis/modules/order.js b/apis/modules/order.js index ff3fb44..7327a0a 100644 --- a/apis/modules/order.js +++ b/apis/modules/order.js @@ -22,7 +22,7 @@ export const renew = (data) => { } export const list = (data) => { - return post('nakadai/nakadai/applets/order/orderList', data) + return post('nakadai/nakadai/order/list', data) } export const orderList = (data) => { @@ -39,4 +39,12 @@ export const ship = (data) => { export const miniProgramOrderRecord = (data) => { return post('nakadai/nakadai/applets/order/miniProgramOrderRecord', data) +} + +export const publicConfiguration = (data) => { + return post('users/users/user/publicConfiguration', data) +} + +export const bulkShipping = (data) => { + return post('nakadai/nakadai/orderOther/bulkShipping', data) } \ No newline at end of file diff --git a/apis/modules/parner.js b/apis/modules/parner.js index 8d9925e..568f362 100644 --- a/apis/modules/parner.js +++ b/apis/modules/parner.js @@ -13,8 +13,8 @@ export const generateInvitationCode = accountId => { return post(`nakadai/nakadai/partnerAccount/generateInvitationCode?accountId=${accountId}`) } -export const treeList = (data) => { - return post('nakadai/nakadai/partnerClassification/treeList', data) +export const treeList = () => { + return post('nakadai/nakadai/partnerClassification/treeList?applet=1') } export const my = (data) => { @@ -23,4 +23,16 @@ export const my = (data) => { export const mailFileSend = (data) => { return post('nakadai/nakadai/partnerAccount/mailFileSend', data) +} + +export const getAllTeam = () => { + return get('nakadai/nakadai/partnerClassification/getAllTeam') +} + +export const teamPartnerList = (data) => { + return post('nakadai/nakadai/partnerAccount/teamPartnerList', data) +} + +export const queryTeamMembers = (data) => { + return post('nakadai/nakadai/partnerAccount/queryTeamMembers', data) } \ No newline at end of file diff --git a/apis/modules/user.js b/apis/modules/user.js index 3b8b175..58f70da 100644 --- a/apis/modules/user.js +++ b/apis/modules/user.js @@ -2,13 +2,21 @@ import request from '@/apis/request.js' const { get, post } = request export const login = (data) => { - return post('users/users/user/weChatAppletCallback', data) + return post('users/users/user/weChatAppletCallbackByOperation', data) } export const userBinding = (data) => { return post('users/users/user/userBinding', data) } +export const queryProvince = () => { + return get('nakadai/nakadai/province/queryProvince') +} + +export const queryCity = (data) => { + return get('nakadai/nakadai/city/queryCity', data) +} + export const examinePassword = (data) => { return post('users/users/userAccount/examinePassword', data) } diff --git a/components/filter-popup/filter-popup.vue b/components/filter-popup/filter-popup.vue index 4665ed3..ea4a4b1 100644 --- a/components/filter-popup/filter-popup.vue +++ b/components/filter-popup/filter-popup.vue @@ -17,6 +17,14 @@ + {{ item.title }} @@ -60,6 +68,7 @@ diff --git a/pages/teams/teams.vue b/pages/teams/teams.vue index ff0d741..82e8724 100644 --- a/pages/teams/teams.vue +++ b/pages/teams/teams.vue @@ -2,14 +2,27 @@ + + + + + - - 功能升级中,敬请期待... +