Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
b955bb7f
提交
b955bb7f
authored
1月 25, 2019
作者:
GOD_ZYX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
大作业 不再必填附件 + 统一登录算法修改
上级
0865d3e4
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
16 行增加
和
15 行删除
+16
-15
build.zip
build.zip
+0
-0
index.html
client-dist/index.html
+2
-2
29.473f8a49.js
client-dist/resources/29.473f8a49.js
+2
-0
29.57a85c0d.js
client-dist/resources/29.57a85c0d.js
+0
-2
manifest.4e34162d.js
client-dist/resources/manifest.4e34162d.js
+2
-2
courseWork.vue
client/components/player/courseWork/courseWork.vue
+7
-7
cookies.js
server/routes/cookies.js
+3
-2
没有找到文件。
build.zip
浏览文件 @
b955bb7f
No preview for this file type
client-dist/index.html
浏览文件 @
b955bb7f
...
@@ -2,4 +2,4 @@
...
@@ -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/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/html5shiv.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.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.88355f45.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.68a64bd1.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.17283bf3.js"
></script></body></html>
<![endif]-->
<script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.4e34162d.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.68a64bd1.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.17283bf3.js"
></script></body></html>
\ No newline at end of file
\ No newline at end of file
client-dist/resources/29.473f8a49.js
0 → 100644
浏览文件 @
b955bb7f
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
29
],{
267
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
412
),
a
=
i
(
359
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
var
l
=
i
(
3
),
o
=
Object
(
l
.
a
)(
a
.
default
,
s
.
a
,
s
.
b
,
!
1
,
null
,
null
,
null
);
o
.
options
.
__file
=
"courseWork.vue"
,
t
.
default
=
o
.
exports
},
359
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
360
),
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
},
360
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
r
(
i
(
67
)),
a
=
r
(
i
(
242
));
function
r
(
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
:
""
,
title
:
""
,
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
.
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)"
});
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
}).
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
){
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-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"
]}]}))}}}},
412
:
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
?[
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
placeholder
:
"主题"
},
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
(
"课程大作业"
)])])])}];
i
.
d
(
t
,
"a"
,
function
(){
return
s
}),
i
.
d
(
t
,
"b"
,
function
(){
return
a
})}}]);
\ No newline at end of file
client-dist/resources/29.57a85c0d.js
deleted
100644 → 0
浏览文件 @
0865d3e4
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
29
],{
267
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
412
),
a
=
i
(
359
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
var
l
=
i
(
3
),
o
=
Object
(
l
.
a
)(
a
.
default
,
s
.
a
,
s
.
b
,
!
1
,
null
,
null
,
null
);
o
.
options
.
__file
=
"courseWork.vue"
,
t
.
default
=
o
.
exports
},
359
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
360
),
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
},
360
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
r
(
i
(
67
)),
a
=
r
(
i
(
242
));
function
r
(
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
:
""
,
title
:
""
,
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
.
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
.
successFileUrl
)
if
(
this
.
ckeditor
.
getData
()){
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
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
}).
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
(
"请上传附件"
);
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-courseWork"
,{
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"
]}]}))}}}},
412
:
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
?[
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
placeholder
:
"主题"
},
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
(
"课程大作业"
)])])])}];
i
.
d
(
t
,
"a"
,
function
(){
return
s
}),
i
.
d
(
t
,
"b"
,
function
(){
return
a
})}}]);
\ No newline at end of file
client-dist/resources/manifest.
88355f45
.js
→
client-dist/resources/manifest.
4e34162d
.js
浏览文件 @
b955bb7f
!
function
(
f
){
function
e
(
e
){
for
(
var
t
,
r
,
n
=
e
[
0
],
a
=
e
[
1
],
o
=
e
[
2
],
d
=
0
,
c
=
[];
d
<
n
.
length
;
d
++
)
r
=
n
[
d
],
s
[
r
]
&&
c
.
push
(
s
[
r
][
0
]),
s
[
r
]
=
0
;
for
(
t
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
t
)
&&
(
f
[
t
]
=
a
[
t
]);
for
(
b
&&
b
(
e
);
c
.
length
;)
c
.
shift
()();
return
i
.
push
.
apply
(
i
,
o
||
[]),
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
o
=
r
[
a
];
0
!==
s
[
o
]
&&
(
n
=!
1
)}
n
&&
(
i
.
splice
(
t
--
,
1
),
e
=
p
(
p
.
s
=
r
[
0
]))}
return
e
}
var
r
=
{},
l
=
{
3
:
0
},
s
=
{
3
:
0
},
i
=
[];
function
p
(
e
){
if
(
r
[
e
])
return
r
[
e
].
exports
;
var
t
=
r
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
f
[
e
].
call
(
t
.
exports
,
t
,
t
.
exports
,
p
),
t
.
l
=!
0
,
t
.
exports
}
p
.
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
}[
i
]
&&
e
.
push
(
l
[
i
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
t
=
"resources/"
+
({}[
i
]
||
i
)
+
"."
+
{
0
:
"7e9c19881242"
,
1
:
"31d6cfe0d16a"
,
5
:
"b6a10460f085"
,
6
:
"1b8137937536"
,
7
:
"edadd3d1dece"
,
8
:
"2b76410db4d0"
,
9
:
"30b36ab56f09"
,
10
:
"eb5caf8d2af7"
,
11
:
"970f20fae48e"
,
12
:
"fc688477e0f2"
,
13
:
"9c95c5430f41"
,
14
:
"d32639348e7f"
,
15
:
"dfc0763315c8"
,
16
:
"a6265ac4f731"
,
17
:
"5ae35f0cd357"
,
18
:
"abf993cecc16"
,
19
:
"da1346fedd49"
,
20
:
"0bbee7f8a94e"
,
21
:
"ad29236d2103"
,
22
:
"12c536f6abaf"
,
23
:
"31d6cfe0d16a"
,
24
:
"31d6cfe0d16a"
,
25
:
"31d6cfe0d16a"
,
26
:
"31d6cfe0d16a"
,
27
:
"31d6cfe0d16a"
,
28
:
"31d6cfe0d16a"
,
29
:
"31d6cfe0d16a"
,
30
:
"31d6cfe0d16a"
}[
i
]
+
".css"
,
a
=
p
.
p
+
t
,
r
=
document
.
getElementsByTagName
(
"link"
),
o
=
0
;
o
<
r
.
length
;
o
++
){
var
d
=
(
f
=
r
[
o
]).
getAttribute
(
"data-href"
)
||
f
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
f
.
rel
&&
(
d
===
t
||
d
===
a
))
return
e
()}
var
c
=
document
.
getElementsByTagName
(
"style"
);
for
(
o
=
0
;
o
<
c
.
length
;
o
++
){
var
f
;
if
((
d
=
(
f
=
c
[
o
]).
getAttribute
(
"data-href"
))
===
t
||
d
===
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
=
s
[
i
];
if
(
0
!==
r
)
if
(
r
)
e
.
push
(
r
[
2
]);
else
{
var
n
=
new
Promise
(
function
(
e
,
t
){
r
=
s
[
i
]
=
[
e
,
t
]});
e
.
push
(
r
[
2
]
=
n
);
var
a
,
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
d
=
document
.
createElement
(
"script"
);
d
.
charset
=
"utf-8"
,
d
.
timeout
=
120
,
p
.
nc
&&
d
.
setAttribute
(
"nonce"
,
p
.
nc
),
d
.
src
=
p
.
p
+
"resources/"
+
({}[
t
=
i
]
||
t
)
+
"."
+
{
0
:
"ef5d27ea"
,
1
:
"3c72bad1"
,
5
:
"66781bea"
,
6
:
"17ff4ed2"
,
7
:
"65c9d244"
,
8
:
"1461aa80"
,
9
:
"7e3a64c6"
,
10
:
"d93b9572"
,
11
:
"273a461f"
,
12
:
"5b30ce9a"
,
13
:
"6cf8af2e"
,
14
:
"2036a254"
,
15
:
"f46f7eab"
,
16
:
"877afdb1"
,
17
:
"448ded57"
,
18
:
"06b163d8"
,
19
:
"0da4e5cc"
,
20
:
"e83b8d47"
,
21
:
"02397985"
,
22
:
"49d797a1"
,
23
:
"f95582ee"
,
24
:
"5391fc7e"
,
25
:
"5e2800bd"
,
26
:
"2a5c7df1"
,
27
:
"59aa6126"
,
28
:
"e04a2d84"
,
29
:
"57a85c0d"
,
30
:
"4da4923a"
}[
t
]
+
".js"
,
a
=
function
(
e
){
d
.
onerror
=
d
.
onload
=
null
,
clearTimeout
(
c
);
var
t
=
s
[
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
)}
s
[
i
]
=
void
0
}};
var
c
=
setTimeout
(
function
(){
a
({
type
:
"timeout"
,
target
:
d
})},
12
e4
);
d
.
onerror
=
d
.
onload
=
a
,
o
.
appendChild
(
d
)}
return
Promise
.
all
(
e
)},
p
.
m
=
f
,
p
.
c
=
r
,
p
.
d
=
function
(
e
,
t
,
r
){
p
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
p
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
p
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
p
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
r
=
Object
.
create
(
null
);
if
(
p
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
n
in
t
)
p
.
d
(
r
,
n
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
n
));
return
r
},
p
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
p
.
d
(
t
,
"a"
,
t
),
t
},
p
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
p
.
p
=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"
,
p
.
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
b
=
n
;
u
()}([]);
!
function
(
c
){
function
e
(
e
){
for
(
var
t
,
r
,
n
=
e
[
0
],
a
=
e
[
1
],
o
=
e
[
2
],
f
=
0
,
d
=
[];
f
<
n
.
length
;
f
++
)
r
=
n
[
f
],
s
[
r
]
&&
d
.
push
(
s
[
r
][
0
]),
s
[
r
]
=
0
;
for
(
t
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
t
)
&&
(
c
[
t
]
=
a
[
t
]);
for
(
b
&&
b
(
e
);
d
.
length
;)
d
.
shift
()();
return
i
.
push
.
apply
(
i
,
o
||
[]),
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
o
=
r
[
a
];
0
!==
s
[
o
]
&&
(
n
=!
1
)}
n
&&
(
i
.
splice
(
t
--
,
1
),
e
=
p
(
p
.
s
=
r
[
0
]))}
return
e
}
var
r
=
{},
l
=
{
3
:
0
},
s
=
{
3
:
0
},
i
=
[];
function
p
(
e
){
if
(
r
[
e
])
return
r
[
e
].
exports
;
var
t
=
r
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
c
[
e
].
call
(
t
.
exports
,
t
,
t
.
exports
,
p
),
t
.
l
=!
0
,
t
.
exports
}
p
.
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
}[
i
]
&&
e
.
push
(
l
[
i
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
t
=
"resources/"
+
({}[
i
]
||
i
)
+
"."
+
{
0
:
"7e9c19881242"
,
1
:
"31d6cfe0d16a"
,
5
:
"b6a10460f085"
,
6
:
"1b8137937536"
,
7
:
"edadd3d1dece"
,
8
:
"2b76410db4d0"
,
9
:
"30b36ab56f09"
,
10
:
"eb5caf8d2af7"
,
11
:
"970f20fae48e"
,
12
:
"fc688477e0f2"
,
13
:
"9c95c5430f41"
,
14
:
"d32639348e7f"
,
15
:
"dfc0763315c8"
,
16
:
"a6265ac4f731"
,
17
:
"5ae35f0cd357"
,
18
:
"abf993cecc16"
,
19
:
"da1346fedd49"
,
20
:
"0bbee7f8a94e"
,
21
:
"ad29236d2103"
,
22
:
"12c536f6abaf"
,
23
:
"31d6cfe0d16a"
,
24
:
"31d6cfe0d16a"
,
25
:
"31d6cfe0d16a"
,
26
:
"31d6cfe0d16a"
,
27
:
"31d6cfe0d16a"
,
28
:
"31d6cfe0d16a"
,
29
:
"31d6cfe0d16a"
,
30
:
"31d6cfe0d16a"
}[
i
]
+
".css"
,
a
=
p
.
p
+
t
,
r
=
document
.
getElementsByTagName
(
"link"
),
o
=
0
;
o
<
r
.
length
;
o
++
){
var
f
=
(
c
=
r
[
o
]).
getAttribute
(
"data-href"
)
||
c
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
c
.
rel
&&
(
f
===
t
||
f
===
a
))
return
e
()}
var
d
=
document
.
getElementsByTagName
(
"style"
);
for
(
o
=
0
;
o
<
d
.
length
;
o
++
){
var
c
;
if
((
f
=
(
c
=
d
[
o
]).
getAttribute
(
"data-href"
))
===
t
||
f
===
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
=
s
[
i
];
if
(
0
!==
r
)
if
(
r
)
e
.
push
(
r
[
2
]);
else
{
var
n
=
new
Promise
(
function
(
e
,
t
){
r
=
s
[
i
]
=
[
e
,
t
]});
e
.
push
(
r
[
2
]
=
n
);
var
a
,
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
f
=
document
.
createElement
(
"script"
);
f
.
charset
=
"utf-8"
,
f
.
timeout
=
120
,
p
.
nc
&&
f
.
setAttribute
(
"nonce"
,
p
.
nc
),
f
.
src
=
p
.
p
+
"resources/"
+
({}[
t
=
i
]
||
t
)
+
"."
+
{
0
:
"ef5d27ea"
,
1
:
"3c72bad1"
,
5
:
"66781bea"
,
6
:
"17ff4ed2"
,
7
:
"65c9d244"
,
8
:
"1461aa80"
,
9
:
"7e3a64c6"
,
10
:
"d93b9572"
,
11
:
"273a461f"
,
12
:
"5b30ce9a"
,
13
:
"6cf8af2e"
,
14
:
"2036a254"
,
15
:
"f46f7eab"
,
16
:
"877afdb1"
,
17
:
"448ded57"
,
18
:
"06b163d8"
,
19
:
"0da4e5cc"
,
20
:
"e83b8d47"
,
21
:
"02397985"
,
22
:
"49d797a1"
,
23
:
"f95582ee"
,
24
:
"5391fc7e"
,
25
:
"5e2800bd"
,
26
:
"2a5c7df1"
,
27
:
"59aa6126"
,
28
:
"e04a2d84"
,
29
:
"473f8a49"
,
30
:
"4da4923a"
}[
t
]
+
".js"
,
a
=
function
(
e
){
f
.
onerror
=
f
.
onload
=
null
,
clearTimeout
(
d
);
var
t
=
s
[
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
)}
s
[
i
]
=
void
0
}};
var
d
=
setTimeout
(
function
(){
a
({
type
:
"timeout"
,
target
:
f
})},
12
e4
);
f
.
onerror
=
f
.
onload
=
a
,
o
.
appendChild
(
f
)}
return
Promise
.
all
(
e
)},
p
.
m
=
c
,
p
.
c
=
r
,
p
.
d
=
function
(
e
,
t
,
r
){
p
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
p
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
p
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
p
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
r
=
Object
.
create
(
null
);
if
(
p
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
n
in
t
)
p
.
d
(
r
,
n
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
n
));
return
r
},
p
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
p
.
d
(
t
,
"a"
,
t
),
t
},
p
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
p
.
p
=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"
,
p
.
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
b
=
n
;
u
()}([]);
\ No newline at end of file
\ No newline at end of file
client/components/player/courseWork/courseWork.vue
浏览文件 @
b955bb7f
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
<div
class=
"play-paper-step"
>
①
阅读大作业要求
</div>
<div
class=
"play-paper-step"
>
①
阅读大作业要求
</div>
<div
class=
"edit_html"
v-html=
"courseWork.curriculum_essay || ''"
></div>
<div
class=
"edit_html"
v-html=
"courseWork.curriculum_essay || ''"
></div>
<p>
截止日期:
{{
courseWork
.
essay_date
||
''
}}
</p>
<p>
截止日期:
{{
courseWork
.
essay_date
||
''
}}
</p>
<div
class=
"play-paper-step"
>
②
填写作业主题、
摘要
,上传附件(点击“提交”保存)
</div>
<div
class=
"play-paper-step"
>
②
填写作业主题、
正文
,上传附件(点击“提交”保存)
</div>
<template
v-if=
"courseWork.curriculum_name"
>
<template
v-if=
"courseWork.curriculum_name"
>
<el-input
v-model=
"title"
type=
"text"
placeholder=
"主题"
></el-input>
<el-input
v-model=
"title"
type=
"text"
placeholder=
"主题"
></el-input>
<div
style=
"font-size: 20px;"
>
摘要
</div>
<div
style=
"font-size: 20px;"
>
正文
</div>
<textarea
id=
"editor-courseWork"
></textarea>
<textarea
id=
"editor-courseWork"
></textarea>
<div
style=
"height: 20px;"
></div>
<div
style=
"height: 20px;"
></div>
<el-upload
<el-upload
...
@@ -139,10 +139,10 @@ export default {
...
@@ -139,10 +139,10 @@ export default {
this
.
$message
.
error
(
'请输入主题'
)
this
.
$message
.
error
(
'请输入主题'
)
return
return
}
}
if
(
!
this
.
successFileUrl
)
{
//
if (!this.successFileUrl) {
this
.
$message
.
error
(
'请上传附件'
)
//
this.$message.error('请上传附件')
return
//
return
}
//
}
if
(
!
this
.
ckeditor
.
getData
())
{
if
(
!
this
.
ckeditor
.
getData
())
{
this
.
$message
.
error
(
'请填写内容'
)
this
.
$message
.
error
(
'请填写内容'
)
return
return
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
/* 初始化 ckeditor */
/* 初始化 ckeditor */
initckeditor
()
{
initckeditor
()
{
!
this
.
ckeditor
&&
(
this
.
ckeditor
=
CKEDITOR
.
replace
(
'editor-courseWork'
,
{
!
this
.
ckeditor
&&
(
this
.
ckeditor
=
CKEDITOR
.
replace
(
'editor-courseWork'
,
{
height
:
3
00
,
height
:
6
00
,
uiColor
:
'#eeeeee'
,
uiColor
:
'#eeeeee'
,
filebrowserImageUploadUrl
:
'/api/ckeditor/img/upload'
,
filebrowserImageUploadUrl
:
'/api/ckeditor/img/upload'
,
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
...
...
server/routes/cookies.js
浏览文件 @
b955bb7f
const
hmacSHA256
=
require
(
'crypto-js/hmac-sha256'
)
const
hmacSHA256
=
require
(
'crypto-js/hmac-sha256'
)
const
Base64
=
require
(
'crypto-js/enc-base64'
)
// const Base64 = require('crypto-js/enc-base64')
const
Hex
=
require
(
'crypto-js/enc-hex'
)
const
setCookie
=
(
ticket
,
res
)
=>
{
const
setCookie
=
(
ticket
,
res
)
=>
{
/* 设置cookie */
/* 设置cookie */
...
@@ -12,7 +13,7 @@ const setCookie = (ticket, res) => {
...
@@ -12,7 +13,7 @@ const setCookie = (ticket, res) => {
sup
=
new
Buffer
(
token
).
toString
(
'base64'
)
// eslint-disable-line
sup
=
new
Buffer
(
token
).
toString
(
'base64'
)
// eslint-disable-line
// yii格式加密 hmac sha256
// yii格式加密 hmac sha256
let
serialize
=
`a:2:{i:0;s:4:"_SUP";i:1;s:
${
sup
.
length
}
:"
${
sup
}
";}`
let
serialize
=
`a:2:{i:0;s:4:"_SUP";i:1;s:
${
sup
.
length
}
:"
${
sup
}
";}`
let
hamc
=
Base64
.
stringify
(
hmacSHA256
(
serialize
,
'VzpR5JMDNqUsOZ0IFQARNLU9_0KLr9UC'
))
let
hamc
=
Hex
.
stringify
(
hmacSHA256
(
serialize
,
'VzpR5JMDNqUsOZ0IFQARNLU9_0KLr9UC'
))
sup
=
hamc
+
serialize
// encodeURIComponent(hamc + serialize)
sup
=
hamc
+
serialize
// encodeURIComponent(hamc + serialize)
// 设置到cookie
// 设置到cookie
let
opts
=
{
path
:
'/'
,
domain
:
'.ezijing.com'
,
expires
:
expires
,
httpOnly
:
true
}
let
opts
=
{
path
:
'/'
,
domain
:
'.ezijing.com'
,
expires
:
expires
,
httpOnly
:
true
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论