diff --git a/apis/request.js b/apis/request.js index a736015..4031782 100644 --- a/apis/request.js +++ b/apis/request.js @@ -41,7 +41,7 @@ const request = options => { }) }, 1500) reject(data) - } else if (status == 10028) { // 用户不存在 + } else if (status == 10028 || status == 10014) { // 用户不存在 resolve(data) } else if (!status) { resolve(data) diff --git a/order/addCourse/addCourse.vue b/order/addCourse/addCourse.vue index d6c6e47..518b9c5 100644 --- a/order/addCourse/addCourse.vue +++ b/order/addCourse/addCourse.vue @@ -232,7 +232,7 @@ settlementPriceUnit: e.settlementPrice || 0, // 结算单价 serviceFee: 0, // 平台服务费(前端计算后展示,不入库) mallNonAssociatedLinks: e.mallNonAssociatedLinks, // 产品链接 - typeName: e.typeName + typeName: e.typeName, } }, // 判断是否为客户已有的课程 diff --git a/order/curClient/curClient.vue b/order/curClient/curClient.vue index 1fa3992..95c66fb 100644 --- a/order/curClient/curClient.vue +++ b/order/curClient/curClient.vue @@ -132,6 +132,11 @@ const { options } = pages[pages.length - 1] this.customerId = options.customerId this.customerName = options.name + // 清除订单缓存 + try { + uni.removeStorageSync('orderForm') + uni.removeStorageSync('courses') + } catch (e) {} this.initList() }, methods: { diff --git a/order/editCourse/editCourse.vue b/order/editCourse/editCourse.vue index 5bc749c..720d3f8 100644 --- a/order/editCourse/editCourse.vue +++ b/order/editCourse/editCourse.vue @@ -1,69 +1,71 @@ - - diff --git a/pages/workbench/workbench.vue b/pages/workbench/workbench.vue index 6c9f59f..8185815 100644 --- a/pages/workbench/workbench.vue +++ b/pages/workbench/workbench.vue @@ -18,16 +18,16 @@ 客户 -
  • +
  • 方案
  • - + 学习
  • - + 资讯
  • @@ -333,6 +333,10 @@ .icon { width: 78rpx; } + .info-icon { + width: 64rpx; + max-height: 64rpx; + } .text { font-size: 28rpx; color: #333; diff --git a/pages/plans/plans.vue b/team/plans/plans.vue similarity index 100% rename from pages/plans/plans.vue rename to team/plans/plans.vue