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', 'openImage',
'detailSubmitForm', 'detailSubmitForm',
'detailOnChange', 'detailOnChange',
'deleteDetail'
]) ])
/** 删除按钮操作 */ /** 删除按钮操作 */
const handleDelete = async (id: number) => { const handleDelete = async (id: number) => {
@ -543,6 +544,7 @@ const handleDelete = async (id: number) => {
// //
await getList() await getList()
updateKey.value += 1 updateKey.value += 1
emit('deleteDetail')
setBeiJian() setBeiJian()
} catch {} } catch {}
} }

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

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

Loading…
Cancel
Save