Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
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
何远江
yishuju-ui
Commits
ccea9dd1
Commit
ccea9dd1
authored
Aug 07, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏显示数据问题
parent
afadce0f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
6 deletions
+2
-6
AnnualUseChart.vue
src/views/data-screen-mock/components/AnnualUseChart.vue
+1
-1
index.vue
src/views/data-screen-mock/index.vue
+0
-2
AnnualUseChart.vue
src/views/data-screen/components/AnnualUseChart.vue
+1
-1
index.vue
src/views/data-screen/index.vue
+0
-2
No files found.
src/views/data-screen-mock/components/AnnualUseChart.vue
View file @
ccea9dd1
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
type
:
'none'
,
type
:
'none'
,
},
},
formatter
:
function
(
params
)
{
formatter
:
function
(
params
)
{
return
params
[
0
].
name
+
' : '
+
params
[
0
].
value
+
'
元
'
;
return
params
[
0
].
name
+
' : '
+
params
[
0
].
value
+
'
%
'
;
},
},
},
},
dataZoom
:
[
dataZoom
:
[
...
...
src/views/data-screen-mock/index.vue
View file @
ccea9dd1
...
@@ -198,8 +198,6 @@
...
@@ -198,8 +198,6 @@
return
Decimal
(
num
).
div
(
Decimal
(
100000000
)).
toNumber
().
toFixed
(
3
)
+
'亿'
;
return
Decimal
(
num
).
div
(
Decimal
(
100000000
)).
toNumber
().
toFixed
(
3
)
+
'亿'
;
}
else
if
(
num
>
10000
)
{
}
else
if
(
num
>
10000
)
{
return
Decimal
(
num
).
div
(
Decimal
(
10000
)).
toNumber
().
toFixed
(
2
)
+
'万'
;
return
Decimal
(
num
).
div
(
Decimal
(
10000
)).
toNumber
().
toFixed
(
2
)
+
'万'
;
}
else
if
(
num
>
1000
)
{
return
Decimal
(
num
).
div
(
Decimal
(
1000
)).
toNumber
().
toFixed
(
2
)
+
'千'
;
}
}
return
num
;
return
num
;
};
};
...
...
src/views/data-screen/components/AnnualUseChart.vue
View file @
ccea9dd1
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
type
:
'none'
,
type
:
'none'
,
},
},
formatter
:
function
(
params
)
{
formatter
:
function
(
params
)
{
return
params
[
0
].
name
+
' : '
+
params
[
0
].
value
+
'
元
'
;
return
params
[
0
].
name
+
' : '
+
params
[
0
].
value
+
'
%
'
;
},
},
},
},
dataZoom
:
[
dataZoom
:
[
...
...
src/views/data-screen/index.vue
View file @
ccea9dd1
...
@@ -197,8 +197,6 @@
...
@@ -197,8 +197,6 @@
return
Decimal
(
num
).
div
(
Decimal
(
100000000
)).
toNumber
().
toFixed
(
2
)
+
'亿'
;
return
Decimal
(
num
).
div
(
Decimal
(
100000000
)).
toNumber
().
toFixed
(
2
)
+
'亿'
;
}
else
if
(
num
>
10000
)
{
}
else
if
(
num
>
10000
)
{
return
Decimal
(
num
).
div
(
Decimal
(
10000
)).
toNumber
().
toFixed
(
2
)
+
'万'
;
return
Decimal
(
num
).
div
(
Decimal
(
10000
)).
toNumber
().
toFixed
(
2
)
+
'万'
;
}
else
if
(
num
>
1000
)
{
return
Decimal
(
num
).
div
(
Decimal
(
1000
)).
toNumber
().
toFixed
(
2
)
+
'千'
;
}
}
return
num
;
return
num
;
};
};
...
...
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