Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
73e5ed9c
提交
73e5ed9c
authored
6月 05, 2019
作者:
GOD_ZYX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
ccf82655
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
10 行增加
和
10 行删除
+10
-10
index.html
client-dist/index.html
+2
-2
32.16a994d2.js
client-dist/resources/32.16a994d2.js
+0
-2
32.3c83e649.js
client-dist/resources/32.3c83e649.js
+2
-0
manifest.04318f72.js
client-dist/resources/manifest.04318f72.js
+2
-2
courseWork.vue
client/components/player/courseWork/courseWork.vue
+4
-4
没有找到文件。
client-dist/index.html
浏览文件 @
73e5ed9c
...
...
@@ -2,4 +2,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.08be5a22.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.12b1d369.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.04318f72.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.12b1d369.js"
></script></body></html>
\ No newline at end of file
client-dist/resources/32.16a994d2.js
deleted
100644 → 0
浏览文件 @
ccf82655
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
32
],{
275
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
430
),
a
=
i
(
372
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
var
l
=
i
(
1
),
o
=
Object
(
l
.
a
)(
a
.
default
,
s
.
a
,
s
.
b
,
!
1
,
null
,
null
,
null
);
o
.
options
.
__file
=
"courseWork.vue"
,
t
.
default
=
o
.
exports
},
372
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
373
),
a
=
i
.
n
(
s
);
for
(
var
r
in
s
)
"default"
!==
r
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
s
[
e
]})}(
r
);
t
.
default
=
a
.
a
},
373
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
l
(
i
(
41
)),
a
=
l
(
i
(
73
)),
r
=
l
(
i
(
249
));
function
l
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
t
.
default
=
{
props
:{
courseWork
:{
type
:
Object
,
require
:
!
1
},
sid
:{
type
:
String
,
require
:
!
1
},
cid
:{
type
:
String
,
require
:
!
1
},
id
:{
type
:
String
,
require
:
!
1
}},
data
:
function
(){
return
{
ckeditor
:
null
,
successFileUrl
:
""
,
successData
:
""
,
title
:
""
,
filesArr
:[],
file
:{
id
:
"WU_FILE_0"
,
name
:
""
,
type
:
""
,
lastModifiedDate
:
""
,
size
:
""
,
file
:
""
,
special
:
"course-work"
},
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
.
getCourseHomework
(
this
.
sid
,
this
.
cid
).
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-courseWork"
)){
if
(
t
.
initckeditor
(),
t
.
homeData
.
course_id
){
var
e
=
t
.
homeData
;
t
.
successFileUrl
=
e
.
file_url
,
t
.
ckeditor
.
setData
(
e
.
essay_description
),
t
.
title
=
e
.
essay_name
}
clearInterval
(
t
.
setTime
)}},
50
),
e
.
close
()})},
submitWork
:
function
(){
var
t
=
this
;
if
(
this
.
title
)
if
(
this
.
ckeditor
.
getData
()){
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
}),
i
=
""
;
this
.
ckeditor
.
getData
().
match
(
/<w:t
[^
>
]
*
?
>
[\s\S]
*
?
<
\/
w:t>/gi
).
forEach
(
function
(
e
){
i
+=
e
.
slice
(
5
,
-
6
)}),
s
.
default
.
chapterAction
.
updateCourseHomework
(
this
.
sid
,
this
.
cid
,{
essay_name
:
this
.
title
,
essay_description
:
this
.
ckeditor
.
getData
(),
url
:
this
.
successFileUrl
,
course_id
:
this
.
cid
,
semester_id
:
this
.
sid
,
raw
:
this
.
successData
||
a
.
default
.
encode
(
i
)}).
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
(
"请填写内容"
);
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
){
e
.
error
?
t
.
$message
.
error
(
"提示待定!!!!!"
):(
t
.
successFileUrl
=
e
.
url
,
t
.
successData
=
e
.
dataStr
||
""
,
t
.
filesArr
.
pop
())}).
catch
(
function
(
e
){
t
.
filesArr
.
pop
(),
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
e
.
close
()})},
initckeditor
:
function
(){
!
this
.
ckeditor
&&
(
this
.
ckeditor
=
r
.
default
.
replace
(
"editor-courseWork"
,{
height
:
600
,
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"
]}]}))}}}},
430
:
function
(
e
,
t
,
i
){
"use strict"
;
var
s
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"play-paper"
},[
i
(
"div"
,{
staticClass
:
"play-paper-body"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"play-paper-content"
},[
i
(
"div"
,{
staticClass
:
"play-paper-step"
},[
t
.
_v
(
"① 阅读大作业要求"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"edit_html"
,
domProps
:{
innerHTML
:
t
.
_s
(
t
.
courseWork
.
curriculum_essay
||
""
)}}),
t
.
_v
(
" "
),
i
(
"p"
,[
t
.
_v
(
"截止日期:"
+
t
.
_s
(
t
.
courseWork
.
essay_date
||
""
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"play-paper-step"
},[
t
.
_v
(
"② 填写作业主题、正文,上传附件(点击“提交”保存)"
)]),
t
.
_v
(
" "
),
t
.
courseWork
.
curriculum_name
?[
t
.
_m
(
1
),
t
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
placeholder
:
"主题"
,
maxlength
:
"100"
},
model
:{
value
:
t
.
title
,
callback
:
function
(
e
){
t
.
title
=
e
},
expression
:
"title"
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
"font-size"
:
"20px"
}},[
t
.
_v
(
"正文"
)]),
t
.
_v
(
" "
),
i
(
"textarea"
,{
attrs
:{
id
:
"editor-courseWork"
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
height
:
"20px"
}}),
t
.
_v
(
" "
),
i
(
"el-upload"
,{
ref
:
"upFile"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
""
,
multiple
:
!
1
,
limit
:
1
,
"show-file-list"
:
!
1
,
"on-change"
:
t
.
handleChange
,
"http-request"
:
t
.
uploadFile
,
"file-list"
:
t
.
filesArr
}},[
t
.
_v
(
"
\
n 请上传对应的文件附件:"
),
i
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
t
.
_v
(
"点击上传"
)]),
t
.
_v
(
" "
),
t
.
successFileUrl
?[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
successFileUrl
.
replace
(
/.*
\/([^\/]
*
\.
docx
)
$/gi
,
"$1"
))
+
"
\
n "
)]:
t
.
_e
()],
2
),
t
.
_v
(
" "
),
t
.
successFileUrl
?[
i
(
"a"
,{
attrs
:{
href
:
t
.
successFileUrl
}},[
t
.
_v
(
"下载已上传文件"
)])]:
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
height
:
"20px"
}}),
t
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"help help-file"
},[
t
.
_v
(
"只支持docx格式的文件,文件小于10M"
)])]:
void
0
,
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"area-btns"
},[
i
(
"div"
,{
staticClass
:
"play-paper-step"
},[
t
.
_v
(
"③ 截止日期前提交"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
t
.
homeData
.
check_date
},
on
:{
click
:
t
.
submitWork
}},[
t
.
_v
(
t
.
_s
(
t
.
homeData
.
check_date
?
"已批改"
:
"提交"
))]),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"help-info"
},[
t
.
_v
(
" 在获老师批改之前,可以多次提交,将以最后一次提交为准"
)]),
t
.
_v
(
" "
),
t
.
homeData
.
check_date
?[
i
(
"div"
,{
staticClass
:
"play-paper-check"
},[
i
(
"h4"
,[
t
.
_v
(
"已获批改 "
),
i
(
"small"
,[
t
.
_v
(
"批改于"
+
t
.
_s
(
t
.
homeData
.
check_date
))])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"play-paper-check-item"
},[
i
(
"b"
,[
t
.
_v
(
"评分:"
)]),
t
.
_v
(
t
.
_s
(
t
.
homeData
.
score
))])])]:
t
.
homeData
.
created_time
?[
i
(
"p"
,{
staticClass
:
"help"
},[
t
.
_v
(
"已于 "
+
t
.
_s
(
t
.
homeData
.
created_time
)
+
" 提交,等待批改中"
)]),
t
.
_v
(
" "
),
t
.
homeData
.
updated_time
!==
t
.
homeData
.
created_time
?[
i
(
"p"
,{
staticClass
:
"help"
},[
t
.
_v
(
"(最后一次提交时间: "
+
t
.
_s
(
t
.
homeData
.
updated_time
)
+
")"
)])]:
t
.
_e
()]:
t
.
_e
()],
2
)],
2
)])])},
a
=
[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"play-paper-title"
},[
t
(
"div"
,[
t
(
"h3"
,[
this
.
_v
(
"课程大作业"
)])])])},
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticStyle
:{
"font-size"
:
"20px"
}},[
this
.
_v
(
"主题"
),
t
(
"em"
,{
staticStyle
:{
"font-size"
:
"12px"
}},[
this
.
_v
(
"(最长不超过50个字)"
)])])}];
i
.
d
(
t
,
"a"
,
function
(){
return
s
}),
i
.
d
(
t
,
"b"
,
function
(){
return
a
})}}]);
\ No newline at end of file
client-dist/resources/32.3c83e649.js
0 → 100644
浏览文件 @
73e5ed9c
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
32
],{
275
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
430
),
a
=
i
(
372
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
var
l
=
i
(
1
),
o
=
Object
(
l
.
a
)(
a
.
default
,
s
.
a
,
s
.
b
,
!
1
,
null
,
null
,
null
);
o
.
options
.
__file
=
"courseWork.vue"
,
t
.
default
=
o
.
exports
},
372
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
373
),
a
=
i
.
n
(
s
);
for
(
var
r
in
s
)
"default"
!==
r
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
s
[
e
]})}(
r
);
t
.
default
=
a
.
a
},
373
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
l
(
i
(
41
)),
a
=
l
(
i
(
73
)),
r
=
l
(
i
(
249
));
function
l
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
t
.
default
=
{
props
:{
courseWork
:{
type
:
Object
,
require
:
!
1
},
sid
:{
type
:
String
,
require
:
!
1
},
cid
:{
type
:
String
,
require
:
!
1
},
id
:{
type
:
String
,
require
:
!
1
}},
data
:
function
(){
return
{
ckeditor
:
null
,
successFileUrl
:
""
,
successData
:
""
,
title
:
""
,
filesArr
:[],
file
:{
id
:
"WU_FILE_0"
,
name
:
""
,
type
:
""
,
lastModifiedDate
:
""
,
size
:
""
,
file
:
""
,
special
:
"course-work"
},
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
.
getCourseHomework
(
this
.
sid
,
this
.
cid
).
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-courseWork"
)){
if
(
t
.
initckeditor
(),
t
.
homeData
.
course_id
){
var
e
=
t
.
homeData
;
t
.
successFileUrl
=
e
.
file_url
,
t
.
ckeditor
.
setData
(
e
.
essay_description
),
t
.
title
=
e
.
essay_name
}
clearInterval
(
t
.
setTime
)}},
50
),
e
.
close
()})},
submitWork
:
function
(){
var
t
=
this
;
if
(
this
.
title
)
if
(
this
.
ckeditor
.
getData
()){
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
}),
i
=
this
.
ckeditor
.
getData
().
replace
(
/<
(
a|b|p|em|span|strong|table|tbody|thead|th|tr|td|div
)
.*
?
>/gi
,
""
).
replace
(
/<
\/
.*
?
>/gi
,
""
);
s
.
default
.
chapterAction
.
updateCourseHomework
(
this
.
sid
,
this
.
cid
,{
essay_name
:
this
.
title
,
essay_description
:
this
.
ckeditor
.
getData
(),
url
:
this
.
successFileUrl
,
course_id
:
this
.
cid
,
semester_id
:
this
.
sid
,
raw
:
this
.
successData
||
a
.
default
.
encode
(
i
)}).
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
(
"请填写内容"
);
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
){
e
.
error
?
t
.
$message
.
error
(
"提示待定!!!!!"
):(
t
.
successFileUrl
=
e
.
url
,
t
.
successData
=
e
.
dataStr
||
""
,
t
.
filesArr
.
pop
())}).
catch
(
function
(
e
){
t
.
filesArr
.
pop
(),
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
e
.
close
()})},
initckeditor
:
function
(){
!
this
.
ckeditor
&&
(
this
.
ckeditor
=
r
.
default
.
replace
(
"editor-courseWork"
,{
height
:
600
,
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"
]}]}))}}}},
430
:
function
(
e
,
t
,
i
){
"use strict"
;
var
s
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"play-paper"
},[
i
(
"div"
,{
staticClass
:
"play-paper-body"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"play-paper-content"
},[
i
(
"div"
,{
staticClass
:
"play-paper-step"
},[
t
.
_v
(
"① 阅读大作业要求"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"edit_html"
,
domProps
:{
innerHTML
:
t
.
_s
(
t
.
courseWork
.
curriculum_essay
||
""
)}}),
t
.
_v
(
" "
),
i
(
"p"
,[
t
.
_v
(
"截止日期:"
+
t
.
_s
(
t
.
courseWork
.
essay_date
||
""
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"play-paper-step"
},[
t
.
_v
(
"② 填写作业主题、正文,上传附件(点击“提交”保存)"
)]),
t
.
_v
(
" "
),
t
.
courseWork
.
curriculum_name
?[
t
.
_m
(
1
),
t
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
placeholder
:
"主题"
,
maxlength
:
"100"
},
model
:{
value
:
t
.
title
,
callback
:
function
(
e
){
t
.
title
=
e
},
expression
:
"title"
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
"font-size"
:
"20px"
}},[
t
.
_v
(
"正文"
)]),
t
.
_v
(
" "
),
i
(
"textarea"
,{
attrs
:{
id
:
"editor-courseWork"
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
height
:
"20px"
}}),
t
.
_v
(
" "
),
i
(
"el-upload"
,{
ref
:
"upFile"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
""
,
multiple
:
!
1
,
limit
:
1
,
"show-file-list"
:
!
1
,
"on-change"
:
t
.
handleChange
,
"http-request"
:
t
.
uploadFile
,
"file-list"
:
t
.
filesArr
}},[
t
.
_v
(
"
\
n 请上传对应的文件附件:"
),
i
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
t
.
_v
(
"点击上传"
)]),
t
.
_v
(
" "
),
t
.
successFileUrl
?[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
successFileUrl
.
replace
(
/.*
\/([^\/]
*
\.
docx
)
$/gi
,
"$1"
))
+
"
\
n "
)]:
t
.
_e
()],
2
),
t
.
_v
(
" "
),
t
.
successFileUrl
?[
i
(
"a"
,{
attrs
:{
href
:
t
.
successFileUrl
}},[
t
.
_v
(
"下载已上传文件"
)])]:
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
height
:
"20px"
}}),
t
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"help help-file"
},[
t
.
_v
(
"只支持docx格式的文件,文件小于10M"
)])]:
void
0
,
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"area-btns"
},[
i
(
"div"
,{
staticClass
:
"play-paper-step"
},[
t
.
_v
(
"③ 截止日期前提交"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
t
.
homeData
.
check_date
},
on
:{
click
:
t
.
submitWork
}},[
t
.
_v
(
t
.
_s
(
t
.
homeData
.
check_date
?
"已批改"
:
"提交"
))]),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"help-info"
},[
t
.
_v
(
" 在获老师批改之前,可以多次提交,将以最后一次提交为准"
)]),
t
.
_v
(
" "
),
t
.
homeData
.
check_date
?[
i
(
"div"
,{
staticClass
:
"play-paper-check"
},[
i
(
"h4"
,[
t
.
_v
(
"已获批改 "
),
i
(
"small"
,[
t
.
_v
(
"批改于"
+
t
.
_s
(
t
.
homeData
.
check_date
))])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"play-paper-check-item"
},[
i
(
"b"
,[
t
.
_v
(
"评分:"
)]),
t
.
_v
(
t
.
_s
(
t
.
homeData
.
score
))])])]:
t
.
homeData
.
created_time
?[
i
(
"p"
,{
staticClass
:
"help"
},[
t
.
_v
(
"已于 "
+
t
.
_s
(
t
.
homeData
.
created_time
)
+
" 提交,等待批改中"
)]),
t
.
_v
(
" "
),
t
.
homeData
.
updated_time
!==
t
.
homeData
.
created_time
?[
i
(
"p"
,{
staticClass
:
"help"
},[
t
.
_v
(
"(最后一次提交时间: "
+
t
.
_s
(
t
.
homeData
.
updated_time
)
+
")"
)])]:
t
.
_e
()]:
t
.
_e
()],
2
)],
2
)])])},
a
=
[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"play-paper-title"
},[
t
(
"div"
,[
t
(
"h3"
,[
this
.
_v
(
"课程大作业"
)])])])},
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticStyle
:{
"font-size"
:
"20px"
}},[
this
.
_v
(
"主题"
),
t
(
"em"
,{
staticStyle
:{
"font-size"
:
"12px"
}},[
this
.
_v
(
"(最长不超过50个字)"
)])])}];
i
.
d
(
t
,
"a"
,
function
(){
return
s
}),
i
.
d
(
t
,
"b"
,
function
(){
return
a
})}}]);
\ No newline at end of file
client-dist/resources/manifest.0
8be5a2
2.js
→
client-dist/resources/manifest.0
4318f7
2.js
浏览文件 @
73e5ed9c
!
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
:
"0069f7ea7855"
,
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
:
"cdc25c4261cf"
,
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
:
"2c68d171"
,
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
:
"92c2491c"
,
21
:
"b3bed3b3"
,
22
:
"e3ca5e96"
,
23
:
"9808c0a1"
,
24
:
"a7d17575"
,
25
:
"68964f06"
,
26
:
"11c4abb4"
,
27
:
"c4252e04"
,
28
:
"02e3da72"
,
29
:
"ca65a5d7"
,
30
:
"afe88874"
,
31
:
"89910775"
,
32
:
"16a994d2"
,
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
:
"0069f7ea7855"
,
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
:
"cdc25c4261cf"
,
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
:
"2c68d171"
,
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
:
"92c2491c"
,
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
client/components/player/courseWork/courseWork.vue
浏览文件 @
73e5ed9c
...
...
@@ -153,10 +153,10 @@ export default {
}
/* 只能提交 单个问题 */
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
''
,
spinner
:
''
,
background
:
'rgba(255, 255, 255, 0.9)'
})
let
_strContent
=
''
this
.
ckeditor
.
getData
().
match
(
/<w:t
[^
>
]
*
?
>
[\s\S]
*
?
<
\/
w:t>/ig
).
forEach
((
item
)
=>
{
_strContent
+=
item
.
slice
(
5
,
-
6
)
// 不能换行,应该是 解析某些换行规则会比较慢
})
let
_strContent
=
this
.
ckeditor
.
getData
()
.
replace
(
/<
(
a|b|p|em|span|strong|table|tbody|thead|th|tr|td|div
)
.*
?
>/gi
,
''
)
.
replace
(
/<
\/
.*
?
>/gi
,
''
)
cAction
.
chapterAction
.
updateCourseHomework
(
this
.
sid
,
this
.
cid
,
{
essay_name
:
this
.
title
,
essay_description
:
this
.
ckeditor
.
getData
(),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论