| | |
| | | </div> |
| | | <div class="right flex flex-col"> |
| | | <div v-for="(item,index) in occupyInfoViewArr" :key="index" class="flex-1 right_room_info"> |
| | | <XioRoomInfoBlock ref="XioRoomInfoBlock" :occupy-info-view="item" /> |
| | | <XioRoomInfoBlock ref="XioRoomInfoBlock" :occupy-info-view="item" :occupy-info-view-arr="occupyInfoViewArr" /> |
| | | </div> |
| | | <div v-if="occupyInfoViewArr.length<=1" class="flex flex-col" style="border-radius: 10px;"> |
| | | <XioRoomGuestBox ref="XioRoomGuestBox" :assign-treat-list-view-com="assignTreatListView" @selectCustomer="selectCustomer" /> |
| | |
| | | userName: '黄嘉荣', |
| | | gender: 1, |
| | | hempStatus: 2, |
| | | treatRoomStatus: 0, |
| | | ciq: '123', |
| | | adviserName: 'a君', |
| | | aDoctorName: 'b君', |
| | |
| | | userName: '李德华', |
| | | gender: 1, |
| | | hempStatus: 2, |
| | | treatRoomStatus: 0, |
| | | ciq: '456', |
| | | adviserName: 'd君', |
| | | aDoctorName: 'e君', |
| | |
| | | userName: '猛学友', |
| | | gender: 2, |
| | | hempStatus: 2, |
| | | treatRoomStatus: 0, |
| | | ciq: '789', |
| | | adviserName: 'g君', |
| | | aDoctorName: 'h君', |
| | |
| | | |
| | | // 当前选择客户的数组删除客户 |
| | | 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({ |