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
be5996fc
Commit
be5996fc
authored
Mar 28, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
21a2da97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
28 deletions
+51
-28
stuList.vue
src/pages/stuMan/stuList.vue
+51
-28
No files found.
src/pages/stuMan/stuList.vue
View file @
be5996fc
...
@@ -155,7 +155,6 @@
...
@@ -155,7 +155,6 @@
padding
:
5px
10px
;
padding
:
5px
10px
;
align-items
:
center
;
align-items
:
center
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page-body stuList"
>
<div
class=
"page-body stuList"
>
...
@@ -170,13 +169,13 @@
...
@@ -170,13 +169,13 @@
<div
class=
"page-search row items-center flex"
>
<div
class=
"page-search row items-center flex"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"changeSchool"
dense
filled
v-model=
"msg.School_Id"
class=
"col-6"
<q-select
@
input=
"changeSchool"
dense
filled
v-model=
"msg.School_Id"
class=
"col-6"
option-label=
"SName"
option-
label=
"SName"
option-
value=
"SId"
:options=
"SchoolList"
emit-value
map-options
label=
"校区"
/>
option-value=
"SId"
:options=
"SchoolList"
emit-value
map-options
label=
"校区"
/>
</div>
</div>
<div
class=
"col-3"
v-if=
"source!=1"
>
<div
class=
"col-3"
v-if=
"source!=1"
>
<q-select
@
input=
"changeCourse"
dense
filled
v-model=
"msg.CourseId"
class=
"col-6"
<q-select
@
input=
"changeCourse"
dense
filled
v-model=
"msg.CourseId"
class=
"col-6"
option-label=
"CourseName"
option-
label=
"CourseName"
option-value=
"CourseId"
use-input
:options=
"CourseList"
@
filter=
"filterCourse"
option-
value=
"CourseId"
use-input
:options=
"CourseList"
@
filter=
"filterCourse"
emit-value
map-options
emit-value
map-options
label=
"课程"
clearable
>
label=
"课程"
clearable
>
<template
v-slot:no-option
>
<template
v-slot:no-option
>
<q-item>
<q-item>
<q-item-section
class=
"text-grey"
>
<q-item-section
class=
"text-grey"
>
...
@@ -220,9 +219,8 @@
...
@@ -220,9 +219,8 @@
@
clear=
"resetSearch"
maxlength=
"20"
/>
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
dense
filled
v-model=
"msg.GuestState"
class=
"col-6"
<q-select
@
input=
"resetSearch"
dense
filled
v-model=
"msg.GuestState"
class=
"col-6"
option-label=
"Name"
option-label=
"Name"
option-value=
"Id"
use-input
:options=
"GuestStateList"
emit-value
map-options
option-value=
"Id"
use-input
:options=
"GuestStateList"
emit-value
map-options
label=
"学员状态"
clearable
>
label=
"学员状态"
clearable
>
<
template
v-slot:no-option
>
<
template
v-slot:no-option
>
<q-item>
<q-item>
<q-item-section
class=
"text-grey"
>
<q-item-section
class=
"text-grey"
>
...
@@ -233,8 +231,8 @@
...
@@ -233,8 +231,8 @@
</q-select>
</q-select>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"getShaixuanFrom()"
dense
filled
clearable
filled
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.CreateType"
<q-select
@
input=
"getShaixuanFrom()"
dense
filled
clearable
filled
option-value=
"Id"
option-label=
"Name"
:options=
"customFromList"
emit-value
map-options
label=
"客户来源"
/>
v-model=
"msg.CreateType"
:options=
"customFromList"
emit-value
map-options
label=
"客户来源"
/>
</div>
</div>
<div
class=
"col-3"
v-if=
"msg.CreateType == 1"
>
<div
class=
"col-3"
v-if=
"msg.CreateType == 1"
>
<q-select
filled
v-model=
"msg.StuChannelId"
@
input=
"resetSearch"
label=
"收客渠道"
:dense=
"false"
<q-select
filled
v-model=
"msg.StuChannelId"
@
input=
"resetSearch"
label=
"收客渠道"
:dense=
"false"
...
@@ -274,12 +272,30 @@
...
@@ -274,12 +272,30 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"col row wrap q-gutter-x-md"
v-if=
"staticObj"
>
<div
class=
"col stics"
>
<span
class=
"stics-name"
>
正常学员数量
</span>
<span>
{{staticObj.NormalNum?staticObj.NormalNum:0}}人
</span>
</div>
<div
class=
"col stics"
>
<span
class=
"stics-name"
>
退课学员数量
</span>
<span
style=
"color: #F72E52"
>
{{staticObj.DropOutNum?staticObj.DropOutNum:0}}人
</span>
</div>
<div
class=
"col stics"
>
<span
class=
"stics-name"
>
停课学员数量
</span>
<span
style=
"color:#2961FE;"
>
{{staticObj.StopClassesNum?staticObj.StopClassesNum:0}}人
</span>
</div>
<div
class=
"col stics"
>
<span
class=
"stics-name"
>
毕业学员数量
</span>
<span>
{{staticObj.GraduateNum?staticObj.GraduateNum:0}}人
</span>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table sticky-right-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
class=
"sticky-tow-column-table sticky-right-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
row-key=
"name"
>
<
template
v-slot:top
=
"props"
>
<
template
v-slot:top
>
<
div
class=
"col-2 q-table__title"
>
学员名单
</div
>
<
!--
<div
class=
"col-2 q-table__title"
>
学员名单
</div>
--
>
</
template
>
</
template
>
<
template
v-slot:body-cell-ContractNo=
"props"
>
<
template
v-slot:body-cell-ContractNo=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
...
@@ -382,7 +398,7 @@
...
@@ -382,7 +398,7 @@
@
click=
"transferClass(props.row, 1)"
/>
@
click=
"transferClass(props.row, 1)"
/>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left: 10px"
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left: 10px"
>
<q-list>
<q-list>
<q-item
dense
clickable
v-close-popup
@
click=
"showAddEvent(props.row)"
>
<q-item
dense
clickable
v-close-popup
@
click=
"showAddEvent(props.row)"
>
<q-item-section>
<q-item-section>
<q-item-label
overline
>
添加事件
</q-item-label>
<q-item-label
overline
>
添加事件
</q-item-label>
</q-item-section>
</q-item-section>
...
@@ -426,7 +442,7 @@
...
@@ -426,7 +442,7 @@
@
close=
"closeStuForm"
@
success=
"refreshStuList"
@
reload=
"refreshStuList"
>
@
close=
"closeStuForm"
@
success=
"refreshStuList"
@
reload=
"refreshStuList"
>
</studentRight-form>
</studentRight-form>
<!-- 跳课 -->
<!-- 跳课 -->
<JumpCourse
v-model=
"isShowChangeCourse"
:saveObj=
"ChangeCourseObj"
@
success=
"refreshPage"
></JumpCourse>
<JumpCourse
v-model=
"isShowChangeCourse"
:saveObj=
"ChangeCourseObj"
@
success=
"refreshPage"
></JumpCourse>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -762,8 +778,9 @@
...
@@ -762,8 +778,9 @@
MyTransListData
:
[],
MyTransListData
:
[],
source
:
0
,
//1:从课程列表进入
source
:
0
,
//1:从课程列表进入
courseName
:
""
,
courseName
:
""
,
isShowChangeCourse
:
false
,
isShowChangeCourse
:
false
,
ChangeCourseObj
:{}
ChangeCourseObj
:
{},
staticObj
:
{},
//学生统计信息
};
};
},
},
created
()
{
created
()
{
...
@@ -867,10 +884,10 @@
...
@@ -867,10 +884,10 @@
});
});
},
},
//筛选客户来源
//筛选客户来源
getShaixuanFrom
(){
getShaixuanFrom
()
{
this
.
msg
.
StuSourceId
=
''
this
.
msg
.
StuSourceId
=
''
this
.
msg
.
StuChannelId
=
''
this
.
msg
.
StuChannelId
=
''
if
(
this
.
msg
.
CreateType
==
4
)
{
if
(
this
.
msg
.
CreateType
==
4
)
{
this
.
getStudentDorpDown
();
this
.
getStudentDorpDown
();
}
}
this
.
resetSearch
()
this
.
resetSearch
()
...
@@ -896,7 +913,14 @@
...
@@ -896,7 +913,14 @@
//获取学员状态列表
//获取学员状态列表
getGuestStateList
()
{
getGuestStateList
()
{
queryGuestStateList
({}).
then
(
res
=>
{
queryGuestStateList
({}).
then
(
res
=>
{
this
.
GuestStateList
=
res
.
Data
;
var
tempArray
=
res
.
Data
;
if
(
tempArray
)
{
tempArray
.
forEach
(
item
=>
{
if
(
item
.
Id
==
1
||
item
.
Id
==
2
||
item
.
Id
==
5
||
item
.
Id
==
7
)
{
this
.
GuestStateList
.
push
(
item
);
}
});
}
});
});
},
},
//获取校区下拉
//获取校区下拉
...
@@ -982,8 +1006,9 @@
...
@@ -982,8 +1006,9 @@
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
Code
===
1
)
{
if
(
res
.
Code
===
1
)
{
this
.
data
=
res
.
Data
.
PageData
;
this
.
data
=
res
.
Data
.
pageModel
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
this
.
pageCount
=
res
.
Data
.
pageModel
.
PageCount
;
this
.
staticObj
=
res
.
Data
.
StudentStatic
;
}
}
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
...
@@ -1175,15 +1200,13 @@
...
@@ -1175,15 +1200,13 @@
refreshStuList
()
{
refreshStuList
()
{
this
.
getList
();
this
.
getList
();
},
},
showChangeCourse
(
item
){
showChangeCourse
(
item
)
{
this
.
isShowChangeCourse
=
true
this
.
isShowChangeCourse
=
true
this
.
ChangeCourseObj
=
item
this
.
ChangeCourseObj
=
item
}
}
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"sass"
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
@import
url('~assets/css/table.sass')
</
style
>
</
style
>
\ No newline at end of file
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