From 5311b8ec19221a560aeca28262f14433b7781801 Mon Sep 17 00:00:00 2001 From: jxmanxk <312142485@qq.com> Date: 星期二, 23 一月 2024 17:43:53 +0800 Subject: [PATCH] update_202401231742_强制重置房间状态,不传治疗记录数组 --- src/pages/room/detail.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/room/detail.vue b/src/pages/room/detail.vue index f76c17b..032c3b9 100644 --- a/src/pages/room/detail.vue +++ b/src/pages/room/detail.vue @@ -571,18 +571,18 @@ // 褰撳墠閫夋嫨瀹㈡埛鐨勬暟缁勫垹闄ゅ鎴� this.occupyInfoViewArrDataHandle('cancel', item) + params.treatRoomList = [] + if (arr && arr.length) { + arr.forEach((o) => { + params.treatRoomList.push({ + treatRecordId: o.id, + status: o.treatRoomStatus + }) + }) + } } else { // 鏇存敼鐨勭姸鎬� params.status = status * 1 - } - params.treatRoomList = [] - if (arr && arr.length) { - arr.forEach((o) => { - params.treatRoomList.push({ - treatRecordId: o.id, - status: o.treatRoomStatus - }) - }) } Req.http.post({ -- Gitblit v1.8.0