Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
9a4be6b2
提交
9a4be6b2
authored
7月 01, 2019
作者:
GOD_ZYX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
作业接口增加cid
上级
1ba264d9
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
11 行增加
和
10 行删除
+11
-10
index.html
client-dist/index.html
+2
-2
30.30e4a9d8.js
client-dist/resources/30.30e4a9d8.js
+2
-0
30.afe88874.js
client-dist/resources/30.afe88874.js
+0
-2
app.bfb49b0e.js
client-dist/resources/app.bfb49b0e.js
+0
-0
manifest.85613e44.js
client-dist/resources/manifest.85613e44.js
+2
-2
chapterWork.vue
client/components/player/chapterWork/chapterWork.vue
+1
-1
chapter_api.js
client/components/services/api/chapter_api.js
+2
-1
ChapterAction.js
client/project/actions/ChapterAction.js
+2
-2
没有找到文件。
client-dist/index.html
浏览文件 @
9a4be6b2
...
...
@@ -15,4 +15,4 @@
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/html5shiv.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.min.js"></script>
<![endif]-->
<script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.da2f0788.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.90efc743.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.564dae19.js"
></script></body></html>
\ No newline at end of file
<![endif]-->
<script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.85613e44.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.90efc743.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.bfb49b0e.js"
></script></body></html>
\ No newline at end of file
client-dist/resources/30.30e4a9d8.js
0 → 100644
浏览文件 @
9a4be6b2
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
30
],{
273
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
444
),
r
=
i
(
368
);
for
(
var
a
in
r
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
a
);
var
o
=
i
(
1
),
n
=
Object
(
o
.
a
)(
r
.
default
,
s
.
a
,
s
.
b
,
!
1
,
null
,
null
,
null
);
n
.
options
.
__file
=
"chapterWork.vue"
,
t
.
default
=
n
.
exports
},
368
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
369
),
r
=
i
.
n
(
s
);
for
(
var
a
in
s
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
s
[
e
]})}(
a
);
t
.
default
=
r
.
a
},
369
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
o
(
i
(
41
)),
r
=
o
(
i
(
73
)),
a
=
o
(
i
(
249
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
t
.
default
=
{
props
:{
chapterId
:{
type
:
String
,
require
:
!
1
},
chapterWork
:{
type
:
Object
,
require
:
!
1
},
chapterName
:{
type
:
String
,
require
:
!
1
},
sid
:{
type
:
String
,
require
:
!
1
},
cid
:{
type
:
String
,
require
:
!
1
},
id
:{
type
:
String
,
require
:
!
1
}},
data
:
function
(){
return
{
ckeditor
:
null
,
successFileUrl
:
""
,
filesArr
:[],
file
:{
id
:
"WU_FILE_0"
,
name
:
""
,
type
:
""
,
lastModifiedDate
:
""
,
size
:
""
,
file
:
""
},
homeData
:{},
setTime
:
null
,
isInit
:
!
1
}},
mounted
:
function
(){
this
.
loadAjax
()},
updated
:
function
(){},
destroyed
:
function
(){
this
.
ckeditor
&&
this
.
ckeditor
.
destroy
(
!
0
),
this
.
ckeditor
=
null
},
methods
:{
handleChange
:
function
(
e
,
t
){
this
.
file
.
name
=
e
.
raw
.
name
,
this
.
file
.
type
=
e
.
raw
.
type
,
this
.
file
.
lastModifiedDate
=
e
.
raw
.
lastModifiedDate
,
this
.
file
.
size
=
e
.
raw
.
size
,
this
.
file
.
file
=
e
.
raw
},
loadAjax
:
function
(){
var
t
=
this
,
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
s
.
default
.
chapterAction
.
getHomework
(
this
.
sid
,
this
.
cid
,
this
.
id
).
then
(
function
(
e
){
t
.
homeData
=
e
}).
catch
(
function
(
e
){
t
.
filesArr
.
pop
(),
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
t
.
setTime
=
setInterval
(
function
(){
if
(
document
.
querySelector
(
"#editor-chapterWork"
)){
if
(
t
.
initckeditor
(),
t
.
homeData
.
work_contents
){
var
e
=
JSON
.
parse
(
t
.
homeData
.
work_contents
);
e
[
0
].
is_encoded
&&
(
e
[
0
].
descreption
=
r
.
default
.
decode
(
e
[
0
].
descreption
)),
t
.
successFileUrl
=
e
[
0
].
file_url
,
t
.
ckeditor
.
setData
(
e
[
0
].
descreption
)}
else
t
.
successFileUrl
=
""
,
t
.
ckeditor
.
setData
(
""
);
document
.
querySelector
(
".play-paper"
).
scrollTop
=
0
,
clearInterval
(
t
.
setTime
)}},
50
),
e
.
close
()})},
submitWork
:
function
(){
var
t
=
this
;
if
(
this
.
ckeditor
.
getData
()){
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
}),
i
=
JSON
.
stringify
([{
question_id
:
this
.
chapterWork
.
questions
[
0
].
id
,
descreption
:
r
.
default
.
encode
(
this
.
ckeditor
.
getData
()),
file_url
:
this
.
successFileUrl
,
is_encoded
:
1
}]);
s
.
default
.
chapterAction
.
updateHomework
({
semester_id
:
this
.
sid
,
course_id
:
this
.
cid
,
chapter_id
:
this
.
chapterId
,
work_id
:
this
.
id
,
work_contents
:
i
,
duration
:
30
+
Math
.
floor
(
1
e3
*
Math
.
random
())}).
then
(
function
(
e
){
e
.
status
&&
(
t
.
$message
({
type
:
"success"
,
message
:
"提交成功,等待批改"
}),
t
.
loadAjax
())}).
catch
(
function
(
e
){
t
.
filesArr
.
pop
(),
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
e
.
close
()})}
else
this
.
$message
.
error
(
"请填写内容"
)},
uploadFile
:
function
(){
var
t
=
this
;
if
(
!
/
\.(
docx
)
$/gi
.
test
(
this
.
file
.
name
))
return
this
.
$message
.
error
(
"文件格式不对,请重新上传"
),
void
this
.
filesArr
.
pop
();
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
s
.
default
.
chapterAction
.
uploadFile
(
this
.
file
).
then
(
function
(
e
){
t
.
successFileUrl
=
e
.
url
,
t
.
filesArr
.
pop
()}).
catch
(
function
(
e
){
t
.
filesArr
.
pop
(),
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
e
.
close
()})},
initckeditor
:
function
(){
!
this
.
ckeditor
&&
(
this
.
ckeditor
=
a
.
default
.
replace
(
"editor-chapterWork"
,{
height
:
300
,
uiColor
:
"#eeeeee"
,
filebrowserImageUploadUrl
:
"/api/ckeditor/img/upload"
,
toolbar
:[{
name
:
"styles"
,
items
:[
"Styles"
,
"Format"
,
"Font"
,
"FontSize"
]},{
name
:
"colors"
,
items
:[
"TextColor"
,
"BGColor"
]},{
name
:
"tools"
,
items
:[
"Maximize"
,
"ShowBlocks"
]},{
name
:
"editing"
,
items
:[
"Find"
,
"Replace"
]},
"/"
,{
name
:
"basicstyles"
,
items
:[
"Bold"
,
"Italic"
,
"Underline"
,
"Strike"
,
"Subscript"
,
"Superscript"
,
"-"
,
"RemoveFormat"
]},{
name
:
"paragraph"
,
items
:[
"NumberedList"
,
"BulletedList"
,
"-"
,
"Outdent"
,
"Indent"
,
"-"
,
"Blockquote"
,
"CreateDiv"
,
"-"
,
"JustifyLeft"
,
"JustifyCenter"
,
"JustifyRight"
,
"JustifyBlock"
,
"-"
,
"BidiLtr"
,
"BidiRtl"
]},{
name
:
"links"
,
items
:[
"Link"
,
"Unlink"
,
"Anchor"
]},{
name
:
"insert"
,
items
:[
"Image"
,
"Table"
,
"HorizontalRule"
]}]}))}},
watch
:{
id
:{
handler
:
function
(){
this
.
loadAjax
()}}}}},
444
:
function
(
e
,
t
,
i
){
"use strict"
;
var
s
=
function
(){
var
i
=
this
,
e
=
i
.
$createElement
,
s
=
i
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"play-paper"
},[
s
(
"div"
,{
staticClass
:
"play-paper-body"
},[
s
(
"div"
,{
staticClass
:
"play-paper-title"
},[
s
(
"div"
,[
s
(
"h3"
,[
i
.
_v
(
i
.
_s
(
i
.
chapterName
))])])]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"play-paper-content play-chapter-work"
},[
i
.
chapterWork
.
questions
&&
i
.
chapterWork
.
questions
.
length
?[
s
(
"ul"
,[
i
.
_l
(
i
.
chapterWork
.
questions
,
function
(
e
,
t
){
return
[
s
(
"li"
,{
key
:
t
},[
s
(
"div"
,{
staticClass
:
"work-number"
},[
i
.
_v
(
i
.
_s
(
t
+
1
)
+
"."
)]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"work-title"
},[
s
(
"div"
,{
staticClass
:
"edit_html"
,
domProps
:{
innerHTML
:
i
.
_s
(
e
.
question_content
)}})]),
i
.
_v
(
" "
),
s
(
"textarea"
,{
attrs
:{
id
:
"editor-chapterWork"
}}),
i
.
_v
(
" "
),
s
(
"div"
,{
staticStyle
:{
height
:
"20px"
}}),
i
.
_v
(
" "
),
i
.
successFileUrl
?[
s
(
"a"
,{
attrs
:{
href
:
i
.
successFileUrl
}},[
i
.
_v
(
"下载已上传文件"
)])]:
i
.
_e
()],
2
)]})],
2
)]:
void
0
,
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"area-btns"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
i
.
homeData
.
checker_time
},
on
:{
click
:
i
.
submitWork
}},[
i
.
_v
(
i
.
_s
(
i
.
homeData
.
checker_time
?
"已批改"
:
"提交"
))]),
i
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"help-info"
},[
i
.
_v
(
" 在获老师批改之前,可以多次提交,将以最后一次提交为准"
)]),
i
.
_v
(
" "
),
i
.
homeData
.
checker_time
?[
s
(
"div"
,{
staticClass
:
"play-paper-check"
},[
s
(
"h4"
,[
i
.
_v
(
"已获批改 "
),
s
(
"small"
,[
i
.
_v
(
"批改于"
+
i
.
_s
(
i
.
homeData
.
checker_time
))])]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"play-paper-check-item"
},[
s
(
"b"
,[
i
.
_v
(
"评分:"
)]),
i
.
_v
(
i
.
_s
(
i
.
homeData
.
score
))]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"play-paper-check-item"
},[
s
(
"b"
,[
i
.
_v
(
"评语:"
)]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"edit_html"
,
domProps
:{
innerHTML
:
i
.
_s
(
i
.
homeData
.
check_comments
)}})])])]:
i
.
homeData
.
created_time
?[
s
(
"p"
,{
staticClass
:
"help"
},[
i
.
_v
(
"已于 "
+
i
.
_s
(
i
.
homeData
.
created_time
)
+
" 提交,等待批改中"
)])]:
i
.
_e
()],
2
)],
2
)])])},
r
=
[];
i
.
d
(
t
,
"a"
,
function
(){
return
s
}),
i
.
d
(
t
,
"b"
,
function
(){
return
r
})}}]);
\ No newline at end of file
client-dist/resources/30.afe88874.js
deleted
100644 → 0
浏览文件 @
1ba264d9
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
30
],{
273
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
444
),
r
=
i
(
368
);
for
(
var
a
in
r
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
a
);
var
o
=
i
(
1
),
n
=
Object
(
o
.
a
)(
r
.
default
,
s
.
a
,
s
.
b
,
!
1
,
null
,
null
,
null
);
n
.
options
.
__file
=
"chapterWork.vue"
,
t
.
default
=
n
.
exports
},
368
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
369
),
r
=
i
.
n
(
s
);
for
(
var
a
in
s
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
s
[
e
]})}(
a
);
t
.
default
=
r
.
a
},
369
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
o
(
i
(
41
)),
r
=
o
(
i
(
73
)),
a
=
o
(
i
(
249
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
t
.
default
=
{
props
:{
chapterId
:{
type
:
String
,
require
:
!
1
},
chapterWork
:{
type
:
Object
,
require
:
!
1
},
chapterName
:{
type
:
String
,
require
:
!
1
},
sid
:{
type
:
String
,
require
:
!
1
},
cid
:{
type
:
String
,
require
:
!
1
},
id
:{
type
:
String
,
require
:
!
1
}},
data
:
function
(){
return
{
ckeditor
:
null
,
successFileUrl
:
""
,
filesArr
:[],
file
:{
id
:
"WU_FILE_0"
,
name
:
""
,
type
:
""
,
lastModifiedDate
:
""
,
size
:
""
,
file
:
""
},
homeData
:{},
setTime
:
null
,
isInit
:
!
1
}},
mounted
:
function
(){
this
.
loadAjax
()},
updated
:
function
(){},
destroyed
:
function
(){
this
.
ckeditor
&&
this
.
ckeditor
.
destroy
(
!
0
),
this
.
ckeditor
=
null
},
methods
:{
handleChange
:
function
(
e
,
t
){
this
.
file
.
name
=
e
.
raw
.
name
,
this
.
file
.
type
=
e
.
raw
.
type
,
this
.
file
.
lastModifiedDate
=
e
.
raw
.
lastModifiedDate
,
this
.
file
.
size
=
e
.
raw
.
size
,
this
.
file
.
file
=
e
.
raw
},
loadAjax
:
function
(){
var
t
=
this
,
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
s
.
default
.
chapterAction
.
getHomework
(
this
.
sid
,
this
.
id
).
then
(
function
(
e
){
t
.
homeData
=
e
}).
catch
(
function
(
e
){
t
.
filesArr
.
pop
(),
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
t
.
setTime
=
setInterval
(
function
(){
if
(
document
.
querySelector
(
"#editor-chapterWork"
)){
if
(
t
.
initckeditor
(),
t
.
homeData
.
work_contents
){
var
e
=
JSON
.
parse
(
t
.
homeData
.
work_contents
);
e
[
0
].
is_encoded
&&
(
e
[
0
].
descreption
=
r
.
default
.
decode
(
e
[
0
].
descreption
)),
t
.
successFileUrl
=
e
[
0
].
file_url
,
t
.
ckeditor
.
setData
(
e
[
0
].
descreption
)}
else
t
.
successFileUrl
=
""
,
t
.
ckeditor
.
setData
(
""
);
document
.
querySelector
(
".play-paper"
).
scrollTop
=
0
,
clearInterval
(
t
.
setTime
)}},
50
),
e
.
close
()})},
submitWork
:
function
(){
var
t
=
this
;
if
(
this
.
ckeditor
.
getData
()){
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
}),
i
=
JSON
.
stringify
([{
question_id
:
this
.
chapterWork
.
questions
[
0
].
id
,
descreption
:
r
.
default
.
encode
(
this
.
ckeditor
.
getData
()),
file_url
:
this
.
successFileUrl
,
is_encoded
:
1
}]);
s
.
default
.
chapterAction
.
updateHomework
({
semester_id
:
this
.
sid
,
course_id
:
this
.
cid
,
chapter_id
:
this
.
chapterId
,
work_id
:
this
.
id
,
work_contents
:
i
,
duration
:
30
+
Math
.
floor
(
1
e3
*
Math
.
random
())}).
then
(
function
(
e
){
e
.
status
&&
(
t
.
$message
({
type
:
"success"
,
message
:
"提交成功,等待批改"
}),
t
.
loadAjax
())}).
catch
(
function
(
e
){
t
.
filesArr
.
pop
(),
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
e
.
close
()})}
else
this
.
$message
.
error
(
"请填写内容"
)},
uploadFile
:
function
(){
var
t
=
this
;
if
(
!
/
\.(
docx
)
$/gi
.
test
(
this
.
file
.
name
))
return
this
.
$message
.
error
(
"文件格式不对,请重新上传"
),
void
this
.
filesArr
.
pop
();
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
s
.
default
.
chapterAction
.
uploadFile
(
this
.
file
).
then
(
function
(
e
){
t
.
successFileUrl
=
e
.
url
,
t
.
filesArr
.
pop
()}).
catch
(
function
(
e
){
t
.
filesArr
.
pop
(),
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
e
.
close
()})},
initckeditor
:
function
(){
!
this
.
ckeditor
&&
(
this
.
ckeditor
=
a
.
default
.
replace
(
"editor-chapterWork"
,{
height
:
300
,
uiColor
:
"#eeeeee"
,
filebrowserImageUploadUrl
:
"/api/ckeditor/img/upload"
,
toolbar
:[{
name
:
"styles"
,
items
:[
"Styles"
,
"Format"
,
"Font"
,
"FontSize"
]},{
name
:
"colors"
,
items
:[
"TextColor"
,
"BGColor"
]},{
name
:
"tools"
,
items
:[
"Maximize"
,
"ShowBlocks"
]},{
name
:
"editing"
,
items
:[
"Find"
,
"Replace"
]},
"/"
,{
name
:
"basicstyles"
,
items
:[
"Bold"
,
"Italic"
,
"Underline"
,
"Strike"
,
"Subscript"
,
"Superscript"
,
"-"
,
"RemoveFormat"
]},{
name
:
"paragraph"
,
items
:[
"NumberedList"
,
"BulletedList"
,
"-"
,
"Outdent"
,
"Indent"
,
"-"
,
"Blockquote"
,
"CreateDiv"
,
"-"
,
"JustifyLeft"
,
"JustifyCenter"
,
"JustifyRight"
,
"JustifyBlock"
,
"-"
,
"BidiLtr"
,
"BidiRtl"
]},{
name
:
"links"
,
items
:[
"Link"
,
"Unlink"
,
"Anchor"
]},{
name
:
"insert"
,
items
:[
"Image"
,
"Table"
,
"HorizontalRule"
]}]}))}},
watch
:{
id
:{
handler
:
function
(){
this
.
loadAjax
()}}}}},
444
:
function
(
e
,
t
,
i
){
"use strict"
;
var
s
=
function
(){
var
i
=
this
,
e
=
i
.
$createElement
,
s
=
i
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"play-paper"
},[
s
(
"div"
,{
staticClass
:
"play-paper-body"
},[
s
(
"div"
,{
staticClass
:
"play-paper-title"
},[
s
(
"div"
,[
s
(
"h3"
,[
i
.
_v
(
i
.
_s
(
i
.
chapterName
))])])]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"play-paper-content play-chapter-work"
},[
i
.
chapterWork
.
questions
&&
i
.
chapterWork
.
questions
.
length
?[
s
(
"ul"
,[
i
.
_l
(
i
.
chapterWork
.
questions
,
function
(
e
,
t
){
return
[
s
(
"li"
,{
key
:
t
},[
s
(
"div"
,{
staticClass
:
"work-number"
},[
i
.
_v
(
i
.
_s
(
t
+
1
)
+
"."
)]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"work-title"
},[
s
(
"div"
,{
staticClass
:
"edit_html"
,
domProps
:{
innerHTML
:
i
.
_s
(
e
.
question_content
)}})]),
i
.
_v
(
" "
),
s
(
"textarea"
,{
attrs
:{
id
:
"editor-chapterWork"
}}),
i
.
_v
(
" "
),
s
(
"div"
,{
staticStyle
:{
height
:
"20px"
}}),
i
.
_v
(
" "
),
i
.
successFileUrl
?[
s
(
"a"
,{
attrs
:{
href
:
i
.
successFileUrl
}},[
i
.
_v
(
"下载已上传文件"
)])]:
i
.
_e
()],
2
)]})],
2
)]:
void
0
,
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"area-btns"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
i
.
homeData
.
checker_time
},
on
:{
click
:
i
.
submitWork
}},[
i
.
_v
(
i
.
_s
(
i
.
homeData
.
checker_time
?
"已批改"
:
"提交"
))]),
i
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"help-info"
},[
i
.
_v
(
" 在获老师批改之前,可以多次提交,将以最后一次提交为准"
)]),
i
.
_v
(
" "
),
i
.
homeData
.
checker_time
?[
s
(
"div"
,{
staticClass
:
"play-paper-check"
},[
s
(
"h4"
,[
i
.
_v
(
"已获批改 "
),
s
(
"small"
,[
i
.
_v
(
"批改于"
+
i
.
_s
(
i
.
homeData
.
checker_time
))])]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"play-paper-check-item"
},[
s
(
"b"
,[
i
.
_v
(
"评分:"
)]),
i
.
_v
(
i
.
_s
(
i
.
homeData
.
score
))]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"play-paper-check-item"
},[
s
(
"b"
,[
i
.
_v
(
"评语:"
)]),
i
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"edit_html"
,
domProps
:{
innerHTML
:
i
.
_s
(
i
.
homeData
.
check_comments
)}})])])]:
i
.
homeData
.
created_time
?[
s
(
"p"
,{
staticClass
:
"help"
},[
i
.
_v
(
"已于 "
+
i
.
_s
(
i
.
homeData
.
created_time
)
+
" 提交,等待批改中"
)])]:
i
.
_e
()],
2
)],
2
)])])},
r
=
[];
i
.
d
(
t
,
"a"
,
function
(){
return
s
}),
i
.
d
(
t
,
"b"
,
function
(){
return
r
})}}]);
\ No newline at end of file
client-dist/resources/app.
564dae19
.js
→
client-dist/resources/app.
bfb49b0e
.js
浏览文件 @
9a4be6b2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
client-dist/resources/manifest.
da2f0788
.js
→
client-dist/resources/manifest.
85613e44
.js
浏览文件 @
9a4be6b2
!
function
(
d
){
function
e
(
e
){
for
(
var
t
,
r
,
n
=
e
[
0
],
a
=
e
[
1
],
c
=
e
[
2
],
o
=
0
,
f
=
[];
o
<
n
.
length
;
o
++
)
r
=
n
[
o
],
b
[
r
]
&&
f
.
push
(
b
[
r
][
0
]),
b
[
r
]
=
0
;
for
(
t
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
t
)
&&
(
d
[
t
]
=
a
[
t
]);
for
(
p
&&
p
(
e
);
f
.
length
;)
f
.
shift
()();
return
i
.
push
.
apply
(
i
,
c
||
[]),
u
()}
function
u
(){
for
(
var
e
,
t
=
0
;
t
<
i
.
length
;
t
++
){
for
(
var
r
=
i
[
t
],
n
=!
0
,
a
=
1
;
a
<
r
.
length
;
a
++
){
var
c
=
r
[
a
];
0
!==
b
[
c
]
&&
(
n
=!
1
)}
n
&&
(
i
.
splice
(
t
--
,
1
),
e
=
s
(
s
.
s
=
r
[
0
]))}
return
e
}
var
r
=
{},
l
=
{
3
:
0
},
b
=
{
3
:
0
},
i
=
[];
function
s
(
e
){
if
(
r
[
e
])
return
r
[
e
].
exports
;
var
t
=
r
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
d
[
e
].
call
(
t
.
exports
,
t
,
t
.
exports
,
s
),
t
.
l
=!
0
,
t
.
exports
}
s
.
e
=
function
(
i
){
var
e
=
[];
l
[
i
]?
e
.
push
(
l
[
i
]):
0
!==
l
[
i
]
&&
{
0
:
1
,
5
:
1
,
6
:
1
,
7
:
1
,
8
:
1
,
9
:
1
,
10
:
1
,
11
:
1
,
12
:
1
,
13
:
1
,
14
:
1
,
15
:
1
,
16
:
1
,
17
:
1
,
18
:
1
,
19
:
1
,
20
:
1
,
21
:
1
,
22
:
1
,
23
:
1
,
24
:
1
,
25
:
1
}[
i
]
&&
e
.
push
(
l
[
i
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
t
=
"resources/"
+
({}[
i
]
||
i
)
+
"."
+
{
0
:
"7e9c19881242"
,
1
:
"31d6cfe0d16a"
,
5
:
"b6a10460f085"
,
6
:
"b6941d5c7875"
,
7
:
"b7a3b3beb3de"
,
8
:
"edadd3d1dece"
,
9
:
"2b76410db4d0"
,
10
:
"30b36ab56f09"
,
11
:
"7275abdd54ff"
,
12
:
"e14af2852dbd"
,
13
:
"03a7345988fb"
,
14
:
"7bd34c9db226"
,
15
:
"fc688477e0f2"
,
16
:
"9c95c5430f41"
,
17
:
"081b63b62922"
,
18
:
"69bf85281bf8"
,
19
:
"fca5eccb0e56"
,
20
:
"0617eccb19f5"
,
21
:
"abf993cecc16"
,
22
:
"da1346fedd49"
,
23
:
"5ba1b1bc7480"
,
24
:
"43ee51cf782c"
,
25
:
"12c536f6abaf"
,
26
:
"31d6cfe0d16a"
,
27
:
"31d6cfe0d16a"
,
28
:
"31d6cfe0d16a"
,
29
:
"31d6cfe0d16a"
,
30
:
"31d6cfe0d16a"
,
31
:
"31d6cfe0d16a"
,
32
:
"31d6cfe0d16a"
,
33
:
"31d6cfe0d16a"
}[
i
]
+
".css"
,
a
=
s
.
p
+
t
,
r
=
document
.
getElementsByTagName
(
"link"
),
c
=
0
;
c
<
r
.
length
;
c
++
){
var
o
=
(
d
=
r
[
c
]).
getAttribute
(
"data-href"
)
||
d
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
d
.
rel
&&
(
o
===
t
||
o
===
a
))
return
e
()}
var
f
=
document
.
getElementsByTagName
(
"style"
);
for
(
c
=
0
;
c
<
f
.
length
;
c
++
){
var
d
;
if
((
o
=
(
d
=
f
[
c
]).
getAttribute
(
"data-href"
))
===
t
||
o
===
a
)
return
e
()}
var
u
=
document
.
createElement
(
"link"
);
u
.
rel
=
"stylesheet"
,
u
.
type
=
"text/css"
,
u
.
onload
=
e
,
u
.
onerror
=
function
(
e
){
var
t
=
e
&&
e
.
target
&&
e
.
target
.
src
||
a
,
r
=
new
Error
(
"Loading CSS chunk "
+
i
+
" failed.
\
n("
+
t
+
")"
);
r
.
request
=
t
,
delete
l
[
i
],
u
.
parentNode
.
removeChild
(
u
),
n
(
r
)},
u
.
href
=
a
,
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
u
)}).
then
(
function
(){
l
[
i
]
=
0
}));
var
t
,
r
=
b
[
i
];
if
(
0
!==
r
)
if
(
r
)
e
.
push
(
r
[
2
]);
else
{
var
n
=
new
Promise
(
function
(
e
,
t
){
r
=
b
[
i
]
=
[
e
,
t
]});
e
.
push
(
r
[
2
]
=
n
);
var
a
,
c
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
charset
=
"utf-8"
,
o
.
timeout
=
120
,
s
.
nc
&&
o
.
setAttribute
(
"nonce"
,
s
.
nc
),
o
.
src
=
s
.
p
+
"resources/"
+
({}[
t
=
i
]
||
t
)
+
"."
+
{
0
:
"ce816893"
,
1
:
"46d7f9f3"
,
5
:
"838bc7b4"
,
6
:
"8a33dfb9"
,
7
:
"91ffbfb3"
,
8
:
"8069cfef"
,
9
:
"fb4debab"
,
10
:
"79cec249"
,
11
:
"ab2ede65"
,
12
:
"aa643f9d"
,
13
:
"ccf7cf48"
,
14
:
"46fd8cda"
,
15
:
"c478c99e"
,
16
:
"c5e6147d"
,
17
:
"83f61edd"
,
18
:
"f002b18a"
,
19
:
"3266ba87"
,
20
:
"6aa8a085"
,
21
:
"b3bed3b3"
,
22
:
"e3ca5e96"
,
23
:
"9808c0a1"
,
24
:
"a7d17575"
,
25
:
"68964f06"
,
26
:
"11c4abb4"
,
27
:
"c4252e04"
,
28
:
"02e3da72"
,
29
:
"ca65a5d7"
,
30
:
"afe88874"
,
31
:
"89910775"
,
32
:
"3c83e649"
,
33
:
"912ce55b"
}[
t
]
+
".js"
,
a
=
function
(
e
){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
t
=
b
[
i
];
if
(
0
!==
t
){
if
(
t
){
var
r
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
n
=
e
&&
e
.
target
&&
e
.
target
.
src
,
a
=
new
Error
(
"Loading chunk "
+
i
+
" failed.
\
n("
+
r
+
": "
+
n
+
")"
);
a
.
type
=
r
,
a
.
request
=
n
,
t
[
1
](
a
)}
b
[
i
]
=
void
0
}};
var
f
=
setTimeout
(
function
(){
a
({
type
:
"timeout"
,
target
:
o
})},
12
e4
);
o
.
onerror
=
o
.
onload
=
a
,
c
.
appendChild
(
o
)}
return
Promise
.
all
(
e
)},
s
.
m
=
d
,
s
.
c
=
r
,
s
.
d
=
function
(
e
,
t
,
r
){
s
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
s
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
s
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
s
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
r
=
Object
.
create
(
null
);
if
(
s
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
n
in
t
)
s
.
d
(
r
,
n
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
n
));
return
r
},
s
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
s
.
d
(
t
,
"a"
,
t
),
t
},
s
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
s
.
p
=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"
,
s
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
t
=
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[],
n
=
t
.
push
.
bind
(
t
);
t
.
push
=
e
,
t
=
t
.
slice
();
for
(
var
a
=
0
;
a
<
t
.
length
;
a
++
)
e
(
t
[
a
]);
var
p
=
n
;
u
()}([]);
\ No newline at end of file
!
function
(
d
){
function
e
(
e
){
for
(
var
t
,
r
,
n
=
e
[
0
],
a
=
e
[
1
],
c
=
e
[
2
],
o
=
0
,
f
=
[];
o
<
n
.
length
;
o
++
)
r
=
n
[
o
],
b
[
r
]
&&
f
.
push
(
b
[
r
][
0
]),
b
[
r
]
=
0
;
for
(
t
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
t
)
&&
(
d
[
t
]
=
a
[
t
]);
for
(
p
&&
p
(
e
);
f
.
length
;)
f
.
shift
()();
return
i
.
push
.
apply
(
i
,
c
||
[]),
u
()}
function
u
(){
for
(
var
e
,
t
=
0
;
t
<
i
.
length
;
t
++
){
for
(
var
r
=
i
[
t
],
n
=!
0
,
a
=
1
;
a
<
r
.
length
;
a
++
){
var
c
=
r
[
a
];
0
!==
b
[
c
]
&&
(
n
=!
1
)}
n
&&
(
i
.
splice
(
t
--
,
1
),
e
=
s
(
s
.
s
=
r
[
0
]))}
return
e
}
var
r
=
{},
l
=
{
3
:
0
},
b
=
{
3
:
0
},
i
=
[];
function
s
(
e
){
if
(
r
[
e
])
return
r
[
e
].
exports
;
var
t
=
r
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
d
[
e
].
call
(
t
.
exports
,
t
,
t
.
exports
,
s
),
t
.
l
=!
0
,
t
.
exports
}
s
.
e
=
function
(
i
){
var
e
=
[];
l
[
i
]?
e
.
push
(
l
[
i
]):
0
!==
l
[
i
]
&&
{
0
:
1
,
5
:
1
,
6
:
1
,
7
:
1
,
8
:
1
,
9
:
1
,
10
:
1
,
11
:
1
,
12
:
1
,
13
:
1
,
14
:
1
,
15
:
1
,
16
:
1
,
17
:
1
,
18
:
1
,
19
:
1
,
20
:
1
,
21
:
1
,
22
:
1
,
23
:
1
,
24
:
1
,
25
:
1
}[
i
]
&&
e
.
push
(
l
[
i
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
t
=
"resources/"
+
({}[
i
]
||
i
)
+
"."
+
{
0
:
"7e9c19881242"
,
1
:
"31d6cfe0d16a"
,
5
:
"b6a10460f085"
,
6
:
"b6941d5c7875"
,
7
:
"b7a3b3beb3de"
,
8
:
"edadd3d1dece"
,
9
:
"2b76410db4d0"
,
10
:
"30b36ab56f09"
,
11
:
"7275abdd54ff"
,
12
:
"e14af2852dbd"
,
13
:
"03a7345988fb"
,
14
:
"7bd34c9db226"
,
15
:
"fc688477e0f2"
,
16
:
"9c95c5430f41"
,
17
:
"081b63b62922"
,
18
:
"69bf85281bf8"
,
19
:
"fca5eccb0e56"
,
20
:
"0617eccb19f5"
,
21
:
"abf993cecc16"
,
22
:
"da1346fedd49"
,
23
:
"5ba1b1bc7480"
,
24
:
"43ee51cf782c"
,
25
:
"12c536f6abaf"
,
26
:
"31d6cfe0d16a"
,
27
:
"31d6cfe0d16a"
,
28
:
"31d6cfe0d16a"
,
29
:
"31d6cfe0d16a"
,
30
:
"31d6cfe0d16a"
,
31
:
"31d6cfe0d16a"
,
32
:
"31d6cfe0d16a"
,
33
:
"31d6cfe0d16a"
}[
i
]
+
".css"
,
a
=
s
.
p
+
t
,
r
=
document
.
getElementsByTagName
(
"link"
),
c
=
0
;
c
<
r
.
length
;
c
++
){
var
o
=
(
d
=
r
[
c
]).
getAttribute
(
"data-href"
)
||
d
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
d
.
rel
&&
(
o
===
t
||
o
===
a
))
return
e
()}
var
f
=
document
.
getElementsByTagName
(
"style"
);
for
(
c
=
0
;
c
<
f
.
length
;
c
++
){
var
d
;
if
((
o
=
(
d
=
f
[
c
]).
getAttribute
(
"data-href"
))
===
t
||
o
===
a
)
return
e
()}
var
u
=
document
.
createElement
(
"link"
);
u
.
rel
=
"stylesheet"
,
u
.
type
=
"text/css"
,
u
.
onload
=
e
,
u
.
onerror
=
function
(
e
){
var
t
=
e
&&
e
.
target
&&
e
.
target
.
src
||
a
,
r
=
new
Error
(
"Loading CSS chunk "
+
i
+
" failed.
\
n("
+
t
+
")"
);
r
.
request
=
t
,
delete
l
[
i
],
u
.
parentNode
.
removeChild
(
u
),
n
(
r
)},
u
.
href
=
a
,
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
u
)}).
then
(
function
(){
l
[
i
]
=
0
}));
var
t
,
r
=
b
[
i
];
if
(
0
!==
r
)
if
(
r
)
e
.
push
(
r
[
2
]);
else
{
var
n
=
new
Promise
(
function
(
e
,
t
){
r
=
b
[
i
]
=
[
e
,
t
]});
e
.
push
(
r
[
2
]
=
n
);
var
a
,
c
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
charset
=
"utf-8"
,
o
.
timeout
=
120
,
s
.
nc
&&
o
.
setAttribute
(
"nonce"
,
s
.
nc
),
o
.
src
=
s
.
p
+
"resources/"
+
({}[
t
=
i
]
||
t
)
+
"."
+
{
0
:
"ce816893"
,
1
:
"46d7f9f3"
,
5
:
"838bc7b4"
,
6
:
"8a33dfb9"
,
7
:
"91ffbfb3"
,
8
:
"8069cfef"
,
9
:
"fb4debab"
,
10
:
"79cec249"
,
11
:
"ab2ede65"
,
12
:
"aa643f9d"
,
13
:
"ccf7cf48"
,
14
:
"46fd8cda"
,
15
:
"c478c99e"
,
16
:
"c5e6147d"
,
17
:
"83f61edd"
,
18
:
"f002b18a"
,
19
:
"3266ba87"
,
20
:
"6aa8a085"
,
21
:
"b3bed3b3"
,
22
:
"e3ca5e96"
,
23
:
"9808c0a1"
,
24
:
"a7d17575"
,
25
:
"68964f06"
,
26
:
"11c4abb4"
,
27
:
"c4252e04"
,
28
:
"02e3da72"
,
29
:
"ca65a5d7"
,
30
:
"30e4a9d8"
,
31
:
"89910775"
,
32
:
"3c83e649"
,
33
:
"912ce55b"
}[
t
]
+
".js"
,
a
=
function
(
e
){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
t
=
b
[
i
];
if
(
0
!==
t
){
if
(
t
){
var
r
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
n
=
e
&&
e
.
target
&&
e
.
target
.
src
,
a
=
new
Error
(
"Loading chunk "
+
i
+
" failed.
\
n("
+
r
+
": "
+
n
+
")"
);
a
.
type
=
r
,
a
.
request
=
n
,
t
[
1
](
a
)}
b
[
i
]
=
void
0
}};
var
f
=
setTimeout
(
function
(){
a
({
type
:
"timeout"
,
target
:
o
})},
12
e4
);
o
.
onerror
=
o
.
onload
=
a
,
c
.
appendChild
(
o
)}
return
Promise
.
all
(
e
)},
s
.
m
=
d
,
s
.
c
=
r
,
s
.
d
=
function
(
e
,
t
,
r
){
s
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
s
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
s
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
s
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
r
=
Object
.
create
(
null
);
if
(
s
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
n
in
t
)
s
.
d
(
r
,
n
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
n
));
return
r
},
s
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
s
.
d
(
t
,
"a"
,
t
),
t
},
s
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
s
.
p
=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"
,
s
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
t
=
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[],
n
=
t
.
push
.
bind
(
t
);
t
.
push
=
e
,
t
=
t
.
slice
();
for
(
var
a
=
0
;
a
<
t
.
length
;
a
++
)
e
(
t
[
a
]);
var
p
=
n
;
u
()}([]);
\ No newline at end of file
client/components/player/chapterWork/chapterWork.vue
浏览文件 @
9a4be6b2
...
...
@@ -119,7 +119,7 @@ export default {
},
loadAjax
()
{
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
''
,
spinner
:
''
,
background
:
'rgba(255, 255, 255, 0.9)'
})
cAction
.
chapterAction
.
getHomework
(
this
.
sid
,
this
.
id
).
then
(
data
=>
{
cAction
.
chapterAction
.
getHomework
(
this
.
sid
,
this
.
cid
,
this
.
id
).
then
(
data
=>
{
this
.
homeData
=
data
}).
catch
(
e
=>
{
this
.
filesArr
.
pop
();
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
this
.
setTime
=
setInterval
(()
=>
{
...
...
client/components/services/api/chapter_api.js
浏览文件 @
9a4be6b2
...
...
@@ -47,9 +47,10 @@ export default class ChapterAPI extends BaseAPI {
/**
* 获取对应 作业或问题 回答
* @param {[string]} sid
* @param {[string]} cid
* @param {[string]} id resource_id
*/
getHomework
=
(
sid
,
id
)
=>
this
.
get
(
`/tenant/v2/education/homeworks/
${
s
id
}
/
${
id
}
`
,
{})
getHomework
=
(
sid
,
cid
,
id
)
=>
this
.
get
(
`/tenant/v2/education/homeworks/
${
sid
}
/
${
c
id
}
/
${
id
}
`
,
{})
/**
* 文件提交
* @param {[object]} obj
...
...
client/project/actions/ChapterAction.js
浏览文件 @
9a4be6b2
...
...
@@ -183,8 +183,8 @@ export default class ChapterActon {
})
}
/* 获取对应 作业或问题 回答 */
getHomework
(
sid
,
id
)
{
return
chapterApi
.
getHomework
(
sid
,
id
).
then
(
res
=>
res
)
getHomework
(
sid
,
cid
,
id
)
{
return
chapterApi
.
getHomework
(
sid
,
cid
,
id
).
then
(
res
=>
res
)
}
/**
* 文件上传
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论