From e6b84e58f5899c75e8db303787d51cc85cdb782d Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 17 May 2022 09:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/setting.js | 4 +- src/utils/api.js | 19 +-- src/views/customer/AddCustomer.vue | 210 ++++++++++++++++++++++++----- src/views/order/AddOrder.vue | 47 ++++++- src/views/parner/staff.vue | 29 ---- 5 files changed, 233 insertions(+), 76 deletions(-) diff --git a/src/setting.js b/src/setting.js index 4cef5e3..1f122c1 100644 --- a/src/setting.js +++ b/src/setting.js @@ -9,8 +9,8 @@ let jumpPath = `${location.origin}/judgmentPoint` let host = `${location.origin}:9000/` if (isDev) { jumpPath = "http://192.168.31.125:8087/"; // 本地调试-需要启动本地判分点系统 - host = 'http://39.108.250.202:9000/' - // host = 'http://192.168.31.151:9000/'// 榕 + // host = 'http://39.108.250.202:9000/' + host = 'http://192.168.31.151:9000/'// 榕 // host = 'http://192.168.31.137:9000/'// 赓 } else if (isPro) { jumpPath = "http://www.huorantech.cn/judgmentPoint/"; diff --git a/src/utils/api.js b/src/utils/api.js index c5f3b38..45a8ce2 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -2,6 +2,7 @@ import Setting from "@/setting"; const host = Setting.apiBaseURL const uploadURL = Setting.uploadURL +const host1 = 'http://192.168.31.151:9000/' export default { @@ -16,14 +17,14 @@ export default { checkWorkNumOrAccount: `occupationlab/architecture/checkWorkNumOrAccount`, // 新增/编辑学生前:校验学号或者学生账号 // 订单管理 - orderAdd: `nakadai/nakadai/order/add`,// 订单添加 - orderDelete: `nakadai/nakadai/order/delete`,// 删除定单 - orderDetail: `nakadai/nakadai/order/get`,// 订单详情 - orderList: `nakadai/nakadai/order/list`,// 订单列表 - orderUpdate: `nakadai/nakadai/order/update`,// 订单更新 - renew: `nakadai/nakadai/orderOther/renew`,// 续费信息管理-post - ship: `nakadai/nakadai/orderOther/ship`,// 处理时的订单发货管理-post - getOrderOtherTime: `nakadai/nakadai/orderOther/getOrderOtherTime`, + orderAdd: `${host1}nakadai/nakadai/order/add`,// 订单添加 + orderDelete: `${host1}nakadai/nakadai/order/delete`,// 删除定单 + orderDetail: `${host1}nakadai/nakadai/order/get`,// 订单详情 + orderList: `${host1}nakadai/nakadai/order/list`,// 订单列表 + orderUpdate: `${host1}nakadai/nakadai/order/update`,// 订单更新 + renew: `${host1}nakadai/nakadai/orderOther/renew`,// 续费信息管理-post + ship: `${host1}nakadai/nakadai/orderOther/ship`,// 处理时的订单发货管理-post + getOrderOtherTime: `${host1}nakadai/nakadai/orderOther/getOrderOtherTime`, queryAccountIsExist: `liuwanr/userInfo/queryServerAccountIsExist`, //查询账号是否存在 @@ -37,6 +38,8 @@ export default { doAssign: `data/data/permission/doAssign`, updateCustomerByRoleId: `nakadai/nakadai/customer/updateCustomerByRoleId`, checkEmailOrPhone: `nakadai/nakadai/customer/checkEmailOrPhone`, // 新增客户前:校验手机号或者邮箱 + getProductsSubscribedByCustomers: `nakadai/nakadai/customer/getProductsSubscribedByCustomers`, + orderBulkDisableEnable: `/nakadai/nakadai/orderOther/orderBulkDisableEnable`, resetPwdCustomer: `nakadai/nakadai/customer/resetPwd`, queryCustomerIsExists: `nakadai/nakadai/customer/queryCustomerIsExists`, diff --git a/src/views/customer/AddCustomer.vue b/src/views/customer/AddCustomer.vue index 8f9bea9..566e326 100644 --- a/src/views/customer/AddCustomer.vue +++ b/src/views/customer/AddCustomer.vue @@ -83,45 +83,51 @@
- 导出列表 + 导出列表
- + - - + + + + - + @@ -132,13 +138,13 @@
- +
- + - - - - - - + + + + + + + + + + + + + + - + - +