From 6341b13cf9354ed0a949ca3e6e4616b5a40e8c15 Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Wed, 4 Feb 2026 16:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99=E5=88=A0=E9=99=A4=EF=BC=8C?= =?UTF-8?q?=E8=A7=84=E6=A0=BC=E5=9E=8B=E5=8F=B7=E9=94=99=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/back/detail.vue | 19 +++++++-------- .../stquery/deviceStatusRecord/index.vue | 23 ++++++++++--------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/pages/back/detail.vue b/src/pages/back/detail.vue index 22b4258..efe8a84 100644 --- a/src/pages/back/detail.vue +++ b/src/pages/back/detail.vue @@ -109,14 +109,14 @@ const options = ref([ fontSize: '30rpx', }, }, - // { - // text: '删除', - // style: { - // backgroundColor: '#ed6042', - // color: '#fff', - // fontSize: '30rpx', - // }, - // }, + { + text: '删除', + style: { + backgroundColor: '#ed6042', + color: '#fff', + fontSize: '30rpx', + }, + }, ]) // 右滑按钮组 @@ -191,8 +191,9 @@ const onClick = (e, item, itemIndex) => { } // 2. 删除 if (index === 1) { + console.log("xxxxxxxxxxxxxxx",item) let param = { - id:item.id, + typeId:item.typeId, parentId:item.parentId } deleteNumType(param).then(res => { diff --git a/src/pages/stquery/deviceStatusRecord/index.vue b/src/pages/stquery/deviceStatusRecord/index.vue index c91aba7..0b092d6 100644 --- a/src/pages/stquery/deviceStatusRecord/index.vue +++ b/src/pages/stquery/deviceStatusRecord/index.vue @@ -45,8 +45,8 @@ --> - - + - - + {{(index+1)}} @@ -77,7 +78,7 @@ {{item.storeNum}} {{item.usNum}} - +