From 7b495b35fdc4fb438c85cf6b08e2f75d0ad42fb8 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 2 Sep 2022 16:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=BE=E7=A8=8B=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/setting.js | 1 + src/utils/api.js | 1 + src/views/course/AddCurriculum.vue | 19 +++++++------ src/views/course/contentSettings.vue | 4 +++ src/views/order/AddOrder.vue | 42 ++++++++++++++++++---------- src/views/order/Order.vue | 33 ++++++++++++++++++---- 6 files changed, 72 insertions(+), 28 deletions(-) diff --git a/src/setting.js b/src/setting.js index d7837ac..3f54fc8 100644 --- a/src/setting.js +++ b/src/setting.js @@ -10,6 +10,7 @@ let host = `${location.origin}/` if (isDev) { jumpPath = 'http://192.168.31.125:8087/' // 本地调试-需要启动本地判分点系统 host = 'http://121.37.12.51/' + // host = 'https://huorantech.cn/' // host = 'http://192.168.31.151:9000/'// 榕 // host = 'http://192.168.31.137:9000/'// 赓 } else if (isPro) { diff --git a/src/utils/api.js b/src/utils/api.js index 715afb7..5add5fe 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -27,6 +27,7 @@ export default { ship: `nakadai/nakadai/orderOther/ship`,// 处理时的订单发货管理-post bulkShipping: `nakadai/nakadai/orderOther/bulkShipping`, getOrderOtherTime: `nakadai/nakadai/orderOther/getOrderOtherTime`, + refreshCache: `data/data/myDate/refreshCache`, // 客户管理 delCustomers: `nakadai/nakadai/customer/delCustomers`, diff --git a/src/views/course/AddCurriculum.vue b/src/views/course/AddCurriculum.vue index 4abe193..a945795 100644 --- a/src/views/course/AddCurriculum.vue +++ b/src/views/course/AddCurriculum.vue @@ -187,7 +187,7 @@ @@ -317,7 +317,7 @@ @@ -594,11 +594,14 @@ export default { }, // 练习考核弹框 handleConfig(type) { - this.permissions = type; - this.configVisible = true; - this.pageNo = 1; - this.getConfig(); - this.checkeds = JSON.parse(JSON.stringify(type ? this.assessmentData : this.practiceData)) + this.systemKeyword = '' + this.projectKeyword = '' + this.checkedKeyword = '' + this.permissions = type; + this.configVisible = true; + this.pageNo = 1; + this.getConfig(); + this.checkeds = JSON.parse(JSON.stringify(type ? this.assessmentData : this.practiceData)) }, // 获取系统 getConfig() { @@ -630,7 +633,6 @@ export default { this.projectAll = JSON.parse(JSON.stringify(res)) // 全部项目,另外保存 const result = [] res.map(e => { - e.type = item.type ? '流程类' : '编程类' // 如果选择了该项目,则禁用并选中 const include = checked.some(n => n.projectId == e.projectId && n.systemId == e.systemId) e.check = include @@ -658,7 +660,6 @@ export default { if (val) { res.map(e => { if (!checkeds.find(n => n.projectId == e.projectId && n.systemId == e.systemId)) { - e.type = item.type ? '流程类' : '编程类' checkeds.push(e) } }) diff --git a/src/views/course/contentSettings.vue b/src/views/course/contentSettings.vue index 4c2d106..f3ea323 100644 --- a/src/views/course/contentSettings.vue +++ b/src/views/course/contentSettings.vue @@ -834,6 +834,10 @@ export default {