jazz
2024-01-09 c1e10385c164520dceec34576ed506b28bad1e71
update_202401091203_单个治疗室多个客人的逻辑编写v4
6个文件已修改
37 ■■■■ 已修改文件
src/components/xio_room_guest_box/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/xio_room_guest_info_box/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/xio_room_info_block/index.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/xio_room_list_shop_chg/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/xio_room_off_narcosis_notice/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/room/detail.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/xio_room_guest_box/index.vue
@@ -17,7 +17,7 @@
            <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> -->
@@ -33,7 +33,7 @@
<script>
export default {
  name: 'XioRoomStatusChg',
  name: 'XioRoomGuestBox',
  props: {
    assignTreatListViewCom: {
      type: Array,
src/components/xio_room_guest_info_box/index.vue
@@ -52,7 +52,7 @@
// 通知卸麻
import XioRoomOffNarcosisNotice from '@/components/xio_room_off_narcosis_notice'
export default {
  name: 'XioRoomStatusChg',
  name: 'XioRoomGuestInfoBox',
  components: {
    XioRoomOffNarcosisNotice
  },
src/components/xio_room_info_block/index.vue
@@ -1,6 +1,12 @@
<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>
@@ -30,12 +36,18 @@
<script>
export default {
  name: 'XioRoomStatusChg',
  name: 'XioRoomInfoBlock',
  props: {
    occupyInfoView: {
      type: [Object, Array],
      default: () => {
        return {}
      }
    },
    occupyInfoViewArr: {
      type: Array,
      default: () => {
        return []
      }
    }
  },
@@ -81,14 +93,18 @@
  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;
src/components/xio_room_list_shop_chg/index.vue
@@ -12,7 +12,7 @@
<script>
import Req from '../../utils/jun_httpInstall' // http 请求
export default {
  name: 'XioRoomStatusChg',
  name: 'XioRoomListShopChg',
  props: {
    isActive: {
      type: Boolean,
src/components/xio_room_off_narcosis_notice/index.vue
@@ -15,7 +15,7 @@
<script>
export default {
  name: 'XioRoomStatusChg',
  name: 'XioRoomOffNarcosisNotice',
  props: {
    isActive: {
      type: Boolean,
src/pages/room/detail.vue
@@ -95,7 +95,7 @@
      </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" />
@@ -389,6 +389,7 @@
                userName: '黄嘉荣',
                gender: 1,
                hempStatus: 2,
                treatRoomStatus: 0,
                ciq: '123',
                adviserName: 'a君',
                aDoctorName: 'b君',
@@ -402,6 +403,7 @@
                userName: '李德华',
                gender: 1,
                hempStatus: 2,
                treatRoomStatus: 0,
                ciq: '456',
                adviserName: 'd君',
                aDoctorName: 'e君',
@@ -415,6 +417,7 @@
                userName: '猛学友',
                gender: 2,
                hempStatus: 2,
                treatRoomStatus: 0,
                ciq: '789',
                adviserName: 'g君',
                aDoctorName: 'h君',