Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuIncubator
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
Kimber
GaoQuIncubator
Commits
dfee25df
Commit
dfee25df
authored
Nov 01, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dp overview
parent
e412721c
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1253 additions
and
13 deletions
+1253
-13
index.vue
src/views/Screen/index.vue
+5
-2
overview.vue
src/views/system/home/overview.vue
+1248
-11
No files found.
src/views/Screen/index.vue
View file @
dfee25df
...
@@ -401,7 +401,8 @@
...
@@ -401,7 +401,8 @@
method
:
"
get
"
,
method
:
"
get
"
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
const
list
=
res
.
body
||
[];
const
list
=
res
.
body
||
[];
var
colors
=
[
"
#0b50f5
"
,
"
#00d1e6
"
,
"
#0ce2a6
"
,
"
#fdbe17
"
];
// var colors = ["#0b50f5", "#00d1e6", "#0ce2a6", "#fdbe17"];
var
colors
=
[
"
#00f0ff
"
,
"
#00d1e6
"
,
"
#0ce2a6
"
,
"
#fdbe17
"
,
'
#ff1fdd
'
,
'
#ff3333
'
,
'
#f8ff3a
'
];
var
seriesFormat
=
Highchart
.
formatSeriesList
(
list
,
{
var
seriesFormat
=
Highchart
.
formatSeriesList
(
list
,
{
value
:
"
num
"
,
value
:
"
num
"
,
colors
:
colors
,
colors
:
colors
,
...
@@ -421,6 +422,7 @@
...
@@ -421,6 +422,7 @@
floating
:
true
,
floating
:
true
,
style
:
{
style
:
{
color
:
"
#00f6ff
"
,
color
:
"
#00f6ff
"
,
// textOutline: 'none' // 去掉文字轮廓
},
},
},
},
tooltip
:
{
tooltip
:
{
...
@@ -441,6 +443,7 @@
...
@@ -441,6 +443,7 @@
dataLabels
:
{
dataLabels
:
{
textOutline
:
"
none
"
,
// 禁用文本轮廓
textOutline
:
"
none
"
,
// 禁用文本轮廓
enabled
:
true
,
enabled
:
true
,
useHTML
:
true
,
format
:
format
:
'
<span style="color:{point.color}">{point.name}: {point.percentage:.1f}%</span>
'
,
// 标签颜色与图形颜色一致
'
<span style="color:{point.color}">{point.name}: {point.percentage:.1f}%</span>
'
,
// 标签颜色与图形颜色一致
// format: "
<
b
>
{
point
.
name
}
<
/b>: {point.percentage:.1f} %"
,
// format: "
<
b
>
{
point
.
name
}
<
/b>: {point.percentage:.1f} %"
,
...
@@ -1726,7 +1729,7 @@
...
@@ -1726,7 +1729,7 @@
font-family
:
SimHei
;
font-family
:
SimHei
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
0
.24rem
;
font-size
:
0
.24rem
;
color
:
#f
fffff
;
color
:
#f
dbe17
;
background-image
:
url("~@/assets/images/dpNew/title2.png")
;
background-image
:
url("~@/assets/images/dpNew/title2.png")
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
...
...
src/views/system/home/overview.vue
View file @
dfee25df
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