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
0be38d8f
Commit
0be38d8f
authored
Feb 15, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
cc64f96d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
131 additions
and
24 deletions
+131
-24
student-consult.vue
src/components/school/student/student-consult.vue
+53
-19
studentTracking.vue
src/pages/sale/studentTracking.vue
+78
-5
No files found.
src/components/school/student/student-consult.vue
View file @
0be38d8f
...
@@ -10,17 +10,31 @@
...
@@ -10,17 +10,31 @@
</div>
</div>
<template
v-if=
"isShowAdd"
>
<template
v-if=
"isShowAdd"
>
<div
class=
"row wrap studentDate"
>
<div
class=
"row wrap studentDate"
>
<q-select
filled
stack-label
option-value=
"Id"
@
input=
"getRate(conMsg.AdvisorStatus)"
dense
option-label=
"Name"
v-model=
"conMsg.AdvisorStatus"
<q-select
filled
stack-label
option-value=
"Id"
@
input=
"getRate(conMsg.AdvisorStatus)"
dense
option-label=
"Name"
ref=
"AdvisorStatus"
:options=
"consultList"
label=
"跟进状态"
:rules=
"[val => !!val || '请选择跟进状态']"
class=
"col-6 q-pb-lg q-pr-lg"
emit-value
v-model=
"conMsg.AdvisorStatus"
ref=
"AdvisorStatus"
:options=
"consultList"
label=
"跟进状态"
map-options
/>
:rules=
"[val => !!val || '请选择跟进状态']"
class=
"col-6 q-pb-lg q-pr-lg"
emit-value
map-options
/>
<q-input
filled
stack-label
maxlength=
"50"
disable
dense
v-model=
"conMsg.AdvisorRate"
ref=
"AdvisorRate"
<q-input
filled
stack-label
maxlength=
"50"
disable
dense
v-model=
"conMsg.AdvisorRate"
ref=
"AdvisorRate"
class=
"col-6 q-pb-lg"
label=
"胜率"
/>
class=
"col-6 q-pb-lg"
label=
"胜率"
/>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"50"
dense
v-model=
"conMsg.AdvisorDate"
ref=
"AdvisorDate"
<q-input
filled
v-model=
"conMsg.AdvisorDate"
dense
class=
"col-6 q-pb-lg q-pr-lg"
mask=
"date"
:label=
"commonName+'跟进月份'"
>
class=
"col-6 q-pb-lg q-pr-lg"
:label=
"commonName+'跟进月份'"
/>
<template
v-slot:append
>
<q-input
filled
v-if=
"dataList.length==0"
stack-label
maxlength=
"50"
dense
v-model=
"conMsg.AdvisorExpectDate"
ref=
"AdvisorExpectDate"
<q-icon
name=
"event"
class=
"cursor-pointer"
>
class=
"col-6 q-pb-lg"
:label=
"commonName+'期望达成协议日期'"
/>
<q-popup-proxy
ref=
"AdvisorDate"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"conMsg.AdvisorDate"
@
input=
' () => $refs.AdvisorDate.hide()'
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
<q-input
filled
v-model=
"conMsg.AdvisorExpectDate"
v-if=
"dataList.length==0"
dense
class=
"col-6 q-pb-lg"
mask=
"date"
:label=
"commonName+'期望达成协议日期'"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"AdvisorExpectDate"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"conMsg.AdvisorExpectDate"
@
input=
' () => $refs.AdvisorExpectDate.hide()'
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
type=
"textarea"
:rows=
"3"
stack-label
maxlength=
"2000"
v-model=
"conMsg.AdvisorRemark"
<q-input
filled
type=
"textarea"
:rows=
"3"
stack-label
maxlength=
"2000"
v-model=
"conMsg.AdvisorRemark"
...
@@ -59,11 +73,11 @@
...
@@ -59,11 +73,11 @@
</div>
</div>
</div>
</div>
<div
style=
"margin-left:40px;"
>
<div
style=
"margin-left:40px;"
>
<div
style=
"color:#ff0099"
>
1."疑似"填入日期後...百分比自動跳30%
</div>
<div
style=
"color:#ff0099"
>
1."疑似"填入日期後...百分比自動跳30%
</div>
<div
style=
"color:#ff00ff"
>
2."潛在"填入日期後~百分比自動跳50%
</div>
<div
style=
"color:#ff00ff"
>
2."潛在"填入日期後~百分比自動跳50%
</div>
<div
style=
"color:#9933ff"
>
3."接近"填入日期後~百分比自動跳60%
</div>
<div
style=
"color:#9933ff"
>
3."接近"填入日期後~百分比自動跳60%
</div>
<div
style=
"color:#33ccff"
>
4."談判"填入日期後~百分比自動跳80%
</div>
<div
style=
"color:#33ccff"
>
4."談判"填入日期後~百分比自動跳80%
</div>
<div
style=
"color:green"
>
5."成交"填入日期後~百分比自動跳100%
</div>
<div
style=
"color:green"
>
5."成交"填入日期後~百分比自動跳100%
</div>
</div>
</div>
<div
style=
"margin-bottom:20px"
>
<div
style=
"margin-bottom:20px"
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
...
@@ -113,7 +127,7 @@
...
@@ -113,7 +127,7 @@
dataList
:
[],
dataList
:
[],
page_Count
:
0
,
page_Count
:
0
,
consultList
:
[],
//跟进状态下拉
consultList
:
[],
//跟进状态下拉
commonName
:
''
commonName
:
''
};
};
},
},
created
()
{
created
()
{
...
@@ -139,12 +153,12 @@
...
@@ -139,12 +153,12 @@
}
}
})
})
},
},
getRate
(
Id
){
getRate
(
Id
)
{
this
.
consultList
.
forEach
(
x
=>
{
this
.
consultList
.
forEach
(
x
=>
{
if
(
x
.
Id
==
Id
)
{
if
(
x
.
Id
==
Id
)
{
this
.
conMsg
.
AdvisorRate
=
x
.
Rate
;
this
.
conMsg
.
AdvisorRate
=
x
.
Rate
;
this
.
commonName
=
x
.
Name
;
this
.
commonName
=
x
.
Name
;
}
}
})
})
},
},
//保存约访
//保存约访
...
@@ -158,6 +172,26 @@
...
@@ -158,6 +172,26 @@
});
});
return
;
return
;
}
}
if
(
this
.
conMsg
.
AdvisorDate
==
''
){
this
.
$q
.
notify
({
type
:
"negative"
,
position
:
"top"
,
timeout
:
2000
,
message
:
"请选择跟进日期!"
});
return
;
}
if
(
this
.
dataList
.
length
==
0
){
if
(
this
.
conMsg
.
AdvisorExpectDate
==
''
){
this
.
$q
.
notify
({
type
:
"negative"
,
position
:
"top"
,
timeout
:
2000
,
message
:
"请选择期望达成协议日期!"
});
return
;
}
}
SetStudentAdvisor
(
this
.
conMsg
)
SetStudentAdvisor
(
this
.
conMsg
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
...
...
src/pages/sale/studentTracking.vue
View file @
0be38d8f
...
@@ -21,6 +21,30 @@
...
@@ -21,6 +21,30 @@
position
:
sticky
;
position
:
sticky
;
left
:
0px
;
left
:
0px
;
}
}
.stulistNumber
{
display
:
inline-block
;
width
:
25px
;
height
:
25px
;
text-align
:
center
;
line-height
:
22px
;
border
:
1px
solid
#2961FE
;
border-radius
:
50%
;
cursor
:
pointer
;
color
:
#2961FE
;
}
.OCourseTable
{
width
:
400px
;
text-align
:
center
;
}
.OCourseTable
tr
td
{
height
:
40px
;
}
.OCourseTable
tr
th
{
height
:
40px
;
background-color
:
rgb
(
238
,
238
,
239
);
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page-body studentTracking"
>
<div
class=
"page-body studentTracking"
>
...
@@ -182,8 +206,8 @@
...
@@ -182,8 +206,8 @@
<div
style=
"width: 100%;margin-top: 20px"
>
<div
style=
"width: 100%;margin-top: 20px"
>
<div
style=
"width: 100%;overflow-x: auto;"
>
<div
style=
"width: 100%;overflow-x: auto;"
>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadd
ing=
"0"
<table
class=
"po_content singeRowTable"
ref=
"table"
style=
"border:1px solid #E6E6E6;"
cellspac
ing=
"0"
v-loading=
"loading"
>
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th
width=
"120"
rowspan=
"2"
style=
"min-width: 110px;z-index: 999;"
>
学生
</th>
<th
width=
"120"
rowspan=
"2"
style=
"min-width: 110px;z-index: 999;"
>
学生
</th>
<th
width=
"120"
rowspan=
"2"
style=
"min-width: 110px;"
>
电话
</th>
<th
width=
"120"
rowspan=
"2"
style=
"min-width: 110px;"
>
电话
</th>
...
@@ -199,6 +223,11 @@
...
@@ -199,6 +223,11 @@
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
收客渠道
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
收客渠道
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
负责人
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
负责人
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
合同状态
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
合同状态
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
期望达成协议日期
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
目前状态
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
胜率
</th>
<th
width=
"100"
rowspan=
"2"
style=
"min-width: 100px;"
>
跟踪记录
</th>
<th
width=
"500"
colspan=
"3"
style=
"min-width: 500px;"
v-for=
" ( item , index ) in RListlength "
<th
width=
"500"
colspan=
"3"
style=
"min-width: 500px;"
v-for=
" ( item , index ) in RListlength "
:key=
'index'
>
:key=
'index'
>
<div>
第{{index+1}}个月
</div>
<div>
第{{index+1}}个月
</div>
...
@@ -256,6 +285,47 @@
...
@@ -256,6 +285,47 @@
<td>
<td>
<span>
{{ item.StuGuestStateName }}
</span>
<span>
{{ item.StuGuestStateName }}
</span>
</td>
</td>
<td>
{{item.AdvisorExpectDate}}
</td>
<td>
{{item.AdvisorStatusName}}
</td>
<td>
{{item.AdvisorWinRate}}%
</td>
<td>
<
template
v-if=
"item.AdvisorList"
>
<template
v-if=
"item.AdvisorList.length>0"
>
{{
item
.
AdvisorList
[
0
].
AdvisorStatusName
}}
<span
class=
"stulistNumber"
>
{{
item
.
AdvisorList
.
length
}}
<q-popup-proxy>
<q-banner>
<table
class=
"OCourseTable"
style=
"border-collapse:collapse;"
>
<tr>
<th>
跟进状态
</th>
<th>
跟进日期
</th>
<th>
跟进比例
</th>
<th>
跟进备注
</th>
</tr>
<tr
v-for=
"(sItem,sIndex) in item.AdvisorList"
style=
"border-bottom:1px dashed #d1d1d1;"
:key=
"sIndex"
>
<td>
{{
sItem
.
AdvisorStatusName
}}
</td>
<td>
{{
sItem
.
AdvisorDate
}}
</td>
<td>
{{
sItem
.
AdvisorRate
}}
</td>
<td>
{{
sItem
.
AdvisorRemark
}}
</td>
</tr>
</table>
</q-banner>
</q-popup-proxy>
</span>
</
template
>
<
template
v-if=
"item.AdvisorList.length==0"
>
无
</
template
>
</template>
</td>
<td
v-for=
" ( x , y ) in titlelist "
:key=
"y"
>
<td
v-for=
" ( x , y ) in titlelist "
:key=
"y"
>
<div
v-if=
"item.MonthList[x.index]"
>
<div
v-if=
"item.MonthList[x.index]"
>
...
@@ -451,7 +521,7 @@
...
@@ -451,7 +521,7 @@
myEmployeeList
:
[],
myEmployeeList
:
[],
TransListData
:
[],
//转介人数据
TransListData
:
[],
//转介人数据
MyTransListData
:
[],
MyTransListData
:
[],
goalsList
:
[]
//学习目的列表
goalsList
:
[]
,
//学习目的列表
}
}
},
},
created
()
{
created
()
{
...
@@ -477,7 +547,7 @@
...
@@ -477,7 +547,7 @@
this
.
getEmployeeList
();
this
.
getEmployeeList
();
this
.
getStudentDorpDown
();
this
.
getStudentDorpDown
();
this
.
queryGoalsList
();
this
.
queryGoalsList
();
// this.downloadStudentFollow();
// this.downloadStudentFollow();
},
},
methods
:
{
methods
:
{
downloadStudentFollow
()
{
downloadStudentFollow
()
{
...
@@ -823,9 +893,11 @@
...
@@ -823,9 +893,11 @@
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"sass"
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
@import
url('~assets/css/table.sass')
</
style
>
</
style
>
<
style
scoped
>
<
style
scoped
>
/
deep
/
.el-input__inner
,
/
deep
/
.el-input__inner
,
...
@@ -852,4 +924,5 @@
...
@@ -852,4 +924,5 @@
.roatImg
{
.roatImg
{
transform
:
rotate
(
180deg
);
transform
:
rotate
(
180deg
);
}
}
</
style
>
\ No newline at end of file
</
style
>
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