提交 47d032a0 authored 作者: 王鹏飞's avatar 王鹏飞

ciis

上级 049bf68c
module.exports = {
domain: 'dev.ezijing.com',
url: 'https://sofia-learning2.ezijing.com/api',
url: 'https://ciis-learning2.ezijing.com/api',
apiBaseURL: '/',
others: {
url: '/app/learn/course',
loginUrl: 'https://login2.ezijing.com/sofia/login/index'
loginUrl: 'https://login2.ezijing.com/ciis/login/index'
},
webpack: {
externals: {
......
......@@ -4,7 +4,7 @@ module.exports = {
apiBaseURL: '/',
others: {
url: '/app/learn/course',
loginUrl: 'https://login.ezijing.com/sofia/login/index'
loginUrl: 'https://login.ezijing.com/ciis/login/index'
},
webpack: {
externals: {
......
......@@ -4,7 +4,7 @@ module.exports = {
apiBaseURL: '/',
others: {
url: '/app/learn/course',
loginUrl: 'https://login2.ezijing.com/sofia/login/index'
loginUrl: 'https://login2.ezijing.com/ciis/login/index'
},
isUploadStatic: false,
webpack: {
......
export default {
title: '紫荆教育MBA学习系统',
tenant: 'sofia'
tenant: 'ciis'
}
......@@ -201,42 +201,42 @@ export default class CourseAction extends BaseACTION {
cid: cid,
type: 100
})
json.tabs1ChapterList.course.push({
title: _vIn.$t('action.courseAction.teachingEvaluation'),
isUp: true,
chapters: [],
id: 'teach_evaluation',
sid: sid,
cid: cid,
type: 102
})
if (cur.course_examination) {
let courseExamChildren = []
if (data.exist_examination && data.exist_examination.length > 1) {
courseExamChildren = data.exist_examination.map((item, index) => {
const map = ['一', '二', '三']
return {
name: `第${map[index]}次考试`,
id: 'course_exam',
offset: index,
sid: sid,
cid: cid,
examId: cur.course_examination,
type: 101
}
})
}
json.tabs1ChapterList.course.push({
title: _vIn.$t('action.courseAction.courseExam'),
isUp: true,
chapters: courseExamChildren,
id: 'course_exam',
sid: sid,
cid: cid,
examId: cur.course_examination,
type: 101
})
}
// json.tabs1ChapterList.course.push({
// title: _vIn.$t('action.courseAction.teachingEvaluation'),
// isUp: true,
// chapters: [],
// id: 'teach_evaluation',
// sid: sid,
// cid: cid,
// type: 102
// })
// if (cur.course_examination) {
// let courseExamChildren = []
// if (data.exist_examination && data.exist_examination.length > 1) {
// courseExamChildren = data.exist_examination.map((item, index) => {
// const map = ['一', '二', '三']
// return {
// name: `第${map[index]}次考试`,
// id: 'course_exam',
// offset: index,
// sid: sid,
// cid: cid,
// examId: cur.course_examination,
// type: 101
// }
// })
// }
// json.tabs1ChapterList.course.push({
// title: _vIn.$t('action.courseAction.courseExam'),
// isUp: true,
// chapters: courseExamChildren,
// id: 'course_exam',
// sid: sid,
// cid: cid,
// examId: cur.course_examination,
// type: 101
// })
// }
/* 课程考核 考核标准文案读取 */
json.tabs3richTest = cur.course_evaluation
// callback(json) // 可以不使用callback 因为使用then
......
......@@ -317,7 +317,7 @@ export default class PlayerAction extends BaseACTION {
attrs: {
multiple: true,
headers: {
tenant: 'sofia'
tenant: 'ciis'
}
},
html: `
......@@ -377,7 +377,7 @@ export default class PlayerAction extends BaseACTION {
attrs: {
multiple: true,
headers: {
tenant: 'sofia'
tenant: 'ciis'
}
},
html: `
......
......@@ -36,7 +36,7 @@ export default class API {
/* 具体执行请求失败后业务逻辑前,先执行该方法 */
const beforeFail = _config.beforeFail ? _config.beforeFail : this._reqFail
const headers = {
tenant: 'sofia',
tenant: 'ciis',
version: window.G.VERSION,
'Content-Type': 'application/x-www-form-urlencoded'
}
......
src/assets/images/logo-header.png

3.9 KB | W: | H:

src/assets/images/logo-header.png

12.7 KB | W: | H:

src/assets/images/logo-header.png
src/assets/images/logo-header.png
src/assets/images/logo-header.png
src/assets/images/logo-header.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -37,7 +37,7 @@ export default {
height: 400,
uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: { tenant: 'sofia' },
fileTools_requestHeaders: { tenant: 'ciis' },
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [
// { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] },
......
......@@ -56,7 +56,7 @@ export default {
display: flex;
align-items: center;
justify-content: space-between;
color: #fff;
color: #b80037;
.nav-left {
float: left;
position: relative;
......@@ -65,8 +65,8 @@ export default {
position: absolute;
left: 0;
top: 50%;
height: 37%;
width: auto;
// height: 80%;
width: 160px;
transform: translateY(-50%);
}
.text-title {
......
......@@ -86,11 +86,11 @@ export default {
{ name: this.$t('components.learnSysLayout.sideBar.header2Child1'), index: '2-1' }
]
},
{
name: this.$t('components.learnSysLayout.sideBar.header3'),
iconClass: 'el-icon-office-building',
index: '4'
},
// {
// name: this.$t('components.learnSysLayout.sideBar.header3'),
// iconClass: 'el-icon-office-building',
// index: '4'
// },
{
name: this.$t('components.learnSysLayout.sideBar.header4'),
iconClass: 'el-icon-self-fankuiyijian',
......
......@@ -72,10 +72,10 @@ export default {
return
}
// 课程大作业
if (data.id === 'course_work' && !this.data.survey) {
this.$message(this.$t('viewerMain.teachingEvaluationTips'))
return
}
// if (data.id === 'course_work' && !this.data.survey) {
// this.$message(this.$t('viewerMain.teachingEvaluationTips'))
// return
// }
// 教学评估
if (data.id === 'teach_evaluation') {
const { sid, cid } = this.$route.params
......
......@@ -37,7 +37,7 @@ export default {
height: 400,
uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: { tenant: 'sofia' },
fileTools_requestHeaders: { tenant: 'ciis' },
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [
// { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] },
......
......@@ -111,18 +111,18 @@ export default {
name: this.$t('viewerMain.workData'),
children: [
{ name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 },
{ name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 },
{ name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 }
{ name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 }
// { name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 }
]
}
// 课程考试
if (this.detail.course_examination) {
customeChapter.children.push({
name: this.$t('viewerMain.courseExam'),
id: 'course_exam',
type: 101
})
}
// if (this.detail.course_examination) {
// customeChapter.children.push({
// name: this.$t('viewerMain.courseExam'),
// id: 'course_exam',
// type: 101
// })
// }
chapters.push(customeChapter)
return chapters
},
......
......@@ -146,7 +146,7 @@ export default {
height: 300,
uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: { tenant: 'sofia' },
fileTools_requestHeaders: { tenant: 'ciis' },
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [
// { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] },
......
......@@ -574,7 +574,7 @@ export default {
uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: {
tenant: 'sofia'
tenant: 'ciis'
},
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [
......@@ -660,10 +660,10 @@ export default {
window.localStorage.setItem('headerInfo', JSON.stringify(this.headerInfo))
const { sid, cid } = data
// 课程大作业
if (data.id === 'course_work' && !this.headerInfo.survey) {
this.$message('请先填写教学评估,然后完成大作业。')
return
}
// if (data.id === 'course_work' && !this.headerInfo.survey) {
// this.$message('请先填写教学评估,然后完成大作业。')
// return
// }
// 教学评估
if (data.id === 'teach_evaluation') {
const { sid, cid } = this.$route.params
......
......@@ -56,7 +56,7 @@ export default {
<style lang="scss" scoped>
.el-header {
z-index: 1;
background: #252625;
background: #fff;
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}
.el-main {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论