提交 99fc93d2 authored 作者: lihuihui's avatar lihuihui

修改问题

上级 7bc4e38b
......@@ -162,23 +162,23 @@ export default class PlayerAction extends BaseACTION {
chapterVideo: ''
}
}
json.course.push({
title: '大作业及资料',
chapters: [{
// name: '课程大作业',
// id: 'course_work'
// }, {
name: '课程资料',
id: 'course_info'
// }, {
// name: '教学评估',
// id: 'teach_evaluation'
}, {
name: '课程考试',
id: 'course_exam',
exam_id: (_res.examinations && _res.examinations[0] && _res.examinations[0].id) || ''
}]
})
// json.course.push({
// title: '大作业及资料',
// chapters: [{
// // name: '课程大作业',
// // id: 'course_work'
// // }, {
// name: '课程资料',
// id: 'course_info'
// // }, {
// // name: '教学评估',
// // id: 'teach_evaluation'
// }, {
// name: '课程考试',
// id: 'course_exam',
// exam_id: (_res.examinations && _res.examinations[0] && _res.examinations[0].id) || ''
// }]
// })
if (_res.course_examination) {
json.course[json.course.length - 1].chapters.push({
name: '课程考试',
......
......@@ -32,7 +32,7 @@ export default class DiscussAPI extends BaseAPI {
* 提出问题
* @param {[object]} param
*/
publishQues = (param) => this.post('/v2/qa/questions', param)
publishQues = (param) => this.post('/v2/qa/questions', param, { headers: { 'Content-Type': 'multipart/form-data' } })
/**
* 回答问题
* @param {[object]} param
......
......@@ -75,7 +75,7 @@
</div>
<div class='discuss-scroll' bindscrolltolower='loadmore' bindscrolltoupper='updatenew'>
<template v-for='(item, index) in discussList'>
<div v-if="item.questioner.uid == $GLOBAL.UserInfo.student_info.id" v-bind:key="index" class='item-list lhhId' @click='goDiscussDetail' :data-id='item.id' :data-sid='item.sid' :data-index='index'>
<div v-if="item.questioner.uid == $GLOBAL.UserInfo.id" v-bind:key="index" class='item-list lhhId' @click='goDiscussDetail' :data-id='item.id' :data-sid='item.sid' :data-index='index'>
<div class='user'>
<template v-if="item.user.url">
<img class='img' :src='item.user.url' />
......@@ -236,7 +236,7 @@ export default {
headerInfo: {}, // 后台数据返回
tabs: [{
title: '课程简介',
isShow: true,
isShow: false,
content: {
text: '<p><b>视频课程没有加载出来,请检查自己的网络环境,并重新刷新。</b>',
teachers: [{
......@@ -253,14 +253,14 @@ export default {
chapterList: {
currentChapterId: '11', // 当前章节id
course: [{
title: '第一章:测试章节',
title: '',
isUp: true,
chapters: [
// { id: '11', time: '28:18', name: '1.1 现值(PV)和终值(FV)' },
{ id: '12', time: '19:09', name: '1.2 测试课程' }
]
}, {
title: '第二章:证券估值',
title: '',
isUp: true,
chapters: [
// { id: '21', time: '27:49', name: '2.1 债券和股票的现金流贴现估值方法' },
......@@ -273,7 +273,7 @@ export default {
// isUp: true,
// chapters: []
// }, {
title: '课程资料',
title: '',
isUp: true,
chapters: []
}]
......@@ -314,6 +314,86 @@ export default {
}
}
}],
// tabs: [{
// title: '课程简介',
// isShow: false,
// content: {
// text: '<p><b>视频课程没有加载出来,请检查自己的网络环境,并重新刷新。</b>',
// teachers: [{
// src: '',
// name: '讲师姓名',
// edu: '学历',
// job: '职称',
// unit: '讲师所在单位'
// }]
// }
// }, {
// title: '课程内容',
// isShow: false,
// chapterList: {
// currentChapterId: '11', // 当前章节id
// course: [{
// title: '第一章:测试章节',
// isUp: true,
// chapters: [
// // { id: '11', time: '28:18', name: '1.1 现值(PV)和终值(FV)' },
// { id: '12', time: '19:09', name: '1.2 测试课程' }
// ]
// }, {
// title: '第二章:证券估值',
// isUp: true,
// chapters: [
// // { id: '21', time: '27:49', name: '2.1 债券和股票的现金流贴现估值方法' },
// // { id: '22', time: '16:04', name: '2.2 债券评级及债券协议' },
// // { id: '23', time: '', name: '公司金融第二周测验' },
// // { id: '24', time: '', name: '公司金融第二周作业' }
// ]
// }, {
// // title: '课程大作业',
// // isUp: true,
// // chapters: []
// // }, {
// title: '课程资料',
// isUp: true,
// chapters: []
// }]
// }
// }, {
// title: '课程讨论',
// isShow: false
// }, {
// title: '课程考核',
// isShow: false,
// richText: "<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</div> <img class='b1' src='https://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程反馈建设性问题及课程完成情况50分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>",
// assess: {
// score: '20',
// duration: '00:01:20',
// progress: '0/10',
// video: [{
// title: '第一章 市场营销原理导论',
// sid: '',
// cid: '',
// arr: [{
// name: '1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销',
// time: '12:08',
// progress: '100%',
// vid: ''
// }]
// }],
// homewrok: [{
// title: '第一章 市场营销原理导论',
// arr: [{
// name: '1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销',
// score: 20
// }]
// }],
// essay: {
// created_time: '',
// status: '未提交',
// score: '暂无'
// }
// }
// }],
sort: [
{ isShow: false, str: '' },
{ isShow: false, str: 'tag' }
......@@ -388,7 +468,7 @@ export default {
}, 3000)
setTimeout(() => {
this.domLength = $('.lhhId').length
}, 2000)
}, 1000)
},
destroyed () {
window.removeEventListener('resize', this.resizeRoot.bind(this), false)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论