update_202401091203_单个治疗室多个客人的逻辑编写v4
| | |
| | | <span class="tx flex-1 flex-1-w1 ell">{{ item.aDoctorName?item.aDoctorName+'(医生)、':'' }}{{ item.aNurseName?item.aNurseName+'(护士)':'' }}</span> |
| | | </div> |
| | | <div class="guest_list__td flex flex-center"> |
| | | <div v-if="!item.act" class="tx" style="text-decoration: underline;color: #227beb;">选择</div> |
| | | <div v-if="!item.act" class="tx" style="text-decoration: underline;color: #227beb;">加入</div> |
| | | <!-- <div class="icon"> |
| | | <img class="img" src="static/imgs/choose.png"> |
| | | </div> --> |
| | |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'XioRoomStatusChg', |
| | | name: 'XioRoomGuestBox', |
| | | props: { |
| | | assignTreatListViewCom: { |
| | | type: Array, |
| | |
| | | // 通知卸麻 |
| | | import XioRoomOffNarcosisNotice from '@/components/xio_room_off_narcosis_notice' |
| | | export default { |
| | | name: 'XioRoomStatusChg', |
| | | name: 'XioRoomGuestInfoBox', |
| | | components: { |
| | | XioRoomOffNarcosisNotice |
| | | }, |
| | |
| | | <template> |
| | | <div class="room_info"> |
| | | <div class="staff_box flex flex-ver flex-sb"> |
| | | <div v-if="occupyInfoViewArr.length > 1" class="staff_box_item flex-1 flex flex-center"> |
| | | <div> |
| | | <div class="staff_box_item__title">客户名称</div> |
| | | <div class="staff_box_item__name">{{ occupyInfoView.appellationName || occupyInfoView.userName || '' }}</div> |
| | | </div> |
| | | </div> |
| | | <div class="staff_box_item flex-1 flex flex-center"> |
| | | <div> |
| | | <div class="staff_box_item__title">分诊顾问</div> |
| | |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'XioRoomStatusChg', |
| | | name: 'XioRoomInfoBlock', |
| | | props: { |
| | | occupyInfoView: { |
| | | type: [Object, Array], |
| | | default: () => { |
| | | return {} |
| | | } |
| | | }, |
| | | occupyInfoViewArr: { |
| | | type: Array, |
| | | default: () => { |
| | | return [] |
| | | } |
| | | } |
| | | }, |
| | |
| | | height: 180px; |
| | | } |
| | | .room_info .staff_box_item:nth-child(1) { |
| | | background-color: rgba(255,255,255,0.1); |
| | | background-color: rgba(255,255,255,0.3); |
| | | } |
| | | .room_info .staff_box_item:nth-child(2) { |
| | | background-color: rgba(255,255,255,0.3); |
| | | background-color: rgba(255,255,255,0.1); |
| | | margin: 0 10px; |
| | | } |
| | | .room_info .staff_box_item:nth-child(3) { |
| | | background-color: rgba(255,255,255,0.3); |
| | | } |
| | | .room_info .staff_box_item:nth-child(4) { |
| | | background-color: rgba(255,255,255,0.1); |
| | | margin-left: 10px; |
| | | } |
| | | .room_info .staff_box_item__title { |
| | | line-height: 28px; |
| | |
| | | <script> |
| | | import Req from '../../utils/jun_httpInstall' // http 请求 |
| | | export default { |
| | | name: 'XioRoomStatusChg', |
| | | name: 'XioRoomListShopChg', |
| | | props: { |
| | | isActive: { |
| | | type: Boolean, |
| | |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'XioRoomStatusChg', |
| | | name: 'XioRoomOffNarcosisNotice', |
| | | props: { |
| | | isActive: { |
| | | type: Boolean, |
| | |
| | | </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君', |