Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
731d34c4
Commit
731d34c4
authored
Apr 17, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
a934b51f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
101 additions
and
2 deletions
+101
-2
dayStatistics.vue
src/views/workstatistics/dayStatistics.vue
+1
-1
monthStatistics.vue
src/views/workstatistics/monthStatistics.vue
+50
-1
yearStatistics.vue
src/views/workstatistics/yearStatistics.vue
+50
-0
No files found.
src/views/workstatistics/dayStatistics.vue
View file @
731d34c4
...
...
@@ -10,7 +10,7 @@
@
change=
"changeMonthHandler"
placeholder=
"选择查询的月份"
>
</el-date-picker>
</div>
<div
>
<div>
<span
class=
"font-size-12"
style=
"padding-right: 10px"
>
业务员
</span
>
...
...
src/views/workstatistics/monthStatistics.vue
View file @
731d34c4
...
...
@@ -4,11 +4,27 @@
<div
class=
"tools-item"
>
<h1>
月度引流统计
</h1>
</div>
<div
style=
"width: 340px;"
>
<div
class=
"flex"
>
<div
style=
"margin-right: 20px"
>
<el-date-picker
v-model=
"msg.month"
type=
"year"
icon=
"el-icon-date"
slot=
"append"
class=
"input-with-select"
format=
"yyyy 年"
@
change=
"changeMonthHandler"
placeholder=
"选择查询的月份"
>
</el-date-picker>
</div>
<div>
<span
class=
"font-size-12"
style=
"padding-right: 10px"
>
业务员
</span
>
<!-- height: 40px; overflow: auto -->
<el-select
style=
"width: 220px;"
filterable
multiple
clearable
v-model=
"msg.QEmployeeIdsArr"
@
change=
"changeEmployee"
>
<el-option
v-for=
"(item, index) in EmployeeList"
:key=
"index"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-select>
</div></div>
<div
class=
"rightmenu"
>
<el-dropdown
@
command=
"handleCommand"
>
<el-button
class=
"crm-btn crm-btn-more easy-btn margin-right0"
>
...
...
@@ -222,6 +238,7 @@
selfParams
:
{
queryTime
:
{},
},
EmployeeList
:
[]
};
},
provide
()
{
...
...
@@ -237,8 +254,40 @@
mounted
()
{
this
.
init
();
this
.
initRate
();
this
.
Employee
()
},
methods
:
{
changeEmployee
()
{
this
.
msg
.
QEmployeeIds
=
this
.
msg
.
QEmployeeIdsArr
.
join
(
','
)
this
.
init
();
},
// 获取业务员
Employee
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
msg
=
{
RB_Group_id
:
userInfo
.
RB_Group_id
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
};
this
.
apipost2
(
"admin_get_EmployeeGetList"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
// let data = {
// EmName: "不限",
// EmployeeId: "0",
// };
// this.EmployeeList.unshift(data);
}
else
{
}
},
(
err
)
=>
{}
);
},
handleClose
(
done
)
{
done
();
},
...
...
src/views/workstatistics/yearStatistics.vue
View file @
731d34c4
...
...
@@ -4,6 +4,21 @@
<div
class=
"tools-item"
>
<h1>
年度引流统计
</h1>
</div>
<div>
<span
class=
"font-size-12"
style=
"padding-right: 10px"
>
业务员
</span
>
<!-- height: 40px; overflow: auto -->
<el-select
style=
"width: 220px;"
filterable
multiple
clearable
v-model=
"msg.QEmployeeIdsArr"
@
change=
"changeEmployee"
>
<el-option
v-for=
"(item, index) in EmployeeList"
:key=
"index"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-select>
</div>
<div
class=
"rightmenu"
>
<el-dropdown
@
command=
"handleCommand"
>
<el-button
class=
"crm-btn crm-btn-more easy-btn margin-right0"
>
...
...
@@ -60,6 +75,8 @@
export
default
{
data
()
{
return
{
msg
:
{
},
total
:
0
,
tableData
:
[],
loading
:
false
,
...
...
@@ -70,13 +87,46 @@ export default {
first
:
""
,
second
:
""
,
},
EmployeeList
:
[]
};
},
mounted
()
{
this
.
init
();
this
.
initRate
();
this
.
Employee
()
},
methods
:
{
changeEmployee
()
{
this
.
msg
.
QEmployeeIds
=
this
.
msg
.
QEmployeeIdsArr
.
join
(
','
)
this
.
init
();
},
// 获取业务员
Employee
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
msg
=
{
RB_Group_id
:
userInfo
.
RB_Group_id
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
};
this
.
apipost2
(
"admin_get_EmployeeGetList"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
// let data = {
// EmName: "不限",
// EmployeeId: "0",
// };
// this.EmployeeList.unshift(data);
}
else
{
}
},
(
err
)
=>
{}
);
},
init
()
{
if
(
this
.
loading
)
return
;
this
.
loading
=
true
;
...
...
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