Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
50e6dcae
Commit
50e6dcae
authored
Aug 02, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
8c65bdba
ac9abcaf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
changeClassForm.vue
src/components/teacher/changeClassForm.vue
+2
-2
classRecord.vue
src/pages/stuMan/classRecord.vue
+10
-9
No files found.
src/components/teacher/changeClassForm.vue
View file @
50e6dcae
...
...
@@ -244,7 +244,7 @@
<
template
v-slot:body-cell-TimeList=
"props"
>
<q-td
auto-width
:props=
"props"
>
<div
v-for=
"(item, index) in props.row.TimeList"
class=
"lessForm_Class"
>
{{
index
+
1
}}
节课
{{
item
.
StartTime
}}
-
{{
item
.
EndTime
}}
{{
index
+
1
}}
节课
{{
item
.
StartTime
}}
-
{{
item
.
EndTime
}}
</div>
</q-td>
</
template
>
...
...
@@ -262,7 +262,7 @@
<
template
v-slot:body-cell-TargetTimeList=
"props"
>
<q-td
auto-width
:props=
"props"
>
<div
v-for=
"(item, index) in props.row.NewPlan.TimeList"
class=
"lessForm_Class"
>
{{
index
+
1
}}
节课
{{
item
.
StartTime
}}
-
{{
item
.
EndTime
}}
{{
index
+
1
}}
节课
{{
item
.
StartTime
}}
-
{{
item
.
EndTime
}}
</div>
<q-popup-edit
:validate=
"proteinRangeValidation"
persistent
v-model=
"props.row.NewPlan.TimeList"
title=
"变更时间"
buttons
label-set=
"确认"
label-cancel=
"取消"
>
...
...
src/pages/stuMan/classRecord.vue
View file @
50e6dcae
<
template
>
<div
class=
"page-body MainPlan xg"
>
<div
class=
"col row wrap q-col-gutter-md"
>
<div
class=
"col-2
flex
"
>
<div
class=
"col-2"
>
<el-select
v-model=
"msg.TeacherId"
style=
"width: 100%"
...
...
@@ -188,17 +188,18 @@ export default {
PageCount
:
0
,
picker
:
{
disabledDate
:
(
time
)
=>
{
let
endTime
=
this
.
msg
.
EndTime
;
if
(
endTime
)
{
return
time
.
getTime
()
>=
new
Date
(
endTime
).
getTime
()
-
8.64e6
;
}
else
{
return
time
.
getTime
()
>=
Date
.
now
()
-
8.64e6
;
}
if
(
this
.
msg
.
EndTime
==
null
)
{
return
false
;
}
else
{
let
endTime
=
new
Date
(
this
.
msg
.
EndTime
);
return
endTime
.
getTime
()
<
time
.
getTime
()
;
}
},
},
pickerEnd
:
{
disabledDate
:
(
time
)
=>
{
return
time
.
getTime
()
>=
Date
.
now
()
-
8.64e6
;
let
startTime
=
new
Date
(
this
.
msg
.
StartTime
);
return
startTime
.
getTime
()
>=
time
.
getTime
();
},
},
today
:
""
,
...
...
@@ -216,7 +217,7 @@ export default {
?
"0"
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
)
+
"-"
+
(
date
.
getDate
()
<
10
?
"0"
+
date
.
getDate
()
<
10
:
date
.
getDate
());
(
date
.
getDate
()
<
10
?
"0"
+
date
.
getDate
()
:
date
.
getDate
());
this
.
today
=
today
;
this
.
msg
.
StartTime
=
today
;
this
.
tabMsg
.
StartTime
=
today
;
...
...
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