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
a4fb3514
Commit
a4fb3514
authored
Sep 14, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
fe84e207
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
subscribeForm.vue
src/components/stuMan/subscribe/subscribeForm.vue
+9
-10
No files found.
src/components/stuMan/subscribe/subscribeForm.vue
View file @
a4fb3514
...
...
@@ -141,9 +141,9 @@
{{
item
.
CourseChapterNoName
}}
</
template
>
<
template
v-else
>
<q-select
filled
stack-label
use-input
option-value=
"Chapter
No
"
option-label=
"ChapterName"
v-model=
"item.C
ourseGradeNo
"
ref=
"ChapterGradeNo"
:options=
"item.CourseChapterList"
label=
"消课章节"
:dense=
"false"
emit-value
map-options
class=
"col-4"
<q-select
filled
stack-label
use-input
option-value=
"Chapter
Id
"
option-label=
"ChapterName"
v-model=
"item.C
hapterId
"
ref=
"ChapterGradeNo"
:options=
"item.CourseChapterList"
label=
"消课章节"
:dense=
"false"
class=
"col-4"
emit-value
map-options
@
input=
"changeStuChapter(item)"
>
<template
v-slot:option=
"
{ itemProps, itemEvents, opt, }">
<q-item
v-bind=
"itemProps"
v-on=
"itemEvents"
>
...
...
@@ -318,7 +318,6 @@
saveObj
:
{
handler
(
val
)
{
if
(
val
)
{
console
.
log
(
"saveObj"
,
this
.
saveObj
)
this
.
saveMsg
.
Date
=
this
.
dateObj
.
date
;
this
.
saveMsg
.
TeacherId
=
this
.
saveObj
.
Tid
;
this
.
saveMsg
.
ShiftSort
=
this
.
saveObj
.
ShiftSort
;
...
...
@@ -372,8 +371,9 @@
OrderId
:
0
,
//学员订单编号
CourseId
:
0
,
//消课课程ID
CourseName
:
""
,
//消课课程名称
ChapterId
:
0
,
//消课章节ID
CourseGradeId
:
0
,
//消课课程等级
CourseGradeNo
:
0
,
//消课章节编号
CourseGradeNo
:
0
,
//消课章节编号
ChapterNo
FinishChapterNoName
:
""
,
//完成章节名称
CourseChapterNoName
:
""
,
//消课章节名称
AppointmentId
:
0
,
//预约编号
...
...
@@ -508,10 +508,13 @@
changeStuChapter
(
item
)
{
if
(
item
.
CourseChapterList
&&
item
.
CourseChapterList
.
length
>
0
)
{
const
changeChapter
=
item
.
CourseChapterList
.
find
(
s
=>
s
.
Chapter
No
==
item
.
CourseGradeNo
s
=>
s
.
Chapter
Id
==
item
.
ChapterId
);
if
(
changeChapter
)
{
item
.
CourseGradeId
=
changeChapter
.
CourseRate
;
item
.
ChapterId
=
changeChapter
.
ChapterId
;
item
.
CourseGradeNo
=
changeChapter
.
ChapterNo
;
item
.
CourseId
=
changeChapter
.
CourseId
;
}
}
},
...
...
@@ -617,7 +620,6 @@
this
.
saveMsg
.
CourseGradeId
=
this
.
saveMsg
.
CourseRate
;
}
}
var
sObj
=
this
.
getStuItem
();
sObj
.
StuId
=
this
.
stuInfo
.
StuId
;
sObj
.
StuName
=
this
.
stuInfo
.
StuName
;
...
...
@@ -626,9 +628,6 @@
sObj
.
CourseId
=
this
.
stuInfo
.
CourseId
;
sObj
.
CourseName
=
this
.
stuInfo
.
CourseName
;
sObj
.
FinishChapterNoName
=
this
.
stuInfo
.
FinishChapterNoName
;
sObj
.
AppointmentId
=
0
;
sObj
.
CourseGradeId
=
0
;
sObj
.
CourseChapterList
=
[];
// 对比是否存在改学员
if
(
this
.
saveMsg
.
ChooseStuList
.
length
>
0
)
{
let
ArrId
=
this
.
saveMsg
.
ChooseStuList
.
map
(
item
=>
{
...
...
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