Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
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
poc
poc-fe
Commits
2e5248de
Commit
2e5248de
authored
Jan 21, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
fix: 数据统计积分显示小数后2位 See merge request
!144
parents
a2dde296
e5e9bad7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
columns.tsx
src/views/statistics/agent-statistic/columns.tsx
+1
-1
point-usage-panel.vue
...atistics/point-statistic/components/point-usage-panel.vue
+4
-4
No files found.
src/views/statistics/agent-statistic/columns.tsx
View file @
2e5248de
...
...
@@ -27,7 +27,7 @@ export function createPlatformAgentUsageDetail() {
tooltip
:
true
,
},
render
(
row
:
IPlatformAgentUsageDetailItem
)
{
return
row
.
totalPoint
.
toFixed
(
1
)
||
'--'
return
row
.
totalPoint
.
toFixed
(
2
)
||
'--'
},
},
{
...
...
src/views/statistics/point-statistic/components/point-usage-panel.vue
View file @
2e5248de
...
...
@@ -46,7 +46,7 @@ async function handleGetPlatformPointUsage() {
>
<div
class=
"bg-px-statistics-today_point_icon-png absolute bottom-0 right-0 h-[93px] w-[90px]"
/>
<div
class=
"font-600 text-[30px]"
>
<n-number-animation
:from=
"0"
:to=
"platformPointUsage.today"
:precision=
"
1
"
/>
<n-number-animation
:from=
"0"
:to=
"platformPointUsage.today"
:precision=
"
2
"
/>
</div>
<span
class=
"mt-3"
>
{{
t
(
'statistic_module.today_usage'
)
}}
</span>
</div>
...
...
@@ -56,7 +56,7 @@ async function handleGetPlatformPointUsage() {
>
<div
class=
"bg-px-statistics-week_point_icon-png absolute bottom-0 right-0 h-[93px] w-[90px]"
/>
<div
class=
"font-600 text-[30px]"
>
<n-number-animation
:from=
"0"
:to=
"platformPointUsage.week"
:precision=
"
1
"
/>
<n-number-animation
:from=
"0"
:to=
"platformPointUsage.week"
:precision=
"
2
"
/>
</div>
<span
class=
"mt-3"
>
{{
t
(
'statistic_module.current_week_usage'
)
}}
</span>
</div>
...
...
@@ -66,7 +66,7 @@ async function handleGetPlatformPointUsage() {
>
<div
class=
"bg-px-statistics-month_point_icon-png absolute bottom-0 right-0 h-[93px] w-[90px]"
/>
<div
class=
"font-600 text-[30px]"
>
<n-number-animation
:from=
"0"
:to=
"platformPointUsage.month"
:precision=
"
1
"
/>
<n-number-animation
:from=
"0"
:to=
"platformPointUsage.month"
:precision=
"
2
"
/>
</div>
<span
class=
"mt-3"
>
{{
t
(
'statistic_module.current_month_usage'
)
}}
</span>
</div>
...
...
@@ -76,7 +76,7 @@ async function handleGetPlatformPointUsage() {
>
<div
class=
"bg-px-statistics-year_point_icon-png absolute bottom-0 right-0 h-[93px] w-[90px]"
/>
<div
class=
"font-600 text-[30px]"
>
<n-number-animation
:from=
"0"
:to=
"platformPointUsage.year"
:precision=
"
1
"
/>
<n-number-animation
:from=
"0"
:to=
"platformPointUsage.year"
:precision=
"
2
"
/>
</div>
<span
class=
"mt-3"
>
{{
t
(
'statistic_module.current_year_usage'
)
}}
</span>
</div>
...
...
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