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" />