From e5d499ae6a4e6b320f71c49987b76cc11f6bc1e4 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 28 十月 2025 14:13:10 +0800
Subject: [PATCH] 首页问题
---
src/api/platform/check-score.js | 44 +++++++++++++++++++++++++++++++++++++++-----
1 files changed, 39 insertions(+), 5 deletions(-)
diff --git a/src/api/platform/check-score.js b/src/api/platform/check-score.js
index 8724889..77deeb0 100644
--- a/src/api/platform/check-score.js
+++ b/src/api/platform/check-score.js
@@ -1,19 +1,44 @@
import request from '@/utils/request'
-// 鏌ヨ鑰冩牳绉垎鏄庣粏鍒楄〃
-export function listScore(query) {
+// 鏌ヨ鑰冩牳绉垎鍗$墖鍒楄〃
+export function listScore(data) {
return request({
url: '/check/score/list',
+ method: 'post',
+ data: data
+ })
+}
+// 鏌ヨ鑰冩牳绉垎鍗$墖鍒楄〃
+export function barScore(data) {
+ return request({
+ url: '/check/score/bar',
+ method: 'post',
+ data: data
+ })
+}
+// 鏌ヨ鑰冩牳绉垎鎶樼嚎鍥�
+export function chartScore(query) {
+ return request({
+ url: '/check/score/chart',
+ method: 'get',
+ params: query
+ })
+}
+// 鏌ヨ鑰冩牳绉垎鏄庣粏鍒楄〃
+export function detailScore(query) {
+ return request({
+ url: '/check/score/detail',
method: 'get',
params: query
})
}
// 鏌ヨ鑰冩牳绉垎鏄庣粏璇︾粏
-export function getScore(id) {
+export function getScoreIndex(query) {
return request({
- url: '/check/score/' + id,
- method: 'get'
+ url: '/check/score/detail/index',
+ method: 'get',
+ params: query
})
}
@@ -35,6 +60,15 @@
})
}
+// 鍙戝竷鑰冩牳绉垎
+export function publishScore(data) {
+ return request({
+ url: '/check/score/publish',
+ method: 'put',
+ data: data
+ })
+}
+
// 鍒犻櫎鑰冩牳绉垎鏄庣粏
export function delScore(id) {
return request({
--
Gitblit v1.8.0