From 632715e3c1f03a957768d273aef03cae3a62f2f8 Mon Sep 17 00:00:00 2001 From: sunzehua Date: Mon, 29 Jul 2024 09:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/taskmanage/api.ts | 10 +- src/views/taskmanage/columns.tsx | 1 - src/views/taskmanage/components/pdf.vue | 43 +++++++- .../taskmanage/components/taskButton.vue | 34 ++++--- src/views/taskmanage/index.vue | 97 +++++++++++++++++-- src/views/taskmanage/taskList/BcEditing.vue | 71 +------------- 6 files changed, 158 insertions(+), 98 deletions(-) diff --git a/src/views/taskmanage/api.ts b/src/views/taskmanage/api.ts index 7b0ac0b1..bd9abb94 100644 --- a/src/views/taskmanage/api.ts +++ b/src/views/taskmanage/api.ts @@ -328,9 +328,17 @@ export function GetInfoByTaskId(parameter) { }) } +export function SetTaskOwner(parameter, query) { + return request({ + url: '/taskApi/TaskManage/SetTaskOwner?' + query, + method: 'post', + data: parameter + }) +} + export function DownloadFileByBC(parameter) { return request({ - url: '/taskApi/TaskManageBC/DownloadFile', + url: '/taskApi/TaskManage/DownloadFile', method: 'get', params: parameter, responseType: 'blob' diff --git a/src/views/taskmanage/columns.tsx b/src/views/taskmanage/columns.tsx index 6b283d7f..239a2456 100644 --- a/src/views/taskmanage/columns.tsx +++ b/src/views/taskmanage/columns.tsx @@ -265,7 +265,6 @@ function init() { sourceData.value = item.data } }) - console.log(typeData.value) }) } init() diff --git a/src/views/taskmanage/components/pdf.vue b/src/views/taskmanage/components/pdf.vue index 02965a6b..c9fb608f 100644 --- a/src/views/taskmanage/components/pdf.vue +++ b/src/views/taskmanage/components/pdf.vue @@ -3,11 +3,11 @@
- + {{ pdfName }} - + 下载pdf文件