From 4b3d328272a3eb4c4a9e5f7d09577b393b437f87 Mon Sep 17 00:00:00 2001 From: MO <448233645@qq.com> Date: Thu, 9 Nov 2023 15:42:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9B=E6=80=A7=E6=A3=80=E6=B5=8B=E6=94=B9?= =?UTF-8?q?=E6=88=90=E5=8F=AF=E5=88=87=E6=8D=A2=20Switch=20=E5=BC=80?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/setting/detection/index.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/setting/detection/index.vue b/src/views/setting/detection/index.vue index 5f74b53c..d4fc0145 100644 --- a/src/views/setting/detection/index.vue +++ b/src/views/setting/detection/index.vue @@ -124,10 +124,13 @@ @@ -281,6 +284,10 @@ export default { this.resetForm("queryForm"); this.handleQuery(); }, + //切换状态 + handleChangeStatus(data) { + updateDetection(data).then((response) => {}); + }, /** 新增按钮操作 */ handleAdd() { this.reset();