From 036c737f1d72639ee86449411c88c9bd507d9d20 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 14 Sep 2023 14:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BB=BB=E5=8A=A1=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/task.js | 10 ++- subpkg/otherTask/otherTask.vue | 117 +++++++++++++++++++++------------ 2 files changed, 84 insertions(+), 43 deletions(-) diff --git a/api/task.js b/api/task.js index 94b0299..b982545 100644 --- a/api/task.js +++ b/api/task.js @@ -29,9 +29,15 @@ export const taskAddTricycleCoordinate = (data) => oahttp.post('/task/add_tricyc /** * 任务:入股详情 */ -export const taskShareholder = (data) => oahttp.post('/task/shareholder', data) +export const taskShareholder = (data) => oahttp.get('/task/shareholder', data) /** - * 任务:三轮车详情 + * 任务:其他任务详情 */ export const taskOtherTaskDetail = (data) => oahttp.get('/task/other_task_detail', data) + +/** + * 任务:提交其他任务 + */ +export const taskOtherTaskUpload = (data) => oahttp.post('/task/commit', data) + diff --git a/subpkg/otherTask/otherTask.vue b/subpkg/otherTask/otherTask.vue index 64a4321..e8dccef 100644 --- a/subpkg/otherTask/otherTask.vue +++ b/subpkg/otherTask/otherTask.vue @@ -1,68 +1,97 @@