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/check-score.js | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/api/platform/check-score.js b/src/api/platform/check-score.js index e368106..8b4d400 100644 --- a/src/api/platform/check-score.js +++ b/src/api/platform/check-score.js @@ -1,9 +1,17 @@ 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 chartScore(query) { + return request({ + url: '/check/score/chart', method: 'get', params: query }) @@ -18,10 +26,11 @@ } // 鏌ヨ鑰冩牳绉垎鏄庣粏璇︾粏 -export function getScoreIndex(id) { +export function getScoreIndex(query) { return request({ - url: '/check/score/detail/' + id, - method: 'get' + url: '/check/score/detail/index', + method: 'get', + params: query }) } -- Gitblit v1.8.0