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
aa246dd3
Commit
aa246dd3
authored
Sep 11, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
老版约课调整
parent
811330fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
subscribeForm.vue
src/components/stuMan/subscribe/subscribeForm.vue
+12
-6
No files found.
src/components/stuMan/subscribe/subscribeForm.vue
View file @
aa246dd3
...
...
@@ -175,9 +175,10 @@
{{
item
.
CourseChapterNoName
}}
</
template
>
<
template
v-else
>
<!--@change="changeChapter(item)"-->
<q-select
filled
stack-label
use-input
option-value=
"ChapterNo"
option-label=
"ChapterName"
v-model=
"item.CourseGradeNo"
ref=
"ChapterGradeNo"
:options=
"item.CourseChapterList"
label=
"消课章节"
:dense=
"false"
emit-value
map-options
class=
"col-4"
>
label=
"消课章节"
:dense=
"false"
emit-value
map-options
class=
"col-4"
>
<template
v-slot:option=
"
{ itemProps, itemEvents, opt, }">
<q-item
v-bind=
"itemProps"
v-on=
"itemEvents"
>
<q-item-section>
...
...
@@ -542,6 +543,7 @@
//获取学生列表
this
.
getStu_V2
();
},
//添加学员
subscribeCourse
()
{
if
(
this
.
editType
==
1
)
{
...
...
@@ -638,6 +640,7 @@
StuId
:
this
.
stuInfo
.
StuId
,
StuName
:
this
.
stuInfo
.
StuName
,
GuestId
:
this
.
stuInfo
.
GuestId
,
OrderId
:
this
.
stuInfo
.
OrderId
,
LearnCourseId
:
this
.
stuInfo
.
CourseId
,
CourseName
:
this
.
stuInfo
.
CourseName
,
FinishChapterNoName
:
this
.
stuInfo
.
FinishChapterNoName
,
...
...
@@ -645,7 +648,7 @@
//学员消课编号
CourseChapterList
:
[],
};
sObj
.
CourseGradeId
=
this
.
stuInfo
.
CourseRate
;
sObj
.
CourseGradeId
=
this
.
checkChapter
.
CourseRate
;
sObj
.
CourseGradeNo
=
""
;
// 对比是否存在改学员
...
...
@@ -668,6 +671,10 @@
this
.
saveMsg
.
ChooseStuList
.
push
(
sObj
);
}
},
// changeChapter(item)
// {
// console.log("changeItem",item);
// },
//保存约课
SaveStuAppointment
()
{
var
tipStr
=
""
...
...
@@ -675,7 +682,6 @@
this
.
saveMsg
.
ChooseStuList
.
forEach
(
item
=>
{
if
(
item
.
CourseGradeNo
==
''
||
!
item
.
CourseGradeNo
)
{
tipStr
+=
"请选择【"
+
item
.
StuName
+
"】消课编号;"
;
}
})
}
...
...
@@ -697,8 +703,6 @@
message
:
"操作成功"
,
position
:
"top"
});
// this.$emit("success");
this
.
detailCloseHandle
();
}
})
...
...
@@ -710,7 +714,9 @@
getCourseChapterList
(
item
)
{
queryChapterList
({
CourseId
:
item
.
LearnCourseId
,
IsQRoot
:
1
OrderId
:
item
.
OrderId
,
IsQRoot
:
1
,
CourseGradeId
:
item
.
CourseGradeId
,
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
item
.
CourseChapterList
=
res
.
Data
;
...
...
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