Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
47d032a0
提交
47d032a0
authored
11月 17, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ciis
上级
049bf68c
隐藏空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
74 行增加
和
74 行删除
+74
-74
.config.dev.js
.config.dev.js
+2
-2
.config.pro.js
.config.pro.js
+1
-1
.config.test.js
.config.test.js
+1
-1
project.config.js
project.config.js
+1
-1
CourseAction.js
src/action/CourseAction.js
+36
-36
PlayerAction.js
src/action/PlayerAction.js
+2
-2
base_api.js
src/api/base_api.js
+1
-1
logo-header.png
src/assets/images/logo-header.png
+0
-0
editor.vue
src/components/editor.vue
+1
-1
navigation.vue
src/components/learnSysLayout/navigation.vue
+3
-3
sidebar.vue
src/components/learnSysLayout/sidebar.vue
+5
-5
chapter.vue
src/modules/viewer/components/aside/chapter.vue
+4
-4
editor.vue
src/modules/viewer/components/common/editor.vue
+1
-1
index.vue
src/modules/viewer/index.vue
+9
-9
feedbackCreate.vue
src/pages/feedback/feedbackCreate.vue
+1
-1
courseDetail.vue
src/pages/learn/courseDetail.vue
+5
-5
mainsite.vue
src/pages/mainsite.vue
+1
-1
没有找到文件。
.config.dev.js
浏览文件 @
47d032a0
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
:
{
...
...
.config.pro.js
浏览文件 @
47d032a0
...
...
@@ -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
:
{
...
...
.config.test.js
浏览文件 @
47d032a0
...
...
@@ -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
:
{
...
...
project.config.js
浏览文件 @
47d032a0
export
default
{
title
:
'紫荆教育MBA学习系统'
,
tenant
:
'
sofia
'
tenant
:
'
ciis
'
}
src/action/CourseAction.js
浏览文件 @
47d032a0
...
...
@@ -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
...
...
src/action/PlayerAction.js
浏览文件 @
47d032a0
...
...
@@ -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
:
`
...
...
src/api/base_api.js
浏览文件 @
47d032a0
...
...
@@ -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
查看替换文件 @
049bf68c
浏览文件 @
47d032a0
3.9 KB
|
W:
|
H:
12.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/editor.vue
浏览文件 @
47d032a0
...
...
@@ -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'] },
...
...
src/components/learnSysLayout/navigation.vue
浏览文件 @
47d032a0
...
...
@@ -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
{
...
...
src/components/learnSysLayout/sidebar.vue
浏览文件 @
47d032a0
...
...
@@ -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'
,
...
...
src/modules/viewer/components/aside/chapter.vue
浏览文件 @
47d032a0
...
...
@@ -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
...
...
src/modules/viewer/components/common/editor.vue
浏览文件 @
47d032a0
...
...
@@ -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'] },
...
...
src/modules/viewer/index.vue
浏览文件 @
47d032a0
...
...
@@ -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
},
...
...
src/pages/feedback/feedbackCreate.vue
浏览文件 @
47d032a0
...
...
@@ -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'] },
...
...
src/pages/learn/courseDetail.vue
浏览文件 @
47d032a0
...
...
@@ -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
...
...
src/pages/mainsite.vue
浏览文件 @
47d032a0
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论