课程修复

dev_2022-03-03
yujialong 3 years ago
parent 2150f73da4
commit b5f1687931
  1. 4
      src/setting.js
  2. 2
      src/views/course/AddCurriculum.vue
  3. 12
      src/views/system/manageLog.vue

@ -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/";

@ -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) {

@ -31,8 +31,8 @@
</div>
</div>
<el-timeline class="timeline">
<el-timeline-item placement="top" v-for="(item, i) in listData" :key="i" :class="{draft: item.draft}">
<p class="sign" :id="'ver' + i">{{ item.draft ? '未发布' : item.updateTime }}</p>
<el-timeline-item placement="top" v-for="(item, i) in listData" :key="i" :class="['item' + i, {draft: item.draft}]">
<p class="sign">{{ item.draft ? '未发布' : item.updateTime }}</p>
<div class="ver">
<div>
{{ 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;
}
}

Loading…
Cancel
Save