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 1/3] =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=88=A0=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" /> From 6d3b7d6208104bed9769cbb2e1064864b1654d81 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 22 Mar 2024 14:41:46 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=A8=A1=E5=85=B7?= =?UTF-8?q?=E5=8F=B0=E8=B4=A6=E5=8E=BB=E6=8E=89=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eam/device/deviceAccounts/deviceAccounts.data.ts | 8 -------- src/views/eam/mold/moldAccounts/moldAccounts.data.ts | 7 ------- 2 files changed, 15 deletions(-) diff --git a/src/views/eam/device/deviceAccounts/deviceAccounts.data.ts b/src/views/eam/device/deviceAccounts/deviceAccounts.data.ts index 22390ad..3901aad 100644 --- a/src/views/eam/device/deviceAccounts/deviceAccounts.data.ts +++ b/src/views/eam/device/deviceAccounts/deviceAccounts.data.ts @@ -256,14 +256,6 @@ export const DeviceAccounts = useCrudSchemas(reactive([ isSearch: true, isForm: false, }, - - { - label: '描述', - field: 'describes', - sort: 'custom', - isSearch: false, - isForm: false, - }, { label: '操作', diff --git a/src/views/eam/mold/moldAccounts/moldAccounts.data.ts b/src/views/eam/mold/moldAccounts/moldAccounts.data.ts index 2e847d9..c0dd922 100644 --- a/src/views/eam/mold/moldAccounts/moldAccounts.data.ts +++ b/src/views/eam/mold/moldAccounts/moldAccounts.data.ts @@ -211,13 +211,6 @@ export const MoldAccounts = useCrudSchemas(reactive([ isForm: false, }, - { - label: '描述', - field: 'describes', - sort: 'custom', - isSearch: false, - isForm: false, - }, { label: '操作', From 4b1daa9bad44e7c470a9d66a4756b19cd84d98ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Fri, 22 Mar 2024 15:34:31 +0800 Subject: [PATCH 3/3] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Detail/src/approveDetail.vue | 70 +++++++++--------- .../deviceMaintenance.data.ts | 8 +- src/views/eam/basic/item/index.vue | 73 +++++++------------ 3 files changed, 67 insertions(+), 84 deletions(-) diff --git a/src/components/Detail/src/approveDetail.vue b/src/components/Detail/src/approveDetail.vue index 9ed46db..0480289 100644 --- a/src/components/Detail/src/approveDetail.vue +++ b/src/components/Detail/src/approveDetail.vue @@ -1,6 +1,6 @@