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 @@