Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yuji-dataview
Project
Project
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
郭铭瑶
yuji-dataview
Commits
2132ef3c
Commit
2132ef3c
authored
Aug 24, 2020
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整大小
parent
cf77f202
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
monitor-chart.vue
...mponents/MonitorComponents/MonitorChart/monitor-chart.vue
+4
-1
trade-situation.vue
src/views/components/fishing-price/trade-situation.vue
+1
-1
farm-rate.vue
src/views/components/ocean-farm/farm-rate.vue
+1
-1
area-rate.vue
src/views/components/rice-fish/area-rate.vue
+1
-1
operate-situation.vue
src/views/components/seedling/operate-situation.vue
+1
-1
No files found.
src/components/MonitorComponents/MonitorChart/monitor-chart.vue
View file @
2132ef3c
...
@@ -371,7 +371,10 @@ export default {
...
@@ -371,7 +371,10 @@ export default {
}
}
},
},
fontSize
()
{
fontSize
()
{
return
Math
.
floor
(
screen
.
height
*
1.48
/
100
)
return
12
*
this
.
sizeRate
},
sizeRate
()
{
return
Number
((
screen
.
height
/
800
).
toFixed
(
1
))
},
},
borderWidth
()
{
borderWidth
()
{
return
this
.
fontSize
*
0.6
return
this
.
fontSize
*
0.6
...
...
src/views/components/fishing-price/trade-situation.vue
View file @
2132ef3c
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
hide
:
true
,
hide
:
true
,
},
},
shape
:
[
shape
:
[
{
type
:
'pie'
,
radius
:
[
0
,
60
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))],
startAngle
:
0
,
roseType
:
'radius'
,
label
:
{
show
:
true
,
formatter
:
'{b}: {c}万吨'
}}
{
type
:
'pie'
,
radius
:
[
30
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
)),
60
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))],
startAngle
:
0
,
label
:
{
show
:
true
,
fontSize
:
12
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))
,
formatter
:
'{b}: {c}万吨'
}}
]
]
},
},
data
:
[],
data
:
[],
...
...
src/views/components/ocean-farm/farm-rate.vue
View file @
2132ef3c
...
@@ -21,7 +21,7 @@ export default {
...
@@ -21,7 +21,7 @@ export default {
orient
:
'vertical'
,
orient
:
'vertical'
,
},
},
shape
:
[
shape
:
[
{
type
:
'pie'
,
startAngle
:
135
,
radius
:
[
40
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
)),
55
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))],
center
:
[
'40%'
,
'
50%'
],
label
:
{
show
:
true
,
formatter
:
'{d}%'
}}
{
type
:
'pie'
,
startAngle
:
135
,
radius
:
[
40
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
)),
55
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))],
center
:
[
'40%'
,
'
45%'
],
label
:
{
show
:
true
,
formatter
:
'{d}%'
,
fontSize
:
12
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))
}}
],
],
},
},
data
:
[
data
:
[
...
...
src/views/components/rice-fish/area-rate.vue
View file @
2132ef3c
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
formatter
:
'{c}亩'
formatter
:
'{c}亩'
},
},
shape
:
[
shape
:
[
{
type
:
'pie'
,
radius
:
[
30
,
60
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))],
startAngle
:
30
,
label
:
{
show
:
true
,
formatter
:
'{d}%
\
n{b}'
},
center
:
[
'50%'
,
'52%'
]}
{
type
:
'pie'
,
radius
:
[
30
,
60
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))],
startAngle
:
30
,
label
:
{
show
:
true
,
formatter
:
'{d}%
\
n{b}'
,
fontSize
:
12
*
Number
((
screen
.
height
/
800
).
toFixed
(
1
))
},
center
:
[
'50%'
,
'52%'
]}
]
]
},
},
}
}
...
...
src/views/components/seedling/operate-situation.vue
View file @
2132ef3c
...
@@ -131,7 +131,7 @@ export default {
...
@@ -131,7 +131,7 @@ export default {
p
p
font-weight bold
font-weight bold
img
img
width 2rem
width 2
rem
height @width
height @width
margin-right .5rem
margin-right .5rem
.chart
.chart
...
...
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