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
d526af81
Commit
d526af81
authored
Apr 29, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-04-29 测试问题修复
parent
af9f3485
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
231 additions
and
73 deletions
+231
-73
index.vue
src/views/report/customerreport/index.vue
+12
-5
index.vue
src/views/report/sales_analysis/index.vue
+206
-61
index.vue
src/views/report/salesreport/index.vue
+1
-1
index.vue
src/views/report/vz/index.vue
+12
-6
No files found.
src/views/report/customerreport/index.vue
View file @
d526af81
...
...
@@ -151,7 +151,7 @@ export default {
},
height
:
{
type
:
String
,
default
:
"
1
500px
"
,
default
:
"
500px
"
,
},
autoResize
:
{
type
:
Boolean
,
...
...
@@ -185,6 +185,7 @@ export default {
//报表权限信息
objEcwReportPermission
:
{},
DeptEx
:
{
id
:
undefined
,
name
:
undefined
,
parentId
:
undefined
},
resultList
:
[],
};
},
watch
:
{},
...
...
@@ -228,9 +229,12 @@ export default {
initChart
()
{
var
chartDom
=
this
.
$refs
[
"
mainBar
"
];
this
.
chart
=
echarts
.
init
(
chartDom
,
"
macarons
"
);
this
.
chart
.
on
(
"
click
"
,
()
=>
{
this
.
chart
.
on
(
"
click
"
,
(
params
)
=>
{
if
(
this
.
isRight
()
==
false
)
return
;
let
p
=
{};
this
.
queryParams
.
salesmanid
=
parseInt
(
this
.
resultList
[
params
.
dataIndex
].
salesmanid
);
Object
.
assign
(
p
,
this
.
queryParams
);
this
.
$router
.
push
({
path
:
"
/report/customer_analysis
"
,
...
...
@@ -244,7 +248,8 @@ export default {
getReportResult
(
this
.
queryParams
).
then
((
response
)
=>
{
//全部列表数据
this
.
total
=
response
.
data
.
total
;
let
resultList
=
response
.
data
.
resultList
;
this
.
resultList
=
response
.
data
.
resultList
;
let
resultList2
=
response
.
data
.
resultList
;
this
.
loading
=
false
;
this
.
chart
.
setOption
({
title
:
{
...
...
@@ -263,10 +268,12 @@ export default {
//var s=JSON.stringify(item);
//alert(s);
//在数据中查询
let
vR
=
resultList
.
filter
((
r
)
=>
r
.
name
===
item
.
name
);
let
sN
=
item
.
name
;
var
arr
=
sN
.
split
(
"
_
"
);
let
vR
=
resultList2
.
filter
((
r
)
=>
r
.
name
===
arr
[
1
]);
result
+=
"
客户:
"
+
item
.
name
+
"
<br/>
"
;
result
+=
"
客户编号:
"
+
vR
[
0
].
number
+
"
<br/>
"
;
result
+=
"
客户经理
部门:
"
+
vR
[
0
].
deptname
+
"
<br/>
"
;
result
+=
"
客户经理
:
"
+
vR
[
0
].
salesman
+
"
<br/>
"
;
result
+=
"
总V值:
"
+
item
.
value
+
"
<br/>
"
;
result
+=
"
海运V值:
"
+
vR
[
0
].
sumvolume1
+
"
<br/>
"
;
result
+=
"
空运V值:
"
+
vR
[
0
].
sumweight3
+
"
<br/>
"
;
...
...
src/views/report/sales_analysis/index.vue
View file @
d526af81
This diff is collapsed.
Click to expand it.
src/views/report/salesreport/index.vue
View file @
d526af81
...
...
@@ -129,7 +129,7 @@ import SalesPanelGroup from "../../dashboard/SalesPanelGroup";
//2024-04-27
export
default
{
name
:
"
salesreport
"
,
name
:
"
ReportSalesreportIndex
"
,
components
:
{
SalesPanelGroup
,
UserSelector
,
...
...
src/views/report/vz/index.vue
View file @
d526af81
...
...
@@ -23,11 +23,7 @@
/>
</el-form-item>
<el-form-item
v-show=
"false"
>
<Treeselect
v-model=
"id"
:options=
"listTree"
>
</Treeselect>
<Treeselect
v-model=
"id"
:options=
"listTree"
>
</Treeselect>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
...
...
@@ -156,6 +152,7 @@ import {
}
from
"
@/api/report/vz
"
;
import
Treeselect
from
"
@riophae/vue-treeselect
"
;
import
"
@/assets/styles/vue-treeselect.css
"
;
import
{
MessageBox
}
from
"
element-ui
"
;
//2024-04-27
export
default
{
...
...
@@ -189,7 +186,15 @@ export default {
// 表单参数
form
:
{},
// 表单校验
rules
:
{},
rules
:
{
vz
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
V值不能为空
"
),
trigger
:
"
blur
"
,
},
],
},
id
:
1
,
listTree
:
[
{
...
...
@@ -300,6 +305,7 @@ export default {
if
(
!
valid
)
{
return
;
}
// 修改的提交
if
(
this
.
form
.
id
!=
null
)
{
update
(
this
.
form
).
then
((
response
)
=>
{
...
...
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