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
86339635
Commit
86339635
authored
Feb 22, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f62cacaa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
9 deletions
+69
-9
makeupRate.vue
src/pages/sale/makeupRate.vue
+1
-1
visitTransform.vue
src/pages/sale/visitTransform.vue
+38
-5
student.vue
src/pages/school/student.vue
+30
-3
No files found.
src/pages/sale/makeupRate.vue
View file @
86339635
...
@@ -274,7 +274,7 @@
...
@@ -274,7 +274,7 @@
ChannelId
:
0
,
ChannelId
:
0
,
startTime
:
this
.
msg
.
startTime
,
startTime
:
this
.
msg
.
startTime
,
endTime
:
this
.
msg
.
endTime
,
endTime
:
this
.
msg
.
endTime
,
empList
:
row
.
Id
,
createBy
:
row
.
Id
,
})
})
},
},
//下载渠道总表
//下载渠道总表
...
...
src/pages/sale/visitTransform.vue
View file @
86339635
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<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-4 Sysuser_Date"
>
<div
class=
"col-4 Sysuser_Date"
>
<q-field
filled
>
<q-field
filled
>
<template
v-slot:control
>
<template
v-slot:control
>
<el-date-picker
v-model=
"dateList"
type=
"daterange"
style=
"width:100%"
:picker-options=
"pickerOptions0"
<el-date-picker
v-model=
"dateList"
type=
"daterange"
style=
"width:100%"
:picker-options=
"pickerOptions0"
align=
"right"
value-format=
"yyyy-MM-dd"
@
change=
"getData"
unlink-panels
range-separator=
"至"
align=
"right"
value-format=
"yyyy-MM-dd"
@
change=
"getData"
unlink-panels
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
</q-field>
</q-field>
</div>
</div>
<div
class=
"col-3 Sysuser_Date"
>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
>
<q-field
filled
>
<
template
v-slot:control
>
<
template
v-slot:control
>
<el-select
class=
"topselect"
v-model=
"msg.empList"
@
change=
"getData"
style=
"width:100%;"
collapse-tags
<el-select
class=
"topselect"
v-model=
"msg.empList"
@
change=
"getData"
style=
"width:100%;"
collapse-tags
multiple
filterable
placeholder=
"请选择"
>
multiple
filterable
placeholder=
"请选择"
>
<el-option
v-for=
"item in EmployeeList"
:key=
"item.Id"
:label=
"item.EmployeeName"
:value=
"item.Id"
>
<el-option
v-for=
"item in EmployeeList"
:key=
"item.Id"
:label=
"item.EmployeeName"
:value=
"item.Id"
>
...
@@ -56,10 +56,26 @@
...
@@ -56,10 +56,26 @@
<el-table-column
prop=
"ChannelName"
label=
"渠道名"
>
<el-table-column
prop=
"ChannelName"
label=
"渠道名"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"ClueCount"
label=
"回单"
sortable
>
<el-table-column
prop=
"ClueCount"
label=
"回单"
sortable
>
<
template
slot-scope=
"scope"
>
<a
@
click=
"showDetail(scope.row)"
style=
"color:#67C23A;cursor:pointer;text-decoration:underline;"
>
{{
scope
.
row
.
ClueCount
}}
</a>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"VisitCount"
label=
"到访"
sortable
>
<el-table-column
prop=
"VisitCount"
label=
"到访"
sortable
>
<
template
slot-scope=
"scope"
>
<a
@
click=
"showDetail(scope.row)"
style=
"color:#67C23A;cursor:pointer;text-decoration:underline;"
>
{{
scope
.
row
.
VisitCount
}}
</a>
</
template
>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"OrderCount"
label=
"合同数"
sortable
>
<el-table-column
prop=
"OrderCount"
label=
"合同数"
sortable
>
<
template
slot-scope=
"scope"
>
<a
@
click=
"showDetail(scope.row)"
style=
"color:#67C23A;cursor:pointer;text-decoration:underline;"
>
{{
scope
.
row
.
VisitCount
}}
</a>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"OrderIncome"
label=
"新业绩金额"
sortable
>
<el-table-column
prop=
"OrderIncome"
label=
"新业绩金额"
sortable
>
</el-table-column>
</el-table-column>
...
@@ -112,6 +128,7 @@
...
@@ -112,6 +128,7 @@
};
};
},
},
created
()
{
created
()
{
this
.
getEmployeeList
();
this
.
CurrentUserInfo
=
this
.
getLocalStorage
();
this
.
CurrentUserInfo
=
this
.
getLocalStorage
();
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
ActionMenuList
&&
this
.
CurrentUserInfo
.
ActionMenuList
.
length
>
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
ActionMenuList
&&
this
.
CurrentUserInfo
.
ActionMenuList
.
length
>
0
)
{
0
)
{
...
@@ -138,13 +155,29 @@
...
@@ -138,13 +155,29 @@
this
.
msg
.
endTime
=
year
+
strLink
+
month
+
strLink
+
day
;
this
.
msg
.
endTime
=
year
+
strLink
+
month
+
strLink
+
day
;
this
.
dateList
.
push
(
year
+
strLink
+
month
+
strLink
+
'01'
);
this
.
dateList
.
push
(
year
+
strLink
+
month
+
strLink
+
'01'
);
this
.
dateList
.
push
(
year
+
strLink
+
month
+
strLink
+
day
);
this
.
dateList
.
push
(
year
+
strLink
+
month
+
strLink
+
day
);
this
.
getEmployeeList
();
this
.
getData
();
this
.
getData
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
tableHeight
=
window
.
innerHeight
-
this
.
$refs
.
table
.
$el
.
offsetTop
-
90
;
this
.
tableHeight
=
window
.
innerHeight
-
this
.
$refs
.
table
.
$el
.
offsetTop
-
90
;
},
100
)
},
100
)
},
},
methods
:
{
methods
:
{
//跳转到列表
showDetail
(
row
)
{
var
url
=
"/sale/mystu"
;
if
(
this
.
CurrentUserInfo
&&
(
this
.
CurrentUserInfo
.
IsMarket
==
1
||
this
.
CurrentUserInfo
.
IsCourseConsultant
==
1
))
{
url
=
"/sale/mystu"
;
}
else
{
url
=
'/school/student'
;
}
this
.
OpenNewUrl
(
url
,
{
CreateType
:
2
,
StuSourceId
:
row
.
ChannelId
,
startTime
:
this
.
msg
.
startTime
,
endTime
:
this
.
msg
.
endTime
,
})
},
//下载同行渠道
downloadMarketCreateType
()
{
downloadMarketCreateType
()
{
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
var
fileName
=
"同行渠道.xls"
;
var
fileName
=
"同行渠道.xls"
;
...
...
src/pages/school/student.vue
View file @
86339635
...
@@ -61,6 +61,11 @@
...
@@ -61,6 +61,11 @@
v-model=
"msg.AdvisorStatus"
ref=
"AdvisorStatus"
:options=
"consultList"
clearable
label=
"当前状态"
v-model=
"msg.AdvisorStatus"
ref=
"AdvisorStatus"
:options=
"consultList"
clearable
label=
"当前状态"
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
</div>
</div>
<div
class=
"col-3"
>
<q-select
filled
stack-label
option-value=
"Id"
@
input=
"resetSearch"
dense
option-label=
"Name"
v-model=
"msg.StuChannel"
ref=
"AdvisorStatus"
:options=
"channelList"
clearable
label=
"渠道"
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
...
@@ -94,6 +99,9 @@
...
@@ -94,6 +99,9 @@
import
{
import
{
GetStudentAdvisorConfigList
GetStudentAdvisorConfigList
}
from
"../../api/customerstudent/customerstudent"
;
}
from
"../../api/customerstudent/customerstudent"
;
import
{
GetStuChannelList
}
from
"../../api/sale/sale"
;
import
stulist
from
'../../components/school/student/stulist'
import
stulist
from
'../../components/school/student/stulist'
import
{
import
{
mapGetters
mapGetters
...
@@ -128,6 +136,8 @@
...
@@ -128,6 +136,8 @@
AdvisorStatus
:
''
,
//当前状态
AdvisorStatus
:
''
,
//当前状态
StuChannel
:
""
,
StuChannel
:
""
,
CreateIds
:
[],
CreateIds
:
[],
CreateType
:
""
,
//来源类型
StuSourceId
:
""
,
//来源人编号
},
},
dateArray
:
[],
//日期数组
dateArray
:
[],
//日期数组
pageCount
:
0
,
pageCount
:
0
,
...
@@ -139,7 +149,9 @@
...
@@ -139,7 +149,9 @@
AuthObj
:
{
AuthObj
:
{
isShowDownload
:
true
,
isShowDownload
:
true
,
},
},
consultList
:
[]
consultList
:
[],
//渠道列表
channelList
:
[],
}
}
},
},
computed
:
{
computed
:
{
...
@@ -149,6 +161,7 @@
...
@@ -149,6 +161,7 @@
this
.
getEmployeeList
();
this
.
getEmployeeList
();
this
.
getStuStageList
();
this
.
getStuStageList
();
this
.
getCustomTypeList
();
this
.
getCustomTypeList
();
this
.
queryChannelList
();
},
},
mounted
()
{
mounted
()
{
this
.
currentUrl
=
this
.
$route
.
path
;
this
.
currentUrl
=
this
.
$route
.
path
;
...
@@ -163,13 +176,27 @@
...
@@ -163,13 +176,27 @@
if
(
this
.
$route
.
query
.
ChannelId
)
{
if
(
this
.
$route
.
query
.
ChannelId
)
{
this
.
msg
.
StuChannel
=
this
.
$route
.
query
.
ChannelId
;
this
.
msg
.
StuChannel
=
this
.
$route
.
query
.
ChannelId
;
}
}
if
(
this
.
$route
.
query
.
empList
)
{
if
(
this
.
$route
.
query
.
createBy
)
{
this
.
msg
.
CreateBy
=
Number
(
this
.
$route
.
query
.
empList
);
this
.
msg
.
CreateBy
=
Number
(
this
.
$route
.
query
.
createBy
);
}
if
(
this
.
$route
.
query
.
CreateType
)
{
this
.
msg
.
CreateType
=
Number
(
this
.
$route
.
query
.
CreateType
);
}
if
(
this
.
$route
.
query
.
StuSourceId
)
{
this
.
msg
.
StuSourceId
=
Number
(
this
.
$route
.
query
.
StuSourceId
);
}
}
this
.
getStatusList
();
this
.
getStatusList
();
this
.
getStudent
()
this
.
getStudent
()
},
},
methods
:
{
methods
:
{
//获取渠道列表
queryChannelList
()
{
GetStuChannelList
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
channelList
=
res
.
Data
;
}
})
},
//获取跟进状态下拉
//获取跟进状态下拉
getStatusList
()
{
getStatusList
()
{
let
msg
=
{
let
msg
=
{
...
...
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