From 562879cfd9b7f6cf11915efc3af8697bfcfb52a2 Mon Sep 17 00:00:00 2001 From: 1178634255 <1178634255@qq.com> Date: Thu, 6 Jul 2023 10:24:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/udi/udiTrace.js | 15 +++++++++ src/views/udi/trace/historyTask/index.vue | 38 +++++++++++++++++++-- src/views/udi/trace/task/index.vue | 41 +++++++++++++++++++++-- 3 files changed, 89 insertions(+), 5 deletions(-) diff --git a/src/api/udi/udiTrace.js b/src/api/udi/udiTrace.js index 1019320..ceea3c6 100644 --- a/src/api/udi/udiTrace.js +++ b/src/api/udi/udiTrace.js @@ -133,3 +133,18 @@ export function getTraceHistoryTaskList(query) { params: query }) } + +export function deleteTaskView(query) { + return axios({ + url: "udi/trace/task/delete", + method: "post", + data: query + }); +} +export function deleteTaskList(query) { + return axios({ + url: "udi/trace/task/deleteTaskList", + method: "post", + data: query + }); +} diff --git a/src/views/udi/trace/historyTask/index.vue b/src/views/udi/trace/historyTask/index.vue index 4c99b00..1e67e69 100644 --- a/src/views/udi/trace/historyTask/index.vue +++ b/src/views/udi/trace/historyTask/index.vue @@ -172,6 +172,7 @@ @click.native="handleView(scope.row,scope.index)" >详情 + 删除 @@ -289,7 +290,7 @@