From 90ab562f5eac24e0e3b334335f6d76438236f305 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 21 八月 2025 10:04:30 +0800
Subject: [PATCH] 完成档案统计

---
 src/views/index.vue |   26 ++++++++------------------
 1 files changed, 8 insertions(+), 18 deletions(-)

diff --git a/src/views/index.vue b/src/views/index.vue
index 852ef6a..154c476 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -68,11 +68,11 @@
 					<li v-for="item in todoList" :key="item.id">
 						<div style="display: flex;flex-direction: column;justify-content: space-between;width: 100%;gap: 20px">
 							<div style="display: flex;justify-content: space-between;align-items: center;">
-								<div class="todo-title">娴佺▼缂栧彿锛歿{item.approveId}}</div>
-								<div class="todo-division">鐢宠閮ㄩ棬锛歿{item.approveDeptName}}</div>
+								<div class="todo-title">寰呭姙缂栧彿锛歿{item.approveId}}</div>
+								<div class="todo-division">閮ㄩ棬锛歿{item.approveDeptName}}</div>
 								<div class="todo-time">{{item.approveTime}}</div>
 							</div>
-							<div class="todo-division">瀹℃壒浜嬬敱锛歿{item.approveReason}}</div>
+							<div class="todo-division">寰呭姙浜嬬敱锛歿{item.approveReason}}</div>
 						</div>
 					</li>
 				</ul>
@@ -277,7 +277,7 @@
 }])
 const yAxis = [{
 	type: 'category',
-	data: ['棰勪粯璐︽', '搴斾粯璐︽', '棰勬敹璐︽', '搴旀敹璐︽',]
+	data: [ '搴斾粯璐︽', '搴旀敹璐︽',]
 }]
 const yAxis1 = [{
 	type: 'value'
@@ -337,16 +337,6 @@
 	}
 ])
 
-// 鍚堝悓閲戦鍒嗘瀽鏁版嵁
-const contractList = [
-	{ name: '娣卞湷绉戞妧鏈夐檺鍏徃', percent: 36, value: 4544, color: '#4fc3f7' },
-	{ name: '鍖椾含绉戞妧鏈夐檺鍏徃', percent: 20, value: 4000, color: '#81c784' },
-	{ name: '骞垮窞绉戞妧鏈夐檺鍏徃', percent: 16, value: 3113, color: '#ffb74d' },
-	{ name: '涓婃捣绉戞妧鏈夐檺鍏徃', percent: 10, value: 2341, color: '#ba68c8' },
-	{ name: '鍗椾含绉戞妧鏈夐檺鍏徃', percent: 9, value: 1231, color: '#e57373' },
-	{ name: '鍖椾含鏈潵绉戞妧鏈夐檺鍏徃', percent: 9, value: 1231, color: '#64b5f6' }
-]
-
 // 寰呭姙浜嬮」
 const todoList = ref([])
 const radio1 = ref(1)
@@ -399,10 +389,10 @@
 	console.log(type)
 	statisticsReceivablePayable({type: radio1.value}).then((res) => {
 		barSeries.value[0].data = [
-			{ value: res.data.prepayMoney, itemStyle: { color: barColors2[0] } },
-			{ value: res.data.payableMoney, itemStyle: { color: barColors2[1] } },
-			{ value: res.data.advanceMoney, itemStyle: { color: barColors2[2] } },
-			{ value: res.data.receivableMoney, itemStyle: { color: barColors2[3] } }
+			// { value: res.data.prepayMoney, itemStyle: { color: barColors2[0] } },
+			{ value: res.data.payableMoney, itemStyle: { color: barColors2[0] } },
+			// { value: res.data.advanceMoney, itemStyle: { color: barColors2[2] } },
+			{ value: res.data.receivableMoney, itemStyle: { color: barColors2[1] } }
 		]
 	})
 }

--
Gitblit v1.9.3