Browse Source

维修工单删除更新主页面

master
zhang_li 8 months ago
parent
commit
fa4e27310c
  1. 2
      src/components/Detail/src/Detail.vue
  2. 1
      src/views/eam/device/devicemaintenancejob/index.vue

2
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 {}
}

1
src/views/eam/device/devicemaintenancejob/index.vue

@ -105,6 +105,7 @@
:isSearchTableItem="true"
:openFormCallBack="openFormCallBack"
:buttonControllFunction="buttonControllFunction"
@deleteDetail="getList"
/>
<!-- 导入 -->

Loading…
Cancel
Save