From 25ef072e048df9b7d9461a55c48201dac80a8c4d Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 25 Sep 2024 14:09:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:utask=E5=A4=A7=E4=BB=BB=E5=8A=A1=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/pm.js | 8 ++++++++ src/views/pm/utask.vue | 20 ++++++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/api/model/pm.js b/src/api/model/pm.js index f7fd7f5a..698b0421 100644 --- a/src/api/model/pm.js +++ b/src/api/model/pm.js @@ -245,5 +245,13 @@ export default { ); } }, + submit:{ + name: "提交", + req: async function(id){ + return await http.post( + `${config.API_URL}/pm/utask/${id}/submit/`, + ); + } + }, } } \ No newline at end of file diff --git a/src/views/pm/utask.vue b/src/views/pm/utask.vue index 55ef5709..bb1e9b41 100644 --- a/src/views/pm/utask.vue +++ b/src/views/pm/utask.vue @@ -153,6 +153,15 @@ > 编辑 + + 提交 +