Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
eee10113
Commit
eee10113
authored
Oct 11, 2023
by
wuwangwolihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
营地2.0-修改bug
parent
cc9d42dc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
src/views/index/camp/Homework.vue
src/views/index/camp/Homework.vue
+3
-0
src/views/index/camp/homework/refer.vue
src/views/index/camp/homework/refer.vue
+10
-3
No files found.
src/views/index/camp/Homework.vue
View file @
eee10113
...
...
@@ -73,6 +73,7 @@
:student_status=
"student_status"
:timeOut=
"time_out"
:workName=
"workName"
:workType=
"workType"
:work_contexts=
"work_context"
:work_nums=
"work_num"
@
closeDialog=
"closeDialog"
...
...
@@ -103,6 +104,7 @@
time_out
:
0
,
work_num
:
0
,
workName
:
""
,
workType
:
null
,
order_num
:
0
,
student_status
:
0
,
end_time
:
null
,
...
...
@@ -143,6 +145,7 @@
this
.
enclosure_url
=
item
.
enclosure_url
;
this
.
work_num
=
item
.
id
;
this
.
workName
=
item
.
work_name
;
//作业名字
this
.
workType
=
item
.
type
;
this
.
order_num
=
item
.
work_num
;
this
.
student_status
=
item
.
student_status
;
//作业截止时间
...
...
src/views/index/camp/homework/refer.vue
View file @
eee10113
...
...
@@ -258,6 +258,7 @@
enclosure_urls
:
[
Object
,
String
],
//老师作业地址
work_nums
:
[
Number
],
workName
:
[
String
],
//作业名字
workType
:
[
Number
,
String
],
student_status
:
[
Number
],
//作业审核状态
order_nums
:
[
Number
],
//作业状态
end_time
:
[
Boolean
],
//作业截止时间
...
...
@@ -300,11 +301,13 @@
isUploading
:
false
,
// 图片上传蒙层
work_context
:
""
,
//简介
work_name
:
""
,
//作业名称
work_type
:
this
.
workType
,
is_end
:
''
,
//是否营地截止
time_out
:
1
,
fileImg
:
fileImg
,
loading
:
false
,
formData
:
{
type
:
this
.
workType
,
teacher_id
:
""
,
stu_answer
:
""
,
stu_enclosure_url
:
""
,
...
...
@@ -748,8 +751,7 @@
}
window
.
open
(
url
,
"
_blank
"
);
}
}
,
},
handleImageClose
(
done
)
{
this
.
$confirm
(
"
确认关闭?
"
)
.
then
((
_
)
=>
{
...
...
@@ -765,6 +767,8 @@
return
decodeURI
(
item
.
url_open
.
split
(
'
?sign=
'
)[
0
]);
})
.
join
(
"
,
"
);
this
.
formData
.
type
=
this
.
work_type
;
console
.
log
(
this
.
formData
)
subStudentWork
(
this
.
formData
)
.
then
((
response
)
=>
{
// console.log(response);
...
...
@@ -814,7 +818,6 @@
});
},
},
watch
:
{
dialogVisibleFu
()
{
this
.
dialogVisible
=
this
.
dialogVisibleFu
;
...
...
@@ -825,6 +828,10 @@
workName
()
{
this
.
work_name
=
this
.
workName
;
},
workType
()
{
this
.
work_type
=
this
.
workType
;
this
.
formData
.
type
=
this
.
workType
;
},
timeOut
()
{
this
.
time_out
=
this
.
timeOut
;
console
.
log
(
this
.
time_out
,
"
timeout
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment