Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/20230223_pad_vue_new_branch' into 20230223_pad_vue_new_branch

28169 1 nedēļu atpakaļ
vecāks
revīzija
d55e87abcb

+ 1 - 1
build/cdn.json Parādīt failu

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "2999.999.13748"
2
+  "version": "2999.999.13737"
3 3
 }

+ 180 - 55
src/pages/main/beforeDialysis/components/dialysisParameters.vue Parādīt failu

@@ -45,6 +45,7 @@
45 45
             </el-table-column>
46 46
             <el-table-column prop="address" label="抗凝剂(首剂)(维持)(总量)" width="120" align="center">
47 47
                 <template slot-scope="scope">
48
+                  <span v-if="getAnticoagulant(scope.row.patient_id)!=''">
48 49
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 0"></span>
49 50
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 1">无肝素</span>
50 51
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 2">普通肝素</span>
@@ -57,7 +58,8 @@
57 58
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 9">达肝素</span>
58 59
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 10">体外抗凝</span>
59 60
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 11">那屈肝素</span>
60
-                     <span v-if="getAnticoagulant(scope.row.patient_id) == 12">无抗凝剂</span>
61
+                    <span v-if="getAnticoagulant(scope.row.patient_id) == 12">无抗凝剂</span>
62
+
61 63
                     <span>
62 64
                       {{getAnticoagulantShouji(scope.row.patient_id)?getAnticoagulantShouji(scope.row.patient_id):''}}
63 65
                       <span v-if="getAnticoagulant(scope.row.patient_id) ==1 && getAnticoagulantShouji(scope.row.patient_id)!=''">mg)</span>
@@ -97,30 +99,56 @@
97 99
                       <span v-if="getAnticoagulant(scope.row.patient_id) == 9 && getAnticoagulantZongliang(scope.row.patient_id)!=''">iu/h)</span>
98 100
                       <span v-if="getAnticoagulant(scope.row.patient_id) == 10 && getAnticoagulantZongliang(scope.row.patient_id)!=''">mg)</span>
99 101
                     </span>
102
+                  </span>
103
+
104
+                  <span v-if="getAnticoagulant(scope.row.patient_id)==''">
105
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 1">无肝素</span>
106
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 2">普通肝素</span>
107
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 3">低分子肝素</span>
108
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 4">阿加曲班</span>
109
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 5">枸橼酸钠</span>
110
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 6">低分子肝素钙</span>
111
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 7">低分子肝素钠</span>
112
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 8">依诺肝素</span>
113
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 9">达肝素</span>
114
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 10">体外抗凝</span>
115
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 11">那屈肝素</span>
116
+                       <span v-if="scope.row.dialysis_solution.anticoagulant == 12">无抗凝剂</span>
117
+                       ({{scope.row.dialysis_solution.anticoagulant_shouji}}iu) 
118
+                       ({{scope.row.dialysis_solution.anticoagulant_weichi}} iu/h)
119
+                       ({{scope.row.dialysis_solution.anticoagulant_zongliang}} iu)
120
+                  </span>
121
+                  
122
+                  
100 123
                 </template>
101 124
             </el-table-column>
102
-             <el-table-column prop="address" label="透析器/灌流器" width="100" align="center">
125
+             <el-table-column prop="address" label="透析器/灌流器" width="100" align="center" v-if="org_id!=10721">
103 126
                 <template slot-scope="scope">
104
-                   {{getDialyzerPerfusionApparatus(scope.row.patient_id)?getDialyzerPerfusionApparatus(scope.row.patient_id):""}}
127
+                    {{getDialyzerPerfusionApparatus(scope.row.patient_id)?getDialyzerPerfusionApparatus(scope.row.patient_id):""}}
128
+
105 129
                 </template>
106 130
              </el-table-column>
107 131
 
108 132
              <el-table-column prop="address" label="透析器" width="100" align="center">
109 133
                 <template slot-scope="scope">
110
-                   {{getDialyzerPerfusionApparatusOne(scope.row.patient_id)?getDialyzerPerfusionApparatusOne(scope.row.patient_id):""}}
134
+                   <span v-if="getDialyzerPerfusionApparatusOne(scope.row.patient_id)!=''"> {{getDialyzerPerfusionApparatusOne(scope.row.patient_id)?getDialyzerPerfusionApparatusOne(scope.row.patient_id):""}}</span>
135
+                   <span v-if="getDialyzerPerfusionApparatusOne(scope.row.patient_id) ==''"> {{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
111 136
                 </template>
112 137
              </el-table-column>
113 138
 
114 139
              <el-table-column prop="address" label="灌流器" width="100" align="center">
115 140
                 <template slot-scope="scope">
116
-                   {{getDialyzerPerfusionApparatusTwo(scope.row.patient_id)?getDialyzerPerfusionApparatusTwo(scope.row.patient_id):""}}
141
+                  <span v-if="getDialyzerPerfusionApparatusTwo(scope.row.patient_id)!=''"> {{getDialyzerPerfusionApparatusTwo(scope.row.patient_id)?getDialyzerPerfusionApparatusTwo(scope.row.patient_id):""}}</span>
142
+                  <span v-if="getDialyzerPerfusionApparatusTwo(scope.row.patient_id) ==''">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
117 143
                 </template>
118 144
              </el-table-column>
119 145
 
120 146
              
121 147
              <el-table-column prop="address" label="滤过器" width="100" align="center">
122 148
                 <template slot-scope="scope">
123
-                   {{getDialyzerPerfusionApparatusThree(scope.row.patient_id)?getDialyzerPerfusionApparatusThree(scope.row.patient_id):""}}
149
+                  <span v-if="getDialyzerPerfusionApparatusThree(scope.row.patient_id)!=''">{{getDialyzerPerfusionApparatusThree(scope.row.patient_id)?getDialyzerPerfusionApparatusThree(scope.row.patient_id):""}}</span> 
150
+
151
+                  <span v-if="getDialyzerPerfusionApparatusThree(scope.row.patient_id)==''">{{ scope.row.dialysis_solution.dialysis_strainer }}</span> 
124 152
                 </template>
125 153
              </el-table-column>
126 154
 
@@ -163,10 +191,12 @@ export default {
163 191
       dialysisbefor: [],
164 192
       isStop: false,
165 193
       loading: true,
166
-      datalist: []
194
+      datalist: [],
195
+      org_id:0,
167 196
     }
168 197
   },
169 198
   created () {
199
+     this.org_id = this.$store.getters.user.template_info.org_id
170 200
     this.tableHeight = (document.documentElement.clientHeight - (Number(document.documentElement.style.fontSize.slice(0, -2)) * 4)) + 'px'
171 201
     // 获取透析参数统计表
172 202
     this.getlist()
@@ -288,7 +318,57 @@ export default {
288 318
             if (patient[i].mode_id == 28) {
289 319
               patient[i].mode_id = 'CVVHDF'
290 320
             }
321
+            if (patient[i].mode_id == 29) {
322
+              patient[i].mode_id = 'PE'
323
+            }
324
+            if (patient[i].mode_id == 30) {
325
+              patient[i].mode_id = '血浆胆红素吸附+HP'
326
+            }
327
+            if (patient[i].mode_id == 31) {
328
+              patient[i].mode_id = 'HPD'
329
+            }
330
+            if (patient[i].mode_id == 32) {
331
+              patient[i].mode_id = 'HDP'
332
+            }
333
+            if (patient[i].mode_id == 33) {
334
+              patient[i].mode_id = 'HFD'
335
+            }
336
+            if (patient[i].mode_id == 34) {
337
+              patient[i].mode_id = 'HDF100'
338
+            }
339
+            if (patient[i].mode_id == 35) {
340
+              patient[i].mode_id = 'HDF600'
341
+            }
342
+            if (patient[i].mode_id == 36) {
343
+              patient[i].mode_id = 'HDF800'
344
+            }
345
+            if (patient[i].mode_id == 37) {
346
+              patient[i].mode_id = 'HDF1000'
347
+            }
348
+            if (patient[i].mode_id == 38) {
349
+              patient[i].mode_id = 'HDF80'
350
+            }
351
+            if (patient[i].mode_id == 39) {
352
+              patient[i].mode_id = 'HF16'
353
+            }
354
+            if (patient[i].mode_id == 40) {
355
+              patient[i].mode_id = 'HD(无肝素)'
356
+            }
357
+            if (patient[i].mode_id == 41) {
358
+              patient[i].mode_id = 'HDF17H'
359
+            }
360
+            if (patient[i].mode_id == 42) {
361
+              patient[i].mode_id = 'HD.'
362
+            }
363
+            if (patient[i].mode_id == 43) {
364
+              patient[i].mode_id = 'HD(2)'
365
+            }
366
+            if (patient[i].mode_id == 44) {
367
+              patient[i].mode_id = '导管溶栓'
368
+            }
369
+            this.datalist = []
291 370
             this.datalist = patient
371
+            this.tableData = []
292 372
             this.tableData = patient
293 373
             this.$nextTick(() => {
294 374
               this.$refs.tab.doLayout()
@@ -305,152 +385,197 @@ export default {
305 385
     },
306 386
     getLastWeight (id) {
307 387
       var lastweight = ''
308
-      for (let i = 0; i < this.dialysisBefor.length; i++) {
309
-        if (this.dialysisBefor[i].patient_id == id) {
310
-          lastweight = this.dialysisBefor[i].weight_after_last_transparency
388
+      if(this.dialysisBefor!=undefined || this.dialysisBefor!=null ){
389
+        for (let i = 0; i < this.dialysisBefor.length; i++) {
390
+          if (this.dialysisBefor[i].patient_id == id) {
391
+            lastweight = this.dialysisBefor[i].weight_after_last_transparency
392
+          }
311 393
         }
312 394
       }
395
+     
313 396
       return lastweight
314 397
     },
315 398
     getLastbloodAccessPartentid(id){
316 399
        var blood_access_part_id  = ""
317
-       for (let i = 0; i < this.dialysisBefor.length; i++) {
318
-        if (this.dialysisBefor[i].patient_id == id) {
400
+       if(this.dialysisBefor!=undefined ||  this.dialysisBefor!=null){
401
+        for (let i = 0; i < this.dialysisBefor.length; i++) {
402
+         if (this.dialysisBefor[i].patient_id == id) {
319 403
           blood_access_part_id = this.dialysisBefor[i].blood_access_part_id
320
-        }
404
+         }
321 405
 
322
-        return blood_access_part_id
406
+        }
407
+       }
408
+       return blood_access_part_id
323 409
 
324
-      }
325 410
     },
326 411
     getLastbloodAccesspartOperaId(id){
327 412
       var blood_access_part_id  = ""
328
-       for (let i = 0; i < this.dialysisBefor.length; i++) {
413
+      if(this.dialysisBefor!=undefined && this.dialysisBefor!=null){
414
+        for (let i = 0; i < this.dialysisBefor.length; i++) {
329 415
         if (this.dialysisBefor[i].patient_id == id) {
330 416
           blood_access_part_id = this.getBloodAccess(this.dialysisBefor[i].blood_access_part_opera_id)
331 417
         }
332
-
333
-        return blood_access_part_id
334
-
418
+       }
335 419
       }
336
-     
420
+       
421
+      return blood_access_part_id
422
+
337 423
     },
338 424
     getWeightBefor (id) {
339
-      var assessmentBeforWeight = ''
340
-      for (let i = 0; i < this.dialysisBefor.length; i++) {
341
-        if (this.dialysisBefor[i].patient_id == id) {
342
-          assessmentBeforWeight = this.dialysisBefor[i].weight_before
425
+      if(this.dialysisBefor!=undefined && this.dialysisBefor!=null){
426
+        var assessmentBeforWeight = ''
427
+        for (let i = 0; i < this.dialysisBefor.length; i++) {
428
+          if (this.dialysisBefor[i].patient_id == id) {
429
+            assessmentBeforWeight = this.dialysisBefor[i].weight_before
430
+          }
343 431
         }
344 432
       }
433
+      
345 434
       return assessmentBeforWeight
346 435
     },
347 436
     getDryWeight (id) {
348 437
       var dryWeight = ''
349
-      for (let i = 0; i < this.dialysisBefor.length; i++) {
350
-        if (this.dialysisBefor[i].patient_id == id) {
351
-          dryWeight = this.dialysisBefor[i].dry_weight
438
+      if(this.dialysisBefor!=undefined && this.dialysisBefor!=null){
439
+        for (let i = 0; i < this.dialysisBefor.length; i++) {
440
+          if (this.dialysisBefor[i].patient_id == id) {
441
+            dryWeight = this.dialysisBefor[i].dry_weight
442
+          }
352 443
         }
353 444
       }
445
+     
354 446
       return dryWeight
355 447
     },
356 448
     getSysBloodPressure (id) {
357 449
       var sysBloodPressure = ''
358
-      for (let i = 0; i < this.dialysisBefor.length; i++) {
450
+      if(this.dialysisBefor!=undefined || this.dialysisBefor!=null){
451
+        for (let i = 0; i < this.dialysisBefor.length; i++) {
359 452
         if (this.dialysisBefor[i].patient_id == id) {
360 453
           sysBloodPressure = this.dialysisBefor[i].systolic_blood_pressure
361 454
         }
455
+       }
362 456
       }
457
+      
363 458
       return sysBloodPressure
364 459
     },
365 460
     getTargetUltrafiltration (id) {
366 461
       var targetUltrafiltration = ''
367
-      for (let i = 0; i < this.prescriptionList.length; i++) {
368
-        if (this.prescriptionList[i].patient_id == id) {
369
-          targetUltrafiltration = this.prescriptionList[i].target_ultrafiltration
370
-        }
462
+      if(this.prescriptionList!=undefined || this.prescriptionList!=null){
463
+        for (let i = 0; i < this.prescriptionList.length; i++) {
464
+          if (this.prescriptionList[i].patient_id == id) {
465
+            targetUltrafiltration = this.prescriptionList[i].target_ultrafiltration
466
+          }
467
+       }
371 468
       }
469
+     
372 470
       return targetUltrafiltration
373 471
     },
374 472
     getBloodFlowVolume (id) {
375 473
       var bloodFlowVolume = ''
376
-      for (let i = 0; i < this.prescriptionList.length; i++) {
474
+      if(this.prescriptionList!=undefined && this.prescriptionList!=null){
475
+        for (let i = 0; i < this.prescriptionList.length; i++) {
377 476
         if (this.prescriptionList[i].patient_id == id) {
378 477
           bloodFlowVolume = this.prescriptionList[i].blood_flow_volume
379 478
         }
479
+       }
380 480
       }
481
+    
381 482
       return bloodFlowVolume
382 483
     },
383 484
     getDialyzerPerfusionApparatus (id) {
384 485
       var dialyzerPerfusionApparatus = ''
385
-      for (let i = 0; i < this.prescriptionList.length; i++) {
386
-        if (this.prescriptionList[i].patient_id == id) {
387
-          dialyzerPerfusionApparatus = this.prescriptionList[i].dialyzer_perfusion_apparatus
486
+      if(this.prescriptionList!=undefined && this.prescriptionList!=null){
487
+        for (let i = 0; i < this.prescriptionList.length; i++) {
488
+          if (this.prescriptionList[i].patient_id == id) {
489
+            dialyzerPerfusionApparatus = this.prescriptionList[i].dialyzer_perfusion_apparatus
490
+          }
388 491
         }
389 492
       }
493
+   
390 494
       return dialyzerPerfusionApparatus
391 495
     },
392 496
     getDialyzerPerfusionApparatusOne(id){
393 497
       var dialyzerPerfusionApparatus = ''
394
-      for (let i = 0; i < this.prescriptionList.length; i++) {
395
-        if (this.prescriptionList[i].patient_id == id) {
396
-          dialyzerPerfusionApparatus = this.prescriptionList[i].dialysis_dialyszers
397
-        }
498
+      if(this.prescriptionList!=undefined || this.prescriptionList!=null){
499
+        for (let i = 0; i < this.prescriptionList.length; i++) {
500
+          if (this.prescriptionList[i].patient_id == id) {
501
+            dialyzerPerfusionApparatus = this.prescriptionList[i].dialysis_dialyszers
502
+          }
503
+       }
398 504
       }
505
+     
399 506
       return dialyzerPerfusionApparatus
400 507
     },
401 508
     getDialyzerPerfusionApparatusTwo(id){
402 509
       var dialyzerPerfusionApparatus = ''
403
-      for (let i = 0; i < this.prescriptionList.length; i++) {
510
+      if(this.prescriptionList!=undefined || this.prescriptionList!=null){
511
+        for (let i = 0; i < this.prescriptionList.length; i++) {
404 512
         if (this.prescriptionList[i].patient_id == id) {
405 513
           dialyzerPerfusionApparatus = this.prescriptionList[i].dialysis_irrigation
406 514
         }
515
+       }
407 516
       }
517
+     
408 518
       return dialyzerPerfusionApparatus
409 519
     },
410 520
     getDialyzerPerfusionApparatusThree(id){
411 521
    
412 522
       var dialyzerPerfusionApparatus = ''
413
-      for (let i = 0; i < this.prescriptionList.length; i++) {
414
-        if (this.prescriptionList[i].patient_id == id) {
415
-          dialyzerPerfusionApparatus = this.prescriptionList[i].dialysis_strainer
523
+      if(this.prescriptionList!=undefined || this.prescriptionList!=null ){
524
+        for (let i = 0; i < this.prescriptionList.length; i++) {
525
+          if (this.prescriptionList[i].patient_id == id) {
526
+            dialyzerPerfusionApparatus = this.prescriptionList[i].dialysis_strainer
527
+          }
416 528
         }
417 529
       }
530
+    
418 531
       return dialyzerPerfusionApparatus
419 532
     },
420 533
     getAnticoagulant (id) {
421 534
       var anticoagulant = ''
422
-      for (let i = 0; i < this.prescriptionList.length; i++) {
423
-        if (this.prescriptionList[i].patient_id == id) {
424
-          anticoagulant = this.prescriptionList[i].anticoagulant
425
-        }
535
+      if(this.prescriptionList!=undefined || this.prescriptionList!=null){
536
+        for (let i = 0; i < this.prescriptionList.length; i++) {
537
+          if (this.prescriptionList[i].patient_id == id) {
538
+            anticoagulant = this.prescriptionList[i].anticoagulant
539
+          }
540
+       }
426 541
       }
542
+     
427 543
       return anticoagulant
428 544
     },
429 545
     getAnticoagulantShouji (id) {
430 546
       var shouji = ''
431
-      for (let i = 0; i < this.prescriptionList.length; i++) {
432
-        if (this.prescriptionList[i].patient_id == id && this.prescriptionList[i].anticoagulant_shouji != 0) {
433
-          shouji = '(' + this.prescriptionList[i].anticoagulant_shouji
434
-        }
547
+      if(this.prescriptionList!=undefined || this.prescriptionList!=null){
548
+        for (let i = 0; i < this.prescriptionList.length; i++) {
549
+          if (this.prescriptionList[i].patient_id == id && this.prescriptionList[i].anticoagulant_shouji != 0) {
550
+            shouji = '(' + this.prescriptionList[i].anticoagulant_shouji
551
+          }
552
+       }
435 553
       }
554
+      
436 555
       return shouji
437 556
     },
438 557
     getAnticoagulantWeichi (id) {
439 558
       var weichi = ''
440
-      for (let i = 0; i < this.prescriptionList.length; i++) {
559
+      if(this.prescriptionList!=undefined || this.prescriptionList!=null){
560
+        for (let i = 0; i < this.prescriptionList.length; i++) {
441 561
         if (this.prescriptionList[i].patient_id == id && this.prescriptionList[i].anticoagulant_weichi != 0) {
442 562
           weichi = '(' + this.prescriptionList[i].anticoagulant_weichi
443 563
         }
444
-        return weichi
564
+       
565
+       }
445 566
       }
567
+      return weichi
446 568
     },
447 569
     getAnticoagulantZongliang (id) {
448 570
       var zongliang = ''
449
-      for (let i = 0; i < this.prescriptionList.length; i++) {
571
+      if(this.prescriptionList!=undefined || this.prescriptionList!=null){
572
+        for (let i = 0; i < this.prescriptionList.length; i++) {
450 573
         if (this.prescriptionList[i].patient_id == id && this.prescriptionList[i].anticoagulant_zongliang != 0) {
451 574
           zongliang = '(' + this.prescriptionList[i].anticoagulant_zongliang
452 575
         }
576
+       }
453 577
       }
578
+     
454 579
       return zongliang
455 580
     },
456 581
 

+ 4 - 4
src/pages/main/newActionBar/dialysisPrescription.vue Parādīt failu

@@ -2136,11 +2136,11 @@ export default {
2136 2136
               this.dialysisPrescription.prescription_water = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2137 2137
             }
2138 2138
           }else if(this.$store.getters.user.template_info.org_id == 10721){
2139
-            if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2139
+            if(this.dialysisPrescription.target_ultrafiltration<=0 || this.dialysisPrescription.target_ultrafiltration==""){
2140 2140
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2141 2141
             }
2142 2142
            
2143
-            if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
2143
+            if(this.dialysisPrescription.prescription_water<=0 || this.dialysisPrescription.prescription_water==""){
2144 2144
               this.dialysisPrescription.prescription_water = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2145 2145
             }
2146 2146
           }else{
@@ -2177,10 +2177,10 @@ export default {
2177 2177
     }else{
2178 2178
       if(this.$store.getters.user.template_info.org_id == 10702 ||  this.$store.getters.user.template_info.org_id == 10635 || this.$store.getters.user.template_info.org_id==10721){
2179 2179
         console.log("康桥this.dialysisPrescription",this.dialysisPrescription.prescription_water)
2180
-        if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
2180
+        if(this.dialysisPrescription.prescription_water<=0 || this.dialysisPrescription.prescription_water==""){
2181 2181
             this.dialysisPrescription.prescription_water = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2182 2182
           }
2183
-        if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2183
+        if(this.dialysisPrescription.target_ultrafiltration<=0 || this.dialysisPrescription.target_ultrafiltration==""){
2184 2184
             this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2185 2185
         }
2186 2186
       }

+ 5 - 5
src/pages/main/newActionBar/monitoring.vue Parādīt failu

@@ -132,9 +132,9 @@
132 132
                     <span v-if="org_id==10644">{{item.transmembrane_pressure?item.transmembrane_pressure:''}}</span>
133 133
                   </td>
134 134
                   <td v-if="isShow('跨膜压1')" >{{item.transmembrane_pressure_one?item.transmembrane_pressure_one:'/'}}</td>
135
-                  <td v-if="isShow('超滤量') && (org_id==10551 || org_id ==10617 || org_id ==10629 || org_id ==10679 || org_id ==10693 || org_id ==10702 || org_id ==10721)" >
135
+                  <td v-if="isShow('超滤量') && (org_id==10551 || org_id ==10617 || org_id ==10629 || org_id ==10679 || org_id ==10693 || org_id ==10702 || org_id ==10721 || org_id ==10644)" >
136 136
                     {{item.ultrafiltration_volume?item.ultrafiltration_volume:'0'}}</td>
137
-                  <td v-if="isShow('超滤量') && org_id!=10551 && org_id != 10617 && org_id!=10629 && org_id!=10679 && org_id!=10693 && org_id!=10702" >
137
+                  <td v-if="isShow('超滤量') && org_id!=10551 && org_id != 10617 && org_id!=10629 && org_id!=10679 && org_id!=10693 && org_id!=10702 && org_id!=10721 && org_id!=10644" >
138 138
                     <span v-if="org_id ==10612">
139 139
                       <span v-if="index == 1"> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "0" }}</span>
140 140
                       <span v-if="index!=1"> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}</span>
@@ -152,8 +152,8 @@
152 152
                   <td v-if="isShow('置换率')">{{item.replacement_rate?item.replacement_rate:''}}</td>
153 153
                   <td v-if="isShow('置换率1')">{{item.replacement_rate_one?item.replacement_rate_one:'/'}}</td>
154 154
                   <td v-if="isShow('置换量')" >
155
-                    <span v-if="org_id!=10702 && org_id!=10721"> {{item.displacement_quantity?item.displacement_quantity:''}}</span> 
156
-                    <span v-if="org_id==10702 || org_id == 10721"> {{item.displacement_quantity?item.displacement_quantity:'0'}}</span> 
155
+                    <span v-if="org_id!=10702 && org_id!=10721 && org_id!=10644"> {{item.displacement_quantity?item.displacement_quantity:''}}</span> 
156
+                    <span v-if="org_id==10702 || org_id == 10721 || org_id == 10644"> {{item.displacement_quantity?item.displacement_quantity:'0'}}</span> 
157 157
                   </td>
158 158
                  
159 159
                   <td v-if="isShow('SpO₂') && template_id != 6 && template_id != 10  && template_id != 11" >
@@ -2044,7 +2044,7 @@ methods: {
2044 2044
 
2045 2045
 
2046 2046
       //超滤率 超滤量自动计算
2047
-      if(this.org_id == 10597 || this.org_id ==10599 || this.org_id ==10587 || this.org_id ==10571 || this.org_id==10579 || this.org_id ==10600 || this.org_id ==10612 || this.org_id ==10617 || this.org_id ==10580 || this.org_id ==10375 || this.org_id ==10629 || this.org_id ==10480  || this.org_id ==10414 || this.org_id ==10679 || this.org_id ==10693 || this.org_id == 10694 || this.org_id == 10697 || this.org_id ==10702 || this.org_id ==10723){
2047
+      if(this.org_id == 10597 || this.org_id ==10599 || this.org_id ==10587 || this.org_id ==10571 || this.org_id==10579 || this.org_id ==10600 || this.org_id ==10612 || this.org_id ==10617 || this.org_id ==10580 || this.org_id ==10375 || this.org_id ==10629 || this.org_id ==10480  || this.org_id ==10414 || this.org_id ==10679 || this.org_id ==10693 || this.org_id == 10694 || this.org_id == 10697 || this.org_id ==10702 || this.org_id ==10723 || this.org_id == 10721){
2048 2048
 
2049 2049
         if(lastMonitorRecordList!=null){
2050 2050
           this.form.ultrafiltration_rate = lastMonitorRecordList.ultrafiltration_rate?lastMonitorRecordList.ultrafiltration_rate:""

+ 1 - 1
src/pages/main/template/DialysisPrintOrderSix.vue Parādīt failu

@@ -843,7 +843,7 @@
843 843
                         {{ monitor.replacement_speed?monitor.replacement_speed:"" }}
844 844
                         <br />
845 845
                         </td>
846
-                      <td v-if="(org_id!=10683 && (prescription.mode_id==2 || prescription.mode_id==5 || prescription.mode_id== 12))"  width="50" >{{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}</td>
846
+                      <td v-if="(org_id!=10683 && (prescription.mode_id==2 || prescription.mode_id==5 || prescription.mode_id== 12))"  width="50" >{{ monitor.displacement_quantity ? monitor.displacement_quantity : "0" }}</td>
847 847
 
848 848
                       <td width="50" v-if="org_id == 3877 || org_id == 10449">{{monitor.filter_pressure }}</td>
849 849
                       <td width="50" v-if="org_id == 9919 || org_id == 9538|| org_id == 9675 || org_id ==10629 || org_id ==10517  || org_id == 10567 || org_id ==10724">

+ 12 - 1
src/pages/main/template/DialysisPrintOrdereightyone.vue Parādīt failu

@@ -1914,8 +1914,19 @@ export default {
1914 1914
         const advicearr = []
1915 1915
         for(let i in this.doctor_advices){
1916 1916
           if(this.doctor_advices[i].delivery_way!='口服' && this.doctor_advices[i].delivery_way!='中药口服'){
1917
-            advicearr.push(this.doctor_advices[i])
1917
+            if(this.doctor_advices[i].execution_frequency.indexOf("上机前") == -1 ){
1918
+              advicearr.push(this.doctor_advices[i])
1919
+            } 
1920
+           
1918 1921
           }
1922
+
1923
+          // if(this.doctor_advices[i].delivery_way!='口服' && this.doctor_advices[i].delivery_way!='中药口服'){
1924
+             
1925
+          //   if(this.doctor_advices[i].execution_frequency.indexOf("上机前") == -1 ){
1926
+          //     advicearr.push(this.doctor_advices[i])
1927
+          //   } 
1928
+          // }
1929
+
1919 1930
         }
1920 1931
         this.doctor_advices = []
1921 1932
         this.doctor_advices = advicearr

+ 2 - 2
src/pages/main/today/TodayTab.vue Parādīt failu

@@ -1418,7 +1418,7 @@ export default {
1418 1418
                  
1419 1419
                 //针对 濉溪杏康血液透析中心
1420 1420
                 if(this.$store.getters.user.template_info.org_id == 10721){
1421
-                  if(his_doctor_advices[i].execution_frequency.indexOf("上机前") == -1){
1421
+                  if(his_doctor_advices[i].execution_frequency.indexOf("上机前") == -1 && his_doctor_advices[i].delivery_way.indexOf("口服")==-1){
1422 1422
                     doctor_advices.push(his_doctor_advices[i])
1423 1423
                   }
1424 1424
                 }else{
@@ -1430,7 +1430,7 @@ export default {
1430 1430
                   doctor_advices = []
1431 1431
                   //针对 濉溪杏康血液透析中心
1432 1432
                   if(this.$store.getters.user.template_info.org_id == 10721){
1433
-                    if(his_doctor_advices[i].execution_frequency.indexOf("上机前") == -1){
1433
+                    if(his_doctor_advices[i].execution_frequency.indexOf("上机前") == -1 && his_doctor_advices[i].delivery_way.indexOf("口服")==-1){
1434 1434
                       doctor_advices.push(his_doctor_advices[i])
1435 1435
                     }
1436 1436
                   }else{

+ 5 - 5
src/pages/main/today/dialysisMonitoring.vue Parādīt failu

@@ -105,20 +105,20 @@
105 105
           <td v-if="isShow('跨膜压')" >{{ item.transmembrane_pressure ? item.transmembrane_pressure : "" }}</td>
106 106
           <td v-if="isShow('跨膜压1')" >{{ item.venous_pressure_one ? item.venous_pressure_one : "/" }}</td>
107 107
           <td v-if="isShow('超滤量')&&(org_id ==10551 || org_id ==10629 || org_id ==10679|| org_id ==10693 || org_id ==10702 || org_id == 10721)" >{{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "0" }}</td>
108
-          <td v-if="isShow('超滤量')&&org_id !=10551 && org_id!=10629 && org_id != 10679&&org_id!=10693 &&org_id!=10702" >
109
-            <span v-if="org_id == 10612">
108
+          <td v-if="isShow('超滤量')&&org_id !=10551 && org_id!=10629 && org_id != 10679&&org_id!=10693 &&org_id!=10702 && org_id!=10721" >
109
+            <span v-if="org_id == 10612 || org_id == 10721">
110 110
               <span v-if="index == 1"> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "0" }}</span>
111 111
                <span v-if="index!=1"> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}</span>
112 112
             </span>
113
-            <span v-if="org_id != 10612">
113
+            <span v-if="org_id != 10612 && org_id!=10721">
114 114
               <span> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}</span>
115 115
             </span>
116 116
 
117 117
           </td>
118 118
           <td v-if="isShow('超滤量1')" >{{item.ultrafiltration_volume_one?item.ultrafiltration_volume_one:'/'}}</td>
119 119
           <td v-if="isShow('超滤率')" >
120
-            <span v-if="org_id==10702">{{item.ultrafiltration_rate?item.ultrafiltration_rate:'0'}} </span> 
121
-            <span v-if="org_id!=10702">{{item.ultrafiltration_rate?item.ultrafiltration_rate:''}} </span> 
120
+            <span v-if="org_id==10702 || org_id == 10721">{{item.ultrafiltration_rate?item.ultrafiltration_rate:'0'}} </span> 
121
+            <span v-if="org_id!=10702 && org_id!=10721">{{item.ultrafiltration_rate?item.ultrafiltration_rate:''}} </span> 
122 122
           </td>
123 123
           <td v-if="isShow('超滤率2')" >{{item.ultrafiltration_rate_one?item.ultrafiltration_rate_one:''}}</td>
124 124
           <td v-if="isShow('钠浓度')">{{ item.sodium_concentration ? item.sodium_concentration : "" }}</td>