From 88ee4a9ad0bb6524032cebee786e0df6e957b326 Mon Sep 17 00:00:00 2001 From: douyage Date: Thu, 15 Oct 2026 15:11:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E8=A6=81=E6=B1=82=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/videosMonitor/index.js | 11 ++++ src/layout/components/AppMain.vue | 21 ++------ src/layout/components/TagsView/index.vue | 15 +++--- src/layout/index.vue | 52 ++++++------------- src/router/index.js | 5 +- src/store/modules/tagsView.js | 6 ++- src/views/cards/assets/styles/index.scss | 16 +----- .../cards/taskSummary/inspectionTask.vue | 47 ++++++++++++++++- .../portal/components/PortalDeviceTree.vue | 6 ++- src/views/video/LivePreview.vue | 52 +++++++++++++++++-- src/views/video/components/NvrDeviceTree.vue | 6 ++- 11 files changed, 151 insertions(+), 86 deletions(-) diff --git a/src/api/videosMonitor/index.js b/src/api/videosMonitor/index.js index 37caf67..4fc3219 100644 --- a/src/api/videosMonitor/index.js +++ b/src/api/videosMonitor/index.js @@ -124,6 +124,17 @@ export function taskStatusChange(params) { params, }); } +/** + * 按巡视任务执行 ID 删除任务状态。多个 ID 用英文逗号拼在路径里,不传请求体。 + * @param {string} taskPatrolledIds + */ +export function removeTaskStatus(taskPatrolledIds) { + return request({ + url: "/patrol/taskstatus/removeByTaskPatrolledIds/" + taskPatrolledIds, + method: "post", + headers: { repeatSubmit: false }, + }); +} /** * 录像列表 * @param {*} data diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index d2bd206..bf4d072 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -46,7 +46,7 @@ export default {