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
d2f93e31
Commit
d2f93e31
authored
Feb 25, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
02bec44c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
replenish.vue
src/components/stuMan/subscribe/replenish.vue
+1
-1
subscribeForm.vue
src/components/stuMan/subscribe/subscribeForm.vue
+6
-4
No files found.
src/components/stuMan/subscribe/replenish.vue
View file @
d2f93e31
...
...
@@ -106,7 +106,7 @@ export default {
},
getStu
()
{
const
msg
=
{
ChapterNo
:
this
.
saveObj
.
Ranks
ChapterNo
:
this
.
saveObj
.
Ranks
+
this
.
saveObj
.
CourseGradeId
};
getCanMakeupStuList
(
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
...
...
src/components/stuMan/subscribe/subscribeForm.vue
View file @
d2f93e31
...
...
@@ -197,7 +197,7 @@
allStuList
:
[],
stuMsg
:
{
CourseId
:
0
,
NextC
hapter
No
:
0
NextC
ourseGrade
No
:
0
},
detailObj
:
{},
detailMsg
:
{
...
...
@@ -289,13 +289,13 @@
this
.
stuMsg
.
CourseId
=
this
.
teaClassMsg
.
CourseId
||
0
;
if
(
this
.
editType
==
1
)
{
this
.
stuMsg
.
CourseGradeId
=
this
.
checkChapter
.
CourseRate
||
0
;
this
.
stuMsg
.
NextC
hapter
No
=
this
.
checkChapter
.
ChapterNo
||
0
;
this
.
stuMsg
.
NextC
ourseGrade
No
=
this
.
checkChapter
.
ChapterNo
||
0
;
}
if
(
this
.
editType
==
2
)
{
this
.
stuMsg
.
CourseGradeId
=
this
.
saveObj
.
CourseGradeId
||
0
;
this
.
stuMsg
.
NextC
hapter
No
=
this
.
saveObj
.
Ranks
||
0
;
this
.
stuMsg
.
NextC
ourseGrade
No
=
this
.
saveObj
.
Ranks
||
0
;
}
console
.
log
(
298
,
this
.
checkChapter
)
GetCanAppointmentStuList
(
this
.
stuMsg
).
then
(
res
=>
{
this
.
stuList
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
Data
));
this
.
allStuList
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
Data
));
...
...
@@ -390,6 +390,8 @@
const
totalTime
=
this
.
courseCheckList
.
reduce
((
pre
,
cur
)
=>
{
return
(
pre
+=
cur
.
Minutes
);
},
0
);
console
.
log
(
this
.
courseCheckList
)
console
.
log
(
totalTime
)
if
(
this
.
checkChapter
.
StudyMinutes
!==
totalTime
)
{
this
.
$q
.
notify
({
message
:
"课时不匹配,请重新上课时段"
,
...
...
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