Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 4 years ago
parent
commit
4f45d39154

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -544,7 +544,7 @@
544 544
                         </span>
545 545
                       </td>
546 546
                       <td>{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
547
-                      <td>{{ monitor.conductivity ? monitor.conductivity : "" }}
547
+                      <td>{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}
548 548
                       </td>
549 549
                       <td v-if="(dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time)">
550 550
                         {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}

+ 16 - 5
src/xt_pages/sign/signIn.vue View File

@@ -42,7 +42,7 @@
42 42
                 </div>
43 43
                 <div class="signInMain">
44 44
                     <div style="display: flex;justify-content: space-between;padding:10px;">
45
-                        <div class="signInMainLeft">
45
+                        <div :class="Object.keys(queueInfo).length>0 ? 'signInMainLeft' : 'signInMainLeft100'">
46 46
                             <div class="signInMainLeftTitle">
47 47
                                 <p>排队号</p>
48 48
                                 <p>姓名</p>
@@ -63,7 +63,7 @@
63 63
                                 </div>
64 64
                             </div>
65 65
                         </div>
66
-                        <div class="signInMainRight">
66
+                        <div :class="Object.keys(queueInfo).length>0 ? 'signInMainRight' : 'noneSignInMainRight'" v-if='Object.keys(queueInfo).length>0'>
67 67
                             <div class="signInMainRightTitle"><span style="margin:0 auto;" v-if='Object.keys(queueInfo).length>0'>{{ queueInfo.patient_name }}</span></div>
68 68
                             <div class="signInMainRightContent">
69 69
                                 <p style="margin: 0 auto;display:flex;align-items: center;" v-if='Object.keys(queueInfo).length>0'><span>排队号&nbsp;</span><span style="font-size:180px;">{{ queueInfo.queue_no }}</span></p>
@@ -85,7 +85,7 @@
85 85
                 </div>
86 86
                 <div class="signInMain">
87 87
                     <div style="display: flex;justify-content: space-between;padding:10px;">
88
-                        <div class="signInMainLeft">
88
+                        <div :class="Object.keys(queueInfo).length>0 ? 'signInMainLeft' : 'signInMainLeft100'">
89 89
                             <div class="signInMainLeftTitle">
90 90
                                 <p>排队号</p>
91 91
                                 <p>姓名</p>
@@ -106,7 +106,7 @@
106 106
                                 </div>
107 107
                             </div>
108 108
                         </div>
109
-                        <div class="signInMainRight">
109
+                        <div :class="Object.keys(queueInfo).length>0 ? 'signInMainRight' : 'noneSignInMainRight'">
110 110
                             <div class="signInMainRightTitle"><span style="margin:0 auto;" v-if='Object.keys(queueInfo).length>0'>{{ queueInfo.patient_name }}</span></div>
111 111
                             <div class="signInMainRightContent">
112 112
                                 <p style="margin: 0 auto;display:flex;align-items: center;" v-if='Object.keys(queueInfo).length>0'><span>排队号&nbsp;</span><span style="font-size:180px;">{{ queueInfo.queue_no }}</span></p>
@@ -230,6 +230,9 @@ export default {
230 230
                         data: {page:1,size:10,sort:1}
231 231
                     };
232 232
                     this.websocketSend(obj)
233
+                    setTimeout(() => { 
234
+                       this.queueInfo = {} 
235
+                    }, 10000);
233 236
                     
234 237
                 }else if(res.channel == 'queue/queuelist'){
235 238
                     console.log(11111111111,res.data)
@@ -284,7 +287,7 @@ export default {
284 287
                 this.showSetting = false;
285 288
             }
286 289
         },
287
-    }
290
+    },
288 291
 }
289 292
 </script>
290 293
 
@@ -313,6 +316,11 @@ export default {
313 316
         height: 980px;
314 317
         border-radius: 15px;
315 318
     }
319
+    .signInMainLeft100{
320
+        width:99%;
321
+        height: 980px;
322
+        border-radius: 15px;
323
+    }
316 324
     .signInMainLeftTitle{
317 325
         display: flex;
318 326
         justify-content: space-between;
@@ -365,6 +373,9 @@ export default {
365 373
         width: 30%;
366 374
         height: 980px;
367 375
     }
376
+    .noneSignInMainRight{
377
+        display: none;
378
+    }
368 379
     .signInMainRightTitle{
369 380
         height: 260px;
370 381
         border-radius: 15px 15px 0 0;