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); }, } };