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
bc2a690e
Commit
bc2a690e
authored
Jul 04, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
bf781a39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
4 deletions
+55
-4
ClassEliminationStatistics.vue
src/pages/stuMan/ClassEliminationStatistics.vue
+55
-4
No files found.
src/pages/stuMan/ClassEliminationStatistics.vue
View file @
bc2a690e
...
...
@@ -31,8 +31,29 @@
</div>
</el-select>
</div>
<div
class=
"col-2 flex"
>
<el-select
v-model=
"msg.GuestState"
style=
"width: 100%"
placeholder=
"学员状态"
size=
"small"
@
change=
"refreshPage()"
clearable
>
<el-option
v-for=
"item in GuestStateList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
<div
slot=
"prefix"
class=
"full-height flex items-center"
style=
"color: #000; padding-right: 10px"
>
状态:
</div>
</el-select>
</div>
<div
class=
"col-2 flex"
>
<el-select
v-model=
"msg.Student_Id"
style=
"width: 100%"
placeholder=
"学员"
size=
"small"
@
change=
"refreshPage()"
clearable
filterable
>
<el-option
v-for=
"item in StuList"
:key=
"item.StuId"
:label=
"item.StuName"
:value=
"item.StuId"
>
</el-option>
<div
slot=
"prefix"
class=
"full-height flex items-center"
style=
"color: #000; padding-right: 10px"
>
学员:
</div>
</el-select>
</div>
</div>
<consumptionCourseList
v-loading=
"loading"
:dataList=
"tableData"
:MaxLength=
"MaxLength"
:loading=
"loading"
></consumptionCourseList>
<consumptionCourseList
v-loading=
"loading"
:dataList=
"tableData"
:MaxLength=
"MaxLength"
:loading=
"loading"
>
</consumptionCourseList>
</div>
</
template
>
...
...
@@ -44,11 +65,20 @@
queryEmployee
}
from
"../../api/users/user"
;
import
{
queryGuestStateList
}
from
"../../api/sale/sale"
;
import
{
queryCourseDropdownList
,
getCourseRate
getCourseRate
,
}
from
"../../api/course/index"
;
import
{
getStudentDorpDownList
}
from
"../../api/school/index"
;
import
consumptionCourseList
from
"./components/consumptionCourseList"
;
export
default
{
meta
:
{
...
...
@@ -64,6 +94,8 @@
TeacherAccountId
:
""
,
//老师编号
CourseRate
:
""
,
//课程等级
CourseId
:
""
,
//课程编号
Student_Id
:
""
,
//学员编号
GuestState
:
""
,
//学员状态
},
tableData
:
[],
//表格数据
loading
:
false
,
...
...
@@ -71,6 +103,8 @@
CourseList
:
[],
//课程列表
CourseRateList
:
[],
//课程等级
MaxLength
:
0
,
GuestStateList
:
[],
//学员状态
StuList
:
[],
//学员列表
};
},
created
()
{
...
...
@@ -87,19 +121,36 @@
this
.
GetTeacherList
();
this
.
getCourseList
();
this
.
queryCourseRate
();
this
.
getStateList
();
this
.
queryStuList
();
},
mounted
()
{
// this.getPlanList();
},
methods
:
{
queryStuList
()
{
getStudentDorpDownList
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
StuList
=
res
.
Data
;
}
});
},
//获取学员状态
getStateList
()
{
queryGuestStateList
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
GuestStateList
=
res
.
Data
;
}
});
},
refreshPage
()
{
this
.
getPlanList
();
},
// 获取校区教室导航列表
getPlanList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
queryStuLearnChapterStatic
(
this
.
msg
).
then
((
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
this
.
tableData
=
res
.
Data
.
list
;
this
.
MaxLength
=
res
.
Data
.
MaxLength
;
...
...
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