Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
208bd0fe
Commit
208bd0fe
authored
Apr 30, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-04-30 报表修改
parent
d526af81
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
466 additions
and
155 deletions
+466
-155
index.vue
src/views/report/customer_analysis/index.vue
+8
-7
index.vue
src/views/report/customerreport/index.vue
+3
-1
index.vue
src/views/report/sales_analysis/index.vue
+125
-57
index.vue
src/views/report/salesreport/index.vue
+330
-90
No files found.
src/views/report/customer_analysis/index.vue
View file @
208bd0fe
...
...
@@ -271,12 +271,7 @@
<el-table-column
label=
"控货总V值"
align=
"center"
prop=
"khSumV"
/>
<el-table-column
label=
"控货占比"
align=
"center"
prop=
"khSumZb"
/>
<el-table-column
label=
"是否首次成交"
align=
"center"
prop=
"isFirst"
/>
<el-table-column
label=
"首次成交时间"
align=
"center"
prop=
"firstDate"
width=
"200px"
>
<el-table-column
label=
"首次成交时间"
align=
"center"
prop=
"firstDate"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
firstDate
)
}}
</span>
</
template
>
...
...
@@ -287,7 +282,7 @@
<el-table-column
label=
"客户角色"
align=
"center"
prop=
"customerrole"
/>
<el-table-column
label=
"客户国家"
align=
"center"
prop=
"country"
/>
<el-table-column
label=
"客户
户
创建时间"
label=
"客户创建时间"
align=
"center"
prop=
"createtime"
width=
"200px"
...
...
@@ -504,6 +499,8 @@ export default {
let
s
=
this
.
$route
.
query
.
sDate
;
let
e
=
this
.
$route
.
query
.
eDate
;
let
bd
=
this
.
$route
.
query
.
duibiYear
;
//客户编号
let
number
=
this
.
$route
.
query
.
number
;
if
(
sSalesmanid
!=
undefined
&&
sSalesmanid
!=
null
)
{
this
.
queryParams
.
salesmanid
=
parseInt
(
sSalesmanid
);
}
...
...
@@ -520,6 +517,10 @@ export default {
if
(
bd
!=
undefined
&&
bd
!=
null
)
{
this
.
queryParams
.
duibiYear
=
bd
;
}
if
(
number
!=
undefined
&&
number
!=
null
)
{
this
.
queryParams
.
searchtype
=
"
eq
"
;
this
.
queryParams
.
name
=
number
;
}
this
.
getTreeselect
();
this
.
getList
();
});
...
...
src/views/report/customerreport/index.vue
View file @
208bd0fe
...
...
@@ -179,6 +179,7 @@ export default {
duibiYear
:
getLastYear
(),
//对比年份
deptid
:
undefined
,
//部门
salesmanid
:
undefined
,
//客户经理
number
:
undefined
,
//客户编号
pageNo
:
1
,
pageSize
:
30
,
},
...
...
@@ -235,6 +236,7 @@ export default {
this
.
queryParams
.
salesmanid
=
parseInt
(
this
.
resultList
[
params
.
dataIndex
].
salesmanid
);
this
.
queryParams
.
number
=
this
.
resultList
[
params
.
dataIndex
].
number
;
Object
.
assign
(
p
,
this
.
queryParams
);
this
.
$router
.
push
({
path
:
"
/report/customer_analysis
"
,
...
...
@@ -270,7 +272,7 @@ export default {
//在数据中查询
let
sN
=
item
.
name
;
var
arr
=
sN
.
split
(
"
_
"
);
let
vR
=
resultList2
.
filter
((
r
)
=>
r
.
n
ame
===
arr
[
1
]);
let
vR
=
resultList2
.
filter
((
r
)
=>
r
.
n
umber
===
arr
[
1
]);
result
+=
"
客户:
"
+
item
.
name
+
"
<br/>
"
;
result
+=
"
客户编号:
"
+
vR
[
0
].
number
+
"
<br/>
"
;
result
+=
"
客户经理:
"
+
vR
[
0
].
salesman
+
"
<br/>
"
;
...
...
src/views/report/sales_analysis/index.vue
View file @
208bd0fe
This diff is collapsed.
Click to expand it.
src/views/report/salesreport/index.vue
View file @
208bd0fe
This diff is collapsed.
Click to expand it.
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