From ac00bb7b8eae1bf6aabb7f1ae67c2e5aa5b8ae90 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 12 六月 2026 10:21:12 +0800
Subject: [PATCH] 宝东 1.样式问题
---
src/views/reportAnalysis/dataDashboard/index0.vue | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/views/reportAnalysis/dataDashboard/index0.vue b/src/views/reportAnalysis/dataDashboard/index0.vue
index 5c318c8..e4afff7 100644
--- a/src/views/reportAnalysis/dataDashboard/index0.vue
+++ b/src/views/reportAnalysis/dataDashboard/index0.vue
@@ -316,21 +316,19 @@
getWorkInProcessTurnover
} from "@/api/viewIndex.js";
import {staffOnJobListPage} from "@/api/personnelManagement/employeeRecord.js";
-import {listCustomer} from "@/api/basicData/customerFile.js";
+import { listCustomer } from '@/api/basicData/customer.js'
import {listSupplier} from "@/api/basicData/supplierManageFile.js";
import {getLedgerPage} from "@/api/equipmentManagement/ledger.js";
import {getRepairPage} from "@/api/equipmentManagement/repair.js";
import {getUpkeepPage} from "@/api/equipmentManagement/upkeep.js";
import {measuringInstrumentListPage} from "@/api/equipmentManagement/measurementEquipment.js";
-import {listPageAnalysis} from "@/api/financialManagement/expenseManagement.js";
-import {productOrderListPage} from "@/api/productionManagement/productionOrder.js";
// 鍏ㄥ睆鐩稿叧鐘舵��
const isFullscreen = ref(false);
// 缂╂斁姣斾緥
const scaleRatio = ref(1)
-// 璁捐灏哄锛堝熀鍑嗗昂瀵革級- 鏍规嵁瀹為檯璁捐绋胯皟鏁�
+// 璁捐瑙勬牸鍨嬪彿锛堝熀鍑嗚鏍煎瀷鍙凤級- 鏍规嵁瀹為檯璁捐绋胯皟鏁�
const designWidth = 1920
const designHeight = 1080
@@ -746,7 +744,7 @@
const container = document.querySelector('.scale-container')
if (!container) return
- // 鑾峰彇瀹瑰櫒鐨勫疄闄呭昂瀵�
+ // 鑾峰彇瀹瑰櫒鐨勫疄闄呰鏍煎瀷鍙�
const rect = container.getBoundingClientRect?.()
const containerWidth = container.clientWidth || rect?.width || window.innerWidth
const containerHeight = container.clientHeight || rect?.height || window.innerHeight
@@ -927,15 +925,18 @@
})
}
// 搴斾粯搴旀敹缁熻
-const statisticsReceivable = (type) => {
- statisticsReceivablePayable({type: radio1.value}).then((res) => {
+const statisticsReceivable = (type = radio1.value) => {
+ statisticsReceivablePayable({ type }).then((res) => {
+ const data = res?.data || {}
+ const payableMoney = Number(data.payableMoney ?? 0)
+ const receivableMoney = Number(data.receivableMoney ?? 0)
// 璁剧疆搴斾粯閲戦鏁版嵁
barSeries.value[0].data = [
- { value: res.data.payableMoney }
+ { value: payableMoney }
]
// 璁剧疆搴旀敹閲戦鏁版嵁
barSeries.value[1].data = [
- { value: res.data.receivableMoney }
+ { value: receivableMoney }
]
})
}
@@ -1481,7 +1482,7 @@
overflow: hidden;
}
-/* 鍐呴儴鍐呭鍖哄煙 - 鍥哄畾璁捐灏哄 */
+/* 鍐呴儴鍐呭鍖哄煙 - 鍥哄畾璁捐瑙勬牸鍨嬪彿 */
.data-dashboard {
position: relative;
width: 1920px;
@@ -2033,4 +2034,4 @@
color: #B8C8E0;
font-size: 11px;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3