From b5f168793100b7e38ec8cd0734a7c1bea62e9089 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 22 Mar 2022 15:03:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/setting.js | 4 ++-- src/views/course/AddCurriculum.vue | 2 ++ src/views/system/manageLog.vue | 12 ++++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/setting.js b/src/setting.js index 7e868c8..d576439 100644 --- a/src/setting.js +++ b/src/setting.js @@ -13,8 +13,8 @@ if (isDev) { // jumpPath = "http://39.108.250.202/judgmentPoint/"; jumpPath = "http://192.168.31.125:8087/"; // 本地调试-需要启动本地判分点系统 // host = "http://www.huorantech.cn:9000";//线上 - host = "http://39.108.250.202:9000/";//测试 - // host = 'http://192.168.31.151:9000/'// 榕 + // host = "http://39.108.250.202:9000/";//测试 + host = 'http://192.168.31.151:9000/'// 榕 // host = 'http://192.168.31.137:9000'// 赓 } else if (isTest) { // jumpPath = "http://124.71.12.62/judgmentPoint/"; diff --git a/src/views/course/AddCurriculum.vue b/src/views/course/AddCurriculum.vue index 5fcc94f..4a35cbf 100644 --- a/src/views/course/AddCurriculum.vue +++ b/src/views/course/AddCurriculum.vue @@ -613,6 +613,7 @@ export default { }; return obj; }); + this.form.systemIdByPractice.sort((a, b) => a.sort - b.sort) } if (!this.assessmentData.length) { this.$message.warning("请添加考核配置"); @@ -627,6 +628,7 @@ export default { }; return obj; }); + this.form.systemIdByAssessment.sort((a, b) => a.sort - b.sort) } this.submiting = true if (this.form.cid) { diff --git a/src/views/system/manageLog.vue b/src/views/system/manageLog.vue index 2c70ba7..6491483 100644 --- a/src/views/system/manageLog.vue +++ b/src/views/system/manageLog.vue @@ -31,8 +31,8 @@ - -

{{ item.draft ? '未发布' : item.updateTime }}

+ +

{{ item.draft ? '未发布' : item.updateTime }}

{{ item.versionName + (item.draft ? '(草稿)' : '') }} @@ -167,7 +167,10 @@ export default { }, // 版本切换 verChange(i) { - document.querySelector(`#ver${i}`).scrollIntoView() + window.scrollTo({ + top: document.querySelector(`.item${i}`).offsetTop, + behavior: 'smooth' + }) } } }; @@ -199,6 +202,7 @@ export default { padding-left: 40px; } .sign { + position: relative; margin: -11px 0 0 -22%; font-size: 14px; color: #9076FF; @@ -240,7 +244,7 @@ export default { font-size: 14px; color: #9984f1; img { - width: 30px; + width: 20px; margin-right: 5px; } }