See999 před 4 roky
rodič
revize
ad99cd7df4

+ 1 - 1
src/views/layout/components/Navbar.vue Zobrazit soubor

@@ -312,7 +312,7 @@ export default {
312 312
               this.showWsErr = false;
313 313
             }
314 314
             this.websocket.send("1");
315
-          }, 3000);
315
+          }, 55000);
316 316
         }
317 317
         
318 318
       }).catch(error => {

+ 6 - 10
src/xt_pages/dialysis/schedualPatient.vue Zobrazit soubor

@@ -346,17 +346,13 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
346 346
         clearInterval(timer)
347 347
       })
348 348
 
349
-      this.timers = setInterval(() => {
350
-        let obj = {
351
-            cmd: "queue/join",
352
-            data: {type:3,page:0,size:0},
353
-        };
354
-        this.websocketSend(obj)
355
-      }, 1000*50);
349
+      let obj = {
350
+          cmd: "queue/join",
351
+          data: {type:3,page:0,size:0},
352
+      };
353
+      this.websocketSend(obj)
356 354
     },
357 355
     beforeDestroy(){
358
-      clearInterval(this.timers);  // 清除定时器
359
-      this.timers = null
360 356
 
361 357
       let unObj = {
362 358
           cmd: "queue/unjoin",
@@ -380,7 +376,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
380 376
         this.websocket.onmessage = e => {
381 377
           let res = JSON.parse(e.data);
382 378
           // let res = re.data;
383
-          // console.log('res3333333333',res)
379
+          console.log('res3333333333',res)
384 380
           if(res.channel == 'queue/join'){
385 381
             if(res.data.fisrtQueueInfo != null){
386 382
               if(res.data.fisrtQueueInfo.create_time){

+ 8 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Zobrazit soubor

@@ -535,14 +535,16 @@
535 535
                       </td>
536 536
                       <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
537 537
                       </td>
538
-                      <td v-if="(dialysisOrder && monitor.operate_time > dialysisOrder.end_time ) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time)">
539
-                        {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
540
-                      </td>
541
-                      <td v-if="(dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time)">
542
-                        {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : 0 }}
538
+                      <td>
539
+                        <span v-if="(dialysisOrder && monitor.operate_time > dialysisOrder.end_time ) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time)">
540
+                          {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
541
+                        </span>
542
+                        <span v-if="(dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time)">
543
+                          {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : 0 }}
544
+                        </span>
543 545
                       </td>
544 546
                       <td>{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
545
-                      <td>{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}
547
+                      <td>{{ monitor.conductivity ? monitor.conductivity : "" }}
546 548
                       </td>
547 549
                       <td v-if="(dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time)">
548 550
                         {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}

+ 4 - 4
src/xt_pages/sign/lineUp.vue Zobrazit soubor

@@ -43,7 +43,7 @@
43 43
                 <div class="lineUpMain">
44 44
                     <div class="lineUpMainLeft">
45 45
                         <div class="lineUpMainLeftTitle">
46
-                            <p style="width:12%">排号</p>
46
+                            <p style="width:12%">排号</p>
47 47
                             <p style="width:14%">姓名</p>
48 48
                             <p style="width:14%">病例号</p>
49 49
                             <p style="width:14%">床位号</p>
@@ -122,7 +122,7 @@
122 122
                 <div class="lineUpMain">
123 123
                     <div class="lineUpMainLeft">
124 124
                         <div class="lineUpMainLeftTitle">
125
-                            <p style="width:12%">排号</p>
125
+                            <p style="width:12%">排号</p>
126 126
                             <p style="width:14%">姓名</p>
127 127
                             <p style="width:14%">病例号</p>
128 128
                             <p style="width:14%">床位号</p>
@@ -284,7 +284,7 @@ export default {
284 284
                 this.page++
285 285
                 let obj = {
286 286
                     cmd: "queue/queuelist",
287
-                    data: {page:this.page,size:6}
287
+                    data: {page:this.page,size:6,sort:0}
288 288
                 };
289 289
                 this.websocketSend(obj)
290 290
                 setTimeout(() => {
@@ -295,7 +295,7 @@ export default {
295 295
                 this.page = 1
296 296
                 let a = {
297 297
                     cmd: "queue/queuelist",
298
-                    data: {page:this.page,size:6}
298
+                    data: {page:this.page,size:6,sort:0}
299 299
                 };
300 300
                 this.websocketSend(a)
301 301
                 setTimeout(() => {

+ 8 - 7
src/xt_pages/sign/signIn.vue Zobrazit soubor

@@ -44,7 +44,7 @@
44 44
                     <div style="display: flex;justify-content: space-between;padding:10px;">
45 45
                         <div class="signInMainLeft">
46 46
                             <div class="signInMainLeftTitle">
47
-                                <p>排号</p>
47
+                                <p>排号</p>
48 48
                                 <p>姓名</p>
49 49
                                 <p>病历号</p>
50 50
                                 <p>签到时间</p>
@@ -61,7 +61,7 @@
61 61
                         <div class="signInMainRight">
62 62
                             <div class="signInMainRightTitle"><span style="margin:0 auto;" v-if='Object.keys(queueInfo).length>0'>{{ queueInfo.patient_name }}</span></div>
63 63
                             <div class="signInMainRightContent">
64
-                                <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>
64
+                                <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>
65 65
                             </div>
66 66
                             <div class="signInMianRightBottom"><span style="margin:0 auto;" v-if='Object.keys(queueInfo).length>0'>签到成功</span></div>
67 67
                         </div>
@@ -82,7 +82,7 @@
82 82
                     <div style="display: flex;justify-content: space-between;padding:10px;">
83 83
                         <div class="signInMainLeft">
84 84
                             <div class="signInMainLeftTitle">
85
-                                <p>排号</p>
85
+                                <p>排号</p>
86 86
                                 <p>姓名</p>
87 87
                                 <p>病历号</p>
88 88
                                 <p>签到时间</p>
@@ -99,7 +99,7 @@
99 99
                         <div class="signInMainRight">
100 100
                             <div class="signInMainRightTitle"><span style="margin:0 auto;" v-if='Object.keys(queueInfo).length>0'>{{ queueInfo.patient_name }}</span></div>
101 101
                             <div class="signInMainRightContent">
102
-                                <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>
102
+                                <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>
103 103
                             </div>
104 104
                             <div class="signInMianRightBottom"><span style="margin:0 auto;" v-if='Object.keys(queueInfo).length>0'>签到成功</span></div>
105 105
                         </div>
@@ -160,7 +160,7 @@ export default {
160 160
             this.page++
161 161
             let obj = {
162 162
                 cmd: "queue/queuelist",
163
-                data: {page:this.page,size:10}
163
+                data: {page:this.page,size:10,sort:1}
164 164
             };
165 165
             this.websocketSend(obj)
166 166
         }else{
@@ -168,7 +168,7 @@ export default {
168 168
             this.page = 1
169 169
             let newobj = {
170 170
                 cmd: "queue/queuelist",
171
-                data: {page:this.page,size:10}
171
+                data: {page:this.page,size:10,sort:1}
172 172
             };
173 173
             this.websocketSend(newobj)
174 174
         }
@@ -211,9 +211,10 @@ export default {
211 211
                 }else if(res.channel == "patientQueueInfo"){
212 212
 
213 213
                     this.queueInfo = res.data.queueInfo
214
+                    this.page = 1
214 215
                     let obj = {
215 216
                         cmd: "queue/queuelist",
216
-                        data: {page:1,size:10}
217
+                        data: {page:1,size:10,sort:1}
217 218
                     };
218 219
                     this.websocketSend(obj)
219 220