From 10d6c0331f5ae170589f8f713eb949ecf5d7a0d5 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 27 May 2022 17:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/modules/course.js | 4 + apis/modules/order.js | 32 ++--- apis/request.js | 2 +- components/sl-filter/sl-filter.vue | 1 - pages.json | 8 ++ pages/addCourse/addCourse.vue | 55 ++++++-- pages/addStaff/addStaff.vue | 2 +- pages/editCourse/editCourse.vue | 94 ++++++++----- pages/orderDetail/orderDetail.vue | 141 ++++++++++++------- pages/orders/orders.vue | 6 +- pages/products/products.vue | 216 +++++++++++++++++++++++++++++ static/{ => image}/qrcode.png | Bin styles/common.scss | 6 + 13 files changed, 451 insertions(+), 116 deletions(-) create mode 100644 pages/products/products.vue rename static/{ => image}/qrcode.png (100%) diff --git a/apis/modules/course.js b/apis/modules/course.js index db4097b..273137a 100644 --- a/apis/modules/course.js +++ b/apis/modules/course.js @@ -3,4 +3,8 @@ const { get, post } = request export const curriculumList = (data) => { return post('nakadai/nakadai/curriculum/curriculumList', data) +} + +export const AppletsDataProductList = (data) => { + return post('nakadai/nakadai/dataProduct/AppletsDataProductList', data) } \ No newline at end of file diff --git a/apis/modules/order.js b/apis/modules/order.js index 14567c9..78b6b3f 100644 --- a/apis/modules/order.js +++ b/apis/modules/order.js @@ -1,34 +1,22 @@ import request from '@/apis/request.js' const { get, post } = request -export const queryCustomer = (data) => { - return post('nakadai/nakadai/customer/queryCustomer', data) +export const getOrderOtherTime = (data) => { + return post('nakadai/nakadai/orderOther/getOrderOtherTime', data) } -export const queryCustomerDetails = (data) => { - return get('nakadai/nakadai/customer/queryCustomerDetails', data) +export const add = (data) => { + return post('nakadai/nakadai/order/add', data) } -export const querySchool = (data) => { - return get('nakadai/nakadai/school/querySchool', data) +export const update = (data) => { + return post('nakadai/nakadai/order/update', data) } -export const queryIndustryClass = (data) => { - return get('nakadai/nakadai/hrIndustryClass/queryIndustryClass', data) +export const getDetail = (data) => { + return get('nakadai/nakadai/order/get', data) } -export const queryIndustry = (data) => { - return get('nakadai/nakadai/hrIndustry/queryIndustry', data) -} - -export const queryCustomerIsExists = (data) => { - return get('nakadai/nakadai/customer/queryCustomerIsExists', data) -} - -export const addCustomer = (data) => { - return post('nakadai/nakadai/customer/addCustomer', data) -} - -export const updateCustomer = (data) => { - return post('nakadai/nakadai/customer/updateCustomer', data) +export const renew = (data) => { + return post('nakadai/nakadai/orderOther/renew', data) } \ No newline at end of file diff --git a/apis/request.js b/apis/request.js index 40ecc86..368e32d 100644 --- a/apis/request.js +++ b/apis/request.js @@ -12,7 +12,7 @@ const request = options => { }) } const header = Object.assign({}, config.headers, { - token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyIiwiaWF0IjoxNjUzNTMwODYyLCJleHAiOjE2NTM1NzQwNjIsImFjY291bnRJZCI6IjEifQ.ZFU5-NtjHBxKLcKUo6OuIrM8Na9HYQB6SqQSd4ZkXbo' + token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyIiwiaWF0IjoxNjUzNjE3NjI4LCJleHAiOjE2NTM2NjA4MjgsImFjY291bnRJZCI6IjEifQ.AmvmMxWkRD4f8J4oWHoRvm1CCrzBm7TH2QDG4E175_s' }) return new Promise((resolve, reject)=>{ uni.request({ diff --git a/components/sl-filter/sl-filter.vue b/components/sl-filter/sl-filter.vue index c0fcce9..f44ac47 100644 --- a/components/sl-filter/sl-filter.vue +++ b/components/sl-filter/sl-filter.vue @@ -263,7 +263,6 @@ @import 'iconfont/iconfont.css'; .select-tab { - border-bottom: #F7F7F7 1px solid; background-color: #FFFFFF; display: flex; width: 100%; diff --git a/pages.json b/pages.json index 779b300..d16266b 100644 --- a/pages.json +++ b/pages.json @@ -7,6 +7,14 @@ "navigationBarTitleText": "订单列表", "enablePullDownRefresh": false } + }, + { + "path" : "pages/products/products", + "style" : + { + "navigationBarTitleText": "产品", + "enablePullDownRefresh": true + } }, { "path" : "pages/clients/clients", diff --git a/pages/addCourse/addCourse.vue b/pages/addCourse/addCourse.vue index 95d2966..953df50 100644 --- a/pages/addCourse/addCourse.vue +++ b/pages/addCourse/addCourse.vue @@ -10,7 +10,7 @@