Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
9a8ac01c
提交
9a8ac01c
authored
6月 25, 2019
作者:
GOD_ZYX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
重新发布 enterprise
上级
75ddcb68
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
55 行增加
和
55 行删除
+55
-55
login-left-bg.png
client/components/login/img/login-left-bg.png
+0
-0
login.vue
client/components/login/login.vue
+1
-1
normal.vue
client/components/login/normal/normal.vue
+1
-1
chapter_api.js
client/components/services/api/chapter_api.js
+12
-12
course_api.js
client/components/services/api/course_api.js
+6
-6
discuss_api.js
client/components/services/api/discuss_api.js
+11
-11
login_api.js
client/components/services/api/login_api.js
+3
-3
msg_api.js
client/components/services/api/msg_api.js
+1
-1
report_api.js
client/components/services/api/report_api.js
+11
-11
score_api.js
client/components/services/api/score_api.js
+2
-2
base_api.js
client/components/services/base_api.js
+2
-2
survey.vue
client/components/survey/survey.vue
+2
-2
logo-header.png
client/project/assets/img/logo-header.png
+0
-0
navigation.vue
client/project/components/layout/navigation.vue
+1
-1
index.html
client/project/index.html
+1
-1
course.vue
client/project/pages/myLearn/course.vue
+1
-1
没有找到文件。
client/components/login/img/login-left-bg.png
查看替换文件 @
75ddcb68
浏览文件 @
9a8ac01c
38.9 KB
|
W:
|
H:
19.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
client/components/login/login.vue
浏览文件 @
9a8ac01c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"p-con"
>
<div
class=
"p-con"
>
<div
class=
"hd"
>
<div
class=
"hd"
>
<img
src=
"./img/logo.png"
alt=
"logo"
>
<img
src=
"./img/logo.png"
alt=
"logo"
>
<div
class=
"txt"
>
在线学习系统
</div>
<div
class=
"txt"
>
清控紫荆课堂
</div>
</div>
</div>
<div
class=
"bd"
>
<div
class=
"bd"
>
<div
class=
"top50 container"
>
<div
class=
"top50 container"
>
...
...
client/components/login/normal/normal.vue
浏览文件 @
9a8ac01c
<
template
>
<
template
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"hidden-xs-only col-md-5 col-lg-6 col-xl-6"
>
<div
class=
"hidden-xs-only col-md-5 col-lg-6 col-xl-6"
>
<img
src=
"../img/login-left-bg.png"
alt=
"左侧-sofia logo"
>
<img
src=
"../img/login-left-bg.png"
alt=
"左侧-sofia logo"
style=
"border: 1px solid #fff; border-radius: 50%;"
>
</div>
</div>
<div
class=
"col-12 col-md-7 col-lg-5 col-xl-4"
>
<div
class=
"col-12 col-md-7 col-lg-5 col-xl-4"
>
<el-form
ref=
"setAccountform"
:model=
"setAccount"
:rules=
"accountRules"
>
<el-form
ref=
"setAccountform"
:model=
"setAccount"
:rules=
"accountRules"
>
...
...
client/components/services/api/chapter_api.js
浏览文件 @
9a8ac01c
...
@@ -7,19 +7,19 @@ export default class ChapterAPI extends BaseAPI {
...
@@ -7,19 +7,19 @@ export default class ChapterAPI extends BaseAPI {
* @param {[string]} cur_semester_id -> sid
* @param {[string]} cur_semester_id -> sid
* @param {[string]} cur_video_id -> vid
* @param {[string]} cur_video_id -> vid
*/
*/
getChapterList
=
(
cid
,
sid
,
vid
)
=>
this
.
get
(
`/
tenant
/v2/education/courses/
${
sid
}
/
${
cid
}
`
,
{})
getChapterList
=
(
cid
,
sid
,
vid
)
=>
this
.
get
(
`/
ep
/v2/education/courses/
${
sid
}
/
${
cid
}
`
,
{})
/**
/**
* 获取对应某个章节的详细信息
* 获取对应某个章节的详细信息
* @param {[string]} vid
* @param {[string]} vid
*/
*/
getCurrentChapterDetail
=
(
vid
)
=>
this
.
post
(
'/
tenant
/v2/education/video-streaming'
,
{
vid
})
getCurrentChapterDetail
=
(
vid
)
=>
this
.
post
(
'/
ep
/v2/education/video-streaming'
,
{
vid
})
/**
/**
* 获取进度信息
* 获取进度信息
* @param {[string]} vid
* @param {[string]} vid
* @param {[string]} did
* @param {[string]} did
* @param {[string]} sid
* @param {[string]} sid
*/
*/
getProgress
=
(
vid
,
did
,
sid
)
=>
this
.
get
(
`/
tenant
/v2/education/video/
${
sid
}
/
${
vid
}
/device`
,
{
device_id
:
did
})
getProgress
=
(
vid
,
did
,
sid
)
=>
this
.
get
(
`/
ep
/v2/education/video/
${
sid
}
/
${
vid
}
/device`
,
{
device_id
:
did
})
/**
/**
* 提交进度信息
* 提交进度信息
* @param {[object]} obj
* @param {[object]} obj
...
@@ -32,50 +32,50 @@ export default class ChapterAPI extends BaseAPI {
...
@@ -32,50 +32,50 @@ export default class ChapterAPI extends BaseAPI {
_m: obj.mpt, // 当前播放最大时间
_m: obj.mpt, // 当前播放最大时间
_c: obj.cpt // 当前播放位置
_c: obj.cpt // 当前播放位置
*/
*/
updateProgress
=
(
obj
=
{})
=>
this
.
get
(
'/
tenant
/v2/analytics/upload-video'
,
obj
)
updateProgress
=
(
obj
=
{})
=>
this
.
get
(
'/
ep
/v2/analytics/upload-video'
,
obj
)
/**
/**
* 获取试题信息
* 获取试题信息
* @param {[string]} eid
* @param {[string]} eid
* @param {[string]} sid
* @param {[string]} sid
*/
*/
getExamDetail
=
(
sid
,
eid
)
=>
this
.
get
(
`/
tenant
/v2/education/homeworks/
${
sid
}
/
${
eid
}
`
,
{})
getExamDetail
=
(
sid
,
eid
)
=>
this
.
get
(
`/
ep
/v2/education/homeworks/
${
sid
}
/
${
eid
}
`
,
{})
/**
/**
* 提交考试信息
* 提交考试信息
* @param {[object]} param
* @param {[object]} param
*/
*/
submitExamDetail
=
(
param
)
=>
this
.
post
(
`/
tenant
/v2/education/homeworks`
,
param
)
submitExamDetail
=
(
param
)
=>
this
.
post
(
`/
ep
/v2/education/homeworks`
,
param
)
/**
/**
* 获取对应 作业或问题 回答
* 获取对应 作业或问题 回答
* @param {[string]} sid
* @param {[string]} sid
* @param {[string]} id resource_id
* @param {[string]} id resource_id
*/
*/
getHomework
=
(
sid
,
id
)
=>
this
.
get
(
`/
tenant
/v2/education/homeworks/
${
sid
}
/
${
id
}
`
,
{})
getHomework
=
(
sid
,
id
)
=>
this
.
get
(
`/
ep
/v2/education/homeworks/
${
sid
}
/
${
id
}
`
,
{})
/**
/**
* 文件提交
* 文件提交
* @param {[object]} obj
* @param {[object]} obj
*/
*/
uploadFile
=
(
obj
=
{})
=>
this
.
post
(
'/
tenant
/util/upload-file'
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
uploadFile
=
(
obj
=
{})
=>
this
.
post
(
'/
ep
/util/upload-file'
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
/**
/**
* 提交课程 作业或问题
* 提交课程 作业或问题
*/
*/
updateHomework
=
(
obj
=
{})
=>
this
.
post
(
'/
tenant
/v2/education/homeworks'
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
updateHomework
=
(
obj
=
{})
=>
this
.
post
(
'/
ep
/v2/education/homeworks'
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
/**
/**
* 获取对应 大作业 回答
* 获取对应 大作业 回答
* @param {[string]} sid
* @param {[string]} sid
* @param {[string]} cid
* @param {[string]} cid
*/
*/
getCourseHomework
=
(
sid
,
cid
)
=>
this
.
get
(
`/
tenant
/v2/education/courses/
${
sid
}
/
${
cid
}
/essay`
,
{})
getCourseHomework
=
(
sid
,
cid
)
=>
this
.
get
(
`/
ep
/v2/education/courses/
${
sid
}
/
${
cid
}
/essay`
,
{})
/**
/**
* 提交课程 大作业
* 提交课程 大作业
* @param {[string]} sid
* @param {[string]} sid
* @param {[string]} cid
* @param {[string]} cid
*/
*/
updateCourseHomework
=
(
sid
,
cid
,
obj
=
{})
=>
this
.
post
(
`/
tenant
/v2/education/courses/
${
sid
}
/
${
cid
}
/essay`
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
updateCourseHomework
=
(
sid
,
cid
,
obj
=
{})
=>
this
.
post
(
`/
ep
/v2/education/courses/
${
sid
}
/
${
cid
}
/essay`
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
/**
/**
* 提交 课程考核
* 提交 课程考核
* @param {[string]} obj.sid
* @param {[string]} obj.sid
* @param {[string]} obj.cid
* @param {[string]} obj.cid
* @param {[string]} obj.raw (base64)
* @param {[string]} obj.raw (base64)
*/
*/
updateSurveyAnswer
=
(
obj
)
=>
this
.
post
(
`/
tenant
/v2/education/survey/answer`
,
obj
)
updateSurveyAnswer
=
(
obj
)
=>
this
.
post
(
`/
ep
/v2/education/survey/answer`
,
obj
)
}
}
client/components/services/api/course_api.js
浏览文件 @
9a8ac01c
...
@@ -4,35 +4,35 @@ export default class CourseAPI extends BaseAPI {
...
@@ -4,35 +4,35 @@ export default class CourseAPI extends BaseAPI {
/**
/**
* 获取学期分类信息
* 获取学期分类信息
*/
*/
getlearnFindList
=
()
=>
this
.
get
(
'/
tenant
/v2/education/semesters'
,
{})
getlearnFindList
=
()
=>
this
.
get
(
'/
ep
/v2/education/semesters'
,
{})
/**
/**
* 获取所有课程列表 - 选课广场 和 我的课程 共用同一个,通过 isMy判断
* 获取所有课程列表 - 选课广场 和 我的课程 共用同一个,通过 isMy判断
* @param {[string]} isMy
* @param {[string]} isMy
* @param {[object]} param
* @param {[object]} param
*/
*/
getCourseList
=
(
isMy
,
param
)
=>
this
.
get
(
'/
tenant
/v2/education/courses'
+
(
isMy
?
'/my'
:
''
),
param
)
getCourseList
=
(
isMy
,
param
)
=>
this
.
get
(
'/
ep
/v2/education/courses'
+
(
isMy
?
'/my'
:
''
),
param
)
/**
/**
* 获取某个课程详细信息 - 课程考核 和 课程讨论单独获取
* 获取某个课程详细信息 - 课程考核 和 课程讨论单独获取
* @param {[string]} id
* @param {[string]} id
* @param {[string]} sid
* @param {[string]} sid
*/
*/
getCourseDetail
=
(
id
,
sid
)
=>
this
.
get
(
`/
tenant
/v2/education/courses/
${
sid
}
/
${
id
}
`
,
{})
getCourseDetail
=
(
id
,
sid
)
=>
this
.
get
(
`/
ep
/v2/education/courses/
${
sid
}
/
${
id
}
`
,
{})
/**
/**
* 获取课程考核信息
* 获取课程考核信息
* @param {[string]} cid
* @param {[string]} cid
* @param {[string]} sid
* @param {[string]} sid
*/
*/
getCourseAssess
=
(
cid
,
sid
)
=>
this
.
get
(
`/
tenant
/v2/analytics/courses/
${
sid
}
/
${
cid
}
/evaluation`
,
{})
getCourseAssess
=
(
cid
,
sid
)
=>
this
.
get
(
`/
ep
/v2/analytics/courses/
${
sid
}
/
${
cid
}
/evaluation`
,
{})
/**
/**
* 选课
* 选课
* @param {[string]} cid
* @param {[string]} cid
* @param {[string]} sid
* @param {[string]} sid
*/
*/
selectCourse
=
(
cid
,
sid
)
=>
this
.
post
(
`/
tenant
/v2/education/courses/major`
,
{
course_id
:
cid
,
semester_id
:
sid
})
selectCourse
=
(
cid
,
sid
)
=>
this
.
post
(
`/
ep
/v2/education/courses/major`
,
{
course_id
:
cid
,
semester_id
:
sid
})
/**
/**
* 退课
* 退课
* @param {[string]} cid
* @param {[string]} cid
* @param {[string]} sid
* @param {[string]} sid
*/
*/
outSelectCourse
=
(
cid
,
sid
)
=>
this
.
post
(
`/
tenant
/v2/education/courses/drop`
,
{
course_id
:
cid
,
semester_id
:
sid
})
outSelectCourse
=
(
cid
,
sid
)
=>
this
.
post
(
`/
ep
/v2/education/courses/drop`
,
{
course_id
:
cid
,
semester_id
:
sid
})
}
}
client/components/services/api/discuss_api.js
浏览文件 @
9a8ac01c
...
@@ -8,7 +8,7 @@ export default class DiscussAPI extends BaseAPI {
...
@@ -8,7 +8,7 @@ export default class DiscussAPI extends BaseAPI {
* @param {[string]} path
* @param {[string]} path
* @param {[object]} dataJson
* @param {[object]} dataJson
*/
*/
getDiscussList
=
(
path
,
dataJson
)
=>
this
.
get
(
'/
tenant
/v2/qa/questions'
+
path
,
dataJson
)
getDiscussList
=
(
path
,
dataJson
)
=>
this
.
get
(
'/
ep
/v2/qa/questions'
+
path
,
dataJson
)
/**
/**
* 获取讨论题目列表,“课程的问题”信息
* 获取讨论题目列表,“课程的问题”信息
* dataJson.limit - 获取数量
* dataJson.limit - 获取数量
...
@@ -18,50 +18,50 @@ export default class DiscussAPI extends BaseAPI {
...
@@ -18,50 +18,50 @@ export default class DiscussAPI extends BaseAPI {
* @param {[string]} sid
* @param {[string]} sid
* @param {[object]} dataJson
* @param {[object]} dataJson
*/
*/
getCourseDiscussList
=
(
cid
,
sid
,
dataJson
)
=>
this
.
get
(
`/
tenant
/v2/qa/questions/course/
${
sid
}
/
${
cid
}
`
,
dataJson
)
getCourseDiscussList
=
(
cid
,
sid
,
dataJson
)
=>
this
.
get
(
`/
ep
/v2/qa/questions/course/
${
sid
}
/
${
cid
}
`
,
dataJson
)
/**
/**
* 获取问题详情
* 获取问题详情
* @param {[string]} qid
* @param {[string]} qid
*/
*/
getDiscussDetail
=
(
qid
)
=>
this
.
get
(
`/
tenant
/v2/qa/questions/
${
qid
}
`
,
{})
getDiscussDetail
=
(
qid
)
=>
this
.
get
(
`/
ep
/v2/qa/questions/
${
qid
}
`
,
{})
/**
/**
* 删除提问
* 删除提问
* @param {[string]} qid
* @param {[string]} qid
*/
*/
deleteDiscuss
=
(
qid
)
=>
this
.
delete
(
`/
tenant
/v2/qa/questions/
${
qid
}
`
,
{})
deleteDiscuss
=
(
qid
)
=>
this
.
delete
(
`/
ep
/v2/qa/questions/
${
qid
}
`
,
{})
/**
/**
* 提出问题
* 提出问题
* @param {[object]} param
* @param {[object]} param
*/
*/
publishQues
=
(
param
)
=>
this
.
post
(
`/
tenant
/v2/qa/questions`
,
param
)
publishQues
=
(
param
)
=>
this
.
post
(
`/
ep
/v2/qa/questions`
,
param
)
/**
/**
* 回答问题
* 回答问题
* @param {[object]} param
* @param {[object]} param
*/
*/
answerQues
=
(
param
)
=>
this
.
post
(
`/
tenant
/v2/qa/answers`
,
param
)
answerQues
=
(
param
)
=>
this
.
post
(
`/
ep
/v2/qa/answers`
,
param
)
/**
/**
* 删除回答
* 删除回答
* @param {[string]} aid
* @param {[string]} aid
*/
*/
deleteAnswer
=
(
aid
)
=>
this
.
delete
(
`/
tenant
/v2/qa/answers/
${
aid
}
`
,
{})
deleteAnswer
=
(
aid
)
=>
this
.
delete
(
`/
ep
/v2/qa/answers/
${
aid
}
`
,
{})
/**
/**
* 回复评论
* 回复评论
* @param {[object]} param
* @param {[object]} param
*/
*/
callbackComment
=
(
param
)
=>
this
.
post
(
`/
tenant
/v2/qa/comments`
,
param
)
callbackComment
=
(
param
)
=>
this
.
post
(
`/
ep
/v2/qa/comments`
,
param
)
/**
/**
* 删除评论
* 删除评论
* @param {[string]} cid
* @param {[string]} cid
*/
*/
deleteComment
=
(
cid
)
=>
this
.
delete
(
`/
tenant
/v2/qa/comments/
${
cid
}
`
,
{})
deleteComment
=
(
cid
)
=>
this
.
delete
(
`/
ep
/v2/qa/comments/
${
cid
}
`
,
{})
/**
/**
* 点赞
* 点赞
* @param {[object]} param
* @param {[object]} param
*/
*/
like
=
(
param
)
=>
this
.
post
(
`/
tenant
/v2/qa/tags`
,
param
)
like
=
(
param
)
=>
this
.
post
(
`/
ep
/v2/qa/tags`
,
param
)
/**
/**
* 取消点赞
* 取消点赞
* @param {[string]} tagid
* @param {[string]} tagid
*/
*/
unlike
=
(
tagid
)
=>
this
.
delete
(
`/
tenant
/v2/qa/tags/
${
tagid
}
`
,
{})
unlike
=
(
tagid
)
=>
this
.
delete
(
`/
ep
/v2/qa/tags/
${
tagid
}
`
,
{})
}
}
client/components/services/api/login_api.js
浏览文件 @
9a8ac01c
...
@@ -8,7 +8,7 @@ export default class LoginAPI extends BaseAPI {
...
@@ -8,7 +8,7 @@ export default class LoginAPI extends BaseAPI {
* @param {[string]} obj.password 密码 md5加密
* @param {[string]} obj.password 密码 md5加密
* @param {[string]} obj.service 这里 一直是定值 web.ezijing.com
* @param {[string]} obj.service 这里 一直是定值 web.ezijing.com
*/
*/
userLogin
=
(
obj
=
{})
=>
this
.
post
(
'/
tenant
/user/login'
,
_
.
assignIn
(
obj
,
{
service
:
'web.ezijing.com'
}))
userLogin
=
(
obj
=
{})
=>
this
.
post
(
'/
ep
/user/login'
,
_
.
assignIn
(
obj
,
{
service
:
'web.ezijing.com'
}))
/**
/**
* 调用退出登录
* 调用退出登录
* @param {[string]} obj.service 这里 一直是定值 web.ezijing.com
* @param {[string]} obj.service 这里 一直是定值 web.ezijing.com
...
@@ -17,7 +17,7 @@ export default class LoginAPI extends BaseAPI {
...
@@ -17,7 +17,7 @@ export default class LoginAPI extends BaseAPI {
/**
/**
* 当前登录用户,检测是否该系统有权限
* 当前登录用户,检测是否该系统有权限
*/
*/
getInfo
=
()
=>
this
.
get
(
'/
tenant
/user/getinfo'
,
{})
getInfo
=
()
=>
this
.
get
(
'/
ep
/user/getinfo'
,
{})
/**
/**
* 发送验证码
* 发送验证码
* @param {[string]} obj.mobile 手机号
* @param {[string]} obj.mobile 手机号
...
@@ -30,7 +30,7 @@ export default class LoginAPI extends BaseAPI {
...
@@ -30,7 +30,7 @@ export default class LoginAPI extends BaseAPI {
* @param {[string]} obj.code 验证码
* @param {[string]} obj.code 验证码
* @param {[string]} obj.service 这里 一直是定值 web.ezijing.com
* @param {[string]} obj.service 这里 一直是定值 web.ezijing.com
*/
*/
codeLogin
=
(
obj
=
{})
=>
this
.
post
(
'/
tenant
/user/code-login'
,
_
.
assignIn
(
obj
,
{
service
:
'web.ezijing.com'
}))
codeLogin
=
(
obj
=
{})
=>
this
.
post
(
'/
ep
/user/code-login'
,
_
.
assignIn
(
obj
,
{
service
:
'web.ezijing.com'
}))
/**
/**
* 发送重置密码验证码
* 发送重置密码验证码
* @param {[string]} obj.contact 手机号/邮箱
* @param {[string]} obj.contact 手机号/邮箱
...
...
client/components/services/api/msg_api.js
浏览文件 @
9a8ac01c
...
@@ -4,5 +4,5 @@ export default class MsgAPI extends BaseAPI {
...
@@ -4,5 +4,5 @@ export default class MsgAPI extends BaseAPI {
/**
/**
* 获取我的消息信息
* 获取我的消息信息
*/
*/
getMyMsg
=
()
=>
this
.
get
(
'/
tenant
/v2/education/message/my'
,
{})
getMyMsg
=
()
=>
this
.
get
(
'/
ep
/v2/education/message/my'
,
{})
}
}
client/components/services/api/report_api.js
浏览文件 @
9a8ac01c
...
@@ -4,11 +4,11 @@ export default class ScoreAPI extends BaseAPI {
...
@@ -4,11 +4,11 @@ export default class ScoreAPI extends BaseAPI {
/**
/**
* 获取所有通过报告列表
* 获取所有通过报告列表
*/
*/
getReportList
=
()
=>
this
.
get
(
'/
tenant
/v2/education/symposium-report-all'
,
{})
getReportList
=
()
=>
this
.
get
(
'/
ep
/v2/education/symposium-report-all'
,
{})
/**
/**
* 获取我的学术活动
* 获取我的学术活动
*/
*/
getReportActiveList
=
()
=>
this
.
get
(
'/
tenant
/v2/education/symposium/my'
,
{})
getReportActiveList
=
()
=>
this
.
get
(
'/
ep
/v2/education/symposium/my'
,
{})
/**
/**
* 提交活动申请
* 提交活动申请
* symposium_name 活动名称
* symposium_name 活动名称
...
@@ -19,43 +19,43 @@ export default class ScoreAPI extends BaseAPI {
...
@@ -19,43 +19,43 @@ export default class ScoreAPI extends BaseAPI {
* symposium_address 活动地点
* symposium_address 活动地点
* 返回 {'flag' : true, 'errors' : []}
* 返回 {'flag' : true, 'errors' : []}
*/
*/
submitReportActive
=
(
obj
=
{})
=>
this
.
post
(
'/
tenant
/v2/education/symposium'
,
obj
,
{
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
})
submitReportActive
=
(
obj
=
{})
=>
this
.
post
(
'/
ep
/v2/education/symposium'
,
obj
,
{
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
})
/**
/**
* 获取学术活动详情
* 获取学术活动详情
*/
*/
getReportActive
=
(
rid
)
=>
this
.
get
(
`/
tenant
/v2/education/symposium/
${
rid
}
`
,
{})
getReportActive
=
(
rid
)
=>
this
.
get
(
`/
ep
/v2/education/symposium/
${
rid
}
`
,
{})
/**
/**
* 修改活动申请
* 修改活动申请
* 参数同上
* 参数同上
*/
*/
updateReportActive
=
(
rid
,
obj
=
{})
=>
this
.
post
(
`/
tenant
/v2/education/symposium/
${
rid
}
`
,
obj
)
updateReportActive
=
(
rid
,
obj
=
{})
=>
this
.
post
(
`/
ep
/v2/education/symposium/
${
rid
}
`
,
obj
)
/**
/**
* 删除活动申请
* 删除活动申请
* 参数同上
* 参数同上
*/
*/
deleteReportActive
=
rid
=>
this
.
delete
(
`/
tenant
/v2/education/symposium/
${
rid
}
`
,
{})
deleteReportActive
=
rid
=>
this
.
delete
(
`/
ep
/v2/education/symposium/
${
rid
}
`
,
{})
/**
/**
* 获取活动相关的学术报告
* 获取活动相关的学术报告
*/
*/
getReportListAll
=
(
rid
)
=>
this
.
get
(
`/
tenant
/v2/education/symposium/
${
rid
}
/report`
,
{})
getReportListAll
=
(
rid
)
=>
this
.
get
(
`/
ep
/v2/education/symposium/
${
rid
}
/report`
,
{})
/**
/**
* 提交学术报告
* 提交学术报告
* report_name 报告名称
* report_name 报告名称
* report_description 报告描述
* report_description 报告描述
* file_url 文章URL
* file_url 文章URL
*/
*/
submitReport
=
(
rid
,
obj
=
{})
=>
this
.
post
(
`/
tenant
/v2/education/symposium/
${
rid
}
/report`
,
obj
)
submitReport
=
(
rid
,
obj
=
{})
=>
this
.
post
(
`/
ep
/v2/education/symposium/
${
rid
}
/report`
,
obj
)
/**
/**
* 获取学术报告详情
* 获取学术报告详情
*/
*/
getSubmitReport
=
(
rid
,
reid
)
=>
this
.
get
(
`/
tenant
/v2/education/symposium/report/
${
reid
}
`
,
{})
getSubmitReport
=
(
rid
,
reid
)
=>
this
.
get
(
`/
ep
/v2/education/symposium/report/
${
reid
}
`
,
{})
/**
/**
* 更新学术报告
* 更新学术报告
*/
*/
updateSubmitReport
=
(
rid
,
reid
,
obj
=
{})
=>
this
.
post
(
`/
tenant
/v2/education/symposium/
${
rid
}
/report/
${
reid
}
`
,
obj
)
updateSubmitReport
=
(
rid
,
reid
,
obj
=
{})
=>
this
.
post
(
`/
ep
/v2/education/symposium/
${
rid
}
/report/
${
reid
}
`
,
obj
)
/**
/**
* 删除学术报告
* 删除学术报告
* 参数同上
* 参数同上
*/
*/
deleteSubmitReport
=
(
rid
,
reid
)
=>
this
.
delete
(
`/
tenant
/v2/education/symposium/report/
${
reid
}
`
,
{})
deleteSubmitReport
=
(
rid
,
reid
)
=>
this
.
delete
(
`/
ep
/v2/education/symposium/report/
${
reid
}
`
,
{})
}
}
client/components/services/api/score_api.js
浏览文件 @
9a8ac01c
...
@@ -4,9 +4,9 @@ export default class ScoreAPI extends BaseAPI {
...
@@ -4,9 +4,9 @@ export default class ScoreAPI extends BaseAPI {
/**
/**
* 获取我的学分信息
* 获取我的学分信息
*/
*/
getMyScore
=
()
=>
this
.
get
(
'/
tenant
/v2/education/credits'
,
{})
getMyScore
=
()
=>
this
.
get
(
'/
ep
/v2/education/credits'
,
{})
/**
/**
* 意见反馈
* 意见反馈
*/
*/
feedbackcommit
=
(
obj
=
{})
=>
this
.
post
(
`/
tenant
/v2/feedback/commit`
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
feedbackcommit
=
(
obj
=
{})
=>
this
.
post
(
`/
ep
/v2/feedback/commit`
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
}
}
client/components/services/base_api.js
浏览文件 @
9a8ac01c
...
@@ -50,13 +50,13 @@ export default class API {
...
@@ -50,13 +50,13 @@ export default class API {
// 'X-Real-Ip': req.get('x-real-ip'),
// 'X-Real-Ip': req.get('x-real-ip'),
'cur-json'
:
Base64
.
encode
(
JSON
.
stringify
({
'cur-json'
:
Base64
.
encode
(
JSON
.
stringify
({
time
:
new
Date
().
getTime
(),
time
:
new
Date
().
getTime
(),
sys
:
'elearning-
nod
e'
,
sys
:
'elearning-
enterpris
e'
,
auth
:
_uInfo
.
email
||
_uInfo
.
mobile
||
'未知'
,
// 在header头中传入 当前用户账号信息
auth
:
_uInfo
.
email
||
_uInfo
.
mobile
||
'未知'
,
// 在header头中传入 当前用户账号信息
name
:
(
_uInfo
.
student_info
&&
_uInfo
.
student_info
.
personal_name
)
||
_uInfo
.
username
||
'未知'
,
// 在header头中传入 当前用户姓名
name
:
(
_uInfo
.
student_info
&&
_uInfo
.
student_info
.
personal_name
)
||
_uInfo
.
username
||
'未知'
,
// 在header头中传入 当前用户姓名
version
:
window
.
G
.
VERSION
// 版本号 修改
version
:
window
.
G
.
VERSION
// 版本号 修改
})),
})),
// 'token': ticket,
// 'token': ticket,
'tenant'
:
'
sofia
'
'tenant'
:
'
classes
'
}
}
if
(
/tenant
\/
user
\/
login/gi
.
test
(
_config
.
url
))
{
if
(
/tenant
\/
user
\/
login/gi
.
test
(
_config
.
url
))
{
headers
.
pmd5
=
_config
.
data
.
pwd
headers
.
pmd5
=
_config
.
data
.
pwd
...
...
client/components/survey/survey.vue
浏览文件 @
9a8ac01c
<
template
>
<
template
>
<div
class=
"survey-container"
>
<div
class=
"survey-container"
>
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"title"
>
索菲亚MBA课程
教学服务评估表
</div>
<div
class=
"title"
>
清控紫荆课堂
教学服务评估表
</div>
<div
class=
"sub-title"
>
您好!为保证我们能够为您提供更优质的课程,提高教学质量及服务,请您对此次课程提出宝贵的意见和建议。感谢您对我们工作的支持!(请您选择星级,选中1颗星为1分,最高5颗星)。请用1(低)到5(高)为每一项打分,并加上任何您想写的评论。
</div>
<div
class=
"sub-title"
>
您好!为保证我们能够为您提供更优质的课程,提高教学质量及服务,请您对此次课程提出宝贵的意见和建议。感谢您对我们工作的支持!(请您选择星级,选中1颗星为1分,最高5颗星)。请用1(低)到5(高)为每一项打分,并加上任何您想写的评论。
</div>
<!--
<img
src=
"./logo-header.jpg"
alt=
""
>
-->
<!--
<img
src=
"./logo-header.jpg"
alt=
""
>
-->
<div
class=
"sub-left"
>
课程名称:
{{
headerInfo
.
title
}}
<div
class=
"sub-left"
>
课程名称:
{{
headerInfo
.
title
}}
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</div>
</div>
</template>
</template>
</template>
</template>
<div
class=
"bottom"
>
如果您在
紫荆MBA学位课程的收获比较大,我们会非常感谢您帮助我们推荐和您一样优秀的学员加入到MBA
的大家庭,具体请联系您所在班的班主任。
</div>
<div
class=
"bottom"
>
如果您在
清控紫荆课堂的收获比较大,我们会非常感谢您帮助我们推荐和您一样优秀的学员加入到清控紫荆课堂
的大家庭,具体请联系您所在班的班主任。
</div>
<div
:class=
"['btn', this.curPage > 1 ? '' : 'none']"
@
click=
"prevPage"
>
上一页
</div>
<div
:class=
"['btn', this.curPage > 1 ? '' : 'none']"
@
click=
"prevPage"
>
上一页
</div>
<
template
v-if=
"lastPage"
>
<
template
v-if=
"lastPage"
>
<div
class=
"btn"
@
click=
"goSubmit"
>
提交
</div>
<div
class=
"btn"
@
click=
"goSubmit"
>
提交
</div>
...
...
client/project/assets/img/logo-header.png
查看替换文件 @
75ddcb68
浏览文件 @
9a8ac01c
3.9 KB
|
W:
|
H:
16.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
client/project/components/layout/navigation.vue
浏览文件 @
9a8ac01c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"menu"
>
<div
class=
"menu"
>
<div
class=
"nav-left"
>
<div
class=
"nav-left"
>
<img
class=
"logo"
src=
"../../assets/img/logo-header.png"
alt=
"logo"
/>
<img
class=
"logo"
src=
"../../assets/img/logo-header.png"
alt=
"logo"
/>
<div
class=
"text-title"
@
click=
"setStatus"
>
在线学习系统
</div>
<div
class=
"text-title"
@
click=
"setStatus"
>
清控紫荆课堂
</div>
</div>
</div>
<div
class=
"notify"
@
click=
"goNotify()"
>
通知
<div
class=
"notify"
@
click=
"goNotify()"
>
通知
<div
class=
"num"
v-if=
"num"
>
{{
num
}}
</div>
<div
class=
"num"
v-if=
"num"
>
{{
num
}}
</div>
...
...
client/project/index.html
浏览文件 @
9a8ac01c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
content=
"origin"
name=
"referrer"
>
<meta
content=
"origin"
name=
"referrer"
>
<title>
紫荆教育MBA学习系统
</title>
<title>
清控紫荆课堂
</title>
<meta
name=
"viewport"
id=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"
>
<meta
name=
"viewport"
id=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"
>
<!-- Matomo -->
<!-- Matomo -->
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
...
...
client/project/pages/myLearn/course.vue
浏览文件 @
9a8ac01c
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"con-title"
>
我的课程
</div>
<div
class=
"con-title"
>
我的课程
</div>
<div
class=
"con-box"
>
<div
class=
"con-box"
>
<template
v-for=
"(item, index) in find"
>
<template
v-for=
"(item, index) in find"
>
<ul
v-bind:key=
"index"
class=
"tabs-list"
>
<ul
v-bind:key=
"index"
class=
"tabs-list"
v-if=
"index != 0"
>
<li
class=
"tabs-hd"
>
{{
item
.
name
}}
</li>
<li
class=
"tabs-hd"
>
{{
item
.
name
}}
</li>
<template
v-for=
"(item1, index1) in item.arrItem"
>
<template
v-for=
"(item1, index1) in item.arrItem"
>
<li
v-bind:key=
"index1"
>
<li
v-bind:key=
"index1"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论