Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
Details
Activity
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
wangweidong
patzn-cloud-web-back-soil
Commits
8630ad26
Commit
8630ad26
authored
Mar 23, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了客户委托量查询
parent
d1631455
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
MeterCustomerEntrust.vue
...soil-statistics/customer-entrust/MeterCustomerEntrust.vue
+9
-8
UserTestPie.vue
pages/soil-statistics/customer-entrust/UserTestPie.vue
+8
-7
No files found.
pages/soil-statistics/customer-entrust/MeterCustomerEntrust.vue
View file @
8630ad26
...
@@ -33,16 +33,17 @@
...
@@ -33,16 +33,17 @@
<!--内容-->
<!--内容-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<Row
:gutter=
"16"
>
<Row
:gutter=
"16"
>
<Col
span=
"1
4
"
>
<Col
span=
"1
0
"
>
<element-table
<element-table
id=
"table-year"
id=
"table-year"
ref=
"pageTable"
ref=
"pageTable"
:table-height=
"tableHeight"
:table-height=
"tableHeight"
:get-page=
"getPage"
:get-page=
"getPage"
@
on-result-change=
"_tableResultChange"
@
on-result-change=
"_tableResultChange"
:hide-page=
"true"
hide-checkbox
hide-checkbox
>
>
<el-table-column
fixed
type=
"index"
label=
"序号"
width=
"
10
0"
>
<el-table-column
fixed
type=
"index"
label=
"序号"
width=
"
5
0"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
v-for=
"item in pageColumns"
v-for=
"item in pageColumns"
...
@@ -50,7 +51,7 @@
...
@@ -50,7 +51,7 @@
:prop=
"item.key"
:prop=
"item.key"
:label=
"item.title"
:label=
"item.title"
:width=
"item.width"
:width=
"item.width"
:min-width=
"
2
00"
:min-width=
"
1
00"
:fixed=
"item.fixed?item.fixed:undefined"
:fixed=
"item.fixed?item.fixed:undefined"
>
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -62,7 +63,7 @@
...
@@ -62,7 +63,7 @@
</el-table-column>
</el-table-column>
</element-table>
</element-table>
</Col>
</Col>
<Col
span=
"1
0
"
>
<Col
span=
"1
4
"
>
<!--pie-->
<!--pie-->
<UserTestPie
ref=
"testPieModal"
></UserTestPie>
<UserTestPie
ref=
"testPieModal"
></UserTestPie>
</Col>
</Col>
...
@@ -97,9 +98,9 @@ export default {
...
@@ -97,9 +98,9 @@ export default {
tester
:
''
,
tester
:
''
,
testerId
:
''
,
testerId
:
''
,
pageColumns
:
[
pageColumns
:
[
{
title
:
'委托单位'
,
key
:
'client'
,
detail
:
true
},
{
title
:
'委托单位'
,
key
:
'client'
,
detail
:
true
,
width
:
230
},
{
title
:
'委托数量'
,
key
:
'quantity'
},
{
title
:
'委托数量'
,
key
:
'quantity'
,
width
:
80
},
{
title
:
'委托额度'
,
key
:
'fee'
}
{
title
:
'委托额度'
,
key
:
'fee'
,
width
:
80
}
],
],
groupData
:
[],
groupData
:
[],
getPage
:
{
getPage
:
{
...
@@ -218,7 +219,7 @@ export default {
...
@@ -218,7 +219,7 @@ export default {
_tableResultChange
(
msg
,
data
)
{
_tableResultChange
(
msg
,
data
)
{
switch
(
msg
)
{
switch
(
msg
)
{
case
'changeSize'
:
case
'changeSize'
:
// this._page
()
this
.
_getData
()
break
break
}
}
},
},
...
...
pages/soil-statistics/customer-entrust/UserTestPie.vue
View file @
8630ad26
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<label>
{{
groupName
}}
客户委托量比率
</label>
<label>
{{
groupName
}}
客户委托量比率
</label>
</div>
</div>
<div
:style=
"heightObj"
class=
"chartCont"
>
<div
:style=
"heightObj"
class=
"chartCont"
>
<div
v-if=
"showStatistic"
style=
"width:
9
0%"
>
<div
v-if=
"showStatistic"
style=
"width:
10
0%"
>
<IEcharts
:option=
"option"
:style=
"optionObj"
></IEcharts>
<IEcharts
:option=
"option"
:style=
"optionObj"
></IEcharts>
</div>
</div>
<div
v-else
:style=
"noDataObj"
class=
"no-statistic-bg"
></div>
<div
v-else
:style=
"noDataObj"
class=
"no-statistic-bg"
></div>
...
@@ -35,7 +35,7 @@ export default {
...
@@ -35,7 +35,7 @@ export default {
title
:
{
title
:
{
x
:
'center'
,
x
:
'center'
,
textStyle
:
{
textStyle
:
{
fontSize
:
1
4
,
fontSize
:
1
2
,
fontWeight
:
'normal'
fontWeight
:
'normal'
}
}
},
},
...
@@ -55,9 +55,7 @@ export default {
...
@@ -55,9 +55,7 @@ export default {
legend
:
{
legend
:
{
type
:
'scroll'
,
type
:
'scroll'
,
orient
:
'vertical'
,
orient
:
'vertical'
,
right
:
0
,
left
:
10
,
top
:
20
,
bottom
:
20
,
data
:
[
'直接访问'
,
'邮件营销'
,
'联盟广告'
,
'视频广告'
,
'搜索引擎'
]
data
:
[
'直接访问'
,
'邮件营销'
,
'联盟广告'
,
'视频广告'
,
'搜索引擎'
]
},
},
color
:
this
.
$echartColor
,
color
:
this
.
$echartColor
,
...
@@ -65,6 +63,7 @@ export default {
...
@@ -65,6 +63,7 @@ export default {
{
{
name
:
'访问来源'
,
name
:
'访问来源'
,
type
:
'pie'
,
type
:
'pie'
,
center
:
[
'60%'
,
'50%'
],
radius
:
[
'50%'
,
'70%'
],
radius
:
[
'50%'
,
'70%'
],
avoidLabelOverlap
:
false
,
avoidLabelOverlap
:
false
,
label
:
{
label
:
{
...
@@ -92,7 +91,9 @@ export default {
...
@@ -92,7 +91,9 @@ export default {
]
]
},
},
optionObj
:
{
optionObj
:
{
height
:
''
height
:
''
,
width
:
'600px'
// marginLeft: '200px'
},
},
noDataObj
:
{
noDataObj
:
{
marginTop
:
''
marginTop
:
''
...
@@ -109,7 +110,7 @@ export default {
...
@@ -109,7 +110,7 @@ export default {
this
.
noDataObj
.
marginTop
=
this
.
noDataObj
.
marginTop
=
(
document
.
documentElement
.
clientHeight
-
450
)
/
2
+
'px'
(
document
.
documentElement
.
clientHeight
-
450
)
/
2
+
'px'
this
.
optionObj
.
width
=
this
.
optionObj
.
width
=
(
document
.
documentElement
.
clientWidth
-
20
0
)
/
2.6
+
'px'
(
document
.
documentElement
.
clientWidth
-
20
)
/
2
+
'px'
},
},
_openPie
(
data
)
{
_openPie
(
data
)
{
const
testerList
=
[]
const
testerList
=
[]
...
...
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