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
bab5738b
Commit
bab5738b
authored
Sep 06, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
班级查询调整
parent
cf9fab2b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
16 deletions
+45
-16
classManage.vue
src/pages/course/classManage.vue
+21
-3
stuClassManage.vue
src/pages/stuMan/stuClassManage.vue
+3
-10
myClass.vue
src/pages/teacher/myClass.vue
+21
-3
No files found.
src/pages/course/classManage.vue
View file @
bab5738b
...
...
@@ -44,8 +44,8 @@
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"getClassList"
standout=
"bg-primary text-white"
v-model=
"msg.CourseSubject"
:options=
"CourseSubjectList"
option-label=
"SubjectName"
option-value=
"Id"
emit-value
map-options
label=
"所属科目"
clearable
/>
:options=
"CourseSubjectList"
option-label=
"SubjectName"
option-value=
"Id"
emit-value
map-options
label=
"所属科目"
clearable
/>
</div>
<div
class=
"col-3"
>
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.TeacherName"
...
...
@@ -55,6 +55,18 @@
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CourseName"
label=
"学习课程"
@
clear=
"getClassList"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-input
v-model=
"msg.StartTime"
mask=
"date"
label=
"开班时间"
standout=
"bg-primary text-white"
clearable
@
clear=
"getClassList"
@
change=
"getClassList"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qCStartTime"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"msg.StartTime"
mask=
"YYYY-MM-DD"
@
input=
"() =>changeDate()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"getClassList"
standout=
"bg-primary text-white"
option-value=
"SId"
option-label=
"SName"
v-model=
"msg.School_Id"
:options=
"schoolList"
emit-value
map-options
label=
"关联校区"
/>
...
...
@@ -97,12 +109,14 @@
pageSize
:
12
,
rowsPerPage
:
12
,
ClassName
:
''
,
//班级名称
ClassStatus
:
0
,
//班级状态
ClassStatus
:
2
,
//班级状态
TeacherName
:
''
,
//带班老师
CourseName
:
''
,
//学习课程
School_Id
:
-
1
,
//关联校区
ClassNo
:
''
,
//班号
CourseSubject
:
""
,
//所属科目
StartTime
:
""
,
//开班开始时间
EndTime
:
""
,
//开班结束时间
},
//班级状态
classStatusList
:
[],
...
...
@@ -137,6 +151,10 @@
this
.
getClassList
();
},
methods
:
{
changeDate
()
{
this
.
$refs
.
qCStartTime
.
hide
();
this
.
getClassList
();
},
queryCourseSubject
()
{
getCourseSubject
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
...
...
src/pages/stuMan/stuClassManage.vue
View file @
bab5738b
...
...
@@ -68,15 +68,8 @@
label=
"学习课程"
@
clear=
"getClassList"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<!--
<q-field
filled
dense
label=
"开始时间"
standout=
"bg-primary text-white"
>
<template
v-slot:control
>
<el-date-picker
type=
"date"
style=
"width:100%"
v-model=
"msg.StartTime"
value-format=
"yyyy-MM-dd"
placeholder=
"开班时间"
@
change=
"getClassList"
>
</el-date-picker>
</
template
>
</q-field>
-->
<q-input
v-model=
"msg.StartTime"
mask=
"date"
label=
"开班时间"
standout=
"bg-primary text-white"
clearable
@
clear=
"getClassList"
>
@
clear=
"getClassList"
@
change=
"getClassList"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qCStartTime"
transition-show=
"scale"
transition-hide=
"scale"
>
...
...
@@ -129,7 +122,7 @@
pageSize
:
12
,
rowsPerPage
:
12
,
ClassName
:
''
,
//班级名称
ClassStatus
:
0
,
//班级状态
ClassStatus
:
2
,
//班级状态
TeacherName
:
''
,
//带班老师
CourseName
:
''
,
//学习课程
School_Id
:
-
1
,
//关联校区
...
...
@@ -159,7 +152,7 @@
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
ClassName
)
{
this
.
msg
.
ClassName
=
decodeURI
(
this
.
$route
.
query
.
ClassName
)
}
this
.
msg
.
StartTime
=
this
.
$commonUtils
.
getCurrentDate
();
//
this.msg.StartTime = this.$commonUtils.getCurrentDate();
this
.
getClassStatus
();
this
.
getSchool
();
this
.
GetTeacherList
();
...
...
src/pages/teacher/myClass.vue
View file @
bab5738b
...
...
@@ -40,13 +40,25 @@
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"getClassList"
standout=
"bg-primary text-white"
v-model=
"msg.CourseSubject"
:options=
"CourseSubjectList"
option-label=
"SubjectName"
option-value=
"Id"
emit-value
map-options
label=
"所属科目"
clearable
/>
:options=
"CourseSubjectList"
option-label=
"SubjectName"
option-value=
"Id"
emit-value
map-options
label=
"所属科目"
clearable
/>
</div>
<div
class=
"col-3"
>
<q-input
@
change=
"getClassList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CourseName"
label=
"学习课程"
@
clear=
"getClassList"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-input
v-model=
"msg.StartTime"
mask=
"date"
label=
"开班时间"
standout=
"bg-primary text-white"
clearable
@
clear=
"getClassList"
@
change=
"getClassList"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qCStartTime"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"msg.StartTime"
mask=
"YYYY-MM-DD"
@
input=
"() =>changeDate()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"getClassList"
standout=
"bg-primary text-white"
option-value=
"SId"
option-label=
"SName"
v-model=
"msg.School_Id"
:options=
"schoolList"
emit-value
map-options
label=
"关联校区"
/>
...
...
@@ -90,12 +102,14 @@
pageSize
:
12
,
rowsPerPage
:
12
,
ClassName
:
''
,
//班级名称
ClassStatus
:
0
,
//班级状态
ClassStatus
:
2
,
//班级状态
TeacherName
:
''
,
//带班老师
Teacher_Id
:
0
,
CourseName
:
''
,
//学习课程
School_Id
:
-
1
,
//关联校区
CourseSubject
:
""
,
//所属科目
StartTime
:
""
,
//开班开始时间
EndTime
:
""
,
//开班结束时间
},
//班级状态
classStatusList
:
[],
...
...
@@ -124,6 +138,10 @@
this
.
getClassList
();
},
methods
:
{
changeDate
()
{
this
.
$refs
.
qCStartTime
.
hide
();
this
.
getClassList
();
},
queryCourseSubject
()
{
getCourseSubject
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
...
...
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