From d42c1951afa2dfd0465e2849473b087e683bb117 Mon Sep 17 00:00:00 2001 From: LL Date: Thu, 26 Feb 2026 11:21:13 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=B7=A1=E6=A3=80=E8=AE=B0?= =?UTF-8?q?=E5=BD=95bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/hengAnShield/inspectionRecord/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/modules/hengAnShield/inspectionRecord/index.vue b/src/views/modules/hengAnShield/inspectionRecord/index.vue index 6e26bd9b4..b0adf5f8b 100644 --- a/src/views/modules/hengAnShield/inspectionRecord/index.vue +++ b/src/views/modules/hengAnShield/inspectionRecord/index.vue @@ -104,7 +104,7 @@ import dayjs from 'dayjs' import { mapGetters } from 'vuex' import inspectionRecordDialog from '@/views/modules/hengAnShield/inspectionRecord/components/inspectionRecordDialog' -import { requestPost } from "@/js/dai/request"; +import { requestPost, requestDelete } from "@/js/dai/request"; import { Loading } from 'element-ui' let loading // 加载动画 @@ -280,9 +280,8 @@ export default { type: "warning" }) .then(async () => { - const url = "/actual/base/importantTask/delete" - let id = [row.id] - const { data, code, internalMsg } = await requestPost(url, id) + const url = "/actual/base/residentPatrolRecord/delete/" + row.id + const { data, code, internalMsg } = await requestDelete(url) if (code === 0) { this.$message({ type: "success",