diff --git a/apis/modules/parner.js b/apis/modules/parner.js index 51ff78a..b6a7e9d 100644 --- a/apis/modules/parner.js +++ b/apis/modules/parner.js @@ -39,4 +39,4 @@ export const queryTeamMembers = (data) => { export const updatePartner = (data) => { return post('nakadai/nakadai/partnerClassification/update', data) -} \ No newline at end of file +} diff --git a/config/request.js b/config/request.js index 6748186..042bc89 100644 --- a/config/request.js +++ b/config/request.js @@ -5,9 +5,9 @@ */ export default { - baseURL: 'https://huorantech.cn/', + // baseURL: 'https://huorantech.cn/', // baseURL: 'http://192.168.31.151:9000/', - // baseURL: 'http://121.37.12.51/', + baseURL: 'http://121.37.12.51/', headers: { 'Content-Type': 'application/json;charset=UTF-8' }, diff --git a/order/editCourse/editCourse.vue b/order/editCourse/editCourse.vue index 6cd791e..731f36d 100644 --- a/order/editCourse/editCourse.vue +++ b/order/editCourse/editCourse.vue @@ -18,7 +18,7 @@ 产品类型 {{ productTypes.find(e => e.id === item.productType).name }} - + 使用期限 {{ units.find(e => e.id === item.options).text }} @@ -118,7 +118,7 @@ courses: {} , // 上一页缓存的产品 orderRepeat: [], repeatMsg: '', - err: '' + err: '', } }, onShow() { @@ -163,6 +163,21 @@ courses.data.list.push(e) }) + // let selectData= [] + // let itemIndex = '' + // for (let item in courses) { + // if(courses[item].list.length) { + // const data = courses[item].list.find(options=>{ + // if(options.id == this.editId) { + // itemIndex = item + // } + // return options.id == this.editId + // }) + // selectData.push(data) + // break + // } + // } + // courses[itemIndex].list = selectData this.courses = courses try { uni.removeStorageSync('courses') diff --git a/order/orderDetail/orderDetail.vue b/order/orderDetail/orderDetail.vue index 2da3736..6e1743a 100644 --- a/order/orderDetail/orderDetail.vue +++ b/order/orderDetail/orderDetail.vue @@ -63,7 +63,8 @@ {{ c.name }}