Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
397cbe86
提交
397cbe86
authored
1月 10, 2019
作者:
GOD_ZYX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
大作业 提交 不必填
上级
55cf74cf
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
18 行增加
和
16 行删除
+18
-16
build.zip
build.zip
+0
-0
index.html
client-dist/index.html
+2
-2
20.23f7ff945936.css
client-dist/resources/20.23f7ff945936.css
+0
-2
20.79d3778e.js
client-dist/resources/20.79d3778e.js
+2
-2
20.d54889dcbbf1.css
client-dist/resources/20.d54889dcbbf1.css
+2
-0
26.f1bec6d2.js
client-dist/resources/26.f1bec6d2.js
+2
-2
manifest.f9e57b7e.js
client-dist/resources/manifest.f9e57b7e.js
+2
-2
chapterWork.vue
client/components/player/chapterWork/chapterWork.vue
+0
-4
reportSubmit.vue
client/project/elearning-node/pages/myLearn/reportSubmit.vue
+8
-2
没有找到文件。
build.zip
浏览文件 @
397cbe86
No preview for this file type
client-dist/index.html
浏览文件 @
397cbe86
...
...
@@ -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.6b5e5ba3.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.c34ded55.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.28e5c09f.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.f9e57b7e.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.c34ded55.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.28e5c09f.js"
></script></body></html>
\ No newline at end of file
client-dist/resources/20.23f7ff945936.css
deleted
100644 → 0
浏览文件 @
55cf74cf
.el-date-editor.el-input
[
data-v-4a8b7d92
]
{
width
:
100%
}
.el-upload__tip
[
data-v-4a8b7d92
]
{
line-height
:
1.5
}
\ No newline at end of file
client-dist/resources/20.
4a02ef2a
.js
→
client-dist/resources/20.
79d3778e
.js
浏览文件 @
397cbe86
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
20
],{
263
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
r
=
i
(
428
),
s
=
i
(
327
);
for
(
var
l
in
s
)
"default"
!==
l
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
s
[
e
]})}(
l
);
i
(
389
);
var
a
=
i
(
3
),
n
=
Object
(
a
.
a
)(
s
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
"4a8b7d92"
,
null
);
n
.
options
.
__file
=
"reportSubmit.vue"
,
t
.
default
=
n
.
exports
},
327
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
r
=
i
(
328
),
s
=
i
.
n
(
r
);
for
(
var
l
in
r
)
"default"
!==
l
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
l
);
t
.
default
=
s
.
a
},
328
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
,
s
=
i
(
68
),
l
=
(
r
=
s
)
&&
r
.
__esModule
?
r
:{
default
:
r
};
t
.
default
=
{
props
:{
rid
:{
type
:
String
,
required
:
!
1
},
reid
:{
type
:
String
,
required
:
!
1
}},
components
:{},
data
:
function
(){
return
{
labelWidth
:
"110px"
,
setSubmit
:{
name
:
""
,
title
:
""
},
submitRules
:{
name
:[{
required
:
!
0
,
message
:
"报告主题不能为空"
,
trigger
:
"blur"
}],
title
:[]},
successFileUrl
:
""
,
filesArr
:[],
file
:{
id
:
"WU_FILE_0"
,
name
:
""
,
type
:
""
,
lastModifiedDate
:
""
,
size
:
""
,
file
:
""
}}},
mounted
:
function
(){
var
t
=
this
;
if
(
"-1"
!==
this
.
reid
){
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
l
.
default
.
reportAction
.
getSubmitReport
(
this
.
rid
,
this
.
reid
).
then
(
function
(
e
){
e
.
report_name
&&
(
t
.
setSubmit
.
name
=
e
.
report_name
,
t
.
setSubmit
.
title
=
e
.
report_description
,
t
.
successFileUrl
=
e
.
file_url
)}).
catch
(
function
(
e
){
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
e
.
close
()})}
window
.
addEventListener
(
"resize"
,
function
(){
var
e
=
document
.
documentElement
.
clientWidth
;
t
.
labelWidth
=
e
<
790
?
"auto"
:
"110px"
})},
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
},
uploadFile
:
function
(){
var
t
=
this
,
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
l
.
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
()})},
gobackActiveList
:
function
(){
this
.
$router
.
push
({
path
:
"/app/my-learn/report-list-all/"
+
this
.
rid
})},
onSubmitFrom
:
function
(){
var
i
=
this
;
this
.
$refs
.
setSubmitForm
.
validate
(
function
(
e
){
if
(
!
e
)
return
i
.
$message
.
error
(
"请检查输入项,确认无误后,重新提交"
),
!
1
;
if
(
i
.
successFileUrl
){
var
t
=
i
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});(
"-1"
!==
i
.
reid
?
l
.
default
.
reportAction
.
updateSubmitReport
(
i
.
rid
,
i
.
reid
,{
report_name
:
i
.
setSubmit
.
name
,
report_description
:
i
.
setSubmit
.
title
,
file_url
:
i
.
successFileUrl
}):
l
.
default
.
reportAction
.
submitReport
(
i
.
rid
,{
report_name
:
i
.
setSubmit
.
name
,
report_description
:
i
.
setSubmit
.
title
,
file_url
:
i
.
successFileUrl
})).
then
(
function
(
e
){
e
.
flag
&&
(
i
.
$message
({
type
:
"success"
,
message
:
"提交成功"
}),
setTimeout
(
function
(){
i
.
$router
.
push
({
path
:
"/app/my-learn/report-list-all/"
+
i
.
rid
})},
500
))}).
catch
(
function
(
e
){
i
.
filesArr
.
pop
(),
i
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
t
.
close
()})}
else
i
.
$message
.
error
(
"请上传附件"
)})}}}},
329
:
function
(
e
,
t
,
i
){},
389
:
function
(
e
,
t
,
i
){
"use strict"
;
var
r
=
i
(
329
);
i
.
n
(
r
).
a
},
428
:
function
(
e
,
t
,
i
){
"use strict"
;
var
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"con-title"
},[
t
.
_v
(
"学术报告提交"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"con-box"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
gobackActiveList
}},[
t
.
_v
(
"返回活动列表"
)]),
t
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
type
:
"flex"
,
justify
:
"center"
}},[
i
(
"el-col"
,{
attrs
:{
xs
:
24
,
sm
:
24
,
md
:
16
,
lg
:
12
,
xl
:
8
}},[
i
(
"el-form"
,{
ref
:
"setSubmitForm"
,
attrs
:{
"label-width"
:
t
.
labelWidth
,
model
:
t
.
setSubmit
,
rules
:
t
.
submitRules
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"学术报告主题"
,
prop
:
"name"
}},[
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入报告主题"
,
type
:
"text"
},
model
:{
value
:
t
.
setSubmit
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setSubmit
,
"name"
,
e
)},
expression
:
"setSubmit.name"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"学术报告摘要"
,
prop
:
"title"
}},[
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入报告摘要"
,
type
:
"text"
},
model
:{
value
:
t
.
setSubmit
.
title
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setSubmit
,
"title"
,
e
)},
expression
:
"setSubmit.title"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"* 附 件"
,
prop
:
"file"
}},[
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
}},[
i
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
}},[
t
.
_v
(
"点击上传"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"(可以上传word、ppt等资源。系统提供模板下载)"
),
i
(
"a"
,{
attrs
:{
href
:
"http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/learn-mba/%E3%80%8AMBA%E5%AD%A6%E7%94%9F%E5%AD%A6%E6%9C%AF%E6%B4%BB%E5%8A%A8%E8%AE%B0%E5%BD%95%E6%8A%A5%E5%91%8A%E3%80%8B%E6%A8%A1%E6%9D%BFXXX%E5%AD%A6%E7%94%9F.docx"
}},[
t
.
_v
(
"模板下载"
)])]),
t
.
_v
(
" "
),
t
.
successFileUrl
?[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
successFileUrl
.
replace
(
/.*
\/([^\/]
*
\.[^
.
]
+
)
$/gi
,
"$1"
))
+
"
\
n "
)]:
t
.
_e
()],
2
),
t
.
_v
(
" "
),
t
.
successFileUrl
?[
i
(
"a"
,{
attrs
:{
href
:
t
.
successFileUrl
}},[
t
.
_v
(
"下载已上传附件"
)])]:
t
.
_e
()],
2
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSubmitFrom
}},[
t
.
_v
(
"保存并提交"
)])],
1
)],
1
)],
1
)],
1
)],
1
)])},
s
=
[];
i
.
d
(
t
,
"a"
,
function
(){
return
r
}),
i
.
d
(
t
,
"b"
,
function
(){
return
s
})}}]);
\ No newline at end of file
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
20
],{
263
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
r
=
i
(
428
),
s
=
i
(
327
);
for
(
var
l
in
s
)
"default"
!==
l
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
s
[
e
]})}(
l
);
i
(
389
);
var
n
=
i
(
3
),
a
=
Object
(
n
.
a
)(
s
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
"45b643dd"
,
null
);
a
.
options
.
__file
=
"reportSubmit.vue"
,
t
.
default
=
a
.
exports
},
327
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
r
=
i
(
328
),
s
=
i
.
n
(
r
);
for
(
var
l
in
r
)
"default"
!==
l
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
l
);
t
.
default
=
s
.
a
},
328
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
,
s
=
i
(
68
),
l
=
(
r
=
s
)
&&
r
.
__esModule
?
r
:{
default
:
r
};
t
.
default
=
{
props
:{
rid
:{
type
:
String
,
required
:
!
1
},
reid
:{
type
:
String
,
required
:
!
1
}},
components
:{},
data
:
function
(){
return
{
labelWidth
:
"110px"
,
setSubmit
:{
name
:
""
,
title
:
""
},
submitRules
:{
name
:[{
required
:
!
0
,
message
:
"报告主题不能为空"
,
trigger
:
"blur"
}],
title
:[]},
successFileUrl
:
""
,
filesArr
:[],
file
:{
id
:
"WU_FILE_0"
,
name
:
""
,
type
:
""
,
lastModifiedDate
:
""
,
size
:
""
,
file
:
""
}}},
mounted
:
function
(){
var
t
=
this
;
if
(
"-1"
!==
this
.
reid
){
var
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
l
.
default
.
reportAction
.
getSubmitReport
(
this
.
rid
,
this
.
reid
).
then
(
function
(
e
){
e
.
report_name
&&
(
t
.
setSubmit
.
name
=
e
.
report_name
,
t
.
setSubmit
.
title
=
e
.
report_description
,
t
.
successFileUrl
=
e
.
file_url
)}).
catch
(
function
(
e
){
t
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
e
.
close
()})}
window
.
addEventListener
(
"resize"
,
function
(){
var
e
=
document
.
documentElement
.
clientWidth
;
t
.
labelWidth
=
e
<
790
?
"auto"
:
"110px"
})},
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
},
uploadFile
:
function
(){
var
t
=
this
,
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
l
.
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
()})},
gobackActiveList
:
function
(){
this
.
$router
.
push
({
path
:
"/app/my-learn/report-list-all/"
+
this
.
rid
})},
onSubmitFrom
:
function
(){
var
i
=
this
;
this
.
$refs
.
setSubmitForm
.
validate
(
function
(
e
){
if
(
!
e
)
return
i
.
$message
.
error
(
"请检查输入项,确认无误后,重新提交"
),
!
1
;
if
(
i
.
successFileUrl
){
var
t
=
i
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});(
"-1"
!==
i
.
reid
?
l
.
default
.
reportAction
.
updateSubmitReport
(
i
.
rid
,
i
.
reid
,{
report_name
:
i
.
setSubmit
.
name
,
report_description
:
i
.
setSubmit
.
title
,
file_url
:
JSON
.
stringify
({
name
:
i
.
file
.
name
,
url
:
i
.
successFileUrl
})}):
l
.
default
.
reportAction
.
submitReport
(
i
.
rid
,{
report_name
:
i
.
setSubmit
.
name
,
report_description
:
i
.
setSubmit
.
title
,
file_url
:
JSON
.
stringify
({
name
:
i
.
file
.
name
,
url
:
i
.
successFileUrl
})})).
then
(
function
(
e
){
e
.
flag
&&
(
i
.
$message
({
type
:
"success"
,
message
:
"提交成功"
}),
setTimeout
(
function
(){
i
.
$router
.
push
({
path
:
"/app/my-learn/report-list-all/"
+
i
.
rid
})},
500
))}).
catch
(
function
(
e
){
i
.
filesArr
.
pop
(),
i
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
t
.
close
()})}
else
i
.
$message
.
error
(
"请上传附件"
)})}}}},
329
:
function
(
e
,
t
,
i
){},
389
:
function
(
e
,
t
,
i
){
"use strict"
;
var
r
=
i
(
329
);
i
.
n
(
r
).
a
},
428
:
function
(
e
,
t
,
i
){
"use strict"
;
var
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"con-title"
},[
t
.
_v
(
"学术报告提交"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"con-box"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
gobackActiveList
}},[
t
.
_v
(
"返回活动列表"
)]),
t
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
type
:
"flex"
,
justify
:
"center"
}},[
i
(
"el-col"
,{
attrs
:{
xs
:
24
,
sm
:
24
,
md
:
16
,
lg
:
12
,
xl
:
8
}},[
i
(
"el-form"
,{
ref
:
"setSubmitForm"
,
attrs
:{
"label-width"
:
t
.
labelWidth
,
model
:
t
.
setSubmit
,
rules
:
t
.
submitRules
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"学术报告主题"
,
prop
:
"name"
}},[
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入报告主题"
,
type
:
"text"
},
model
:{
value
:
t
.
setSubmit
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setSubmit
,
"name"
,
e
)},
expression
:
"setSubmit.name"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"学术报告摘要"
,
prop
:
"title"
}},[
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入报告摘要"
,
type
:
"text"
},
model
:{
value
:
t
.
setSubmit
.
title
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setSubmit
,
"title"
,
e
)},
expression
:
"setSubmit.title"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"* 附 件"
,
prop
:
"file"
}},[
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
}},[
i
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
}},[
t
.
_v
(
"点击上传"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"(可以上传word、ppt等资源。系统提供模板下载)"
),
i
(
"a"
,{
attrs
:{
href
:
"http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/learn-mba/%E3%80%8AMBA%E5%AD%A6%E7%94%9F%E5%AD%A6%E6%9C%AF%E6%B4%BB%E5%8A%A8%E8%AE%B0%E5%BD%95%E6%8A%A5%E5%91%8A%E3%80%8B%E6%A8%A1%E6%9D%BFXXX%E5%AD%A6%E7%94%9F.docx"
}},[
t
.
_v
(
"模板下载"
)])]),
t
.
_v
(
" "
),
t
.
successFileUrl
?[
t
.
_v
(
"
\
n "
+
t
.
_s
(
t
.
successFileUrl
.
replace
(
/.*
\/([^\/]
*
\.[^
.
]
+
)
$/gi
,
"$1"
))
+
"
\
n "
)]:
t
.
_e
()],
2
),
t
.
_v
(
" "
),
t
.
successFileUrl
?[
i
(
"a"
,{
attrs
:{
href
:
t
.
successFileUrl
}},[
t
.
_v
(
"下载已上传附件"
)])]:
t
.
_e
()],
2
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSubmitFrom
}},[
t
.
_v
(
"保存并提交"
)])],
1
)],
1
)],
1
)],
1
)],
1
)])},
s
=
[];
i
.
d
(
t
,
"a"
,
function
(){
return
r
}),
i
.
d
(
t
,
"b"
,
function
(){
return
s
})}}]);
\ No newline at end of file
client-dist/resources/20.d54889dcbbf1.css
0 → 100644
浏览文件 @
397cbe86
.el-date-editor.el-input
[
data-v-45b643dd
]
{
width
:
100%
}
.el-upload__tip
[
data-v-45b643dd
]
{
line-height
:
1.5
}
\ No newline at end of file
client-dist/resources/26.
ca22e961
.js
→
client-dist/resources/26.
f1bec6d2
.js
浏览文件 @
397cbe86
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
26
],{
272
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
438
),
r
=
i
(
359
);
for
(
var
a
in
r
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
a
);
var
o
=
i
(
3
),
n
=
Object
(
o
.
a
)(
r
.
default
,
s
.
a
,
s
.
b
,
!
1
,
null
,
null
,
null
);
n
.
options
.
__file
=
"chapterWork.vue"
,
t
.
default
=
n
.
exports
},
359
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
360
),
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
},
360
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
i
(
68
)),
r
=
a
(
i
(
250
));
function
a
(
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
);
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
.
successFileUrl
)
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
:
this
.
ckeditor
.
getData
(),
file_url
:
this
.
successFileUrl
}]);
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
(
"请填写内容"
);
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
=
r
.
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
()}}}}},
438
:
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
(
" "
),
s
(
"el-upload"
,{
ref
:
"upFile"
,
refInFor
:
!
0
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
""
,
multiple
:
!
1
,
limit
:
1
,
"show-file-list"
:
!
1
,
"on-change"
:
i
.
handleChange
,
"http-request"
:
i
.
uploadFile
,
"file-list"
:
i
.
filesArr
}},[
i
.
_v
(
"
\
n 请上传对应的文件附件:"
),
s
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
i
.
_v
(
"点击上传"
)]),
i
.
_v
(
" "
),
i
.
successFileUrl
?[
i
.
_v
(
"
\
n "
+
i
.
_s
(
i
.
successFileUrl
.
replace
(
/.*
\/([^\/]
*
\.
docx
)
$/gi
,
"$1"
))
+
"
\
n "
)]:
i
.
_e
()],
2
),
i
.
_v
(
" "
),
i
.
successFileUrl
?[
s
(
"a"
,{
attrs
:{
href
:
i
.
successFileUrl
}},[
i
.
_v
(
"下载已上传文件"
)])]:
i
.
_e
(),
i
.
_v
(
" "
),
s
(
"div"
,{
staticStyle
:{
height
:
"20px"
}}),
i
.
_v
(
" "
),
s
(
"p"
,{
staticClass
:
"help help-file"
},[
i
.
_v
(
"只支持docx格式的文件,文件小于10M"
)])],
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
.
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
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
26
],{
272
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
438
),
r
=
i
(
359
);
for
(
var
a
in
r
)
"default"
!==
a
&&
function
(
e
){
i
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
a
);
var
o
=
i
(
3
),
n
=
Object
(
o
.
a
)(
r
.
default
,
s
.
a
,
s
.
b
,
!
1
,
null
,
null
,
null
);
n
.
options
.
__file
=
"chapterWork.vue"
,
t
.
default
=
n
.
exports
},
359
:
function
(
e
,
t
,
i
){
"use strict"
;
i
.
r
(
t
);
var
s
=
i
(
360
),
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
},
360
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
i
(
68
)),
r
=
a
(
i
(
250
));
function
a
(
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
);
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
:
this
.
ckeditor
.
getData
(),
file_url
:
this
.
successFileUrl
}]);
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
=
r
.
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
()}}}}},
438
:
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
(
" "
),
s
(
"el-upload"
,{
ref
:
"upFile"
,
refInFor
:
!
0
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
""
,
multiple
:
!
1
,
limit
:
1
,
"show-file-list"
:
!
1
,
"on-change"
:
i
.
handleChange
,
"http-request"
:
i
.
uploadFile
,
"file-list"
:
i
.
filesArr
}},[
i
.
_v
(
"
\
n 请上传对应的文件附件:"
),
s
(
"el-button"
,{
attrs
:{
type
:
"text"
}},[
i
.
_v
(
"点击上传"
)]),
i
.
_v
(
" "
),
i
.
successFileUrl
?[
i
.
_v
(
"
\
n "
+
i
.
_s
(
i
.
successFileUrl
.
replace
(
/.*
\/([^\/]
*
\.
docx
)
$/gi
,
"$1"
))
+
"
\
n "
)]:
i
.
_e
()],
2
),
i
.
_v
(
" "
),
i
.
successFileUrl
?[
s
(
"a"
,{
attrs
:{
href
:
i
.
successFileUrl
}},[
i
.
_v
(
"下载已上传文件"
)])]:
i
.
_e
(),
i
.
_v
(
" "
),
s
(
"div"
,{
staticStyle
:{
height
:
"20px"
}}),
i
.
_v
(
" "
),
s
(
"p"
,{
staticClass
:
"help help-file"
},[
i
.
_v
(
"只支持docx格式的文件,文件小于10M"
)])],
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
.
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/manifest.
6b5e5ba3
.js
→
client-dist/resources/manifest.
f9e57b7e
.js
浏览文件 @
397cbe86
!
function
(
d
){
function
e
(
e
){
for
(
var
t
,
r
,
n
=
e
[
0
],
a
=
e
[
1
],
o
=
e
[
2
],
c
=
0
,
f
=
[];
c
<
n
.
length
;
c
++
)
r
=
n
[
c
],
s
[
r
]
&&
f
.
push
(
s
[
r
][
0
]),
s
[
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
,
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
=
b
(
b
.
s
=
r
[
0
]))}
return
e
}
var
r
=
{},
l
=
{
3
:
0
},
s
=
{
3
:
0
},
i
=
[];
function
b
(
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
,
b
),
t
.
l
=!
0
,
t
.
exports
}
b
.
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
}[
i
]
&&
e
.
push
(
l
[
i
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
t
=
"resources/"
+
({}[
i
]
||
i
)
+
"."
+
{
0
:
"b2e9413b6daa"
,
1
:
"31d6cfe0d16a"
,
5
:
"a95593c8fdac"
,
6
:
"9c478d8110d6"
,
7
:
"5fb66d23f2f0"
,
8
:
"c7ab83b7700d"
,
9
:
"3722d9bda5f5"
,
10
:
"eb5caf8d2af7"
,
11
:
"970f20fae48e"
,
12
:
"ecdbc84c1af7"
,
13
:
"cbf94943e0a6"
,
14
:
"27ece10619a6"
,
15
:
"bea3197f71de"
,
16
:
"30dff0c0c0cb"
,
17
:
"d0e004ae2be4"
,
18
:
"6585580b0bed"
,
19
:
"2590cb8e2bde"
,
20
:
"23f7ff945936"
,
21
:
"12c536f6abaf"
,
22
:
"31d6cfe0d16a"
,
23
:
"31d6cfe0d16a"
,
24
:
"31d6cfe0d16a"
,
25
:
"31d6cfe0d16a"
,
26
:
"31d6cfe0d16a"
,
27
:
"31d6cfe0d16a"
,
28
:
"31d6cfe0d16a"
,
29
:
"31d6cfe0d16a"
}[
i
]
+
".css"
,
a
=
b
.
p
+
t
,
r
=
document
.
getElementsByTagName
(
"link"
),
o
=
0
;
o
<
r
.
length
;
o
++
){
var
c
=
(
d
=
r
[
o
]).
getAttribute
(
"data-href"
)
||
d
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
d
.
rel
&&
(
c
===
t
||
c
===
a
))
return
e
()}
var
f
=
document
.
getElementsByTagName
(
"style"
);
for
(
o
=
0
;
o
<
f
.
length
;
o
++
){
var
d
;
if
((
c
=
(
d
=
f
[
o
]).
getAttribute
(
"data-href"
))
===
t
||
c
===
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
],
c
=
document
.
createElement
(
"script"
);
c
.
charset
=
"utf-8"
,
c
.
timeout
=
120
,
b
.
nc
&&
c
.
setAttribute
(
"nonce"
,
b
.
nc
),
c
.
src
=
b
.
p
+
"resources/"
+
({}[
t
=
i
]
||
t
)
+
"."
+
{
0
:
"03237134"
,
1
:
"cce9dd13"
,
5
:
"2ecf20b1"
,
6
:
"d322d54c"
,
7
:
"339ccf47"
,
8
:
"d5cdd163"
,
9
:
"109add9c"
,
10
:
"2354c82f"
,
11
:
"7b12fe3f"
,
12
:
"792709ec"
,
13
:
"e92b9d23"
,
14
:
"f019d021"
,
15
:
"a46ce51b"
,
16
:
"6ba9727d"
,
17
:
"6f7a3ac1"
,
18
:
"fa0bd151"
,
19
:
"07958bfa"
,
20
:
"4a02ef2a"
,
21
:
"d705dc78"
,
22
:
"37fe44a3"
,
23
:
"e833bd21"
,
24
:
"90451017"
,
25
:
"ae4480e0"
,
26
:
"ca22e961"
,
27
:
"8ac385cf"
,
28
:
"870b4f34"
,
29
:
"4322baee"
}[
t
]
+
".js"
,
a
=
function
(
e
){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
f
);
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
f
=
setTimeout
(
function
(){
a
({
type
:
"timeout"
,
target
:
c
})},
12
e4
);
c
.
onerror
=
c
.
onload
=
a
,
o
.
appendChild
(
c
)}
return
Promise
.
all
(
e
)},
b
.
m
=
d
,
b
.
c
=
r
,
b
.
d
=
function
(
e
,
t
,
r
){
b
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
b
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
b
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
b
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
r
=
Object
.
create
(
null
);
if
(
b
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
n
in
t
)
b
.
d
(
r
,
n
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
n
));
return
r
},
b
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
t
,
"a"
,
t
),
t
},
b
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
b
.
p
=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"
,
b
.
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
(
f
){
function
e
(
e
){
for
(
var
t
,
r
,
n
=
e
[
0
],
a
=
e
[
1
],
o
=
e
[
2
],
c
=
0
,
d
=
[];
c
<
n
.
length
;
c
++
)
r
=
n
[
c
],
s
[
r
]
&&
d
.
push
(
s
[
r
][
0
]),
s
[
r
]
=
0
;
for
(
t
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
t
)
&&
(
f
[
t
]
=
a
[
t
]);
for
(
p
&&
p
(
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
=
b
(
b
.
s
=
r
[
0
]))}
return
e
}
var
r
=
{},
l
=
{
3
:
0
},
s
=
{
3
:
0
},
i
=
[];
function
b
(
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
,
b
),
t
.
l
=!
0
,
t
.
exports
}
b
.
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
}[
i
]
&&
e
.
push
(
l
[
i
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
t
=
"resources/"
+
({}[
i
]
||
i
)
+
"."
+
{
0
:
"b2e9413b6daa"
,
1
:
"31d6cfe0d16a"
,
5
:
"a95593c8fdac"
,
6
:
"9c478d8110d6"
,
7
:
"5fb66d23f2f0"
,
8
:
"c7ab83b7700d"
,
9
:
"3722d9bda5f5"
,
10
:
"eb5caf8d2af7"
,
11
:
"970f20fae48e"
,
12
:
"ecdbc84c1af7"
,
13
:
"cbf94943e0a6"
,
14
:
"27ece10619a6"
,
15
:
"bea3197f71de"
,
16
:
"30dff0c0c0cb"
,
17
:
"d0e004ae2be4"
,
18
:
"6585580b0bed"
,
19
:
"2590cb8e2bde"
,
20
:
"d54889dcbbf1"
,
21
:
"12c536f6abaf"
,
22
:
"31d6cfe0d16a"
,
23
:
"31d6cfe0d16a"
,
24
:
"31d6cfe0d16a"
,
25
:
"31d6cfe0d16a"
,
26
:
"31d6cfe0d16a"
,
27
:
"31d6cfe0d16a"
,
28
:
"31d6cfe0d16a"
,
29
:
"31d6cfe0d16a"
}[
i
]
+
".css"
,
a
=
b
.
p
+
t
,
r
=
document
.
getElementsByTagName
(
"link"
),
o
=
0
;
o
<
r
.
length
;
o
++
){
var
c
=
(
f
=
r
[
o
]).
getAttribute
(
"data-href"
)
||
f
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
f
.
rel
&&
(
c
===
t
||
c
===
a
))
return
e
()}
var
d
=
document
.
getElementsByTagName
(
"style"
);
for
(
o
=
0
;
o
<
d
.
length
;
o
++
){
var
f
;
if
((
c
=
(
f
=
d
[
o
]).
getAttribute
(
"data-href"
))
===
t
||
c
===
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
],
c
=
document
.
createElement
(
"script"
);
c
.
charset
=
"utf-8"
,
c
.
timeout
=
120
,
b
.
nc
&&
c
.
setAttribute
(
"nonce"
,
b
.
nc
),
c
.
src
=
b
.
p
+
"resources/"
+
({}[
t
=
i
]
||
t
)
+
"."
+
{
0
:
"03237134"
,
1
:
"cce9dd13"
,
5
:
"2ecf20b1"
,
6
:
"d322d54c"
,
7
:
"339ccf47"
,
8
:
"d5cdd163"
,
9
:
"109add9c"
,
10
:
"2354c82f"
,
11
:
"7b12fe3f"
,
12
:
"792709ec"
,
13
:
"e92b9d23"
,
14
:
"f019d021"
,
15
:
"a46ce51b"
,
16
:
"6ba9727d"
,
17
:
"6f7a3ac1"
,
18
:
"fa0bd151"
,
19
:
"07958bfa"
,
20
:
"79d3778e"
,
21
:
"d705dc78"
,
22
:
"37fe44a3"
,
23
:
"e833bd21"
,
24
:
"90451017"
,
25
:
"ae4480e0"
,
26
:
"f1bec6d2"
,
27
:
"8ac385cf"
,
28
:
"870b4f34"
,
29
:
"4322baee"
}[
t
]
+
".js"
,
a
=
function
(
e
){
c
.
onerror
=
c
.
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
:
c
})},
12
e4
);
c
.
onerror
=
c
.
onload
=
a
,
o
.
appendChild
(
c
)}
return
Promise
.
all
(
e
)},
b
.
m
=
f
,
b
.
c
=
r
,
b
.
d
=
function
(
e
,
t
,
r
){
b
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
b
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
b
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
b
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
r
=
Object
.
create
(
null
);
if
(
b
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
n
in
t
)
b
.
d
(
r
,
n
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
n
));
return
r
},
b
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
t
,
"a"
,
t
),
t
},
b
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
b
.
p
=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"
,
b
.
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
浏览文件 @
397cbe86
...
...
@@ -140,10 +140,6 @@ export default {
})
},
submitWork
()
{
if
(
!
this
.
successFileUrl
)
{
this
.
$message
.
error
(
'请上传附件'
)
return
}
if
(
!
this
.
ckeditor
.
getData
())
{
this
.
$message
.
error
(
'请填写内容'
)
return
...
...
client/project/elearning-node/pages/myLearn/reportSubmit.vue
浏览文件 @
397cbe86
...
...
@@ -130,14 +130,20 @@ export default {
report
=
cAction
.
reportAction
.
updateSubmitReport
(
this
.
rid
,
this
.
reid
,
{
report_name
:
this
.
setSubmit
.
name
,
report_description
:
this
.
setSubmit
.
title
,
file_url
:
this
.
successFileUrl
file_url
:
JSON
.
stringify
({
name
:
this
.
file
.
name
,
url
:
this
.
successFileUrl
})
})
}
else
{
/* 新建 */
report
=
cAction
.
reportAction
.
submitReport
(
this
.
rid
,
{
report_name
:
this
.
setSubmit
.
name
,
report_description
:
this
.
setSubmit
.
title
,
file_url
:
this
.
successFileUrl
file_url
:
JSON
.
stringify
({
name
:
this
.
file
.
name
,
url
:
this
.
successFileUrl
})
})
}
report
.
then
(
data
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论