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
465fa632
Commit
465fa632
authored
Feb 23, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
18a23dab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
13 deletions
+21
-13
subscribeForm.vue
src/components/stuMan/subscribe/subscribeForm.vue
+21
-13
No files found.
src/components/stuMan/subscribe/subscribeForm.vue
View file @
465fa632
...
...
@@ -135,7 +135,11 @@
</q-field>
<div
class=
"row col"
v-show=
"(editType == 1 || saveObj.ClassType == 3)&&auth.IsEdit"
v-show=
"
(editType == 1 ||
(saveObj.ClassType == 3 && saveObj.AppointState == 1)) &&
auth.IsEdit
"
>
<div
class=
"col-10"
>
<q-select
...
...
@@ -233,19 +237,18 @@ export default {
type
:
Array
,
default
:
()
=>
[]
},
auth
:{
type
:
Object
,
default
:
()
=>
{
auth
:
{
type
:
Object
,
default
:
()
=>
{
return
{
IsEdit
:
false
}
IsEdit
:
false
}
;
}
}
},
watch
:
{
show
(
val
)
{
console
.
log
(
1111111
)
this
.
addLoading
=
false
this
.
addLoading
=
false
;
if
(
val
)
{
this
.
stuInfo
=
""
;
this
.
teaClassMsg
.
CourseId
=
0
;
...
...
@@ -298,7 +301,7 @@ export default {
addLoading
:
false
,
chapterList
:
[],
//章节列表,
checkChapter
:
{},
//选择的章节
returnString
:
[]
,
//章节默认值
returnString
:
[]
//章节默认值
};
},
mounted
()
{
...
...
@@ -364,10 +367,15 @@ export default {
//获取学生列表
getStu
()
{
this
.
stuMsg
.
CourseId
=
this
.
teaClassMsg
.
CourseId
||
0
;
this
.
stuMsg
.
CourseGradeId
=
this
.
checkChapter
.
CourseRate
||
this
.
saveObj
.
CourseGradeId
;
this
.
stuMsg
.
NextChapterNo
=
this
.
checkChapter
.
ChapterNo
||
this
.
saveObj
.
Ranks
;
if
(
this
.
editType
==
1
)
{
this
.
stuMsg
.
CourseGradeId
=
this
.
checkChapter
.
CourseRate
||
0
;
this
.
stuMsg
.
NextChapterNo
=
this
.
checkChapter
.
ChapterNo
||
0
;
}
if
(
this
.
editType
==
2
)
{
this
.
stuMsg
.
CourseGradeId
=
this
.
saveObj
.
CourseGradeId
||
0
;
this
.
stuMsg
.
NextChapterNo
=
this
.
saveObj
.
Ranks
||
0
;
}
GetCanAppointmentStuList
(
this
.
stuMsg
).
then
(
res
=>
{
this
.
stuList
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
Data
));
this
.
allStuList
=
JSON
.
parse
(
JSON
.
stringify
(
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