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
1ddb07f8
Commit
1ddb07f8
authored
Apr 18, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
e5d39071
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
89 additions
and
62 deletions
+89
-62
teacherTrack.vue
src/pages/teacher/teacherTrack.vue
+89
-62
No files found.
src/pages/teacher/teacherTrack.vue
View file @
1ddb07f8
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
position
:
sticky
;
position
:
sticky
;
left
:
0px
;
left
:
0px
;
}
}
.stulistNumber
{
.stulistNumber
{
display
:
inline-block
;
display
:
inline-block
;
width
:
25px
;
width
:
25px
;
...
@@ -32,6 +33,7 @@
...
@@ -32,6 +33,7 @@
cursor
:
pointer
;
cursor
:
pointer
;
color
:
#2961FE
;
color
:
#2961FE
;
}
}
.OCourseTable
{
.OCourseTable
{
width
:
400px
;
width
:
400px
;
text-align
:
center
;
text-align
:
center
;
...
@@ -45,6 +47,7 @@
...
@@ -45,6 +47,7 @@
height
:
40px
;
height
:
40px
;
background-color
:
rgb
(
238
,
238
,
239
);
background-color
:
rgb
(
238
,
238
,
239
);
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page-body studentTracking"
>
<div
class=
"page-body studentTracking"
>
...
@@ -98,67 +101,73 @@
...
@@ -98,67 +101,73 @@
</div>
</div>
<
template
v-if=
"morequery"
>
<
template
v-if=
"morequery"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
dense
filled
option-value=
"SId"
option-label=
"SName"
v-model=
"msg.School_Id"
<q-select
@
input=
"resetSearch"
dense
filled
option-value=
"SId"
option-label=
"SName"
v-model=
"msg.School_Id"
:options=
"CompanyList"
emit-value
map-options
label=
"校区"
/>
:options=
"CompanyList"
emit-value
map-options
label=
"校区"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
filled
option-value=
"CourseId"
option-label=
"CourseName"
v-model=
"msg.CourseId"
<q-select
@
input=
"resetSearch"
filled
option-value=
"CourseId"
option-label=
"CourseName"
clearable
emit-value
use-input
:options=
"myCourseList"
label=
"课程"
dense
map-options
@
filter=
"filterFnkec"
/>
v-model=
"msg.CourseId"
clearable
emit-value
use-input
:options=
"myCourseList"
label=
"课程"
dense
map-options
</div>
@
filter=
"filterFnkec"
/>
<div
class=
"col-3"
>
</div>
<q-select
@
input=
"resetSearch"
dense
filled
option-value=
"Id"
option-label=
"EmployeeName"
<div
class=
"col-3"
>
v-model=
"msg.ConsultantId"
clearable
:options=
"RoleListData"
emit-value
map-options
label=
"课程顾问"
/>
<q-select
@
input=
"resetSearch"
dense
filled
option-value=
"Id"
option-label=
"EmployeeName"
</div>
v-model=
"msg.ConsultantId"
clearable
:options=
"RoleListData"
emit-value
map-options
label=
"课程顾问"
/>
<div
class=
"col-3"
>
</div>
<q-select
@
input=
"resetSearch"
dense
filled
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.StuGuestState"
<div
class=
"col-3"
>
clearable
:options=
"hetongList"
emit-value
map-options
label=
"合同状态"
/>
<q-select
@
input=
"resetSearch"
dense
filled
option-value=
"Id"
option-label=
"Name"
</div>
v-model=
"msg.StuGuestState"
clearable
:options=
"hetongList"
emit-value
map-options
label=
"合同状态"
/>
<div
class=
"col-3"
>
</div>
<q-select
@
input=
"msg.StuSourceId='',msg.StuChannel='',resetSearch()"
dense
clearable
filled
option-value=
"Id"
<div
class=
"col-3"
>
option-label=
"Name"
v-model=
"msg.CreateType"
:options=
"customFromList"
emit-value
map-options
<q-select
@
input=
"msg.StuSourceId='',msg.StuChannel='',resetSearch()"
dense
clearable
filled
label=
"客户来源"
/>
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.CreateType"
:options=
"customFromList"
emit-value
</div>
map-options
label=
"客户来源"
/>
<div
class=
"col-3"
v-if=
"msg.CreateType==1"
>
</div>
<q-select
filled
v-model=
"msg.StuChannel"
@
input=
"resetSearch"
label=
"收客渠道"
dense
:options=
"StuChannelList"
<div
class=
"col-3"
v-if=
"msg.CreateType==1"
>
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
use-input
clearable
@
filter=
"filterStuChannel"
>
<q-select
filled
v-model=
"msg.StuChannel"
@
input=
"resetSearch"
label=
"收客渠道"
dense
:options=
"StuChannelList"
<template
v-slot:no-option
>
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
use-input
clearable
<q-item>
@
filter=
"filterStuChannel"
>
<q-item-section
class=
"text-grey"
>
<template
v-slot:no-option
>
未找到相关数据
<q-item>
</q-item-section>
<q-item-section
class=
"text-grey"
>
</q-item>
未找到相关数据
</
template
>
</q-item-section>
</q-select>
</q-item>
</div>
</
template
>
<div
class=
"col-3"
v-if=
"msg.CreateType==2"
>
</q-select>
<q-select
filled
v-model=
"msg.StuSourceId"
dense
:options=
"customList"
use-input
label=
"关联同行"
</div>
@
filter=
"filterFn"
option-label=
"CustomerName"
@
input=
"resetSearch"
clearable
option-value=
"CustomerId"
<div
class=
"col-3"
v-if=
"msg.CreateType==2"
>
emit-value
map-options
>
<q-select
filled
v-model=
"msg.StuSourceId"
dense
:options=
"customList"
use-input
label=
"关联同行"
<
template
v-slot:no-option
>
@
filter=
"filterFn"
option-label=
"CustomerName"
@
input=
"resetSearch"
clearable
option-value=
"CustomerId"
<q-item>
emit-value
map-options
>
<q-item-section
class=
"text-grey"
>
<
template
v-slot:no-option
>
未找到相关数据
<q-item>
</q-item-section>
<q-item-section
class=
"text-grey"
>
</q-item>
未找到相关数据
</
template
>
</q-item-section>
</q-select>
</q-item>
</div>
</
template
>
<div
class=
"col-3"
v-if=
"msg.CreateType==3"
>
</q-select>
<q-select
filled
v-model=
"msg.StuSourceId"
dense
@
filter=
"filterEmployee"
label=
"介绍人"
use-input
</div>
:options=
"myEmployeeList"
option-label=
"EmployeeName"
@
input=
"resetSearch"
clearable
option-value=
"Id"
<div
class=
"col-3"
v-if=
"msg.CreateType==3"
>
emit-value
map-options
/>
<q-select
filled
v-model=
"msg.StuSourceId"
dense
@
filter=
"filterEmployee"
label=
"介绍人"
use-input
</div>
:options=
"myEmployeeList"
option-label=
"EmployeeName"
@
input=
"resetSearch"
clearable
option-value=
"Id"
<div
class=
"col-3"
v-if=
"msg.CreateType==4"
>
emit-value
map-options
/>
<q-select
filled
v-model=
"msg.StuSourceId"
dense
use-input
@
filter=
"filterStudent"
label=
"转介人"
</div>
:options=
"MyTransListData"
option-label=
"StuName"
@
input=
"resetSearch"
clearable
option-value=
"StuId"
<div
class=
"col-3"
v-if=
"msg.CreateType==4"
>
emit-value
map-options
/>
<q-select
filled
v-model=
"msg.StuSourceId"
dense
use-input
@
filter=
"filterStudent"
label=
"转介人"
</div>
:options=
"MyTransListData"
option-label=
"StuName"
@
input=
"resetSearch"
clearable
option-value=
"StuId"
<div
class=
"col-3"
>
emit-value
map-options
/>
</div>
(
<div
class=
"col-3"
>
<q-radio
size=
"xs"
v-model=
"msg.Q_FType"
val=
"1"
label=
"范围内有跟进记录"
@
input=
'resetSearch'
/>
<q-select
filled
v-model=
"msg.HeadTeacherId"
dense
use-input
label=
"老师"
:options=
"MyTeacherListData"
<q-radio
size=
"xs"
v-model=
"msg.Q_FType"
val=
"2"
label=
"范围内没有跟进记录"
@
input=
'resetSearch'
/>
)
option-label=
"EmployeeName"
@
input=
"resetSearch"
clearable
option-value=
"Id"
emit-value
map-options
/>
</div>
</div>
<div
class=
"col-3"
>
(
<q-radio
size=
"xs"
v-model=
"msg.Q_FType"
val=
"1"
label=
"范围内有跟进记录"
@
input=
'resetSearch'
/>
<q-radio
size=
"xs"
v-model=
"msg.Q_FType"
val=
"2"
label=
"范围内没有跟进记录"
@
input=
'resetSearch'
/>
)
</div>
</template>
</template>
</div>
</div>
</div>
</div>
...
@@ -390,7 +399,8 @@
...
@@ -390,7 +399,8 @@
queryCourseDropdownList
,
queryCourseDropdownList
,
}
from
'../../api/course/index'
}
from
'../../api/course/index'
import
{
import
{
queryEmployee
queryEmployee
,
}
from
"../../api/users/user"
;
}
from
"../../api/users/user"
;
import
{
import
{
queryGuestStateList
,
queryGuestStateList
,
...
@@ -426,6 +436,8 @@
...
@@ -426,6 +436,8 @@
},
},
data
()
{
data
()
{
return
{
return
{
AccountType
:
2
,
IsLeave
:
1
,
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
12
,
pageSize
:
12
,
...
@@ -449,7 +461,9 @@
...
@@ -449,7 +461,9 @@
CreateType
:
''
,
//客户来源
CreateType
:
''
,
//客户来源
StuChannel
:
""
,
//收客渠道
StuChannel
:
""
,
//收客渠道
StuSourceId
:
''
,
StuSourceId
:
''
,
StuPurpose
:
''
//学习目的
StuPurpose
:
''
,
//学习目的
HeadTeacherId
:
''
,
//老师
},
},
//归属类型列表
//归属类型列表
BelongTypeList
:
[{
BelongTypeList
:
[{
...
@@ -525,6 +539,7 @@
...
@@ -525,6 +539,7 @@
TransListData
:
[],
//转介人数据
TransListData
:
[],
//转介人数据
MyTransListData
:
[],
MyTransListData
:
[],
goalsList
:
[],
//学习目的列表
goalsList
:
[],
//学习目的列表
MyTeacherListData
:
[],
//查询老师列表
}
}
},
},
created
()
{
created
()
{
...
@@ -566,8 +581,19 @@
...
@@ -566,8 +581,19 @@
this
.
getStudentDorpDown
();
this
.
getStudentDorpDown
();
this
.
queryGoalsList
();
this
.
queryGoalsList
();
// this.downloadStudentFollow();
// this.downloadStudentFollow();
this
.
findData
();
},
},
methods
:
{
methods
:
{
findData
()
{
queryEmployee
({
AccountType
:
2
,
IsLeave
:
1
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
MyTeacherListData
=
res
.
Data
;
}
})
},
downloadStudentFollow
()
{
downloadStudentFollow
()
{
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
this
.
loading
=
true
;
this
.
loading
=
true
;
...
@@ -583,6 +609,7 @@
...
@@ -583,6 +609,7 @@
queryGoalsList
()
{
queryGoalsList
()
{
getGuestLearningGoalsEnumList
({}).
then
(
res
=>
{
getGuestLearningGoalsEnumList
({}).
then
(
res
=>
{
this
.
goalsList
=
res
.
Data
;
this
.
goalsList
=
res
.
Data
;
// console.log(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