From 021918e56d73f7c8953238fa931e56c49bd77158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E5=95=A6C=E6=A2=A6?= <15709267061@163.com> Date: Mon, 16 Jun 2025 20:54:42 +0800 Subject: [PATCH] update --- src/api/system/index.js | 4 +- src/components/AcceptAssignmentModal.vue | 3 +- src/components/TaskCard.vue | 2 +- src/components/XUpload.vue | 2 +- src/pages/myTask/index.vue | 61 ++++++++++--------- .../taskDetails/components/MyBackfill.vue | 20 +++--- .../components/ReviewCommunication.vue | 4 +- src/pages/taskDetails/index.vue | 16 +++-- 8 files changed, 63 insertions(+), 49 deletions(-) diff --git a/src/api/system/index.js b/src/api/system/index.js index fee6b5c..bb5a641 100644 --- a/src/api/system/index.js +++ b/src/api/system/index.js @@ -104,11 +104,11 @@ const system = { data: data, }); }, - getTaskinfo: async (id) => { + getTaskinfo: async (id, task_children_id) => { return request({ method: MethodsENUM.POST, url: "/task/getTaskinfo", - data: {id}, + data: {id, task_children_id}, }); }, getArticleCategory: async (data) => { diff --git a/src/components/AcceptAssignmentModal.vue b/src/components/AcceptAssignmentModal.vue index 932b41b..1c3251f 100644 --- a/src/components/AcceptAssignmentModal.vue +++ b/src/components/AcceptAssignmentModal.vue @@ -37,7 +37,8 @@ const tabs = [ const getData = async () => { const {data} = await Api.system.myAccount({ - status: po.status + 1 + status: po.status + 1, + pid: details.platform_id, }); vo.length = 0; vo.push(...data); diff --git a/src/components/TaskCard.vue b/src/components/TaskCard.vue index 45a72ea..cb23735 100644 --- a/src/components/TaskCard.vue +++ b/src/components/TaskCard.vue @@ -16,7 +16,7 @@ const {data} = defineProps({