From b32150d1fd576fa3b89e85e2f99be2edc67b9293 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 17 九月 2024 16:26:15 +0800
Subject: [PATCH] 工单详情页优化

---
 src/api/platform/home.js |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/api/platform/home.js b/src/api/platform/home.js
index 9d5af3f..55c25fa 100644
--- a/src/api/platform/home.js
+++ b/src/api/platform/home.js
@@ -40,4 +40,21 @@
     url: '/home/ywUnitCount',
     method: 'get'
   })
+}
+
+// 鑰冩牳棰勮
+export function checkScore() {
+  return request({
+    url: '/home/checkScore',
+    method: 'get'
+  })
+}
+
+// 鏍哥畻鎶ヨ〃
+export function calculate(category) {
+  return request({
+    url: '/home/calculate',
+    method: 'get',
+    params: { category }
+  })
 }
\ No newline at end of file

--
Gitblit v1.8.0