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 @@