diff --git a/apis/request.js b/apis/request.js index 7cb0904..a736015 100644 --- a/apis/request.js +++ b/apis/request.js @@ -41,6 +41,8 @@ const request = options => { }) }, 1500) reject(data) + } else if (status == 10028) { // 用户不存在 + resolve(data) } else if (!status) { resolve(data) } else { diff --git a/order/addCourse/addCourse.vue b/order/addCourse/addCourse.vue index 3d21088..d6c6e47 100644 --- a/order/addCourse/addCourse.vue +++ b/order/addCourse/addCourse.vue @@ -230,7 +230,9 @@ miniProgramPictureAddress: e.appletIcon || '', // 图标 settlementPrice: trial ? 0 : '', // 结算价 settlementPriceUnit: e.settlementPrice || 0, // 结算单价 - serviceFee: 0 // 平台服务费(前端计算后展示,不入库) + serviceFee: 0, // 平台服务费(前端计算后展示,不入库) + mallNonAssociatedLinks: e.mallNonAssociatedLinks, // 产品链接 + typeName: e.typeName } }, // 判断是否为客户已有的课程 diff --git a/order/editCourse/editCourse.vue b/order/editCourse/editCourse.vue index a6e75de..5bc749c 100644 --- a/order/editCourse/editCourse.vue +++ b/order/editCourse/editCourse.vue @@ -16,7 +16,7 @@ 产品类型 - {{ productTypes.find(e => e.id === item.productType).name }} + {{ item.typeName }} 使用期限 @@ -95,20 +95,6 @@ id: 2 }], unitText: ['日', '月', '年'], - productTypes: [ - { - name: '实训课程', - id: 1 - }, - { - name: '理论课程', - id: 0 - }, - { - name: '数据产品', - id: 2 - } - ], courses: {} , // 上一页缓存的产品 orderRepeat: [], repeatMsg: '', diff --git a/order/orderDetail/orderDetail.vue b/order/orderDetail/orderDetail.vue index 738e5bc..9724676 100644 --- a/order/orderDetail/orderDetail.vue +++ b/order/orderDetail/orderDetail.vue @@ -60,7 +60,7 @@ {{ c.name }}