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
2ee51b13
authored
2025-04-28 11:48:02 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
看板
1 parent
528071db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
src/viewsPc/vip/leftPage.vue
src/viewsPc/vip/rightPage.vue
src/viewsPc/vip/leftPage.vue
View file @
2ee51b1
<
template
>
<div
class=
"pd20"
>
<div
class=
"chartCard"
>
<div
class=
"title"
>
应收款余额
</div>
<div
class=
"title"
>
应收
账
款余额
</div>
<div
ref=
"zhuRef"
style=
"width: 100%; height: 24vh;"
></div>
</div>
...
...
@@ -401,7 +401,7 @@ const setA = (arr, arr2, arr3) => {
]
},
{
name
:
'应收款余额'
,
name
:
'应收
账
款余额'
,
type
:
'pie'
,
center
:
[
'25%'
,
'50%'
],
radius
:
[
'30%'
,
'70%'
],
...
...
src/viewsPc/vip/rightPage.vue
View file @
2ee51b1
...
...
@@ -12,7 +12,7 @@
placeholder=
"全部基地(可多选)"
size=
"small"
@
change=
"handelSelect7"
>
<el-option
v-for=
"val in list7"
:key=
"val.BASE"
:label=
"val.BASE
"
:value=
"val.BASE
"
/>
<el-option
v-for=
"val in list7"
:key=
"val.BASE"
:label=
"val.BASE
JC"
:value=
"val.BASEJC
"
/>
</el-select>
</div>
</div>
...
...
@@ -45,7 +45,7 @@
@
change=
"handelSelect8"
>
<el-option
v-for=
"(val,i) in list8"
:key=
"i"
:label=
"val.BASE
"
:value=
"val.BASE
"
/>
:key=
"i"
:label=
"val.BASE
JC"
:value=
"val.BASEJC
"
/>
</el-select>
</div>
...
...
@@ -236,14 +236,16 @@ const init = () => {
async
function
handelGetYS007
()
{
const
res
=
await
getYS007
()
list7
.
value
=
res
.
data
.
list
console
.
log
(
list7
.
value
)
list7
.
value
.
sort
((
a
,
b
)
=>
a
.
EXERATIO
-
b
.
EXERATIO
);
list7Y
.
value
=
[]
let
arr1
=
[]
let
arr2
=
[]
let
arr3
=
[]
let
num
=
0
for
(
const
val
of
list7
.
value
)
{
list7Y
.
value
.
push
(
val
.
BASE
)
list7Y
.
value
.
push
(
val
.
BASE
JC
)
arr1
.
push
(
{
value
:
Math
.
round
(
val
.
PLANCOST
/
10000
),
...
...
@@ -263,13 +265,13 @@ async function handelGetYS007() {
}
function
handelSelect7
()
{
let
arr
=
list7Y
.
value
.
map
(
val
=>
list7
.
value
.
find
(
item
=>
item
.
BASE
===
val
))
let
arr
=
list7Y
.
value
.
map
(
val
=>
list7
.
value
.
find
(
item
=>
item
.
BASE
JC
===
val
))
let
arr1
=
[]
let
arr2
=
[]
let
arr3
=
[]
list7Y
.
value
=
[]
for
(
const
val
of
arr
)
{
list7Y
.
value
.
push
(
val
.
BASE
)
list7Y
.
value
.
push
(
val
.
BASE
JC
)
arr1
.
push
(
Math
.
round
(
val
.
PLANCOST
/
10000
))
arr2
.
push
(
Math
.
round
(
val
.
EXECOST
/
10000
))
arr3
.
push
(
val
.
EXERATIO
)
...
...
@@ -285,7 +287,7 @@ async function handelGetYS008() {
year8
.
value
=
[]
for
(
let
i
=
0
;
i
<
list8
.
value
.
length
;
i
++
)
{
list8
.
value
[
i
].
itemStyle
=
itemStyleList
.
value
[
i
%
itemStyleList
.
value
.
length
]
list8Y
.
value
.
push
(
list8
.
value
[
i
].
BASE
)
list8Y
.
value
.
push
(
list8
.
value
[
i
].
BASE
JC
)
month8
.
value
.
push
({
value
:
list8
.
value
[
i
].
HKQKTOTAL
/
10000
,
itemStyle
:
list8
.
value
[
i
].
itemStyle
,
...
...
@@ -302,7 +304,7 @@ async function handelGetYS008() {
function
handelSelect8
()
{
month8
.
value
=
[]
year8
.
value
=
[]
let
arr
=
list8Y
.
value
.
map
(
val
=>
list8
.
value
.
find
(
item
=>
item
.
BASE
===
val
));
let
arr
=
list8Y
.
value
.
map
(
val
=>
list8
.
value
.
find
(
item
=>
item
.
BASE
JC
===
val
));
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
month8
.
value
.
push
({
value
:
list8
.
value
[
i
].
HKQKTOTAL
/
10000
,
...
...
@@ -973,7 +975,7 @@ onUnmounted(() => {
}
.itemBox
{
width
:
7
0%
;
width
:
6
0%
;
background
:
#0B2239
;
box-shadow
:
0
0
24px
0
rgba
(
130
,
220
,
255
,
0.5
),
0
0
16px
0
rgba
(
130
,
220
,
255
,
0.27
);
border-radius
:
5px
;
...
...
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