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
cd08c1a0
authored
2026-01-06 11:52:10 +0800
by
zrj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
大屏1.6修改
1 parent
5e47f98e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
src/layoutPc/index.vue
src/viewsPc/home.vue
src/viewsPc/vip/centerPage.vue
src/layoutPc/index.vue
View file @
cd08c1a
...
...
@@ -16,10 +16,10 @@ const isLoading = ref(false)
function
handleChangeTheme
(
type
)
{
styleTheme
.
value
=
type
isLoading
.
value
=
true
setTimeout
(()
=>
{
isLoading
.
value
=
false
},
3000
)
//
isLoading.value = true
//
setTimeout(() => {
//
isLoading.value = false
//
}, 3000)
}
</
script
>
...
...
src/viewsPc/home.vue
View file @
cd08c1a
...
...
@@ -60,7 +60,7 @@ const nowDate = ref(`${year}-${formatMonth(month)}`)
let
selectBase
=
ref
()
let
baseList
=
ref
()
let
isLeader
=
ref
(
false
)
// url.value = 'http://192.168.1.152:8899/login/sid=9
cdeffd3-0a59-414c-944c-8e71a11b05cc
#/'
// url.value = 'http://192.168.1.152:8899/login/sid=9
9afabdd-240a-4486-9b65-a9af641d6b51
#/'
url
.
value
=
window
.
location
.
href
result
.
value
=
url
.
value
?.
split
(
'='
)[
1
]?.
split
(
'#'
)[
0
];
...
...
src/viewsPc/vip/centerPage.vue
View file @
cd08c1a
...
...
@@ -538,14 +538,14 @@ async function handelGetYS0010() {
const
res
=
await
getYS0010
(
url
.
value
,
{
"yeargroup"
:
resYear1
.
value
}
)
const
TBdata
=
res
.
data
.
list
.
map
(
n
=>
n
.
TBRATIO
)
const
HBdata
=
res
.
data
.
list
.
map
(
n
=>
n
.
HBRATIO
)
handelContrast
(
resYear1
.
value
[
0
],
resYear1
.
value
[
1
],
TBdata
,
HBdata
,
true
)
handelContrast
(
resYear1
.
value
[
0
],
resYear1
.
value
[
1
],
TBdata
,
HBdata
,
true
,
'SRJE'
)
}
async
function
handelGetYS0011
()
{
const
res
=
await
getYS0011
(
url
.
value
,
{
"yeargroup"
:
resYear2
.
value
}
)
const
TBdata
=
res
.
data
.
list
.
map
(
n
=>
n
.
TBRATIO
)
const
HBdata
=
res
.
data
.
list
.
map
(
n
=>
n
.
HBRATIO
)
handelContrast
(
resYear
1
.
value
[
0
],
resYear1
.
value
[
1
],
TBdata
,
HBdata
,
false
)
handelContrast
(
resYear
2
.
value
[
0
],
resYear2
.
value
[
1
],
TBdata
,
HBdata
,
false
,
'YSCOST'
)
}
function
contrastDialogShow
(
type
)
{
...
...
@@ -2165,7 +2165,7 @@ const handelZhu4_2 = (listX1, dataList1,dataList2, arr1) => {
// autoHover(chart44, option, 0, 2000)
}
const
handelContrast
=
(
row1
,
row2
,
TBdata
,
HBdata
,
flag
)
=>
{
const
handelContrast
=
(
row1
,
row2
,
TBdata
,
HBdata
,
flag
,
type
)
=>
{
chartContrast
=
echarts
.
init
(
contrastRef
.
value
)
let
monthData
=
[
'1月'
,
'2月'
,
'3月'
,
'4月'
,
'5月'
,
'6月'
,
'7月'
,
'8月'
,
'9月'
,
'10月'
,
'11月'
,
'12月'
]
...
...
@@ -2371,7 +2371,7 @@ const handelContrast = (row1, row2, TBdata, HBdata, flag) => {
focus
:
'series'
}
,
data
:
row1
.
list
.
map
(
val
=>
{
return
(
val
.
SRJE
/
10000
).
toFixed
()
return
(
val
[
type
]
/
10000
).
toFixed
()
}
),
itemStyle
:
{
color
:
{
...
...
@@ -2397,7 +2397,7 @@ const handelContrast = (row1, row2, TBdata, HBdata, flag) => {
focus
:
'series'
}
,
data
:
row2
.
list
.
map
(
val
=>
{
return
(
val
.
SRJE
/
10000
).
toFixed
()
return
(
val
[
type
]
/
10000
).
toFixed
()
}
),
itemStyle
:
{
color
:
{
...
...
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