jazz
2023-12-28 583e1038163d7b95f7927f83b19d81f6eac32020
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<template>
  <div class="guest_box">
    <div class="guest_title flex flex-center">等待诊疗</div>
    <div class="guest_block flex-1">
      <div v-if="assignTreatListViewCom && assignTreatListViewCom.length" class="guest_list">
        <div v-for="(item, index) in assignTreatListViewCom" :key="index" class="guest_list__row flex flex-ver" @click="selectCustomer(item)">
          <div class="guest_list__td">
            <div class="tx flex flex-ver">
              <div class="flex-1 flex-1-w1 ell">{{ item.userName }}</div>
            </div>
            <div class="tx" style="font-size: 14px;line-height: 20px;">{{ item.ciq || '' }}</div>
          </div>
          <div class="guest_list__td flex flex-center">
            <span class="tx">{{ item.startTime?item.startTime+'开始':'' }}</span>
          </div>
          <div class="guest_list__td flex flex-center">
            <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 class="icon">
                    <img class="img" src="static/imgs/choose.png">
                  </div> -->
          </div>
        </div>
      </div>
      <div v-if="!assignTreatListViewCom || !assignTreatListViewCom.length" class="guest_list">
        <div class="guest_list__row flex flex-center rowtip">暂无数据</div>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  name: 'XioRoomStatusChg',
  props: {
    assignTreatListViewCom: {
      type: Array,
      default: () => {
        return []
      }
    }
  },
  data() {
    return {
      isShow: false
    }
  },
  methods: {
    noop() {
      return
    },
    // 确认
    selectCustomer(item) {
      this.$emit('selectCustomer', item)
    },
    // 显示弹窗
    showDialog() {
      this.isShow = true
    },
    // 关闭弹窗
    hideDialog() {
      this.isShow = false
      this.$emit('confirm', { })
    }
  }
}
</script>
 
<style scoped>
.guest_title {
  height: 60px;
  line-height: 28px;
  border-radius: 10px 10px 0px 0px;
  background-color: rgba(255,255,255,1);
  color: rgba(34,123,235,1);
  font-size: 20px;
  text-align: center;
  font-family: Roboto;
  font-weight: bold;
}
.guest_block {
  background-color: #fff;
  overflow: auto;
}
.guest_list {
  background-color: #fff;
  padding-bottom: 23px;
}
.guest_list__row {
  min-height: 75px;
  background-color: rgba(34,123,235,0.1);
}
.guest_list__row:nth-child(2n) {
  background-color: #fff;
}
.guest_list__row.rowtip {
  background-color: #fff;
  line-height: 30px;
  color: rgba(0,0,0,.5);
  font-size: 22px;
}
.guest_list__td {}
.guest_list__td .tx {
  line-height: 30px;
  color: rgba(16,16,16,1);
  font-size: 22px;
  text-align: center;
  font-family: PingFangSC-regular;
  box-sizing: border-box;
  padding: 0 5px;
}
.guest_list__td .icon {
  width: 20px;
  height: 20px;
  display: block;
}
.guest_list__td .icon .img {
  width: 100%;
  height: 100%;
}
.guest_list__td:nth-child(1) {
  width: 19.54%;
}
.guest_list__td:nth-child(2) {
  width: 21.86%;
}
.guest_list__td:nth-child(3) {
  width: 46.06%;
}
.guest_list__td:nth-child(4) {
  width: 12.54%;
}
.guest_box {
  margin-top: 65px;
  width: 100%;
  height: 345px;
  background-color: #fff;
  overflow: hidden;
}
</style>