jxmanxk
2024-01-23 5311b8ec19221a560aeca28262f14433b7781801
update_202401231742_强制重置房间状态,不传治疗记录数组
1个文件已修改
18 ■■■■ 已修改文件
src/pages/room/detail.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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({