From b4695c08dd7468c003df3f7fb2f396c980fd68b3 Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Sat, 23 Mar 2024 15:01:01 +0800
Subject: [PATCH] add
---
src/views/astatistics/components/Tender.vue | 4 ++--
src/views/project_stakeholder/index.vue | 2 +-
stats.html | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/astatistics/components/Tender.vue b/src/views/astatistics/components/Tender.vue
index 97dfcf8..e292726 100644
--- a/src/views/astatistics/components/Tender.vue
+++ b/src/views/astatistics/components/Tender.vue
@@ -11,7 +11,7 @@
query: item.query ? { ...item.query } : null
}" v-for=" item in customList" :key="item" class="header-btn">
-
{{ item.value }}
+
{{ item.value.toFixed(2) }}
{{ item.name }}
@@ -66,7 +66,7 @@ const initChart = (id, opt) => {
const getData = async () => {
let res = await apistatisticsbidding()
- let value = +res.bidding_rate * 100
+ let value = (+res.bidding_rate * 100).toFixed(2)
let option3 = {
title: {
text: '{a|' + value + '}{c|%}',
diff --git a/src/views/project_stakeholder/index.vue b/src/views/project_stakeholder/index.vue
index cb4ede6..59362f1 100644
--- a/src/views/project_stakeholder/index.vue
+++ b/src/views/project_stakeholder/index.vue
@@ -40,7 +40,7 @@
-
+
diff --git a/stats.html b/stats.html
index 981a81a..a214b47 100644
--- a/stats.html
+++ b/stats.html
@@ -4822,7 +4822,7 @@ var drawChart = (function (exports) {