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
4fcf5a71
Commit
4fcf5a71
authored
Jan 14, 2022
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d43d0c75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
101 additions
and
12 deletions
+101
-12
studentTracking.vue
src/pages/sale/studentTracking.vue
+101
-12
No files found.
src/pages/sale/studentTracking.vue
View file @
4fcf5a71
...
...
@@ -35,19 +35,52 @@ th:first-child{position: sticky;left:0px;}
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
dense
filled
v-model=
"msg.StuGuestState"
:options=
"customState"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户状态"
clearable
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
dense
v-model=
"msg.IsQueryMyStu"
:options=
"isMyStuList"
filled
use-input
label=
"是否查询我的学员"
option-label=
"Name"
option-value=
"Id"
ref=
"CustomerName"
class=
"col-6"
emit-value
map-options
>
</q-select>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
dense
filled
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.Q_FType"
:options=
"FTypeList"
emit-value
map-options
label=
"跟进类型"
/>
<q-select
@
input=
"resetBelong"
dense
filled
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.BelongType"
:options=
"BelongTypeList"
emit-value
map-options
label=
"归属类型"
/>
</div>
<!--
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
dense
v-model=
"msg.IsQueryMyStu"
:options=
"isMyStuList"
filled
use-input
label=
"是否查询我的学员"
option-label=
"Name"
option-value=
"Id"
ref=
"CustomerName"
class=
"col-6"
emit-value
map-options
>
</q-select>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
dense
filled
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.Q_FType"
:options=
"FTypeList"
emit-value
map-options
label=
"跟进类型"
/>
</div>
-->
<div
class=
"col-3"
v-if=
"msg.BelongType == 4"
>
<q-select
@
input=
"resetSearch"
dense
clearable
@
filter=
"filterSubord"
use-input
filled
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"msg.CreateIds"
multiple
:options=
"SubordList"
emit-value
map-options
label=
"我下属的"
/>
</div>
<div
class=
"col-3"
>
<q-field
filled
dense
>
<template
v-slot:control
>
<el-date-picker
v-model=
"dateArray"
size=
"mini"
@
change=
"resetSearch"
value-format=
"yyyy-MM-dd"
...
...
@@ -206,7 +239,7 @@ import {
import
{
queryStuStageList
,
GetStudentTypeList
,
GetPersonalDimension
}
from
"../../api/school/index"
;
import
studentRightForm
from
"../../components/school/student/studentRight-form"
;
...
...
@@ -230,11 +263,33 @@ export default {
WeChatNo
:
''
,
StuType
:
''
,
//学生类型
StuGuestState
:
''
,
//状态
IsQueryMyStu
:
'
-
1'
,
//是否查询我的学员 1是 0否
IsQueryMyStu
:
'1'
,
//是否查询我的学员 1是 0否
SFTime
:
''
,
EFTime
:
''
,
Q_FType
:
'-1'
,
//跟进类型 1范围内有跟进记录 2范围内没有跟进记录
BelongType
:
1
,
CreateIds
:
[],
},
//归属类型列表
BelongTypeList
:
[
{
Id
:
1
,
Name
:
"全部"
},
{
Id
:
2
,
Name
:
"我负责的"
},
{
Id
:
3
,
Name
:
"我协同的"
},
{
Id
:
4
,
Name
:
"我下属的"
}
],
loading
:
false
,
dataList
:
[],
//列表数据
...
...
@@ -250,16 +305,44 @@ export default {
BelongType
:
1
,
isShowStuRight
:
false
,
isJudgeTrans
:
1
,
SubordList
:
[],
//我的下属数据
AllSubordList
:
[]
}
},
created
()
{
},
created
()
{
let
userinfo
=
this
.
getLocalStorage
();
userinfo
.
ActionMenuList
.
map
(
x
=>
{
//判断权限
if
(
x
.
FunctionCode
==
"studentTracking_look"
){
//判断是否有保存的权限
this
.
msg
.
IsQueryMyStu
=
0
return
}
})
},
mounted
()
{
this
.
getList
();
//获取规则
this
.
getStuStageList
()
this
.
getCustomTypeList
()
this
.
GetSubordList
()
},
methods
:
{
//获取我下属的下拉数据
GetSubordList
()
{
GetPersonalDimension
().
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
SubordList
=
res
.
Data
;
this
.
AllSubordList
=
res
.
Data
;
}
});
},
//筛选转介人
filterSubord
(
val
,
update
,
abort
)
{
update
(()
=>
{
this
.
SubordList
=
this
.
AllSubordList
.
filter
(
v
=>
v
.
EmployeeName
.
indexOf
(
val
)
>
-
1
);
});
},
resetSearch
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
getList
();
...
...
@@ -345,6 +428,12 @@ export default {
closeStuForm
()
{
this
.
isShowStuRight
=
false
;
},
resetBelong
()
{
if
(
this
.
msg
.
BelongType
!=
4
)
{
this
.
msg
.
pageIndex
=
1
;
this
.
getList
();
}
},
},
}
...
...
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