From c06a5b40718062cc8b4b971322d7c394018cc972 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期五, 27 九月 2024 13:29:14 +0800 Subject: [PATCH] 评估 --- src/api/fysp/taskApi.js | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/api/fysp/taskApi.js b/src/api/fysp/taskApi.js index 787e520..fbdb714 100644 --- a/src/api/fysp/taskApi.js +++ b/src/api/fysp/taskApi.js @@ -9,6 +9,15 @@ }, /** + * 鏌ヨ鎬讳换鍔� + * @param {Object} param + * @returns + */ + fetchTopTasks(param) { + return $fysp.post('task/find', param).then((res) => res.data); + }, + + /** * 鑾峰彇瀛愪换鍔$粺璁′俊鎭� */ getSubtaskSummary({ topTaskId = undefined, sceneTypeId = undefined }) { @@ -16,8 +25,8 @@ .get('subtask/summary', { params: { topTaskId: topTaskId, - sceneTypeId: sceneTypeId, - }, + sceneTypeId: sceneTypeId + } }) .then((res) => res.data); }, @@ -29,9 +38,9 @@ return $fysp .get('problemlist/subtask', { params: { - stGuid: id, - }, + stGuid: id + } }) .then((res) => res.data); - }, + } }; -- Gitblit v1.9.3