Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dangan_dataV
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bcb5ca6d
authored
2025-04-27 10:03:40 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
看板
1 parent
b4a694ed
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
47 deletions
src/viewsPc/vip/centerPage.vue
src/viewsPc/vip/rightPage.vue
src/viewsPc/vip/centerPage.vue
View file @
bcb5ca6
...
...
@@ -191,50 +191,50 @@ async function handelGetYS003() {
async
function
handelGetYS004
()
{
const
res
=
await
getYS004
()
console
.
log
(
res
)
//
let arrList = res.data.blockgroup
let
arrList
=
[
{
BLOCK
:
'海上'
,
list
:
[
{
BASE
:
'上海'
,
DAYS
:
'6'
,
DSO
:
'20'
}
,
{
BASE
:
'浙江'
,
DAYS
:
'3'
,
DSO
:
'202'
}
,
{
BASE
:
'青岛'
,
DAYS
:
'61'
,
DSO
:
'230'
}
]
}
,
{
BLOCK
:
'陆地'
,
list
:
[
{
BASE
:
'合肥'
,
DAYS
:
'61'
,
DSO
:
'20'
}
,
{
BASE
:
'北京'
,
DAYS
:
'33'
,
DSO
:
'202'
}
,
{
BASE
:
'河南'
,
DAYS
:
'61'
,
DSO
:
'230'
}
]
}
]
//
console.log(res)
let
arrList
=
res
.
data
.
blockgroup
//
let arrList = [
//
{
//
BLOCK: '海上',
//
list: [
//
{
//
BASE: '上海',
//
DAYS: '6',
//
DSO: '20'
//
}
,
//
{
//
BASE: '浙江',
//
DAYS: '3',
//
DSO: '202'
//
}
,
//
{
//
BASE: '青岛',
//
DAYS: '61',
//
DSO: '230'
//
}
//
]
//
}
,
//
{
//
BLOCK: '陆地',
//
list: [
//
{
//
BASE: '合肥',
//
DAYS: '61',
//
DSO: '20'
//
}
,
//
{
//
BASE: '北京',
//
DAYS: '33',
//
DSO: '202'
//
}
,
//
{
//
BASE: '河南',
//
DAYS: '61',
//
DSO: '230'
//
}
//
]
//
}
//
]
let
haishang
let
dalu
for
(
const
v
of
arrList
)
{
...
...
@@ -297,6 +297,7 @@ async function handelGetYS004() {
async
function
handelGetYS005
()
{
const
res
=
await
getYS005
()
form
.
value
=
res
.
data
console
.
log
(
res
)
}
...
...
src/viewsPc/vip/rightPage.vue
View file @
bcb5ca6
...
...
@@ -268,6 +268,8 @@ function handelSelect7() {
async
function
handelGetYS008
()
{
const
res
=
await
getYS008
()
list8
.
value
=
res
.
data
.
list
console
.
log
(
res
)
list8Y
.
value
=
[]
month8
.
value
=
[]
year8
.
value
=
[]
...
...
@@ -275,11 +277,11 @@ async function handelGetYS008() {
list8
.
value
[
i
].
itemStyle
=
itemStyleList
.
value
[
i
%
itemStyleList
.
value
.
length
]
list8Y
.
value
.
push
(
list8
.
value
[
i
].
BASE
)
month8
.
value
.
push
({
value
:
list8
.
value
[
i
].
HKQKTOTAL
,
value
:
list8
.
value
[
i
].
HKQKTOTAL
/
10000
,
itemStyle
:
list8
.
value
[
i
].
itemStyle
,
})
year8
.
value
.
push
({
value
:
list8
.
value
[
i
].
HKQKMONTH
,
value
:
list8
.
value
[
i
].
HKQKMONTH
/
10000
,
itemStyle
:
list8
.
value
[
i
].
itemStyle
,
})
}
...
...
@@ -503,7 +505,7 @@ const setB = (arrY, arr1, arr2) => {
// Use axis to trigger tooltip
type
:
'shadow'
// 'shadow' as default; can also be 'line' or 'shadow'
},
valueFormatter
:
(
value
)
=>
value
+
'万'
,
valueFormatter
:
(
value
)
=>
(
value
*
1
).
toFixed
()
+
'万'
,
backgroundColor
:
'rgba(5, 28, 51, 1)'
,
// 背景色
borderColor
:
'rgba(46, 151, 198, 1)'
,
// 边框颜色
borderWidth
:
1
,
// 边框宽度
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment