From fa4e27310cc170c1add9172c509e2344fe875434 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 22 Mar 2024 14:16:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E5=B7=A5=E5=8D=95=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=9B=B4=E6=96=B0=E4=B8=BB=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Detail/src/Detail.vue | 2 ++ src/views/eam/device/devicemaintenancejob/index.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 85b8ae9..2118961 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -531,6 +531,7 @@ const emit = defineEmits([ 'openImage', 'detailSubmitForm', 'detailOnChange', + 'deleteDetail' ]) /** 删除按钮操作 */ const handleDelete = async (id: number) => { @@ -543,6 +544,7 @@ const handleDelete = async (id: number) => { // 刷新列表 await getList() updateKey.value += 1 + emit('deleteDetail') setBeiJian() } catch {} } diff --git a/src/views/eam/device/devicemaintenancejob/index.vue b/src/views/eam/device/devicemaintenancejob/index.vue index 97e2cb1..da72048 100644 --- a/src/views/eam/device/devicemaintenancejob/index.vue +++ b/src/views/eam/device/devicemaintenancejob/index.vue @@ -105,6 +105,7 @@ :isSearchTableItem="true" :openFormCallBack="openFormCallBack" :buttonControllFunction="buttonControllFunction" + @deleteDetail="getList" />