Browse Source

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

陈少旭 1 month ago
parent
commit
ca185c23ff
37 changed files with 9030 additions and 10108 deletions
  1. 2 1
      src/api/drug/drug_stock.js
  2. 6 2
      src/xt_pages/Pharmacy/DrugDispensing.vue
  3. 6 5
      src/xt_pages/Pharmacy/PatientDispensing.vue
  4. 451 661
      src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue
  5. 489 747
      src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue
  6. 47 42
      src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue
  7. 10 7
      src/xt_pages/dialysis/batch_print/batch_print_order_seventyfour.vue
  8. 1256 2276
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  9. 49 3
      src/xt_pages/dialysis/details/consumable/dialysisGood.vue
  10. 41 2
      src/xt_pages/dialysis/details/consumable/dialysisGoodCountPrint.vue
  11. 4 4
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  12. 3327 4596
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  13. 8 6
      src/xt_pages/dialysis/template/DialysisPrintOrderSop.vue
  14. 3 3
      src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue
  15. 600 834
      src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue
  16. 298 219
      src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue
  17. 24 3
      src/xt_pages/outpatientTool/components/print9919.vue
  18. 4 1
      src/xt_pages/stock/detail/print.vue
  19. 24 4
      src/xt_pages/stock/detail/stockInDetail.vue
  20. 20 4
      src/xt_pages/stock/detail/stockOutDetail.vue
  21. 82 1
      src/xt_pages/stock/drugs/components/drugCancelDetail.vue
  22. 89 2
      src/xt_pages/stock/drugs/components/drugInOrder.vue
  23. 108 4
      src/xt_pages/stock/drugs/components/drugOutDetail.vue
  24. 4 0
      src/xt_pages/stock/drugs/drugOutOrderPrint.vue
  25. 2 0
      src/xt_pages/stock/drugs/drugPrint.vue
  26. 8 0
      src/xt_pages/stock/drugs/drugStockInOrderAdd.vue
  27. 7 0
      src/xt_pages/stock/drugs/drugStockInOrderEdit.vue
  28. 602 560
      src/xt_pages/user/Informed/Informedconsent.vue
  29. 206 0
      src/xt_pages/user/Informed/components/informef_Twentyfive.vue
  30. 213 0
      src/xt_pages/user/Informed/components/informef_Twentyfour.vue
  31. 210 0
      src/xt_pages/user/Informed/components/informef_Twentysevre.vue
  32. 202 0
      src/xt_pages/user/Informed/components/informef_Twentysix.vue
  33. 11 4
      src/xt_pages/user/courseOfDisease_new.vue
  34. 56 4
      src/xt_pages/user/dialysisSolution.vue
  35. 62 55
      src/xt_pages/user/physiqueprinting.vue
  36. 2 1
      src/xt_pages/user/sickHistory_new.vue
  37. 497 57
      src/xt_pages/workforce/scheduleTablePrintTwo.vue

+ 2 - 1
src/api/drug/drug_stock.js View File

@@ -679,4 +679,5 @@ export function ModityDrugCodeWarehouseInfo(data){
679 679
     method:"post",
680 680
     data:data,
681 681
   })
682
-}
682
+}
683
+

+ 6 - 2
src/xt_pages/Pharmacy/DrugDispensing.vue View File

@@ -439,13 +439,14 @@
439 439
           <el-button type="primary" @click="SaveSetting">保 存</el-button>
440 440
         </span>
441 441
       </el-dialog>
442
-
442
+      <!-- 药品追溯码 -->
443 443
       <el-dialog
444 444
         title="药品追溯码"
445 445
         :visible.sync="dialogVisibleOne"
446 446
          width="40%">
447 447
        <span>
448 448
         <el-input
449
+          ref="Datefrom"
449 450
           @keyup.native="changeText"
450 451
           type="textarea"
451 452
           placeholder="请输入内容"
@@ -550,6 +551,7 @@ export default {
550 551
   },
551 552
 
552 553
   methods: {
554
+    // 追溯码
553 555
     getDrugCode(id,DataSources,DrugCode,index){
554 556
       this.id = id 
555 557
       var is_source =0
@@ -563,7 +565,9 @@ export default {
563 565
        this.textarea = DrugCode
564 566
        this.currentIndex = index
565 567
        this.dialogVisibleOne = true
566
-
568
+       this.$nextTick(()=>{
569
+        this.$refs.Datefrom.focus()
570
+       })
567 571
     },
568 572
     saveTextArea(){
569 573
       

+ 6 - 5
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -435,7 +435,7 @@ export default {
435 435
   methods: {
436 436
     openDialog(){
437 437
       this.$nextTick(() => {
438
-        this.$refs.inputRef.$refs.input.focus()
438
+        this.$refs.inputRef.focus()
439 439
       });
440 440
     },
441 441
     changevalue(row){
@@ -1244,7 +1244,7 @@ export default {
1244 1244
     getDrugCode(id,DataSources,DrugCode,index,DrugId){
1245 1245
       
1246 1246
      // 针对百霖
1247
-       if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 0){
1247
+       if(this.$store.getters.xt_user.org.id == 10138 ){
1248 1248
           var params = {
1249 1249
             drug_id:DrugId,
1250 1250
             start_time:moment().subtract(15, 'days').format("YYYY-MM-DD")
@@ -1328,10 +1328,11 @@ export default {
1328 1328
         this.is_source = is_source
1329 1329
         this.textarea = DrugCode
1330 1330
         this.currentIndex = index
1331
-        
1332 1331
         this.dialogVisibleOne = true
1333 1332
        }
1334
-
1333
+       this.$nextTick(()=>{
1334
+        this.$refs.inputRef.focus()
1335
+       })
1335 1336
      
1336 1337
 
1337 1338
     },
@@ -1356,7 +1357,7 @@ export default {
1356 1357
     },
1357 1358
     changeText(event){
1358 1359
 
1359
-     
1360
+     console.log("event------------",event.key)
1360 1361
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1361 1362
       if (event.key === 'Enter') {
1362 1363
        

File diff suppressed because it is too large
+ 451 - 661
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue


File diff suppressed because it is too large
+ 489 - 747
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue


+ 47 - 42
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue View File

@@ -96,14 +96,14 @@
96 96
               <div class="inline_block">
97 97
                 入科方式:
98 98
                 <div v-for="(item, i) in way_arr" class="under_line" v-if="record.receive_assessment.way == item.id"
99
-                  style="width: 180px; text-align: left">
99
+                  style="width: 100px; text-align: left">
100 100
                   {{ item.name }}
101 101
                 </div>
102 102
               </div>
103 103
               <div class="inline_block" style="margin-left: 10px" v-if="org_id != 10460 && org_id != 10624">
104 104
                 诊断:
105 105
                 <div class="under_line" style="
106
-                    width: 640px;
106
+                    width: 440px;
107 107
                     text-align: left;
108 108
                     word-break: break-all;
109 109
                     word-wrap: break-word;
@@ -155,8 +155,8 @@
155 155
                           透前症状:
156 156
                           <div class="under_line" style="width: 50%; text-align: center;white-space: normal;">
157 157
                             {{
158
-                              record.assessment_before_dislysis.symptom_before_dialysis
159
-                                ? record.assessment_before_dislysis.symptom_before_dialysis
158
+                              record.assessment_before_dislysis.befor_symptoms
159
+                                ? record.assessment_before_dislysis.befor_symptoms
160 160
                                 : "/"
161 161
                             }}
162 162
                           </div>
@@ -249,7 +249,7 @@
249 249
                         <div class="inline_block" style="flex: 1;">
250 250
                           内瘘:
251 251
                           <div class="under_line" style="
252
-                              width: 150px;
252
+                              width: 80%;
253 253
                               text-align: center;
254 254
                               white-space: normal;
255 255
                             ">
@@ -263,7 +263,7 @@
263 263
 
264 264
                         <div class="inline_block" style="flex: 1">
265 265
                           导管:
266
-                          <div class="under_line" style="width: 150px; text-align: center">
266
+                          <div class="under_line" style="width: 80%; text-align: center">
267 267
                             {{ record.assessment_before_dislysis.catheter ?
268 268
                               record.assessment_before_dislysis.catheter : "/"
269 269
                             }}
@@ -274,7 +274,6 @@
274 274
                       <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
275 275
                         <div class="inline_block" style="flex: 1">
276 276
                           <span>透析方式:</span>
277
-
278 277
                           <div class="under_line" style="
279 278
                               width: 100px;
280 279
                               text-align: center;
@@ -410,11 +409,11 @@
410 409
                           kg
411 410
                         </div>
412 411
                         <div class="inline_block" style="flex: 1">
413
-                          <span>计划超滤量:</span>
412
+                          <span>处方脱水量:</span>
414 413
                           <div class="under_line" style="width: 100px; text-align: center">
415 414
                             {{
416
-                              record.prescription.target_ultrafiltration
417
-                                ? record.prescription.target_ultrafiltration
415
+                              record.prescription.prescription_water
416
+                                ? record.prescription.prescription_water
418 417
                                 : "/"
419 418
                             }}
420 419
                           </div>
@@ -663,10 +662,11 @@
663 662
                             </td>
664 663
                             <td width="50">静脉压<br />(mmHg)</td>
665 664
                             <td width="50">跨膜压<br />(mmHg)</td>
666
-                            <td width="70">透析液温度(°C)</td>
665
+                            <td width="70">体温<br/>(°C)</td>
667 666
                             <td width="50">电导度<br />(ms/cm)</td>
668 667
                             <td width="50">超滤量<br />(ml)</td>
669 668
                             <td width="200">病情变化及处理</td>
669
+                            <td width="80">护士签名</td>
670 670
                           </tr>
671 671
 
672 672
                           <tr v-for="(monitor, j) in record.monitor_records" :key="j">
@@ -717,8 +717,8 @@
717 717
                                 }}
718 718
                               </span>
719 719
                             </td>
720
-                            <td v-if="org_id != 9919 && org_id != 9671 && org_id != 9836 && org_id != 10644">
721
-                              {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
720
+                            <td>
721
+                              {{ monitor.temperature ? monitor.temperature : "" }}
722 722
                             </td>
723 723
                             <td>{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
724 724
                             <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}</td>
@@ -738,12 +738,12 @@
738 738
                                     vertical-align: middle;
739 739
                                     height: auto;
740 740
                                   ">
741
-                                  <template v-if="
741
+                                  <!-- <template v-if="
742 742
                                     (dialysisOrder &&
743 743
                                       monitor.operate_time ==
744 744
                                       dialysisOrder.start_time) && (org_id != 10414) && (org_id != 10683)
745 745
                                   ">【开始透析】 <span v-if="org_id == 10598">引血100ml/min</span>
746
-                                  </template>
746
+                                  </template> -->
747 747
 
748 748
                                   {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
749 749
                                     monitor.dispose
@@ -752,6 +752,14 @@
752 752
                                 </span>
753 753
                               </div>
754 754
                             </td>
755
+                            <td>
756
+                              <span v-if=" setAdminUserES(monitor, 'monitoring_nurse') ==''">
757
+                                  {{
758
+                                    getAdminUser(monitor, "monitoring_nurse")
759
+                                  }}</span>
760
+                                <img class="es-img" :src="setAdminUserES(monitor, 'monitoring_nurse')
761
+                                  " alt="" srcset="" v-else style="height: 30px" />
762
+                            </td>
755 763
                           </tr>
756 764
 
757 765
                           <tr v-for="(monitor_record, s) in record.monitor_records2" :key="s">
@@ -859,10 +867,8 @@
859 867
                               </td>
860 868
 
861 869
                               <td height="35px">
862
-                                <span v-if="
863
-                                  setAdminUserES(advice[0], 'advice_doctor') ==
864
-                                  ''
865
-                                ">{{
870
+                                <span v-if=" setAdminUserES(advice[0], 'advice_doctor') ==''">
871
+                                  {{
866 872
                                     getAdminUser(advice[0], "advice_doctor")
867 873
                                   }}</span>
868 874
                                 <img class="es-img" :src="setAdminUserES(advice[0], 'advice_doctor')
@@ -1392,7 +1398,7 @@
1392 1398
                             <img style="height: 30px" :src="setAdminUserES(record.check, 'creater')" alt="" srcset=""
1393 1399
                               v-else />
1394 1400
                           </div>
1395
-                          
1401
+
1396 1402
                         </div>
1397 1403
                         <div class="inline_block" style="flex: 1" >
1398 1404
                           下机护士:
@@ -1647,28 +1653,27 @@ export default {
1647 1653
           for (let i = 0; i < this.records.length; i++) {
1648 1654
             for (let j = 0; j < this.records[i].monitor_records.length; j++) {
1649 1655
               this.records[i].monitor_records[j].end = ""
1650
-              if (this.records[i].dialysis_order && this.records[i].monitor_records[j].operate_time == this.records[i].dialysis_order.end_time) {
1651
-                if (this.org_id != 10683) {
1652
-                  this.records[i].monitor_records[j].end = "【结束透析】";
1653
-                }
1654
-
1655
-                tempmonitorflag = false;
1656
-              }
1657
-              if (this.org_id != 10515 && this.org_id != 0) {
1658
-                if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1659
-                  if (this.org_id != 10683) {
1660
-                    this.records[i].monitor_records[j].end = "【结束透析】";
1661
-                  }
1662
-
1663
-                }
1664
-                if (this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == "") {
1665
-                  if (this.org_id != 10683) {
1666
-                    this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
1667
-                  }
1668
-
1669
-                }
1670
-              }
1671
-
1656
+              // if (this.records[i].dialysis_order && this.records[i].monitor_records[j].operate_time == this.records[i].dialysis_order.end_time) {
1657
+              //   if (this.org_id != 10683) {
1658
+              //     this.records[i].monitor_records[j].end = "【结束透析】";
1659
+              //   }
1660
+
1661
+              //   tempmonitorflag = false;
1662
+              // }
1663
+              // if (this.org_id != 10515 && this.org_id != 0) {
1664
+              //   if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1665
+              //     if (this.org_id != 10683) {
1666
+              //       this.records[i].monitor_records[j].end = "【结束透析】";
1667
+              //     }
1668
+
1669
+              //   }
1670
+              //   if (this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == "") {
1671
+              //     if (this.org_id != 10683) {
1672
+              //       this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
1673
+              //     }
1674
+
1675
+              //   }
1676
+              // }
1672 1677
             }
1673 1678
           }
1674 1679
           for (const recordIndex in this.records) {

+ 10 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfour.vue View File

@@ -61,9 +61,9 @@
61 61
                     <td colspan="3">
62 62
                       <div style="line-height:30px;">
63 63
                         上机前病情:
64
-                        <label-box :isChecked="record.assessment_before_dislysis.symptom_before_dialysis_other==''?true :false" showValue="无特殊"></label-box>&nbsp;
65
-                        <label-box :isChecked="record.assessment_before_dislysis.symptom_before_dialysis_other!=''?true :false" showValue="出现:"></label-box>
66
-                        <span>{{record.assessment_before_dislysis.symptom_before_dialysis_other}}</span>
64
+                        <label-box :isChecked="record.assessment_before_dislysis.symptom_before_dialysis==''?true :false" showValue="无特殊"></label-box>&nbsp;
65
+                        <label-box :isChecked="record.assessment_before_dislysis.symptom_before_dialysis!=''?true :false" showValue="出现:"></label-box>
66
+                        <span>{{record.assessment_before_dislysis.symptom_before_dialysis}}</span>
67 67
                       </div>
68 68
                     </td>
69 69
                   </tr>
@@ -222,12 +222,13 @@
222 222
                     <td>静脉压<br/>mmHg</td>
223 223
                     <td>血流量<br/>ml/min</td>
224 224
                     <td>脱水量<br/>ml</td>
225
-                    <td>超滤率<br/>ml/h</td>
225
+                    <td v-if="org_id !=9779 && org_id !=0">超滤率<br/>ml/h</td>
226
+                    <td v-if="org_id == 9779 || org_id ==0">T<br/>℃</td>
226 227
                     <td>HR<br/>bpm</td>
227 228
                     <td>R<br/>bpm</td>
228 229
                     <td>BP<br/>mmHg</td>
229 230
                     <td>SpO₂<br/>%</td>
230
-                    <td>记录</td>
231
+                    <td width="200">记录</td>
231 232
                   </tr>
232 233
                   <tr v-for="(monitor, monindex) in record.monitor_records" :key="monindex">
233 234
                     <td style="height: 30px;">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
@@ -238,7 +239,8 @@
238 239
                     <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
239 240
                     <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</td>
240 241
                     <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/"}}</td>
241
-                    <td>{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "/" }}</td>
242
+                    <td v-if="org_id !=9779 && org_id !=0">{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "/" }}</td>
243
+                    <td v-if="org_id==9779 || org_id ==0">{{ monitor.temperature ? monitor.temperature :'/' }}</td>
242 244
                     <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
243 245
                     <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td>
244 246
                     <td>{{
@@ -482,7 +484,7 @@
482 484
         },
483 485
         lastAfterWeight: '',
484 486
         displaceLiquiPartOptions: [],
485
-        
487
+        org_id: 0,
486 488
       }
487 489
     },
488 490
     created() {
@@ -491,6 +493,7 @@
491 493
       this.orgname = xtuser.org.org_name
492 494
       //   this.orgname = "遂溪方济医院";
493 495
       this.modeOptions = this.$store.getters.treatment_mode
496
+      this.org_id = this.$store.getters.xt_user.org.id;
494 497
       //   this.replacementWays = this.$store.getters.replacement_ways;
495 498
       //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
496 499
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit

File diff suppressed because it is too large
+ 1256 - 2276
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue


+ 49 - 3
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

@@ -964,7 +964,7 @@
964 964
             var sodiumArr = []
965 965
             var calciumArr = []
966 966
             var glucoseArr = []
967
-            console.log("rowlist233223323223w",this.rowList)
967
+          
968 968
             if(list!=null && list.length>0){
969 969
               for(let i=0;i<list.length;i++){
970 970
                  list[i].dialysis_dialyszers_arr = []
@@ -972,6 +972,7 @@
972 972
                  list[i].dialysis_irrigation_arr = []
973 973
                  list[i].puncture_needle_arr = []
974 974
                  list[i].dialysis_strainer_arr = []
975
+
975 976
                  
976 977
                  if(list[i].dialysis_prescription.dialysis_dialyszers!=""){
977 978
                   if(list[i].dialysis_prescription.dialysis_dialyszers!=""){
@@ -1054,6 +1055,7 @@
1054 1055
               }
1055 1056
             }
1056 1057
 
1058
+
1057 1059
             console.log("glucoseArr",glucoseArr)
1058 1060
             if(kaliumArr!=null && kaliumArr.length > 0){
1059 1061
               let dataInfo = {}
@@ -1319,6 +1321,8 @@
1319 1321
               Arr.push(a);
1320 1322
             }
1321 1323
 
1324
+        
1325
+
1322 1326
        
1323 1327
            
1324 1328
 
@@ -1376,7 +1380,12 @@
1376 1380
             //  console.log("list23233223232wode",list)
1377 1381
             this.startHisDialogVisible = true
1378 1382
              var projectList = []
1383
+             console.log("rowlist233223323223w",this.rowList)
1384
+             var dialysis_soluton_calcium = []
1379 1385
              for(let i=0;i<list.length;i++){
1386
+               list[i].calcium_name = ""
1387
+               list[i].calcium_name = "钙" + list[i].dialysis_solution.calcium
1388
+               dialysis_soluton_calcium.push(list[i].calcium_name)
1380 1389
                 if(list[i].his_prescription_template.his_prescription_info!=null && list[i].his_prescription_template.his_prescription_info.length>0){
1381 1390
                     for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
1382 1391
                       for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
@@ -1385,7 +1394,44 @@
1385 1394
                      }
1386 1395
                 }
1387 1396
              }
1388
-            console.log("projectList",projectList)
1397
+            console.log("dialysis_soluton_calcium",dialysis_soluton_calcium)
1398
+             this.tableList = []
1399
+            if(dialysis_soluton_calcium!=null && dialysis_soluton_calcium.length>0){
1400
+                
1401
+                let dataInfo = {}
1402
+                dialysis_soluton_calcium.forEach((item, index) => {
1403
+                if (!dataInfo[item]) {
1404
+                  dataInfo[item] = {
1405
+                    good_name:item,
1406
+                    specification_name:item,
1407
+                    child: [],
1408
+                    count:0,
1409
+                  }
1410
+                }
1411
+              })
1412
+              let newArrList = Object.values(dataInfo)
1413
+              console.log("newArr================",newArrList)
1414
+              for(let i=0;i<newArrList.length;i++){
1415
+                for(let j=0;j<dialysis_soluton_calcium.length;j++){
1416
+                   if(newArrList[i].good_name == dialysis_soluton_calcium[j]){
1417
+                    newArrList[i].child.push(dialysis_soluton_calcium[j])
1418
+                   }
1419
+                }
1420
+              }
1421
+              console.log("newArr------------",newArrList)
1422
+
1423
+              for(let i=0;i<newArrList.length;i++){
1424
+                 newArrList[i].count = newArrList[i].child.length
1425
+              }
1426
+              if(this.org_id == 0 || this.org_id == 10610){
1427
+                this.tableList.push(...newArrList)
1428
+              }else{
1429
+                this.tableList = []
1430
+              }
1431
+             
1432
+            }
1433
+           
1434
+            console.log("this.-------------",this.tableList)
1389 1435
 
1390 1436
              if(projectList!=null && projectList.length > 0){
1391 1437
                for(let i=0;i<projectList.length;i++){
@@ -1423,7 +1469,7 @@
1423 1469
               }
1424 1470
             }
1425 1471
             console.log("newArr32323233223wo",newArr)
1426
-            this.tableList = newArr
1472
+            this.tableList.push(...newArr)
1427 1473
           }
1428 1474
         })
1429 1475
       },

+ 41 - 2
src/xt_pages/dialysis/details/consumable/dialysisGoodCountPrint.vue View File

@@ -913,7 +913,12 @@
913 913
              console.log("list23233223232wode",list)
914 914
             this.startHisDialogVisible = true
915 915
              var projectList = []
916
+             var dialysis_soluton_calcium = []
917
+           
916 918
              for(let i=0;i<list.length;i++){
919
+              list[i].calcium_name = ""
920
+              list[i].calcium_name = "钙" + list[i].dialysis_solution.calcium
921
+              dialysis_soluton_calcium.push(list[i].calcium_name)
917 922
                 if(list[i].his_prescription_template.his_prescription_info!=null && list[i].his_prescription_template.his_prescription_info.length>0){
918 923
                     for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
919 924
                       for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
@@ -923,7 +928,41 @@
923 928
                 }
924 929
              }
925 930
              console.log("projectList",projectList)
926
-             
931
+             this.tableList = []
932
+             if(dialysis_soluton_calcium!=null && dialysis_soluton_calcium.length>0){
933
+                
934
+                let dataInfo = {}
935
+                dialysis_soluton_calcium.forEach((item, index) => {
936
+                if (!dataInfo[item]) {
937
+                  dataInfo[item] = {
938
+                    good_name:item,
939
+                    specification_name:item,
940
+                    child: [],
941
+                    count:0,
942
+                  }
943
+                }
944
+              })
945
+              let newArrList = Object.values(dataInfo)
946
+              console.log("newArr================",newArrList)
947
+              for(let i=0;i<newArrList.length;i++){
948
+                for(let j=0;j<dialysis_soluton_calcium.length;j++){
949
+                   if(newArrList[i].good_name == dialysis_soluton_calcium[j]){
950
+                    newArrList[i].child.push(dialysis_soluton_calcium[j])
951
+                   }
952
+                }
953
+              }
954
+              console.log("newArr------------",newArrList)
955
+
956
+              for(let i=0;i<newArrList.length;i++){
957
+                 newArrList[i].count = newArrList[i].child.length
958
+              }
959
+              
960
+              if(this.org_id == 0 || this.org_id == 10610){
961
+                this.tableList.push(...newArrList)
962
+              }else{
963
+                this.tableList = []
964
+              }
965
+            }
927 966
              if(projectList!=null && projectList.length > 0){
928 967
                for(let i=0;i<projectList.length;i++){
929 968
                  projectList[i].good_id = 0
@@ -960,7 +999,7 @@
960 999
               }
961 1000
             }
962 1001
             console.log("newArr32323233223wo",newArr)
963
-            this.tableList = newArr
1002
+            this.tableList.push(...newArr)
964 1003
           }
965 1004
         })
966 1005
       },

+ 4 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -2821,7 +2821,7 @@ mu
2821 2821
          }
2822 2822
         }
2823 2823
         //古镇乐生
2824
-        if(this.$store.getters.xt_user.template_info.org_id==10727 || this.$store.getters.xt_user.template_info.org_id==10731){
2824
+        if(this.$store.getters.xt_user.template_info.org_id==10727){
2825 2825
           if(this.predialysis!=undefined){
2826 2826
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2827 2827
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
@@ -3339,7 +3339,7 @@ mu
3339 3339
         this.pre = pre
3340 3340
         // console.log("pre1", pre);
3341 3341
         this.getPermission()
3342
-        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10731 || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745){
3342
+        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745){
3343 3343
           this.getPatientBefor()
3344 3344
         }
3345 3345
 
@@ -3494,7 +3494,7 @@ mu
3494 3494
 
3495 3495
 
3496 3496
         //古镇乐生
3497
-         if(this.$store.getters.xt_user.template_info.org_id==10727 || this.$store.getters.xt_user.template_info.org_id==10731){
3497
+         if(this.$store.getters.xt_user.template_info.org_id==10727){
3498 3498
           if(this.predialysis!=undefined){
3499 3499
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
3500 3500
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
@@ -5190,7 +5190,7 @@ mu
5190 5190
           var prescription = response.data.data.prescription
5191 5191
           if(patientBefor!=undefined){
5192 5192
 
5193
-            if(this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10731 ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742||this.$store.getters.xt_user.template_info.org_id == 10745 ){
5193
+            if(this.$store.getters.xt_user.template_info.org_id == 10727  ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742||this.$store.getters.xt_user.template_info.org_id == 10745 ){
5194 5194
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5195 5195
               
5196 5196
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000

File diff suppressed because it is too large
+ 3327 - 4596
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue


+ 8 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSop.vue View File

@@ -36,12 +36,12 @@
36 36
                 <div style="line-height:30px;">
37 37
                   上机前病情:
38 38
                   <!-- <span v-if="predialysis.symptom_before_dialysis_other==''"> -->
39
-                    <label-box :isChecked="predialysis.symptom_before_dialysis_other==''?true :false" showValue="无特殊"></label-box>&nbsp;
40
-                    <label-box :isChecked="predialysis.symptom_before_dialysis_other!=''?true :false" showValue="出现:"></label-box>
39
+                    <label-box :isChecked="predialysis.symptom_before_dialysis==''?true :false" showValue="无特殊"></label-box>&nbsp;
40
+                    <label-box :isChecked="predialysis.symptom_before_dialysis!=''?true :false" showValue="出现:"></label-box>
41 41
                   <!-- </span> -->
42 42
 
43 43
                   <!-- <span>{{predialysis.symptom_before_dialysis}}</span> -->
44
-                  <span>{{predialysis.symptom_before_dialysis_other}}</span>
44
+                  <span>{{predialysis.symptom_before_dialysis}}</span>
45 45
                 </div>
46 46
               </td>
47 47
             </tr>
@@ -195,13 +195,14 @@
195 195
               <td>静脉压<br/>mmHg</td>
196 196
               <td>血流量<br/>ml/min</td>
197 197
               <td>脱水量<br/>ml</td>
198
-              <td>超滤率<br/>ml/h</td>
198
+              <td v-if="org_id !=9779 && org_id !=0">超滤率<br/>ml/h</td>
199
+              <td v-if="org_id == 9779 || org_id ==0">T<br/>℃</td>
199 200
               <td>HR<br/>bpm</td>
200 201
               <td>R<br/>bpm</td>
201 202
               <td>BP<br/>mmHg</td>
202 203
               <td>SpO₂<br/>%</td>
203 204
               <!-- <td>时间</td> -->
204
-              <td>记录</td>
205
+              <td width="200">记录</td>
205 206
             </tr>
206 207
             <tr v-for="(monitor, monindex) in monitors" :key="monindex">
207 208
               <td style="height: 30px;">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
@@ -212,7 +213,8 @@
212 213
               <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
213 214
               <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</td>
214 215
               <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/"}}</td>
215
-              <td>{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "/" }}</td>
216
+              <td v-if="org_id !=9779 && org_id !=0">{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "/" }}</td>
217
+              <td v-if="org_id==9779 || org_id ==0">{{ monitor.temperature ? monitor.temperature :'/' }}</td>
216 218
               <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
217 219
               <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td>
218 220
               <td>{{

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue View File

@@ -720,8 +720,8 @@
720 720
                            <span v-if="it && it.advice_desc">({{ it.advice_desc}}{{ it.drug_spec_unit }})</span>
721 721
                            <span v-if="it.prescribing_number">{{ it.prescribing_number}}{{ it.prescribing_number_unit }}</span>
722 722
                            <span v-if="it.single_dose != 0">{{ it.single_dose}}{{ it.single_dose_unit }}</span>
723
-                           <span v-if="it && it.delivery_way">{{ it.delivery_way }}</span>
724
-                           <span v-if="it && it.execution_frequency">{{ it.execution_frequency }}</span>
723
+                           <span v-if="it && it.delivery_way">{{ it.delivery_way!='无'? it.delivery_way :'' }}</span>
724
+                           <span v-if="it && it.execution_frequency">{{ it.execution_frequency !='无'? it.execution_frequency :'' }}</span>
725 725
                            <span v-if="it&& it.remark">{{ it.remark }}</span>&nbsp;&nbsp;&nbsp;
726 726
 
727 727
                          </span>
@@ -765,7 +765,7 @@
765 765
                           }}</span>
766 766
                         </td>
767 767
                       </tr>
768
-
768
+                     
769 769
                      <!-- <tr
770 770
                         v-for="(advice, advice_index) in projectsOne"
771 771
                         :key="advice_index"

File diff suppressed because it is too large
+ 600 - 834
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue


+ 298 - 219
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue View File

@@ -99,11 +99,10 @@
99 99
                 {{ patientInfo.dialysis_no }}
100 100
               </div>
101 101
             </div>
102
-           
102
+
103 103
           </div>
104
-          <div class="row">
105
-            <div class="inline_block" style=""
106
-              v-if="org_id != 9675 && org_id != 10447 && org_id != 10460 && org_id != 10624">
104
+          <div class="row" style="display: flex;">
105
+            <div class="inline_block" style="flex: 1;">
107 106
               住院号/门诊号:
108 107
               <div class="under_line" style="width: 50px;text-align: left"
109 108
                 v-if="receiverTreatmentAccess.admission_number">
@@ -116,19 +115,19 @@
116 115
                 {{ "/" }}
117 116
               </div>
118 117
             </div>
119
-            <div class="inline_block">
118
+            <div class="inline_block" style="flex: 1;">
120 119
               入科方式:
121 120
               <div v-for="(item, index) in way_arr" class="under_line" v-if="receiverTreatmentAccess.way == item.id"
122
-                style="width: 180px; text-align: left">
121
+                style="width: 50%; text-align: left">
123 122
                 {{ item.name }}
124 123
               </div>
125 124
 
126 125
             </div>
127 126
 
128
-            <div class="inline_block" style="margin-left: 10px" v-if="org_id != 10460 && org_id != 10624">
127
+            <div class="inline_block" style="flex: 3;">
129 128
               诊断:
130 129
               <div class="under_line" style="
131
-                  width: 500px;
130
+                  width: 80%;
132 131
                   text-align: left;
133 132
                   word-wrap: break-word;
134 133
                   white-space: inherit;
@@ -178,8 +177,8 @@
178 177
                         透前症状:
179 178
                         <div class="under_line" style="width: 50%; text-align: center;white-space: normal;">
180 179
                           {{
181
-                            predialysis.symptom_before_dialysis
182
-                              ? predialysis.symptom_before_dialysis
180
+                            predialysis.befor_symptoms
181
+                              ? predialysis.befor_symptoms
183 182
                               : "/"
184 183
                           }}
185 184
                         </div>
@@ -259,7 +258,7 @@
259 258
                         </div>
260 259
 
261 260
                       </div>
262
-                      
261
+
263 262
                     </div>
264 263
 
265 264
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
@@ -273,7 +272,7 @@
273 272
                       <div class="inline_block" style="flex: 1;">
274 273
                         内瘘:
275 274
                         <div class="under_line" style="
276
-                            width: 150px;
275
+                            width: 80%;
277 276
                             text-align: center;
278 277
                             white-space: normal;
279 278
                           ">
@@ -284,19 +283,17 @@
284 283
                           }}
285 284
                         </div>
286 285
                       </div>
287
-
288 286
                       <div class="inline_block" style="flex: 1">
289 287
                         导管:
290
-                        <div class="under_line" style="width: 150px; text-align: center">
288
+                        <div class="under_line" style="width: 80%; text-align: center">
291 289
                           {{ predialysis.catheter ? predialysis.catheter : "/" }}
292 290
                         </div>
293 291
                       </div>
294
-                      
295 292
                     </div>
296 293
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
297 294
                       <div class="inline_block" style="flex: 1">
298 295
                         <span>透析方式:</span>
299
-                        
296
+
300 297
                         <div class="under_line" style="
301 298
                             width: 100px;
302 299
                             text-align: center;
@@ -305,7 +302,6 @@
305 302
                           {{ prescription.mode }}
306 303
                         </div>
307 304
                       </div>
308
-
309 305
                       <div class="inline_block" style="flex: 1">
310 306
                         置换方式:
311 307
                         <div class="under_line" style="width: 100px; text-align: center">
@@ -328,7 +324,7 @@
328 324
                         </div>
329 325
                         L
330 326
                       </div>
331
-                     
327
+
332 328
                       <div class="inline_block" style="flex: 1">
333 329
                         透析时间:
334 330
                         <div class="under_line" style="width: 30px; text-align: center">
@@ -374,7 +370,6 @@
374 370
                           }}
375 371
                         </div>
376 372
                       </div>
377
-
378 373
                       <div class="inline_block" style="flex: 1">
379 374
                         灌流器:
380 375
                         <div class="under_line" style="width: 70px; text-align: center">
@@ -437,11 +432,11 @@
437 432
                         kg
438 433
                       </div>
439 434
                       <div class="inline_block" style="flex: 1">
440
-                        <span>计划超滤量:</span>
435
+                        <span>处方脱水量:</span>
441 436
                         <div class="under_line" style="width: 100px; text-align: center">
442 437
                           {{
443
-                            prescription.target_ultrafiltration
444
-                              ? prescription.target_ultrafiltration
438
+                            prescription.prescription_water
439
+                              ? prescription.prescription_water
445 440
                               : "/"
446 441
                           }}
447 442
                         </div>
@@ -458,7 +453,6 @@
458 453
                         kg
459 454
                       </div>
460 455
                     </div>
461
-
462 456
                     <div class="row" style="padding: 2px 0; line-height: 23px">
463 457
                       <div class="inline_block">
464 458
                         透析液成分:钾:
@@ -657,7 +651,7 @@
657 651
                         </div>
658 652
                       </div>
659 653
 
660
-                    </div> 
654
+                    </div>
661 655
                   </td>
662 656
                 </tr>
663 657
                 <tr>
@@ -665,11 +659,8 @@
665 659
                     <table class="inside_table">
666 660
                       <tbody>
667 661
                         <tr>
668
-                          <td :colspan="prescription.mode_id == 2 ||
669
-                              prescription.mode_id == 5
670
-                              ? 14
671
-                              : 13
672
-                            " style="
662
+                          <td  colspan="12"
663
+                          style="
673 664
                               letter-spacing: 5px;
674 665
                               text-align: center;
675 666
                               font-weight: 520;
@@ -711,10 +702,11 @@
711 702
                                 : "mmHg"
712 703
                             }})
713 704
                           </td>
714
-                          <td width="70">透析液温度(°C)</td>
705
+                          <td width="70">体温<br/>(°C)</td>
715 706
                           <td width="50">电导度<br/>(ms/cm)</td>
716 707
                           <td width="50">超滤量<br/>(ml)</td>
717 708
                           <td width="200">病情变化及处理</td>
709
+                          <td width="80">护士签名</td>
718 710
                         </tr>
719 711
 
720 712
                         <tr v-for="(monitor, monindex) in monitors" :key="monindex">
@@ -765,8 +757,8 @@
765 757
                               }}
766 758
                             </span>
767 759
                           </td>
768
-                          <td v-if="org_id != 9919 && org_id != 9671 && org_id != 9836 && org_id != 10644">
769
-                            {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
760
+                          <td>
761
+                            {{ monitor.temperature ? monitor.temperature : "" }}
770 762
                           </td>
771 763
                           <td>{{monitor.conductivity ? monitor.conductivity : "" }}</td>
772 764
                           <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: ""}}</td>
@@ -786,12 +778,12 @@
786 778
                                   vertical-align: middle;
787 779
                                   height: auto;
788 780
                                 ">
789
-                                <template v-if="
781
+                                <!-- <template v-if="
790 782
                                   (dialysisOrder &&
791 783
                                     monitor.operate_time ==
792 784
                                     dialysisOrder.start_time) && (org_id != 10414) && (org_id != 10683)
793 785
                                 ">【开始透析】 <span v-if="org_id == 10598">引血100ml/min</span>
794
-                                </template>
786
+                                </template> -->
795 787
 
796 788
                                 {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
797 789
                                   monitor.dispose
@@ -800,8 +792,15 @@
800 792
                               </span>
801 793
                             </div>
802 794
                           </td>
795
+                          <td >
796
+                            <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{
797
+                              getAdminUser(monitor.monitoring_nurse) }}
798
+                            </span>
799
+                            <img style="height: 30px" :src="setAdminUserES(monitor.monitoring_nurse)" alt="" srcset=""
800
+                              v-else />
801
+                          </td>
803 802
                         </tr>
804
-  
803
+
805 804
                       </tbody>
806 805
                     </table>
807 806
                   </td>
@@ -1114,7 +1113,7 @@
1114 1113
                       <div class="inline_block" style="flex: 1">
1115 1114
                         体重减少:
1116 1115
                         <div class="under_line" style="width: 70px; text-align: center">
1117
-                        
1116
+
1118 1117
                           <span
1119 1118
                             v-if="predialysis && predialysis.weight_before > 0 && afterdialysis && afterdialysis.weight_after > 0">
1120 1119
                             {{ (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}
@@ -1128,7 +1127,7 @@
1128 1127
                         <span>
1129 1128
                           透析中入量(L):
1130 1129
                         </span>
1131
-                      
1130
+
1132 1131
                         <div class="under_line" style="width: 70px; text-align: center">
1133 1132
                           {{
1134 1133
                             afterdialysis.dialysis_intakes
@@ -1150,10 +1149,10 @@
1150 1149
                           }}
1151 1150
                         </div>
1152 1151
                         <span> ml</span>
1153
-                        
1152
+
1154 1153
                       </div>
1155 1154
                     </div>
1156
-                  
1155
+
1157 1156
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1158 1157
                       <div class="inline_block" style="flex: 1; display: inline-block">
1159 1158
                         治疗小结:
@@ -1386,7 +1385,7 @@
1386 1385
                           </span>
1387 1386
                           <img style="height: 40px" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1388 1387
                         </div>
1389
-                        
1388
+
1390 1389
                       </div>
1391 1390
                     </div>
1392 1391
                   </td>
@@ -1683,219 +1682,287 @@ export default {
1683 1682
     },
1684 1683
 
1685 1684
     checkData() {
1686
-      if (this.receiverTreatmentAccess.way == 0) {
1687
-        this.$message.error("入科方式未填");
1688
-      } else if (this.predialysis.symptom_before_dialysis == "") {
1689
-        this.$message.error("透前症状未填");
1690
-      } else if (this.predialysis.temperature == "") {
1691
-        this.$message.error("透前体温未填");
1692
-      } else if (this.predialysis.pulse_frequency == "") {
1693
-        this.$message.error("透前脉搏未填");
1694
-      } else if (this.predialysis.breathing_rate == "") {
1695
-        this.$message.error("透前呼吸频率未填");
1696
-      } else if (
1697
-        this.predialysis.systolic_blood_pressure == 0 ||
1698
-        this.predialysis.diastolic_blood_pressure == 0
1699
-      ) {
1700
-        this.$message.error("透前血压未填完整");
1701
-      } else if (this.predialysis.puncture_way == "") {
1702
-        this.$message.error("穿刺方式未填");
1703
-      } else if (this.predialysis.puncture_needle == "") {
1704
-        this.$message.error("穿刺针未填");
1705
-      } else if (
1706
-        this.predialysis.blood_access_part_id == "" &&
1707
-        this.predialysis.blood_access_part_opera_name == ""
1708
-      ) {
1709
-        this.$message.error("血管通路未填");
1710
-      } else if (this.predialysis.internal_fistula == "") {
1711
-        this.$message.error("透前内瘘未填");
1712
-      } else if (this.predialysis.catheter == "") {
1713
-        this.$message.error("透前导管未填");
1714
-      } else if (this.prescription.mode_id == "") {
1715
-        this.$message.error("透析方式未填");
1716
-      } else if (
1717
-        this.prescription.displace_liqui_part == 0 &&
1718
-        this.prescription.mode_id == 2
1719
-      ) {
1720
-        this.$message.error("置换方式未填");
1721
-      } else if (
1685
+      var checkDate =[]
1686
+      if(this.predialysis.befor_symptoms ==''){
1687
+        const obj='透前症状'
1688
+        checkDate.push(obj)
1689
+      }if(this.predialysis.temperature == ""){
1690
+        const obj1='透前体温'
1691
+        checkDate.push(obj1)
1692
+      }if(this.predialysis.pulse_frequency == ""){
1693
+        const obj2='透前脉搏'
1694
+        checkDate.push(obj2)
1695
+      }if(this.predialysis.breathing_rate == ""){
1696
+        const obj3='透前呼吸频率'
1697
+        checkDate.push(obj3)
1698
+      }if(this.predialysis.systolic_blood_pressure == 0 ||
1699
+          this.predialysis.diastolic_blood_pressure == 0
1700
+      ){
1701
+        const obj4='透前血压未填完整'
1702
+        checkDate.push(obj4)
1703
+      }if(this.predialysis.puncture_needle ==''){
1704
+        const obj5='穿刺针'
1705
+        checkDate.push(obj5)
1706
+      }if(this.predialysis.puncture_way ==''){
1707
+        const obj6='穿刺方式'
1708
+        checkDate.push(obj6)
1709
+      }if(this.predialysis.blood_access_part_opera_name == '' &&
1710
+          this.predialysis.blood_access_part_id == ""
1711
+      ){
1712
+        const obj7='血管通路'
1713
+        checkDate.push(obj7)
1714
+      }if(this.predialysis.internal_fistula == "" && this.predialysis.catheter == ""){
1715
+        const obj8='透前内瘘,导管'
1716
+        checkDate.push(obj8)
1717
+      }if(this.prescription.mode_id == ""){
1718
+        const obj10='透析方式'
1719
+        checkDate.push(obj10)
1720
+      }if(this.prescription.displace_liqui_part == 0 &&
1721
+          this.prescription.mode_id == 2
1722
+      ){
1723
+        const obj11 ='置换方式'
1724
+        checkDate.push(obj11)
1725
+      }if (
1722 1726
         this.prescription.displace_liqui_value == 0 &&
1723 1727
         this.prescription.mode_id == 2
1724 1728
       ) {
1725
-        this.$message.error("置换量未填");
1726
-      } else if (this.prescription.blood_flow_volume == 0) {
1727
-        this.$message.error("血流量未填");
1728
-      } else if (
1729
+        const obj12 ='置换量'
1730
+        checkDate.push(obj12)
1731
+      }if (
1729 1732
         this.prescription.dialysis_duration_hour == 0 &&
1730 1733
         this.prescription.dialysis_duration_minute == 0
1731 1734
       ) {
1732
-        this.$message.error("透析时间未填");
1733
-      } else if (
1735
+        const obj13 ='透析时间'
1736
+        checkDate.push(obj13)
1737
+      }if (
1734 1738
         this.prescription.dialyzer_perfusion_apparatus == "" &&
1735 1739
         this.prescription.dialysis_dialyszers == ""
1736 1740
       ) {
1737
-        this.$message.error("透析器未填");
1738
-      } else if (this.prescription.dialysis_irrigation == "") {
1739
-        this.$message.error("灌流器未填");
1740
-      } else if (
1741
-        this.prescription.plasma_separator == "" &&
1742
-        this.org_id == 9538
1743
-      ) {
1744
-        this.$message.error("血浆分离器未填");
1745
-      } else if (
1746
-        this.prescription.bilirubin_adsorption_column == "" &&
1747
-        this.org_id == 9538
1748
-      ) {
1749
-        this.$message.error("胆红素吸附柱未填");
1750
-      } else if (this.predialysis.weight_before == 0) {
1751
-        this.$message.error("透前体重未填");
1752
-      } else if (this.predialysis.dry_weight == 0) {
1753
-        this.$message.error("干体重未填");
1754
-      } else if (this.prescription.target_ultrafiltration == 0) {
1755
-        this.$message.error("计划超滤量未填");
1756
-      } else if (this.prescription.calcium == 0) {
1757
-        this.$message.error("钙未填");
1758
-      } else if (this.prescription.sodium == 0) {
1759
-        this.$message.error("钠未填");
1760
-      } else if (this.prescription.kalium == 0) {
1761
-        this.$message.error("钾未填");
1762
-      } else if (this.prescription.bicarbonate == 0) {
1763
-        this.$message.error("碳酸氢根未填");
1764
-      } else if (this.prescription.dialysate_flow == 0) {
1765
-        this.$message.error("透析液流量未填");
1766
-      } else if (this.prescription.anticoagulant == 0) {
1767
-        this.$message.error("抗凝剂未填");
1768
-      } else if (
1741
+        const obj14 ='透析(滤)器'
1742
+        checkDate.push(obj14)
1743
+      }if(this.prescription.dialysis_irrigation ==''){
1744
+        const obj15='灌流器'
1745
+        checkDate.push(obj15)
1746
+      }if(this.prescription.blood_flow_volume == 0){
1747
+        const obj16='血流量'
1748
+        checkDate.push(obj16)
1749
+      }if(this.lastafterdialysis.weight_after ==0){
1750
+        const obj17='上次透后体重'
1751
+        checkDate.push(obj17)
1752
+      }if (this.predialysis.weight_before == 0) {
1753
+        const obj18='透前体重'
1754
+        checkDate.push(obj18)
1755
+      }if(this.prescription.prescription_water == 0){
1756
+        const obj19='处方脱水量'
1757
+        checkDate.push(obj19)
1758
+      }if (this.predialysis.dry_weight == 0) {
1759
+        const obj20='干体重'
1760
+        checkDate.push(obj20)
1761
+      }if(this.prescription.kalium ==0){
1762
+        const obj21='钾'
1763
+        checkDate.push(obj21)
1764
+      }if(this.prescription.sodium ==0){
1765
+        const obj22='钠'
1766
+        checkDate.push(obj22)
1767
+      }if(this.prescription.calcium ==0){
1768
+        const obj23='钙'
1769
+        checkDate.push(obj23)
1770
+      }if(this.prescription.bicarbonate == 0){
1771
+        const obj24='碳酸氢根'
1772
+        checkDate.push(obj24)
1773
+      }if(this.prescription.dialysate_flow == 0){
1774
+        const obj25='流量'
1775
+        checkDate.push(obj25)
1776
+      }if(this.prescription.anticoagulant == 0){
1777
+        const obj26='抗凝剂'
1778
+        checkDate.push(obj26)
1779
+      }if (
1769 1780
         this.prescription.anticoagulant_gaimingcheng == "" &&
1770 1781
         this.prescription.anticoagulant == 5
1771 1782
       ) {
1772
-        this.$message.error("钙名称未填");
1773
-      } else if (
1783
+        const obj27='钙名称'
1784
+        checkDate.push(obj27)
1785
+      }if (
1774 1786
         this.prescription.anticoagulant_gaijiliang == "" &&
1775 1787
         this.prescription.anticoagulant == 5
1776 1788
       ) {
1777
-        this.$message.error("钙剂量未填");
1778
-      } else if (this.afterdialysis.temperature == 0) {
1779
-        this.$message.error("透后体温未填");
1780
-      } else if (this.afterdialysis.pulse_frequency == 0) {
1781
-        this.$message.error("透后脉搏未填");
1782
-      } else if (this.afterdialysis.breathing_rate == 0) {
1783
-        this.$message.error("透后呼吸频率未填");
1784
-      } else if (
1785
-        this.afterdialysis.systolic_blood_pressure == 0 ||
1786
-        this.afterdialysis.diastolic_blood_pressure == 0
1787
-      ) {
1788
-        this.$message.error("透后血压未填完整");
1789
-      } else if (
1789
+        const obj28='钙剂量'
1790
+        checkDate.push(obj28)
1791
+      }if(this.prescription.anticoagulant_shouji == ''){
1792
+        const obj29='首剂'
1793
+        checkDate.push(obj29)
1794
+      }if(this.prescription.anticoagulant_zongliang == ''){
1795
+        const obj30='总量'
1796
+        checkDate.push(obj30)
1797
+      }if(this.dialysisOrder &&this.dialysisOrder.DeviceNumber.number==0 &&
1798
+        this.patientInfo.DialysisSchedule.device_number.number ==0
1799
+      ){
1800
+        const obj31='透析机号'
1801
+        checkDate.push(obj31)
1802
+      }if(this.predialysis.remark ==0){
1803
+        const obj32 = '备注'
1804
+        checkDate.push(obj32)
1805
+      }if (this.afterdialysis.temperature == 0) {
1806
+        const obj33 = '透后体温'
1807
+        checkDate.push(obj33)
1808
+      }if (this.afterdialysis.temperature == 0) {
1809
+        const obj33 = '透后体温'
1810
+        checkDate.push(obj33)
1811
+      }if(this.afterdialysis.pulse_frequency == ""){
1812
+        const obj34='透后脉搏'
1813
+        checkDate.push(obj34)
1814
+      }if(this.afterdialysis.breathing_rate == ""){
1815
+        const obj35='透后呼吸频率'
1816
+        checkDate.push(obj35)
1817
+      }if(this.afterdialysis.systolic_blood_pressure == 0 ||
1818
+          this.afterdialysis.diastolic_blood_pressure == 0
1819
+      ){
1820
+        const obj36='透前血压未填完整'
1821
+        checkDate.push(obj36)
1822
+      }if (
1790 1823
         this.afterdialysis.actual_treatment_hour == 0 &&
1791 1824
         this.afterdialysis.actual_treatment_minute == 0
1792 1825
       ) {
1793
-        this.$message.error("实际治疗时间未填");
1794
-      } else if (this.afterdialysis.cruor == "") {
1795
-        this.$message.error("透析器凝血未填");
1796
-      } else if (this.afterdialysis.internal_fistula == "") {
1797
-        this.$message.error("透后内瘘未填");
1798
-      } else if (this.afterdialysis.catheter == "") {
1799
-        this.$message.error("透后导管未填");
1800
-      } else if (this.afterdialysis.weight_after == 0) {
1801
-        this.$message.error("透后体重未填");
1802
-      } else if (this.afterdialysis.weight_loss == 0) {
1803
-        this.$message.error("透后体重减少未填");
1804
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
1805
-        this.$message.error("透析中入量未填");
1806
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1807
-        this.$message.error("实际超滤量未填");
1808
-      } else if (this.summary.dialysis_summary == "") {
1809
-        this.$message.error("透析小结未填");
1810
-      } else if (
1826
+        const obj37='实际治疗时间'
1827
+        checkDate.push(obj37)
1828
+      }if(this.afterdialysis.cruor == ""){
1829
+        const obj38='透析器凝血'
1830
+        checkDate.push(obj38)
1831
+      }if (this.afterdialysis.internal_fistula == ""&&this.afterdialysis.catheter == "") {
1832
+        const obj39='透后内瘘,导管'
1833
+        checkDate.push(obj39)
1834
+      }if (this.afterdialysis.weight_after == 0) {
1835
+        const obj40='透后体重'
1836
+        checkDate.push(obj40)
1837
+      }if (this.afterdialysis.weight_loss == 0) {
1838
+        const obj41='透后体重减少'
1839
+        checkDate.push(obj41)
1840
+      }if (this.afterdialysis.dialysis_intakes == 0) {
1841
+        const obj42='透析中入量'
1842
+        checkDate.push(obj42)
1843
+      }if (this.afterdialysis.actual_ultrafiltration == 0) {
1844
+        const obj42='实际超滤量'
1845
+        checkDate.push(obj42)
1846
+      }if (this.summary.dialysis_summary == "") {
1847
+        const obj43='透析小结'
1848
+        checkDate.push(obj43)
1849
+      }if(this.summary.mission ==''){
1850
+        const obj44='宣教知识'
1851
+        checkDate.push(obj44)
1852
+      }if(this.afterdialysis.remark ==''){
1853
+        const obj45='备注'
1854
+        checkDate.push(obj45)
1855
+      }if (
1811 1856
         this.dialysisOrder == null ||
1812 1857
         this.dialysisOrder.puncture_nurse == 0
1813 1858
       ) {
1814
-        this.$message.error("穿刺护士未填");
1815
-      } else if (
1859
+        const obj46='穿刺护士'
1860
+        checkDate.push(obj46)
1861
+      }if (
1816 1862
         this.dialysisOrder == null ||
1817 1863
         this.dialysisOrder.start_nurse == 0
1818 1864
       ) {
1819
-        this.$message.error("治疗护士未填");
1820
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
1821
-        this.$message.error("核对人员未填");
1865
+        const obj47='治疗护士'
1866
+        checkDate.push(obj47)
1867
+      }if (this.dialysisOrder == null && this.check.creater == 0) {
1868
+        const obj48='核对人员'
1869
+        checkDate.push(obj48)
1822 1870
       } else if (
1823 1871
         this.dialysisOrder != null &&
1824 1872
         this.dialysisOrder.start_nurse == this.check.modifier &&
1825 1873
         this.check.creater == 0
1826 1874
       ) {
1827
-        this.$message.error("核对人员未填");
1875
+        const obj48='核对人员'
1876
+        checkDate.push(obj48)
1828 1877
       } else if (
1829 1878
         this.dialysisOrder != null &&
1830 1879
         this.dialysisOrder.start_nurse == this.check.creater &&
1831 1880
         this.check.modifier == 0
1832 1881
       ) {
1833
-        this.$message.error("核对人员未填");
1882
+        const obj48='核对人员'
1883
+        checkDate.push(obj48)
1834 1884
       } else if (
1835 1885
         this.dialysisOrder != null &&
1836 1886
         this.dialysisOrder.start_nurse != this.check.creater &&
1837 1887
         this.dialysisOrder.start_nurse != this.check.modifier &&
1838 1888
         this.check.creater == 0
1839 1889
       ) {
1840
-        this.$message.error("核对人员未填");
1841
-      } else if (
1890
+        const obj48='核对人员'
1891
+        checkDate.push(obj48)
1892
+      }if (
1842 1893
         this.dialysisOrder == null ||
1843 1894
         this.dialysisOrder.finish_nurse == 0
1844 1895
       ) {
1845
-        this.$message.error("下机护士未填");
1846
-      } else if (this.prescription.creater == 0) {
1847
-        this.$message.error("医生签名未填");
1848
-      } else if (this.tableAdvice.length > 0) {
1849
-        let num = 0;
1850
-        this.tableAdvice.map((item) => {
1851
-          if (item.id > 0 && (item.created_time || item.start_time)) {
1852
-            this.users.map((it) => {
1853
-              if (it.id == item.advice_doctor) {
1854
-                if (it.user_type == 3) {
1855
-                  num++;
1856
-                  this.$message.closeAll();
1857
-                  this.$message.error("存在不是医生保存的医嘱");
1858
-                } else if (
1859
-                  it.id == item.execution_staff &&
1860
-                  item.execution_staff > 0
1861
-                ) {
1862
-                  if (it.user_type == 2) {
1863
-                    num++;
1864
-                    this.$message.closeAll();
1865
-                    this.$message.error("存在不是护士执行的医嘱");
1866
-                  }
1867
-                } else if (it.id == item.checker && item.checker > 0) {
1868
-                  if (it.user_type == 2) {
1869
-                    num++;
1870
-                    this.$message.closeAll();
1871
-                    this.$message.error("存在不是护士核对的医嘱");
1872
-                  }
1873
-                }
1874
-              } else if (
1875
-                it.id == item.execution_staff &&
1876
-                item.execution_staff > 0
1877
-              ) {
1878
-                if (it.user_type == 2) {
1879
-                  num++;
1880
-                  this.$message.closeAll();
1881
-                  this.$message.error("存在不是护士执行的医嘱");
1882
-                }
1883
-              } else if (it.id == item.checker && item.checker > 0) {
1884
-                if (it.user_type == 2) {
1885
-                  num++;
1886
-                  this.$message.closeAll();
1887
-                  this.$message.error("存在不是护士核对的医嘱");
1888
-                }
1889
-              }
1890
-            });
1896
+        const obj49='下机护士'
1897
+        checkDate.push(obj49)
1898
+      }if (this.prescription.creater == 0) {
1899
+        const obj50='医生签名'
1900
+        checkDate.push(obj50)
1901
+      }if (this.doctor_advices.length > 0) {
1902
+
1903
+        this.doctor_advices.map((item) => {
1904
+          if(item.id > 0 && (item.created_time || item.start_time)){
1905
+            if(item.execution_staff ==0 || item.advice_doctor ==0){
1906
+              const obj51 = '执行人员,医生签名'
1907
+              checkDate.push(obj51)
1908
+            }
1891 1909
           }
1892 1910
         });
1893
-        if (num == 0) {
1894
-          this.$message.success("核对完成");
1911
+      }if(this.monitors.length >0){
1912
+        for(let i in this.monitors){
1913
+          if(this.monitors[i].systolic_blood_pressure ==0 ||
1914
+                this.monitors.diastolic_blood_pressure==0){
1915
+            const obj52 = '监测第'+((i*1)+1)+'行血压'
1916
+            checkDate.push(obj52)
1917
+          } if(this.monitors[i].pulse_frequency ==0){
1918
+            const obj53 = '监测第'+((i*1)+1)+'行脉搏'
1919
+            checkDate.push(obj53)
1920
+          } if(this.monitors[i].breathing_rate ==0){
1921
+            const obj54 = '监测第'+((i*1)+1)+'行呼吸'
1922
+            checkDate.push(obj54)
1923
+          }
1924
+          if(this.monitors[i].blood_flow_volume ==0){
1925
+            const obj55 = '监测第'+((i*1)+1)+'行血流量'
1926
+            checkDate.push(obj55)
1927
+          } if(this.monitors[i].venous_pressure ==0 ){
1928
+            const obj56 = '监测第'+((i*1)+1)+'行静脉压'
1929
+            checkDate.push(obj56)
1930
+          } if(this.monitors[i].transmembrane_pressure ==0){
1931
+            const obj57= '监测第'+((i*1)+1)+'行跨膜压'
1932
+            checkDate.push(obj57)
1933
+          } if(this.monitors[i].dialysate_temperature == 0){
1934
+            const obj58 = '监测第'+((i*1)+1)+'行透析液温度温度'
1935
+            checkDate.push(obj58)
1936
+          }if(this.monitors[i].conductivity ==0){
1937
+            const obj59 = '监测第'+((i*1)+1)+'行电导度'
1938
+            checkDate.push(obj59)
1939
+          }
1940
+
1941
+          // if(this.monitors[i].ultrafiltration_rate ==0){
1942
+          //   const obj57 = '监测第'+((i*1)+1)+'行超滤率'
1943
+          //   monearr.push(obj57)
1944
+          // }
1945
+          if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
1946
+            const obj60 = '监测第'+((i*1)+1)+'行超滤量'
1947
+            checkDate.push(obj60)
1948
+          }
1949
+          // if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
1950
+          // ){
1951
+          //   const obj58 = '监测第'+((i*1)+1)+'行置换率'
1952
+          //   monearr.push(obj58)
1953
+          // }
1954
+          // if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
1955
+          //   const obj54 = '监测第'+((i*1)+1)+'行置换量'
1956
+          //   monearr.push(obj54)
1957
+          // }
1958
+          // if(this.monitors[i].sodium_concentration ==0 ){
1959
+          //   // this.monitors[i].temperature == 0
1960
+          //   const obj59 = '监测第'+((i*1)+1)+'行钠浓度'
1961
+          //   monearr.push(obj59)
1962
+          // }
1895 1963
         }
1896
-      } else {
1897
-        this.$message.success("核对完成");
1898 1964
       }
1965
+      this.getcheckData(checkDate)
1899 1966
     },
1900 1967
     getDisplaceLiquiPart: function (val) {
1901 1968
       let displace_liqui_part_name = "/";
@@ -2213,18 +2280,18 @@ export default {
2213 2280
           const monitor = this.monitors[index];
2214 2281
           this.monitors[index].end = "";
2215 2282
           if (Object.keys(monitor).length > 0 && index > 1) {
2216
-            if ((this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) && (this.org_id != 10414)) {
2217
-              if (this.org_id != 10683) {
2218
-                this.monitors[index].end = "【结束透析】";
2219
-              }
2220
-
2221
-              tempmonitorflag = false;
2222
-            }
2223
-            if ((tempmonitorflag && index == this.monitors.length - 1) && (this.org_id != 10414)) {
2224
-              if (this.org_id != 10683 && this.org_id != 0 && this.org_id != 10644) {
2225
-                this.monitors[index].end = "【结束透析】";
2226
-              }
2227
-            }
2283
+            // if ((this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) && (this.org_id != 10414)) {
2284
+            //   if (this.org_id != 10683) {
2285
+            //     this.monitors[index].end = "【结束透析】";
2286
+            //   }
2287
+
2288
+            //   tempmonitorflag = false;
2289
+            // }
2290
+            // if ((tempmonitorflag && index == this.monitors.length - 1) && (this.org_id != 10414)) {
2291
+            //   if (this.org_id != 10683 && this.org_id != 0 && this.org_id != 10644) {
2292
+            //     this.monitors[index].end = "【结束透析】";
2293
+            //   }
2294
+            // }
2228 2295
           }
2229 2296
         }
2230 2297
 
@@ -2683,7 +2750,19 @@ export default {
2683 2750
         return "0.0";
2684 2751
       }
2685 2752
     },
2686
-
2753
+    getcheckData(val){
2754
+      if(val.length >0){
2755
+        let message = `记录单未填数据:<br/>&nbsp;&nbsp;${val.join("<br/>&nbsp;&nbsp;")}`;
2756
+        this.$confirm(message, '提示', {
2757
+          confirmButtonText: '确定',
2758
+          cancelButtonText: '取消',
2759
+          type: 'warning',
2760
+          dangerouslyUseHTMLString: true,
2761
+        })
2762
+      }else{
2763
+        this.$message.success('核对完成')
2764
+      }
2765
+    }
2687 2766
   },
2688 2767
   watch: {
2689 2768
     "patientInfo.gender": function () {

+ 24 - 3
src/xt_pages/outpatientTool/components/print9919.vue View File

@@ -83,7 +83,7 @@
83 83
         <td width="80">身份证号</td>
84 84
         <td colspan="3">{{info.certno}}</td>
85 85
       </tr>
86
-      <tr v-if="this.$store.getters.xt_user.org_id != 10387">
86
+      <tr v-if="org_id != 10387 && org_id !=10480&&org_id !=0">
87 87
         <td>住院号</td>
88 88
         <td>{{info.number}}</td>
89 89
         <td>科别</td>
@@ -98,7 +98,19 @@
98 98
         <td>{{info.num}}</td>
99 99
 
100 100
       </tr>
101
-      <tr>
101
+      <tr v-if="org_id ==10480|| org_id ==0">
102
+        <td>险种</td>
103
+        <td colspan="11">
104
+          <span v-if="info.insutype == '310'">职工基本医疗保险</span>
105
+          <span v-if="info.insutype == '320'">公务员医疗补助</span>
106
+          <span v-if="info.insutype == '330'">大额医疗费用补助</span>
107
+          <span v-if="info.insutype == '340'">离休人员医疗保障</span>
108
+          <span v-if="info.insutype == '390'">城乡居民基本医疗保险</span>
109
+          <span v-if="info.insutype == '392'">城乡居民大病医疗保险</span>
110
+          <span v-if="info.insutype == '510'">生育保险</span>
111
+        </td>
112
+      </tr>
113
+      <tr v-if="org_id !=10480&&org_id !=0">
102 114
         <td>险种</td>
103 115
         <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
104 116
         <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
@@ -338,7 +350,13 @@ export default {
338 350
         return {}
339 351
       }
340 352
     }
341
-  },methods:{
353
+  },
354
+  data(){
355
+    return{
356
+      org_id:'',
357
+    }
358
+  },
359
+  methods:{
342 360
     getBirth(idNo){
343 361
       var year = idNo.substring(6, 10);
344 362
       var month = idNo.substring(10, 12);
@@ -374,6 +392,9 @@ export default {
374 392
       return dateTime
375 393
     },
376 394
 
395
+  },
396
+  created(){
397
+    this.org_id =this.$store.getters.xt_user.org_id
377 398
   }
378 399
 }
379 400
 

+ 4 - 1
src/xt_pages/stock/detail/print.vue View File

@@ -182,6 +182,8 @@
182 182
           type: this.$route.query.type,
183 183
           limit:this.$route.query.limit,
184 184
           page:this.$route.query.page,
185
+          good_id:this.$route.query.good_id,
186
+          order_way:this.$route.query.order_way
185 187
         },
186 188
         totalPrice: 0,
187 189
         stockDatas: [],
@@ -195,7 +197,8 @@
195 197
         informationList:[],
196 198
         wareOutList:[],
197 199
         manufacturerList:[],
198
-        dealerList:[]
200
+        dealerList:[],
201
+        good_id:0,
199 202
       }
200 203
     },
201 204
     methods: {

+ 24 - 4
src/xt_pages/stock/detail/stockInDetail.vue View File

@@ -316,9 +316,20 @@ export default {
316 316
       dealerList:[],
317 317
       currentIndex:0,
318 318
       good_id:0,
319
+      goodKindList:[]
319 320
     };
320 321
   },
321 322
   methods: {
323
+    getGoodKandName(id){
324
+     
325
+      var name = ""
326
+      for(let i=0;i<this.goodKindList.length;i++){
327
+       if(id == this.goodKindList[i].value){
328
+          name = this.goodKindList[i].name
329
+       }
330
+      }
331
+      return name
332
+    },
322 333
     handleSelect(val){
323 334
      this.good_name = val.good_name
324 335
      this.good_id = val.id
@@ -480,6 +491,7 @@ export default {
480 491
         keywords: this.searchKey,
481 492
         storehouse_id:this.storehouse_id,
482 493
         good_id:this.good_id,
494
+        order_way:0
483 495
       };
484 496
       this.cancelStockDate = [];
485 497
       const loading = this.$loading({
@@ -513,7 +525,8 @@ export default {
513 525
           this.tableDataList = response.data.data.list
514 526
           this.manufacturerList = response.data.data.manufacturerList
515 527
           this.dealerList = response.data.data.dealerList
516
-        
528
+          
529
+          this.goodKindList = response.data.data.goodKindList
517 530
 
518 531
           this.cancelStockDate.push({
519 532
             warehousing_order: "合计",
@@ -769,6 +782,8 @@ export default {
769 782
           limit:this.limit,
770 783
           page:this.page,
771 784
           keywords:this.$router.keywords,
785
+          good_id:this.good_id,
786
+          order_way:0,
772 787
         }
773 788
       });
774 789
       }
@@ -784,7 +799,8 @@ export default {
784 799
           page:this.page,
785 800
           keywords:this.searchKey,
786 801
           storehouse_id:this.storehouse_id,
787
-          
802
+          good_id:this.good_id,
803
+          order_way:0,
788 804
         }
789 805
        });
790 806
       }
@@ -933,7 +949,9 @@ export default {
933 949
         var obj = {index:"合计",total_price:0}
934 950
         var total = 0
935 951
         console.log("wowowows",this.tableDataList)
952
+       
936 953
         for(let i=0;i<this.tableDataList.length;i++){
954
+          this.tableDataList[i].good_kand_name = this.getGoodKandName(this.tableDataList[i].GoodInfo.good_kind)
937 955
           this.tableDataList[i].index = i + 1
938 956
           this.tableDataList[i].good_type_name = this.typeName(this.tableDataList[i].good_type_id)
939 957
           this.tableDataList[i].good_name = this.typeNameOne(this.tableDataList[i].good_id)
@@ -951,9 +969,11 @@ export default {
951 969
         obj.total_price = total.toFixed(2)
952 970
         this.tableDataList.push(obj)
953 971
       
972
+        console.log("hhhhhhhhhhhhhhhh",this.tableDataList)
973
+       
954 974
         import('@/vendor/Export2Excel').then(excel => {
955
-        const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','数量','总价']
956
-        const filterVal = ['index','warehousing_order', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','number','product_date_name','expiry_date_name','time','user_name','price','warehousing_count','total_price']
975
+        const tHeader = ['序号','单据编号','耗材种类', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','数量','总价']
976
+        const filterVal = ['index','warehousing_order','good_kand_name', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','number','product_date_name','expiry_date_name','time','user_name','price','warehousing_count','total_price']
957 977
 
958 978
 
959 979
         const data = this.formatJson(filterVal, this.tableDataList)

+ 20 - 4
src/xt_pages/stock/detail/stockOutDetail.vue View File

@@ -350,9 +350,20 @@ export default {
350 350
       patientsList:[],
351 351
       good_id:0,
352 352
       good_name:"",
353
+      goodKindList:[]
353 354
     };
354 355
   },
355 356
   methods: {
357
+    getGoodKandName(id){
358
+     
359
+     var name = ""
360
+     for(let i=0;i<this.goodKindList.length;i++){
361
+      if(id == this.goodKindList[i].value){
362
+         name = this.goodKindList[i].name
363
+      }
364
+     }
365
+     return name
366
+   },
356 367
     changeOrderWayList(){
357 368
       this.GetCancelStock();
358 369
       this.getGoodDetailPrintList()
@@ -572,7 +583,7 @@ export default {
572 583
           this.tableDataList = response.data.data.list
573 584
           this.manufacturerList = response.data.data.manufacturerList
574 585
           this.dealerList = response.data.data.dealerList
575
-
586
+          this.goodKindList = response.data.data.goodKindList
576 587
           this.cancelStockDate.push(objOne);
577 588
 
578 589
         }
@@ -851,6 +862,8 @@ export default {
851 862
             end_time: this.end_time,
852 863
             limit:this.limit,
853 864
             page:this.page,
865
+            good_id:this.good_id,
866
+            order_way:this.order_way
854 867
           }
855 868
         });
856 869
       }
@@ -865,6 +878,8 @@ export default {
865 878
             page:this.page,
866 879
             storehouse_id:this.storehouse_id,
867 880
             keyword:this.searchKey,
881
+            good_id:this.good_id,
882
+            order_way:this.order_way
868 883
           }
869 884
         });
870 885
       }
@@ -1063,10 +1078,11 @@ export default {
1063 1078
      },
1064 1079
      exportListDetail(){
1065 1080
         console.log("hahhdhafhhahdf",this.tableDataList)
1066
-
1081
+       
1067 1082
         var obj = {index:"合计",total_price:0}
1068 1083
         var total = 0
1069 1084
         for(let i=0;i<this.tableDataList.length;i++){
1085
+          this.tableDataList[i].good_kand_name = this.getGoodKandName(this.tableDataList[i].GoodInfo.good_kind)
1070 1086
           this.tableDataList[i].index = i + 1
1071 1087
           this.tableDataList[i].good_type_name = this.typeName(this.tableDataList[i].good_type_id)
1072 1088
           this.tableDataList[i].good_name = this.typeNameOne(this.tableDataList[i].good_id)
@@ -1096,8 +1112,8 @@ export default {
1096 1112
 
1097 1113
         this.tableDataList.push(obj)
1098 1114
        import('@/vendor/Export2Excel').then(excel => {
1099
-       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','使用患者','数量','总价']
1100
-       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','number','product_date_name','expiry_date_name','time','user_name','in_price','price','patient_name','out_count','total_price']
1115
+       const tHeader = ['序号','单据编号','耗材种类', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','使用患者','数量','总价']
1116
+       const filterVal = ['index','warehouse_out_order_number','good_kand_name','good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','number','product_date_name','expiry_date_name','time','user_name','in_price','price','patient_name','out_count','total_price']
1101 1117
 
1102 1118
        const data = this.formatJson(filterVal, this.tableDataList)
1103 1119
 

+ 82 - 1
src/xt_pages/stock/drugs/components/drugCancelDetail.vue View File

@@ -76,6 +76,38 @@
76 76
       </div>
77 77
     </div>
78 78
 
79
+    <div  style="margin-bottom: 20px;">
80
+      <label class="title"><span class="name">药品名称</span> :</label>
81
+      <el-autocomplete
82
+          class="checkSearch"
83
+          popper-class="my-autocomplete"
84
+          v-model="drug_name"
85
+          :fetch-suggestions="querySearchAsync"
86
+          :trigger-on-focus="true"
87
+          placeholder="请输入药品名称"
88
+          @select="handleSelect"
89
+          style="width: 300px"
90
+        >
91
+          <i class="el-icon-search el-input__icon" slot="suffix"></i>
92
+          <template slot-scope="{ item }">
93
+            <div class="name">
94
+              {{
95
+                item.drug_name +
96
+                item.dose +
97
+                item.dose_unit +
98
+                "*" +
99
+                item.min_number +
100
+                item.min_unit +
101
+                "/" +
102
+                item.max_unit +
103
+                "  " +
104
+                item.manufacturer
105
+              }}
106
+            </div>
107
+          </template>
108
+      </el-autocomplete>
109
+    </div>
110
+
79 111
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
80 112
       <el-table class="eltable"
81 113
         :data="tableData"
@@ -188,6 +220,7 @@ import { uParseTime } from "@/utils/tools";
188 220
 import { fetchAllAdminUsers} from "@/api/doctor";
189 221
 import {  GetAllConfig} from "@/api/stock";
190 222
 import { getDrugCancelDetail } from "@/api/drug/drug_stock";
223
+import {  postSearchDrugList } from "@/api/data";
191 224
 export default {
192 225
   name: "cancelStockDetail",
193 226
 
@@ -260,10 +293,57 @@ export default {
260 293
       drugTypeList:[],
261 294
       dealerList:[],
262 295
       manufacturerList:[],
263
-      patientsList:[]
296
+      patientsList:[],
297
+      drug_name:"",
298
+      drug_id:0
264 299
     };
265 300
   },
266 301
   methods: {
302
+    querySearchAsync(keyword, cb) {
303
+      let key = "";
304
+      if (keyword != undefined) {
305
+        key = keyword;
306
+      }
307
+      let searchArray = [];
308
+      postSearchDrugList(key, this.storehouse_id).then((response) => {
309
+        if (response.data.state == 1) {
310
+          searchArray = response.data.data.list;
311
+
312
+          var list = response.data.data.list;
313
+
314
+          this.drugList = list;
315
+          var manufacturerList = response.data.data.manufacturerList;
316
+          this.manufacturerList = manufacturerList;
317
+          var dealerList = response.data.data.dealerList;
318
+          this.dealerList = dealerList;
319
+          for (let i = 0; i < this.drugList.length; i++) {
320
+            for (let j = 0; j < this.manufacturerList.length; j++) {
321
+              if (
322
+                this.drugList[i].manufacturer == this.manufacturerList[j].id
323
+              ) {
324
+                this.drugList[i].manufacturer =
325
+                  this.manufacturerList[j].manufacturer_name;
326
+              }
327
+            }
328
+
329
+            for (let z = 0; z < dealerList.length; z++) {
330
+              if (this.drugList[i].dealer == this.dealerList[z].id) {
331
+                this.drugList[i].dealer = this.dealerList[z].dealer_name;
332
+              }
333
+            }
334
+          }
335
+
336
+          cb(this.drugList);
337
+        } else {
338
+          cb([]);
339
+        }
340
+      });
341
+    },
342
+    handleSelect(val) {
343
+      this.drug_name = val.drug_name
344
+      this.drug_id = val.id
345
+      this.getlist()
346
+    },
267 347
     PrintAction() {
268 348
         window.sessionStorage.setItem('start_cancel_time',this.start_time)
269 349
         window.sessionStorage.setItem('end_cancel_time',this.end_time)
@@ -372,6 +452,7 @@ export default {
372 452
         keyword:this.searchKey,
373 453
         limit:this.limit,
374 454
         page:this.page,
455
+        drug_id:this.drug_id,
375 456
        }
376 457
        const loading = this.$loading({
377 458
           lock: true,

+ 89 - 2
src/xt_pages/stock/drugs/components/drugInOrder.vue View File

@@ -86,6 +86,40 @@
86 86
       >
87 87
     </div>
88 88
 
89
+    <div  style="margin-bottom: 20px;">
90
+      <label class="title"><span class="name">药品名称</span> :</label>
91
+      <el-autocomplete
92
+        class="checkSearch"
93
+        popper-class="my-autocomplete"
94
+        v-model="drug_name"
95
+        :fetch-suggestions="querySearchAsync"
96
+        :trigger-on-focus="true"
97
+        placeholder="请输入药品名称"
98
+        @select="handleSelect"
99
+        style="width: 300px"
100
+      >
101
+        <i class="el-icon-search el-input__icon" slot="suffix"></i>
102
+        <template slot-scope="{ item }">
103
+          <div class="name">
104
+            {{
105
+              item.drug_name +
106
+              item.dose +
107
+              item.dose_unit +
108
+              "*" +
109
+              item.min_number +
110
+              item.min_unit +
111
+              "/" +
112
+              item.max_unit +
113
+              "  " +
114
+              item.manufacturer
115
+            }}
116
+          </div>
117
+        </template>
118
+      </el-autocomplete>
119
+    
120
+    </div>
121
+   
122
+
89 123
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
90 124
       <el-table class="eltable"
91 125
         :data="cancelStockDate"
@@ -219,6 +253,7 @@ import { uParseTime } from "@/utils/tools";
219 253
 import { fetchAllAdminUsers } from "@/api/doctor";
220 254
 import { GetAllConfig } from "@/api/stock";
221 255
 import { getDrugIndetail,getDrugWarehouseInfoPrint,ModityDrugCodeWarehouseInfo} from "@/api/drug/drug_stock"
256
+import {  postSearchDrugList } from "@/api/data";
222 257
 export default {
223 258
   name: "stockInDetail",
224 259
 
@@ -302,9 +337,60 @@ export default {
302 337
       currentIndex:0,
303 338
       textarea:"",
304 339
       id:0,
340
+      drug_name:"",
341
+      drug_id:0,
305 342
     };
306 343
   },
307 344
   methods: {
345
+    querySearchAsync(keyword, cb) {
346
+      let key = "";
347
+      if (keyword != undefined) {
348
+        key = keyword;
349
+      }
350
+      let searchArray = [];
351
+      postSearchDrugList(key, this.storehouse_id).then((response) => {
352
+        if (response.data.state == 1) {
353
+          searchArray = response.data.data.list;
354
+
355
+          var list = response.data.data.list;
356
+
357
+          this.drugList = list;
358
+          var manufacturerList = response.data.data.manufacturerList;
359
+          this.manufacturerList = manufacturerList;
360
+          var dealerList = response.data.data.dealerList;
361
+          this.dealerList = dealerList;
362
+          for (let i = 0; i < this.drugList.length; i++) {
363
+            for (let j = 0; j < this.manufacturerList.length; j++) {
364
+              if (
365
+                this.drugList[i].manufacturer == this.manufacturerList[j].id
366
+              ) {
367
+                this.drugList[i].manufacturer =
368
+                  this.manufacturerList[j].manufacturer_name;
369
+              }
370
+            }
371
+
372
+            for (let z = 0; z < dealerList.length; z++) {
373
+              if (this.drugList[i].dealer == this.dealerList[z].id) {
374
+                this.drugList[i].dealer = this.dealerList[z].dealer_name;
375
+              }
376
+            }
377
+          }
378
+
379
+          cb(this.drugList);
380
+        } else {
381
+          cb([]);
382
+        }
383
+      });
384
+    },
385
+    changeDrugName(val) {
386
+      this.currentIndex = val;
387
+    },
388
+    handleSelect(val) {
389
+      this.drug_name = val.drug_name
390
+      this.drug_id = val.id
391
+      this.getlist()
392
+      this.getDrugWarehouseInfoPrint()
393
+    },
308 394
     changeText(event){
309 395
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
310 396
       if (event.key === 'Enter') {
@@ -327,7 +413,6 @@ export default {
327 413
            id:this.id,
328 414
            drug_code:this.textarea,
329 415
         }
330
-        // console.log("params=-==---",params)
331 416
        ModityDrugCodeWarehouseInfo(params).then(response=>{
332 417
           if(response.data.state == 1){
333 418
             var info =  response.data.data.info
@@ -445,6 +530,7 @@ export default {
445 530
         limit:this.limit,
446 531
         page:this.page,
447 532
         storehouse_id:this.storehouse_id,
533
+        drug_id:this.drug_id,
448 534
        }
449 535
        const loading = this.$loading({
450 536
           lock: true,
@@ -536,6 +622,7 @@ export default {
536 622
         end_time:this.end_time,
537 623
         order_type:this.order_type,
538 624
         storehouse_id:this.storehouse_id,
625
+        drug_id:this.drug_id,
539 626
       }
540 627
     
541 628
      getDrugWarehouseInfoPrint(params).then(response=>{
@@ -551,7 +638,7 @@ export default {
551 638
     PrintAction(){
552 639
       window.sessionStorage.setItem('drug_start_in_time',this.start_time)
553 640
       window.sessionStorage.setItem('drug_end_in_time',this.end_time)
554
-      this.$router.push("/stock/drugprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+this.order_type+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page)
641
+      this.$router.push("/stock/drugprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+this.order_type+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page+"&drug_id="+this.drug_id)
555 642
     },
556 643
     select(){
557 644
 

+ 108 - 4
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

@@ -102,6 +102,48 @@
102 102
 
103 103
     </div>
104 104
 
105
+    <div  style="margin-bottom: 20px;">
106
+      <label class="title"><span class="name">药品名称</span> :</label>
107
+        <el-autocomplete
108
+          class="checkSearch"
109
+          popper-class="my-autocomplete"
110
+          v-model="drug_name"
111
+          :fetch-suggestions="querySearchAsync"
112
+          :trigger-on-focus="true"
113
+          placeholder="请输入药品名称"
114
+          @select="handleSelect"
115
+          style="width: 300px"
116
+        >
117
+          <i class="el-icon-search el-input__icon" slot="suffix"></i>
118
+          <template slot-scope="{ item }">
119
+            <div class="name">
120
+              {{
121
+                item.drug_name +
122
+                item.dose +
123
+                item.dose_unit +
124
+                "*" +
125
+                item.min_number +
126
+                item.min_unit +
127
+                "/" +
128
+                item.max_unit +
129
+                "  " +
130
+                item.manufacturer
131
+              }}
132
+            </div>
133
+          </template>
134
+        </el-autocomplete>
135
+
136
+        <label class="title"><span class="name">出库方式</span> : </label>
137
+        <el-select size="small" v-model="order_way" filterable placeholder="请选择仓库" style="width:200px" @change="changeOrderWayList">
138
+              <el-option
139
+                v-for="(option, index) in orderWay"
140
+                :key="index"
141
+                :label="option.label"
142
+                :value="option.value">
143
+              </el-option>
144
+          </el-select>
145
+   </div>
146
+
105 147
 
106 148
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
107 149
       <el-table class="eltable"
@@ -228,7 +270,8 @@ import { uParseTime } from "@/utils/tools";
228 270
 import { fetchAllAdminUsers } from "@/api/doctor";
229 271
 import {GetAllConfig } from "@/api/stock";
230 272
 import {getDrugOutDetail,getDrugOutOrderPrint } from "@/api/drug/drug_stock"
231
- import {getBaseDrugLibList} from '@/api/data'
273
+import {getBaseDrugLibList} from '@/api/data'
274
+import {  postSearchDrugList } from "@/api/data";
232 275
 export default {
233 276
   name: "stockOutDetail",
234 277
 
@@ -281,7 +324,11 @@ export default {
281 324
       manufacturer_id: "",
282 325
       dealer_id: "",
283 326
       order_type:"",
284
-
327
+      orderWay:[
328
+        {value:0,label:"全部"},
329
+        {value:1,label:"手动出库"},
330
+        {value:2,label:"自动出库"},
331
+      ],
285 332
       searchKey: "",
286 333
       type: 2,
287 334
       page: 1,
@@ -311,10 +358,63 @@ export default {
311 358
       houseList:[],
312 359
       dealerList:[],
313 360
       manufacturerList:[],
314
-      patientsList:[]
361
+      patientsList:[],
362
+      drug_name:"",
363
+      drug_id:0,
364
+      order_way:"",
315 365
     };
316 366
   },
317 367
   methods: {
368
+    changeOrderWayList(){
369
+      this.getlist()
370
+      this.getDrugOutOrderPrint()
371
+    },
372
+    querySearchAsync(keyword, cb) {
373
+      let key = "";
374
+      if (keyword != undefined) {
375
+        key = keyword;
376
+      }
377
+      let searchArray = [];
378
+      postSearchDrugList(key, this.storehouse_id).then((response) => {
379
+        if (response.data.state == 1) {
380
+          searchArray = response.data.data.list;
381
+
382
+          var list = response.data.data.list;
383
+
384
+          this.drugList = list;
385
+          var manufacturerList = response.data.data.manufacturerList;
386
+          this.manufacturerList = manufacturerList;
387
+          var dealerList = response.data.data.dealerList;
388
+          this.dealerList = dealerList;
389
+          for (let i = 0; i < this.drugList.length; i++) {
390
+            for (let j = 0; j < this.manufacturerList.length; j++) {
391
+              if (
392
+                this.drugList[i].manufacturer == this.manufacturerList[j].id
393
+              ) {
394
+                this.drugList[i].manufacturer =
395
+                  this.manufacturerList[j].manufacturer_name;
396
+              }
397
+            }
398
+
399
+            for (let z = 0; z < dealerList.length; z++) {
400
+              if (this.drugList[i].dealer == this.dealerList[z].id) {
401
+                this.drugList[i].dealer = this.dealerList[z].dealer_name;
402
+              }
403
+            }
404
+          }
405
+
406
+          cb(this.drugList);
407
+        } else {
408
+          cb([]);
409
+        }
410
+      });
411
+    },
412
+    handleSelect(val) {
413
+      this.drug_name = val.drug_name
414
+      this.drug_id = val.id
415
+      this.getlist()
416
+      this.getDrugOutOrderPrint()
417
+    },
318 418
     changeType: function(val) {
319 419
       this.order_type = val;
320 420
       this.getlist()
@@ -445,7 +545,7 @@ export default {
445 545
     PrintAction: function() {
446 546
       //  window.sessionStorage.setItem('start_out_time',this.start_time)
447 547
       //  window.sessionStorage.setItem('end_out_time',this.end_time)
448
-       this.$router.push("/stock/drugoutorderprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+2+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page+"&storehouse_id="+this.storehouse_id)
548
+       this.$router.push("/stock/drugoutorderprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+2+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page+"&storehouse_id="+this.storehouse_id+"&drug_id="+this.drug_id+"&order_way="+this.order_way)
449 549
     },
450 550
     getlist(){
451 551
       var params = {
@@ -457,6 +557,8 @@ export default {
457 557
          page:this.page,
458 558
          limit:this.limit,
459 559
          storehouse_id:this.storehouse_id,
560
+         drug_id:this.drug_id,
561
+         order_way:this.order_way,
460 562
       }
461 563
       const loading = this.$loading({
462 564
           lock: true,
@@ -974,6 +1076,8 @@ export default {
974 1076
          end_time:this.end_time,
975 1077
          order_type:2,
976 1078
          storehouse_id:this.storehouse_id,
1079
+         drug_id:this.drug_id,
1080
+         order_way:this.order_way,
977 1081
       }
978 1082
      getDrugOutOrderPrint(params).then(response=>{
979 1083
         if(response.data.state == 1){

+ 4 - 0
src/xt_pages/stock/drugs/drugOutOrderPrint.vue View File

@@ -140,6 +140,8 @@
140 140
         limit:this.$route.query.limit,
141 141
         page:this.$route.query.page,
142 142
         storehouse_id:this.$route.query.storehouse_id,
143
+        drug_id:this.$route.query.drug_id,
144
+        order_way:this.$route.query.order_way,
143 145
         cancelStockDate:[],
144 146
         drugList:[],
145 147
         org_id:0,
@@ -232,6 +234,8 @@
232 234
           end_time:this.end_time,
233 235
           order_type:parseInt(this.order_type),
234 236
           storehouse_id:parseInt(this.storehouse_id),
237
+          drug_id:this.drug_id,
238
+          order_way:this.order_way
235 239
         }
236 240
       
237 241
         getDrugOutOrderPrint(params).then(response=>{

+ 2 - 0
src/xt_pages/stock/drugs/drugPrint.vue View File

@@ -119,6 +119,7 @@
119 119
         keyword:this.$route.query.keyword,
120 120
         limit:this.$route.query.limit,
121 121
         page:this.$route.query.page,
122
+        drug_id:this.$route.query.drug_id,
122 123
         cancelStockDate:[],
123 124
         minCount:[],
124 125
       }
@@ -233,6 +234,7 @@
233 234
           start_time:this.start_time,
234 235
           end_time:this.end_time,
235 236
           order_type:this.order_type,
237
+          drug_id:this.drug_id
236 238
          }
237 239
          console.log("params2222",params)
238 240
         getDrugWarehouseInfoPrint(params).then(response=>{

+ 8 - 0
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue View File

@@ -437,10 +437,13 @@
437 437
 
438 438
     <el-dialog
439 439
       title="药品追溯码"
440
+      @open="openDialog"
440 441
       :visible.sync="dialogVisible"
441 442
       width="40%">
442 443
       <span>
443 444
         <el-input
445
+        
446
+         ref="inputRef"
444 447
          @keyup.native="changeText"
445 448
           type="textarea"
446 449
           placeholder="请输入内容"
@@ -596,6 +599,11 @@ export default {
596 599
     };
597 600
   },
598 601
   methods: {
602
+    openDialog(){
603
+      this.$nextTick(() => {
604
+        this.$refs.inputRef.focus()
605
+      });
606
+    },
599 607
     changeDrugCode(row,index){
600 608
       this.textarea=""
601 609
       this.textarea = row.drug_code

+ 7 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue View File

@@ -399,11 +399,13 @@
399 399
     </div>
400 400
 
401 401
     <el-dialog
402
+     @open="openDialog"
402 403
       title="药品追溯码"
403 404
       :visible.sync="dialogVisible"
404 405
       width="40%">
405 406
       <span>
406 407
         <el-input
408
+         ref="inputRef"
407 409
          @keyup.native="changeText"
408 410
           type="textarea"
409 411
           placeholder="请输入内容"
@@ -532,6 +534,11 @@ export default {
532 534
     };
533 535
   },
534 536
   methods: {
537
+    openDialog(){
538
+      this.$nextTick(() => {
539
+        this.$refs.inputRef.focus()
540
+      });
541
+    },
535 542
     changeText(event){
536 543
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
537 544
       if (event.key === 'Enter') {

File diff suppressed because it is too large
+ 602 - 560
src/xt_pages/user/Informed/Informedconsent.vue


+ 206 - 0
src/xt_pages/user/Informed/components/informef_Twentyfive.vue View File

@@ -0,0 +1,206 @@
1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+            <h2 style="text-align: center;">血液净化中心首次透析病人护理宣教单</h2>
21
+            <div v-html="content" ></div>
22
+          </div>
23
+        </div>
24
+      </div>
25
+      <el-dialog
26
+        title="提示"
27
+        :visible.sync="dialogVisible"
28
+        width="60%"
29
+        >
30
+        <div>
31
+          <h2 style="text-align: center;">血液净化中心首次透析病人护理宣教单</h2>
32
+          <keep-alive>
33
+            <editor ref="editor"
34
+                    id="editor"
35
+                    style="width: 100%"
36
+                    v-bind:r_content="content">
37
+            </editor>
38
+          </keep-alive>
39
+        </div>
40
+        <span slot="footer" class="dialog-footer">
41
+          <el-button @click="dialogVisible = false">取 消</el-button>
42
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
43
+        </span>
44
+      </el-dialog>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import print from "print-js";
50
+import Editor from '@/components/Editor'
51
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
52
+import { jsGetAge, uParseTime } from "@/utils/tools";
53
+const content=`<p><span>护士自我介绍,介绍科室主任、护长及医生,介绍科室环境(包括卫生间、饮水机、储存柜)告知下一次透析时间。</span></p>
54
+<p style="text-indent: 2rem;"><span>为了保持血液净化中心工作顺利、有序进行,避免患者遭受感染的危险,保障患者医疗安全请病人、家属及陪护遵守以下制度: </span></p>
55
+<p><span>1、按照血液透析的日期安排准时到达血液净化中心。第一批:上午7:30-8:00到达本中心,第二批:12:30-13:00到达,第三批17:00-17:30否则会影响您的透析时间</span><br/>
56
+<span>2、进入医院请佩戴口罩(包括整个透析过程都要佩戴口罩),可在透析中心门口取手消毒液洗手人与人之间保持一米的距离。</span><br/>
57
+<span>3、进入透析室前请配合工作人员进行体温测量和流行病史的调查,如有发热、咳嗽请主动告知。上机前请配合护士再次测量体温和填写流调表,并签名(对无法名的病人可以打指模)</span><br/>
58
+<span>4、咳嗽或打喷嚏时用纸巾盖住口鼻或用衣袖遮盖口鼻。</span><br/>
59
+<span>5、进入透析治疗区前测量体重(减去衣服的重量,尤其冬天),将体重告知文员或护士,然后进行透析治疗。透析治疗结束后也要称体重(强调要跟透析前穿的衣服一样多)。</span><br/>
60
+<span>6、病人亲属、陪护进入血液净化中心接、送病人前,要先如实填写流调表,安置好病人后马上离开。</span><br/>
61
+<span>7、在血液透析治疗过程中,亲属或陪护请勿擅自进入血液净化中心探视,可在家属休息区等候病人血液透析治疗结束,若病情需要留陪护时,经本中心医护人员许可后才能进入,并服从医务人员安排。</span><br/>
62
+<span>8、如您需要改变血液透析治疗日期,请提前一天与科室主管护士取得联系并得到同意。</span><br/>
63
+<span>9、血液透析治疗的费用外地户口单次交,肇庆本地按月结账。为了更好的安排您的血液透析治疗,请您按时付清血液透析费用。</span><br/>
64
+<span>10、请您不要携带贵重物品来血液透析室,如果带来应自己妥善保管。</span><br/>
65
+<span>11、保持血液透析室安静、整洁,室内严禁吸烟、严禁大声喧哗,为病人营造安全、舒适的透析环境</span><br/>
66
+<span>12、血液透析过程中如有不适及时向医务人员报告。</span></p>
67
+<p><span>本人已接受以上知识宣教,有疑问会及时拨打血液净化中心电话:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
68
+<p style="text-align: right;margin-right: 30px;"><span>病人签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
69
+<p style="text-align: right;margin-right: 30px;"><span>家属签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
70
+<p style="text-align: right;margin-right: 30px;"><span>护士签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
71
+<p style="text-align: right;margin-right: 30px;"><span> 年&nbsp;&nbsp;   月&nbsp;&nbsp;   日</span></p>`
72
+export default{
73
+  props: {
74
+    patient_id: {
75
+        type: Number,
76
+      },
77
+      therapyinformePrint:{
78
+        type:Object,
79
+      }
80
+   },
81
+  components:{
82
+    Editor
83
+  },
84
+  data(){
85
+    return{
86
+      patient:{},
87
+      org_id:0,
88
+      dialogVisible:false,
89
+      content:content,
90
+      orgname:'',
91
+    }
92
+  },
93
+  methods:{
94
+     getlist(){
95
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
96
+          if(response.data.state == 1){
97
+            var patient =  response.data.data.patients
98
+            console.log("patinet",patient)
99
+            this.patient =patient
100
+          }
101
+        })
102
+      },
103
+      printThisPage(){
104
+          const style = '@media print {  .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
105
+          printJS({
106
+              printable: 'print_content',
107
+              type: 'html',
108
+              documentTitle: '  ',
109
+              style: style,
110
+              scanStyles: false
111
+          })
112
+      },
113
+      getAge: function(val) {
114
+          if (val.id_card_no == undefined) {
115
+            return false
116
+          }
117
+          var thisLen = val.id_card_no.length
118
+          var birth = ''
119
+          if (thisLen == 15) {
120
+            birth = '19' + val.id_card_no.substr(6, 6)
121
+          } else {
122
+            birth = val.id_card_no.substr(6, 8)
123
+          }
124
+          var birthtwo =
125
+            birth.substr(0, 4) +
126
+            '-' +
127
+            birth.substr(4, 2) +
128
+            '-' +
129
+            birth.substr(6, 2)
130
+
131
+          var age = jsGetAge(birthtwo, '-')
132
+          return age
133
+      },
134
+      bianji(){
135
+        this.dialogVisible=true
136
+      },
137
+      show(val){
138
+
139
+       if(val!=null){
140
+        console.log("valw233223",val)
141
+         if(val.content!=""){
142
+           this.content = ""
143
+           this.content = val.content
144
+         }
145
+
146
+       }
147
+     },
148
+      saveTherapyInformed(){
149
+         var params = {
150
+          content:this.$refs.editor.content
151
+         }
152
+        saveTherapyInformed(params).then(response=>{
153
+
154
+          if(response.data.state ==1){
155
+            var list = response.data.data.list
156
+            this.$message.success("保存成功!")
157
+            this.dialogVisible = false
158
+            this.$emit("getTherapyInformed","");
159
+          }
160
+        })
161
+      }
162
+
163
+  },
164
+  created(){
165
+    this.orgname = this.$store.getters.xt_user.org.org_name;
166
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
167
+       this.content = ""
168
+       this.content = this.therapyinformePrint.content
169
+    }
170
+    this.getlist()
171
+    this.org_id = this.$store.getters.xt_user.org.id
172
+  }
173
+}
174
+</script>
175
+<style lang="scss" scoped>
176
+
177
+*{
178
+  // margin: 0;
179
+  // padding: 0;
180
+  border: 0;
181
+}
182
+  .content{
183
+      p{
184
+        font-size: 16px;
185
+        font-family: '新宋体';
186
+        line-height: 22px;
187
+        // padding-left: 20px;
188
+        // margin-bottom: 5px;
189
+        text-align: justify;
190
+      }
191
+  }
192
+  .print_page_main_content {
193
+    background-color: white;
194
+    width: 100%;
195
+    padding: 0 0 0 0;
196
+    page-break-after: always;
197
+  }
198
+  .table tr{
199
+    page-break-inside:avoid
200
+  }
201
+  .table tr td{
202
+    border: 1px solid black;
203
+    // text-align: center;
204
+    // align-items: center;
205
+  }
206
+</style>

+ 213 - 0
src/xt_pages/user/Informed/components/informef_Twentyfour.vue View File

@@ -0,0 +1,213 @@
1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+            <h2 style="text-align: center;">静脉留置导管护理宣教</h2>
21
+            <div v-html="content" ></div>
22
+          </div>
23
+        </div>
24
+      </div>
25
+      <el-dialog
26
+        title="提示"
27
+        :visible.sync="dialogVisible"
28
+        width="60%"
29
+        >
30
+        <div>
31
+          <h2 style="text-align: center;">静脉留置导管护理宣教</h2>
32
+          <keep-alive>
33
+            <editor ref="editor"
34
+                    id="editor"
35
+                    style="width: 100%"
36
+                    v-bind:r_content="content">
37
+            </editor>
38
+          </keep-alive>
39
+        </div>
40
+        <span slot="footer" class="dialog-footer">
41
+          <el-button @click="dialogVisible = false">取 消</el-button>
42
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
43
+        </span>
44
+      </el-dialog>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import print from "print-js";
50
+import Editor from '@/components/Editor'
51
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
52
+import { jsGetAge, uParseTime } from "@/utils/tools";
53
+const content=`<p><span>静脉留置导管是指从颈或股静脉穿刺置入的静脉导管。包括长期留置导管和临时留置导管。</span><br/><span>留置导管的优点:</span><br/>
54
+<span>1、深静脉留置导管使透析治疗更方便、快捷、安全。</span><br/>
55
+<span>2、长期留置导管根据患者具体情况一般可留置3-5年,临时留置导管可留置 1-2个月(超过时间须签知情同意书)</span><br/>
56
+<span>3、留置后立刻可以投入使用。</span><br/></p>
57
+<p><span>静脉留置导管护理的注意事项:</span><br/>
58
+<span>1、颈部留置管的患者避免干重体力活,但可从事一般性的日常工作和家务劳动,避免颈部过度活动,抹身时动作幅度不要太大,动作不要过大。避免使用留置管侧手臂提重物(>2.5kg)。避免淋浴、洗面、洗头时弄湿敷料。要穿宽松对襟衣服,脱衣时注意导管不要拉出。避免套头式衣服。导管应正确固定,胶布出现卷边、松脱时应重新粘贴固定,禁止绕颈固定。颈静脉留置管留置时间超过一月者,须签知情同意书</span><br/>
59
+<span>2、股静脉留置管的患者应避免过多起床活动,坐位时不能前倾,大腿弯曲不要超过 90度(大、小便时尤其注意)。保持大便通畅,避免大、小便污染敷料,如弄湿或污染敷料时要及时更换。应避免盆浴、泡浴、游泳等。股静脉留置管留置时间超过一周者,须签知情同意书。</span><br/>
60
+<span>3、留置导管不可用于输液、抽血、输血、输注药物等用途,以免影响导管的使用寿命。导管管夹、肝素帽需维持关闭状态,勿自行开、关调整,松脱时可能造成感染、流血、进空气等情况。注意测量体温,体温高于37.5℃要及时就诊。置管口皮肤有痒禁忌手抓,以防感染。</span><br/>
61
+<span>4、随时注意观察皮肤外导管长度,如发现导管部分脱出,应固定导管,不能自行塞入留置导管。</span><br/>
62
+<span>5、患者平时应注意观察敷料外面有无液体渗出,穿刺点有无红、肿、热、痛。</span><br/>
63
+<span>6、留置导管患者应注意个人卫生,勤换内衣裤,穿脱衣、裤时动作轻柔,避免将导管拉出。</span><br/>
64
+<span>7、留置导管患者睡觉时取平卧位或对侧卧位,尽量不要弯腰,防止血液倒流堵导管。</span><br/>
65
+<span>8、留置导管患者在透析治疗时由护士对留置导管进行换药,包括检查穿刺点局部皮肤情况、缝针线有无脱落、更换敷贴及肝素帽。透析间隔时间较长的患者一般隔3天更换一次。</span><br/>
66
+<span>9、保持百多邦等药膏的干净,使用专门的盒子放置,填写开启日期</span></p>
67
+<p><span>出现以下情况,请立即回医院处理:</span><br/>
68
+<span>1、穿刺口持续渗血或突然出现穿刺部位附近肿胀、呼吸困难,应用无菌纱块或干净布料压迫出血点,同时立即到医院就诊。</span><br/>
69
+<span>2、穿刺口有渗液、脓性分泌物,局部出现红、肿、热、痛。</span><br/>
70
+<span>3、敷料受污染、潮湿、松脱。</span><br/>
71
+<span>4、发现导管外移、脱出,或不慎将导管拔出,应立即用纱布或干净布料按压止血并联系血透医生回医院处理。如果隧道口处有血液渗出或周围胀痛应立即就医。</span><br/>
72
+<span>5、如导管断裂或破损,在导管断裂、破损处上方或靠近穿刺点处将导管折起或夹闭,用胶布固定,以阻止血液流出,并联系血透医生。</span><br/>
73
+<span>6、导管末端肝素帽松脱时可能造成感染,需即刻至医院求治。</span></p>
74
+<p><span>本人已接受以上知识宣教,有疑问会及时拨打血液净化中心电话:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
75
+<p style="text-align: right;margin-right: 30px;"><span>病人签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
76
+<p style="text-align: right;margin-right: 30px;"><span>家属签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
77
+<p style="text-align: right;margin-right: 30px;"><span>护士签名:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
78
+<p style="text-align: right;margin-right: 30px;"><span> 年&nbsp;&nbsp;   月&nbsp;&nbsp;   日</span></p>`
79
+export default{
80
+  props: {
81
+    patient_id: {
82
+        type: Number,
83
+      },
84
+      therapyinformePrint:{
85
+        type:Object,
86
+      }
87
+   },
88
+  components:{
89
+    Editor
90
+  },
91
+  data(){
92
+    return{
93
+      patient:{},
94
+      org_id:0,
95
+      dialogVisible:false,
96
+      content:content,
97
+      orgname:'',
98
+    }
99
+  },
100
+  methods:{
101
+     getlist(){
102
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
103
+          if(response.data.state == 1){
104
+            var patient =  response.data.data.patients
105
+            console.log("patinet",patient)
106
+            this.patient =patient
107
+          }
108
+        })
109
+      },
110
+      printThisPage(){
111
+          const style = '@media print {  .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
112
+          printJS({
113
+              printable: 'print_content',
114
+              type: 'html',
115
+              documentTitle: '  ',
116
+              style: style,
117
+              scanStyles: false
118
+          })
119
+      },
120
+      getAge: function(val) {
121
+          if (val.id_card_no == undefined) {
122
+            return false
123
+          }
124
+          var thisLen = val.id_card_no.length
125
+          var birth = ''
126
+          if (thisLen == 15) {
127
+            birth = '19' + val.id_card_no.substr(6, 6)
128
+          } else {
129
+            birth = val.id_card_no.substr(6, 8)
130
+          }
131
+          var birthtwo =
132
+            birth.substr(0, 4) +
133
+            '-' +
134
+            birth.substr(4, 2) +
135
+            '-' +
136
+            birth.substr(6, 2)
137
+
138
+          var age = jsGetAge(birthtwo, '-')
139
+          return age
140
+      },
141
+      bianji(){
142
+        this.dialogVisible=true
143
+      },
144
+      show(val){
145
+
146
+       if(val!=null){
147
+        console.log("valw233223",val)
148
+         if(val.content!=""){
149
+           this.content = ""
150
+           this.content = val.content
151
+         }
152
+
153
+       }
154
+     },
155
+      saveTherapyInformed(){
156
+         var params = {
157
+          content:this.$refs.editor.content
158
+         }
159
+        saveTherapyInformed(params).then(response=>{
160
+
161
+          if(response.data.state ==1){
162
+            var list = response.data.data.list
163
+            this.$message.success("保存成功!")
164
+            this.dialogVisible = false
165
+            this.$emit("getTherapyInformed","");
166
+          }
167
+        })
168
+      }
169
+
170
+  },
171
+  created(){
172
+    this.orgname = this.$store.getters.xt_user.org.org_name;
173
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
174
+       this.content = ""
175
+       this.content = this.therapyinformePrint.content
176
+    }
177
+    this.getlist()
178
+    this.org_id = this.$store.getters.xt_user.org.id
179
+  }
180
+}
181
+</script>
182
+<style lang="scss" scoped>
183
+
184
+*{
185
+  // margin: 0;
186
+  // padding: 0;
187
+  border: 0;
188
+}
189
+  .content{
190
+      p{
191
+        font-size: 16px;
192
+        font-family: '新宋体';
193
+        line-height: 22px;
194
+        // padding-left: 20px;
195
+        // margin-bottom: 5px;
196
+        text-align: justify;
197
+      }
198
+  }
199
+  .print_page_main_content {
200
+    background-color: white;
201
+    width: 100%;
202
+    padding: 0 0 0 0;
203
+    page-break-after: always;
204
+  }
205
+  .table tr{
206
+    page-break-inside:avoid
207
+  }
208
+  .table tr td{
209
+    border: 1px solid black;
210
+    // text-align: center;
211
+    // align-items: center;
212
+  }
213
+</style>

+ 210 - 0
src/xt_pages/user/Informed/components/informef_Twentysevre.vue View File

@@ -0,0 +1,210 @@
1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+            <h2 style="text-align: center;">动静脉内瘘护理宣教单</h2>
21
+            <div v-html="content" ></div>
22
+          </div>
23
+        </div>
24
+      </div>
25
+      <el-dialog
26
+        title="提示"
27
+        :visible.sync="dialogVisible"
28
+        width="60%"
29
+        >
30
+        <div>
31
+          <h2 style="text-align: center;">动静脉内瘘护理宣教单</h2>
32
+          <keep-alive>
33
+            <editor ref="editor"
34
+                    id="editor"
35
+                    style="width: 100%"
36
+                    v-bind:r_content="content">
37
+            </editor>
38
+          </keep-alive>
39
+        </div>
40
+        <span slot="footer" class="dialog-footer">
41
+          <el-button @click="dialogVisible = false">取 消</el-button>
42
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
43
+        </span>
44
+      </el-dialog>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import print from "print-js";
50
+import Editor from '@/components/Editor'
51
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
52
+import { jsGetAge, uParseTime } from "@/utils/tools";
53
+const content=`<p style="text-indent: 2rem;"><span>动静脉内痿是指动静脉在皮下吻合建立的血管通路,包括直接动脉内瘘和移植动静脉内瘘。动静脉内痿的建立能确保病人进行长期透析治疗,是透析病人的“生命线”。</span></p>
54
+<p><span style="font-size: 16px;font-weight: bold;">动静脉内瘘的优点:</span></p>
55
+<p><span>1、易于反复建立血液透析血流通路。</span><br/>
56
+<span>2、保持长期的功能,不必经常手术。</span><br/>
57
+<span>3、并发症少,感染率低。使透析治疗更方便、安全。使用时间长,对日常活动影响小。</span><br/>
58
+<span>4、可降低医疗费用,减少患者的经济负担。</span></p>
59
+<p><span style="font-size: 16px;font-weight: bold;">动静脉内瘘护理的注意事项:</span></p>
60
+<p><span>1、动静脉内瘘的患者仍可从事一般性的日常工作和家务劳动,但内瘘侧手臂要避免提重物(>2.5kg);不能受压,不能佩戴手表及饰物;夜间睡觉不要将内瘘侧手臂垫于枕后,避免侧卧于内瘘手臂侧。</span><br/>
61
+<span>2、保持内瘘手臂的皮肤清洁,每次透析前清洗内瘘侧手臂。</span><br/>
62
+<span>3、内瘘手臂不可用于输液、抽血、输血、输注药物,不能测量血压,以免影响内瘘的使用寿命。</span><br/>
63
+<span>4、患者每天至少2次(早上睡醒、晚上睡前)自我检査动静脉内瘘是否通畅,可将造瘘口放置耳边听到血管杂音或用手扪及造瘘口震颤说明通畅。身体不适时(腹泻、发热等)、透析过程中有低血压发生时或在家自测血压低时应增加检查内瘘次数。</span><br/>
64
+<span>5、透析后 24 小时:(1)可手握橡皮圈小软球进行内瘘锻炼,每日 10-20次,每次 5-10分钟。(2)热敷(不要用热水袋直接压在内瘘上)。(3)外涂喜疗妥软膏。</span><br/>
65
+<span>6、透析结束当天穿刺部位不能接触到水,新瘘1小时后揭开纱块粒,贴上止血贴(4小时以上),如仍有出血,继续用纱块粒轻轻按压(以扪及震颤又不出血为宜)。透析后若穿刺口及周围出现出血肿胀,可压迫止血,24小时内予冰敷,24小时后热敷(不要用热水袋直接压在内瘘上),也可用马铃薯薄片敷肿胀部位。内瘘出现红、肿、热、痛或皮肤有损伤时禁止热敷。</span><br/>
66
+<span>7、最好经常佩戴护腕带,以防外伤引起大出血和避免内瘘继续扩张及意外破裂。但护腕带松紧要适宜,不能过紧导致内瘘堵塞。</span><br/>
67
+<span>8、初次行动静脉内瘘穿刺时,下机后要等待30分钟护士看过没有皮下渗血后离开。</span></p>
68
+<p><span style="font-size: 16px;font-weight: bold;">出现以下情况,请立即回医院处理:</span></p>
69
+<p><span>1、穿刺口持续渗血,反复按压无效。</span><br/>
70
+<span>2、穿刺口有渗液、脓性分泌物,局部出现红、肿、热、痛。</span><br/>
71
+<span>3、若出现造瘘口突然疼痛,有可能是内瘘出现堵塞,立即检查内瘘震颤情况,并联系血透医生。</span><br/>
72
+<span>4、如遇内瘘震颤音消失、外伤或破损立即用纱块或干净布压迫出血点止血。并联系血透医生,立即回医院处理。</span></p>
73
+<p><span>本人已接受以上知识宣教,有疑问会及时拨打血液净化中心电话:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
74
+<p style="text-align: right;margin-right: 30px;"><span>家属签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;病人签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;护士签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
75
+<p style="text-align: right;margin-right: 30px;"><span> 年&nbsp;&nbsp;   月&nbsp;&nbsp;   日</span></p>`
76
+export default{
77
+  props: {
78
+    patient_id: {
79
+        type: Number,
80
+      },
81
+      therapyinformePrint:{
82
+        type:Object,
83
+      }
84
+   },
85
+  components:{
86
+    Editor
87
+  },
88
+  data(){
89
+    return{
90
+      patient:{},
91
+      org_id:0,
92
+      dialogVisible:false,
93
+      content:content,
94
+      orgname:'',
95
+    }
96
+  },
97
+  methods:{
98
+     getlist(){
99
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
100
+          if(response.data.state == 1){
101
+            var patient =  response.data.data.patients
102
+            console.log("patinet",patient)
103
+            this.patient =patient
104
+          }
105
+        })
106
+      },
107
+      printThisPage(){
108
+          const style = '@media print {  .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
109
+          printJS({
110
+              printable: 'print_content',
111
+              type: 'html',
112
+              documentTitle: '  ',
113
+              style: style,
114
+              scanStyles: false
115
+          })
116
+      },
117
+      getAge: function(val) {
118
+          if (val.id_card_no == undefined) {
119
+            return false
120
+          }
121
+          var thisLen = val.id_card_no.length
122
+          var birth = ''
123
+          if (thisLen == 15) {
124
+            birth = '19' + val.id_card_no.substr(6, 6)
125
+          } else {
126
+            birth = val.id_card_no.substr(6, 8)
127
+          }
128
+          var birthtwo =
129
+            birth.substr(0, 4) +
130
+            '-' +
131
+            birth.substr(4, 2) +
132
+            '-' +
133
+            birth.substr(6, 2)
134
+
135
+          var age = jsGetAge(birthtwo, '-')
136
+          return age
137
+      },
138
+      bianji(){
139
+        this.dialogVisible=true
140
+      },
141
+      show(val){
142
+
143
+       if(val!=null){
144
+        console.log("valw233223",val)
145
+         if(val.content!=""){
146
+           this.content = ""
147
+           this.content = val.content
148
+         }
149
+
150
+       }
151
+     },
152
+      saveTherapyInformed(){
153
+         var params = {
154
+          content:this.$refs.editor.content
155
+         }
156
+        saveTherapyInformed(params).then(response=>{
157
+
158
+          if(response.data.state ==1){
159
+            var list = response.data.data.list
160
+            this.$message.success("保存成功!")
161
+            this.dialogVisible = false
162
+            this.$emit("getTherapyInformed","");
163
+          }
164
+        })
165
+      }
166
+
167
+  },
168
+  created(){
169
+    this.orgname = this.$store.getters.xt_user.org.org_name;
170
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
171
+       this.content = ""
172
+       this.content = this.therapyinformePrint.content
173
+    }
174
+    this.getlist()
175
+    this.org_id = this.$store.getters.xt_user.org.id
176
+  }
177
+}
178
+</script>
179
+<style lang="scss" scoped>
180
+
181
+*{
182
+  // margin: 0;
183
+  // padding: 0;
184
+  border: 0;
185
+}
186
+  .content{
187
+      p{
188
+        font-size: 16px;
189
+        font-family: '新宋体';
190
+        line-height: 22px;
191
+        // padding-left: 20px;
192
+        // margin-bottom: 5px;
193
+        text-align: justify;
194
+      }
195
+  }
196
+  .print_page_main_content {
197
+    background-color: white;
198
+    width: 100%;
199
+    padding: 0 0 0 0;
200
+    page-break-after: always;
201
+  }
202
+  .table tr{
203
+    page-break-inside:avoid
204
+  }
205
+  .table tr td{
206
+    border: 1px solid black;
207
+    // text-align: center;
208
+    // align-items: center;
209
+  }
210
+</style>

+ 202 - 0
src/xt_pages/user/Informed/components/informef_Twentysix.vue View File

@@ -0,0 +1,202 @@
1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+            <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+            <h2 style="text-align: center;">血液净化中心饮食宣教单</h2>
21
+            <div v-html="content" ></div>
22
+          </div>
23
+        </div>
24
+      </div>
25
+      <el-dialog
26
+        title="提示"
27
+        :visible.sync="dialogVisible"
28
+        width="60%"
29
+        >
30
+        <div>
31
+          <h2 style="text-align: center;">血液净化中心饮食宣教单</h2>
32
+          <keep-alive>
33
+            <editor ref="editor"
34
+                    id="editor"
35
+                    style="width: 100%"
36
+                    v-bind:r_content="content">
37
+            </editor>
38
+          </keep-alive>
39
+        </div>
40
+        <span slot="footer" class="dialog-footer">
41
+          <el-button @click="dialogVisible = false">取 消</el-button>
42
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
43
+        </span>
44
+      </el-dialog>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import print from "print-js";
50
+import Editor from '@/components/Editor'
51
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
52
+import { jsGetAge, uParseTime } from "@/utils/tools";
53
+const content=`<p><span style="font-size: 16px;font-weight: bold;">饮食建议原则:</span>按体重摄入适量蛋白、控制脂肪的过多摄入、每天足够的碳水化合物摄取、控制水钠过多摄入、控制高钾、高磷食物的摄取、适当补充维生素等。<span>静脉留置导管是指从颈或股静脉穿刺置入的静脉导管。包括长期留置导管和临时留置导管。</span></p>
54
+<p><span style="font-size: 16px;font-weight: bold;">蛋白质的摄入:</span>优质蛋白首选:鸡蛋、鱼、奶、奶制品、新鲜肉类、豆制品等。</p>
55
+<p><span style="font-size: 16px;font-weight: bold;">高钾血症表现:</span>四肢乏力、手足及口周感觉麻木等:心跳减慢、甚至心脏骤停。</p>
56
+<p><span style="font-size: 16px;font-weight: bold;">杨桃:含有某些成份,肾衰竭患者及透析肾友进食后,可致神经系统素乱甚至死亡!肾友切记不能吃!!!</span></p>
57
+<p><span style="font-size: 16px;font-weight: bold;">预防高钾血症:</span>1、蔬菜类可切成薄片,用水浸泡30分钟以上,并换水2-3次,或水煮3min(切碎后用热水滚过,弃水再用油炒)。2、加糖水煮后弃水,食果肉。3、超低温冷藏食品比新鲜食品含钾量少。4、不要用菜汤、肉汤拌饭,炒菜时不要用淀粉勾芡,不要饮用浓缩果汁、茶水。5、不要一次食用大量的水果,不要把几种高钾食物同时食用。6、减少吃含钾高的水果和食物,如:椰子汁、西梅、榴莲、芭蕉类,所有鲜果汁、芒果、大树菠萝、橘子、桔子。7、下列食品含钾质太高,亦应该避免进食;各种中国药材、咖啡、浓茶、代盐、朱古力及含有朱古力的饮品、咖喱粉。8、含钾质低的食物有:苹果、菠萝、甘蔗、鸭梨、西瓜、冬瓜、丝瓜、佛手瓜、西葫芦,如果进食过量,同样可以引起高钾血症。</p>
58
+<p><span style="font-size: 16px;font-weight: bold;">预防高磷血症</span>1、熬骨头汤或炖排骨时,应在清水中煮沸3min弃水后,再加水熬炖,可除去骨中磷。2、食物用水煮后弃去汤汁。3、按医嘱口服磷结合剂:酸钙(如:凯思立、钙尔奇)、氢氧化铝<span style="font-size: 16px;font-weight: bold;">(在吃饭时一起嘬碎食用!!。</span>4、按医嘱晚上睡前口服活性维生素D:如骨化三醇。5、定期复查生化指标和甲状旁腺素。</p>
59
+<p><span style="font-size: 16px;font-weight: bold;">高磷食物:</span>所有干果,生果干、硬壳果;芭蕉类、乌梅、朱古力。肉类、奶类、蛋类、动物内脏、豆类、全谷类、蘑菇、汽水、酵母粉、贝壳类、海鲜类。</p>
60
+<p><span style="font-size: 16px;font-weight: bold;">低磷食物:</span>冬瓜、胡萝卜、苹果、梨、粉丝、凉粉、海参。</p>
61
+<p><span style="font-size: 16px;font-weight: bold;">钠(盐)的摄入:</span>1、建议摄入量为2克/天,约相当于您的大拇指的指甲盖的大小。若每周透析3次,尿量大于1000毫升/天,盐的摄入应低于4克/天(一啤酒瓶盖量)。2、可以增加胡椒、姜、蒜丁香、辣椒、芥末、洋葱等调味。3、菜出锅时才撒一点盐花。4、不吃盐腌制的食物,如:酸菜、腌酸鸡脚、酸萝卜、酸黄瓜、酸荞头。5、话梅、加应子、陈皮、用盐炒过的硬壳果、果仁等食物含钠高,应该少吃。</p>
62
+<p><span style="font-size: 16px;font-weight: bold;">含钠高的食物:</span>咸肉、酱菜、榨菜、豆腐乳、腊肉、玉米片粥、、火腿、午餐肉、燕麦片、土豆片、椒盐卷饼、香肠、海藻、苏打饼干、酱油、番茄酱、皮蛋、板鸭、鲱鱼、香干、豆干、蜜饯、罐装的玉米、罐装的泡菜等食物。</p>
63
+<p><span style="font-size: 16px;font-weight: bold;">调理胃肠应做到如下几方面:</span>1、少量多餐,定时进食。2、食物品种合理:肉、纤维素合理搭配。3、养成每日定时排便习惯。4、便秘的处理:多吃粗纤维食物,遵医嘱用药:如大黄苏打片、甘油或石腊油10毫升、乳果糖口服液、开塞露。</p>
64
+<p><span style="font-size: 16px;font-weight: bold;">出现以下情况,请立即回医院处理:</span>1、出现高钾血症症状:四肢乏力、手足及口周感觉麻木,心跳减慢等。2、呼吸困难、不能平卧,紫绀、烦躁不安、冷汗。3、消化道出血:排黑便、血便,中枢神经系统症状:如神智恍惚,嗜睡,昏迷,抽搐,精神症状等。</p>
65
+<p><span>本人已接受以上知识宣教,有疑问会及时拨打血液净化中心电话:&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
66
+<p style="text-align: right;margin-right: 30px;"><span>家属签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;病人签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;护士签名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
67
+<p style="text-align: right;margin-right: 30px;"><span> 年&nbsp;&nbsp;   月&nbsp;&nbsp;   日</span></p>`
68
+export default{
69
+  props: {
70
+    patient_id: {
71
+        type: Number,
72
+      },
73
+      therapyinformePrint:{
74
+        type:Object,
75
+      }
76
+   },
77
+  components:{
78
+    Editor
79
+  },
80
+  data(){
81
+    return{
82
+      patient:{},
83
+      org_id:0,
84
+      dialogVisible:false,
85
+      content:content,
86
+      orgname:'',
87
+    }
88
+  },
89
+  methods:{
90
+     getlist(){
91
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
92
+          if(response.data.state == 1){
93
+            var patient =  response.data.data.patients
94
+            console.log("patinet",patient)
95
+            this.patient =patient
96
+          }
97
+        })
98
+      },
99
+      printThisPage(){
100
+          const style = '@media print {  .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
101
+          printJS({
102
+              printable: 'print_content',
103
+              type: 'html',
104
+              documentTitle: '  ',
105
+              style: style,
106
+              scanStyles: false
107
+          })
108
+      },
109
+      getAge: function(val) {
110
+          if (val.id_card_no == undefined) {
111
+            return false
112
+          }
113
+          var thisLen = val.id_card_no.length
114
+          var birth = ''
115
+          if (thisLen == 15) {
116
+            birth = '19' + val.id_card_no.substr(6, 6)
117
+          } else {
118
+            birth = val.id_card_no.substr(6, 8)
119
+          }
120
+          var birthtwo =
121
+            birth.substr(0, 4) +
122
+            '-' +
123
+            birth.substr(4, 2) +
124
+            '-' +
125
+            birth.substr(6, 2)
126
+
127
+          var age = jsGetAge(birthtwo, '-')
128
+          return age
129
+      },
130
+      bianji(){
131
+        this.dialogVisible=true
132
+      },
133
+      show(val){
134
+
135
+       if(val!=null){
136
+        console.log("valw233223",val)
137
+         if(val.content!=""){
138
+           this.content = ""
139
+           this.content = val.content
140
+         }
141
+
142
+       }
143
+     },
144
+      saveTherapyInformed(){
145
+         var params = {
146
+          content:this.$refs.editor.content
147
+         }
148
+        saveTherapyInformed(params).then(response=>{
149
+
150
+          if(response.data.state ==1){
151
+            var list = response.data.data.list
152
+            this.$message.success("保存成功!")
153
+            this.dialogVisible = false
154
+            this.$emit("getTherapyInformed","");
155
+          }
156
+        })
157
+      }
158
+
159
+  },
160
+  created(){
161
+    this.orgname = this.$store.getters.xt_user.org.org_name;
162
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
163
+       this.content = ""
164
+       this.content = this.therapyinformePrint.content
165
+    }
166
+    this.getlist()
167
+    this.org_id = this.$store.getters.xt_user.org.id
168
+  }
169
+}
170
+</script>
171
+<style lang="scss" scoped>
172
+
173
+*{
174
+  // margin: 0;
175
+  // padding: 0;
176
+  border: 0;
177
+}
178
+  .content{
179
+      p{
180
+        font-size: 16px;
181
+        font-family: '新宋体';
182
+        line-height: 22px;
183
+        // padding-left: 20px;
184
+        // margin-bottom: 5px;
185
+        text-align: justify;
186
+      }
187
+  }
188
+  .print_page_main_content {
189
+    background-color: white;
190
+    width: 100%;
191
+    padding: 0 0 0 0;
192
+    page-break-after: always;
193
+  }
194
+  .table tr{
195
+    page-break-inside:avoid
196
+  }
197
+  .table tr td{
198
+    border: 1px solid black;
199
+    // text-align: center;
200
+    // align-items: center;
201
+  }
202
+</style>

+ 11 - 4
src/xt_pages/user/courseOfDisease_new.vue View File

@@ -1175,7 +1175,7 @@
1175 1175
           anticoagulant_name = "IU"
1176 1176
        }
1177 1177
        if(val == 8){
1178
-          anticoagulant_name = "IU/h"
1178
+          anticoagulant_name = "IU"
1179 1179
        }
1180 1180
        if(val == 9){
1181 1181
           anticoagulant_name = "IU/h"
@@ -2338,15 +2338,22 @@
2338 2338
           //透前
2339 2339
           var befor_total =0
2340 2340
         var cha_weight = 0
2341
+        var befor_weight =0
2342
+        var after_weight =0
2341 2343
         var pingjun_weight = 0
2342 2344
         if(this.berforList!=null){
2343 2345
           befor_total = this.berforList.length
2344 2346
           for(let i=0;i<this.berforList.length;i++){
2345
-             cha_weight += this.berforList[i].weight_before - this.berforList[i].WeightAfter
2347
+            //  cha_weight += this.berforList[i].weight_before - this.berforList[i].WeightAfter
2348
+            befor_weight +=this.berforList[i].weight_before
2349
+            after_weight += this.berforList[i].WeightAfter
2346 2350
           }
2347 2351
         }
2352
+        console.log("befor-weight",befor_weight)
2353
+        console.log("after_weight",after_weight)
2354
+        
2348 2355
 
2349
-        pingjun_weight = (cha_weight/befor_total).toFixed(2)
2356
+        pingjun_weight = ((befor_weight-after_weight)/befor_total).toFixed(2)
2350 2357
 
2351 2358
         //透后凝血
2352 2359
         var cruorNewArr = []
@@ -2519,7 +2526,7 @@
2519 2526
                 <td style="align-items: center;padding: 5px;">干体重</td>
2520 2527
                 <td style='padding: 5px;'>
2521 2528
                   <p>
2522
-                    <span style='font-weight: bold;'>当前干体重:${this.lastDryWeight.dry_weight}</span>&nbsp;<span class="">kg;</span>
2529
+                    <span style='font-weight: bold;'>当前干体重:${this.berforList[this.berforList.length-1].dry_weight}</span>&nbsp;<span class="">kg;</span>
2523 2530
                   </p>
2524 2531
                   <p>
2525 2532
                     <span style='font-weight: bold;'>调整记录:${dry_weight_str}</span>&nbsp;<span class=""></span>

+ 56 - 4
src/xt_pages/user/dialysisSolution.vue View File

@@ -1556,14 +1556,66 @@
1556 1556
         console.log("value",val)
1557 1557
         this.InnerDialogProps.visibility = false
1558 1558
         switch (val.type) {
1559
-          case 'dialyzer_perfusion_apparatus':
1560
-            this.addPlan.dialyzer_perfusion_apparatus = val.value.join(',')
1559
+
1560
+            case 'dialyzer_perfusion_apparatus':
1561
+            var newArr = []
1562
+            if(this.dialyzerPerfusionApparatus!=null && this.dialyzerPerfusionApparatus.length>0){
1563
+              for(let i=0;i<this.dialyzerPerfusionApparatus.length;i++){
1564
+                for(let j=0;j<val.value.length;j++){
1565
+                   if(this.dialyzerPerfusionApparatus[i].name == val.value[j]){
1566
+                     newArr.push(val.value[j])
1567
+                   }
1568
+                }
1569
+              }
1570
+            }
1571
+            if(newArr!=null && newArr.length>0){
1572
+
1573
+              this.addPlan.dialyzer_perfusion_apparatus = newArr.join(',')
1574
+            }else{
1575
+              this.addPlan.dialyzer_perfusion_apparatus = ""
1576
+            }
1577
+
1561 1578
             break
1562 1579
           case 'dialyzers':
1563
-            this.dialysis_dialyszers = val.value.join(',')
1580
+            
1581
+            // this.dialysis_dialyszers = val.value.join(',')
1582
+            // break
1583
+            var newArr = []
1584
+            if(this.dialyzers!=null && this.dialyzers.length >0){
1585
+              for(let i=0;i<this.dialyzers.length;i++){
1586
+                for(let j=0;j<val.value.length;j++){
1587
+                  if(this.dialyzers[i].specification_name == val.value[j]){
1588
+                      newArr.push(val.value[j])
1589
+                  }
1590
+                }
1591
+              }
1592
+            }
1593
+            if(newArr!=null && newArr.length >0){
1594
+             this.dialysis_dialyszers = newArr.join(',')
1595
+            }else{
1596
+              this.dialysis_dialyszers = ""
1597
+            }
1598
+
1564 1599
             break
1565 1600
           case 'irrigations':
1566
-            this.dialysis_irrigation = val.value.join(',')
1601
+            // this.dialysis_irrigation = val.value.join(',')
1602
+            // break
1603
+            var newArr = []
1604
+            if(this.irrigations!=null && this.irrigations.length >0){
1605
+              for(let i=0;i<this.irrigations.length;i++){
1606
+                for(let j=0;j<val.value.length;j++){
1607
+                  if(this.irrigations[i].specification_name == val.value[j]){
1608
+                     newArr.push(val.value[j])
1609
+                  }
1610
+                }
1611
+              }
1612
+            }
1613
+            if(newArr!=null && newArr.length>0){
1614
+             this.dialysis_irrigation = newArr.join(',')
1615
+            }else{
1616
+              this.dialysis_irrigation = ""
1617
+            }
1618
+
1567 1619
             break
1568 1620
           case 'plasma_separator':
1569 1621
             this.addPlan.plasma_separator = val.value.join(',')

+ 62 - 55
src/xt_pages/user/physiqueprinting.vue View File

@@ -6,68 +6,76 @@
6 6
       </el-button>
7 7
     </div>
8 8
     <div class="app-container">
9
-      <div id="print_content" v-for="item in this.list" style="font-family: Microsoft YaHei;font-size: 16px;">
9
+      <div id="print_content" v-for="item in list" style="font-family: Microsoft YaHei;font-size: 16px;">
10
+        <!-- &&item.comtent.indexOf('首次透析时间')==-1 -->
10 11
         <div class="print_page_main_content">
11
-          <h1 style="text-align: center; padding-top:12px;">{{ orgname }}血液净化治疗病历</h1>
12
-          <div style="border-bottom: 1px solid black;display: flex;padding-bottom: 10px;padding-top: 10px;">
13
-            <div style="flex:1;text-align: center;">
14
-              姓名:
15
-              <div style="width: 120px;text-align: left;display:inline-block;">{{ patient.name }}</div>
16
-            </div>
17
-
18
-            <div style="flex:1;text-align: center;">
19
-              病历号:
20
-              <div style="width: 120px;text-align: left;display:inline-block;">
21
-                {{ patient.dialysis_no ? patient.dialysis_no : '/' }}
12
+          <div>
13
+           
14
+            <div v-if="item.content.indexOf('首次透析时间') ==-1 && item.content.indexOf('医保类型') ==-1">
15
+              <h1 style="text-align: center; padding-top:12px;">{{ orgname }}血液净化治疗病历</h1>
16
+              <div style="border-bottom: 1px solid black;display: flex;padding-bottom: 10px;padding-top: 10px;">
17
+                <div style="flex:1;text-align: center;">
18
+                  姓名:
19
+                  <div style="width: 120px;text-align: left;display:inline-block;">{{ patient.name }}</div>
20
+                </div>
21
+
22
+                <div style="flex:1;text-align: center;">
23
+                  病历号:
24
+                  <div style="width: 120px;text-align: left;display:inline-block;">
25
+                    {{ patient.dialysis_no ? patient.dialysis_no : '/' }}
26
+                  </div>
27
+                </div>
28
+
29
+                <div style="flex:1;text-align: center;">
30
+                  病区-床号:
31
+                  <div style="width: 120px;text-align: left;display:inline-block;">
32
+
33
+                  </div>
34
+                </div>
35
+
36
+                <div style="flex:1;text-align: center;">
37
+                  接收日期:
38
+                  <div style="width: 100px;text-align: left;display:inline-block;">
39
+                    {{ getTime(patient.created_time, '{y}-{m}-{d}') }}
40
+                  </div>
41
+                </div>
22 42
               </div>
23
-            </div>
24
-
25
-            <div style="flex:1;text-align: center;">
26
-              病区-床号:
27
-              <div style="width: 120px;text-align: left;display:inline-block;">
28
-
43
+              <div style="display: flex; justify-self: start;margin-top: 5px ;width: 100%;">
44
+                <div style="flex: 1;">性别:{{ getPatientGender(patient.gender) }}</div>
45
+                <div style="flex: 1;">年龄:{{ patient.age }}</div>
46
+                <div style="flex: 1;">出生日期:{{ getTime(patient.birthday, '{y}-{m}-{d}') }}</div>
29 47
               </div>
30
-            </div>
48
+              <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
49
+                <div style="flex: 1;">身份证号:{{ patient.id_card_no }}</div>
50
+                <div style="flex: 1;">病人来源:{{ patient.source == 1 ? '门诊' : '住院' }}</div>
51
+                <div style="flex: 1;">透析号:{{ patient.dialysis_no }}</div>
52
+              </div>
53
+              <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
54
+                <div style="flex: 1;">
55
+                  首次透析日期:{{ patient.first_dialysis_date ? getTime(patient.first_dialysis_date, '{y}-{m}-{d}') : '' }}
56
+                </div>
57
+                <div style="flex: 1;">血型:{{ getBloodType(patient.blood_type) }}</div>
58
+                <div style="flex: 1;">报销方式:{{ getWayOptions(patient.reimbursement_way_id) }}</div>
59
+              </div>
60
+              <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
61
+                <div style="flex: 1;">工作单位:{{ patient.work_unit }}</div>
62
+                <div style="flex: 1;">联系电话:{{ patient.phone }}</div>
63
+                <div style="flex: 1;">家庭住址:{{ patient.home_address }}</div>
64
+              </div>
65
+              <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
66
+                <div style="flex: 1;">肾移植史:{{ item.is_shenyizhi_history == 1?'无':'有' }}</div>
67
+                <div style="flex: 1;">腹膜透析史:{{ item.is_fumo_dialysis_history == 1? '无':'有' }}</div>
68
+                <div style="flex: 1;" v-if="item.is_hypersusceptibility == 0">过敏药物:无</div>
69
+                <div style="flex: 1;" v-if="item.is_hypersusceptibility == 2">过敏药物:有</div>
70
+                <div style="flex: 1;" v-if="item.is_hypersusceptibility == 3">过敏药物:不想</div>
31 71
 
32
-            <div style="flex:1;text-align: center;">
33
-              接收日期:
34
-              <div style="width: 100px;text-align: left;display:inline-block;">
35
-                {{ getTime(patient.created_time, '{y}-{m}-{d}') }}
36 72
               </div>
73
+              <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
37 74
             </div>
38
-          </div>
39
-
40
-          <div style="display: flex; justify-self: start;margin-top: 5px ;width: 100%;">
41
-            <div style="flex: 1;">性别:{{ getPatientGender(patient.gender) }}</div>
42
-            <div style="flex: 1;">年龄:{{ patient.age }}</div>
43
-            <div style="flex: 1;">出生日期:{{ getTime(patient.birthday, '{y}-{m}-{d}') }}</div>
44
-          </div>
45
-          <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
46
-            <div style="flex: 1;">身份证号:{{ patient.id_card_no }}</div>
47
-            <div style="flex: 1;">病人来源:{{ patient.source == 1 ? '门诊' : '住院' }}</div>
48
-            <div style="flex: 1;">透析号:{{ patient.dialysis_no }}</div>
49
-          </div>
50
-          <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
51
-            <div style="flex: 1;">
52
-              首次透析日期:{{ patient.first_dialysis_date ? getTime(patient.first_dialysis_date, '{y}-{m}-{d}') : '' }}
75
+            <div v-else>
76
+              
53 77
             </div>
54
-            <div style="flex: 1;">血型:{{ getBloodType(patient.blood_type) }}</div>
55
-            <div style="flex: 1;">报销方式:{{ getWayOptions(patient.reimbursement_way_id) }}</div>
56
-          </div>
57
-          <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
58
-            <div style="flex: 1;">工作单位:{{ patient.work_unit }}</div>
59
-            <div style="flex: 1;">联系电话:{{ patient.phone }}</div>
60
-            <div style="flex: 1;">家庭住址:{{ patient.home_address }}</div>
61
-          </div>
62
-          <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
63
-            <div style="flex: 1;">肾移植史:{{ item.is_shenyizhi_history == 1?'无':'有' }}</div>
64
-            <div style="flex: 1;">腹膜透析史:{{ item.is_fumo_dialysis_history == 1? '无':'有' }}</div>
65
-            <div style="flex: 1;" v-if="item.is_hypersusceptibility == 0">过敏药物:无</div>
66
-            <div style="flex: 1;" v-if="item.is_hypersusceptibility == 2">过敏药物:有</div>
67
-            <div style="flex: 1;" v-if="item.is_hypersusceptibility == 3">过敏药物:不想</div>
68
-
69 78
           </div>
70
-          <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
71 79
           <div style="word-break: break-all; word-wrap: break-word;">
72 80
             <div v-html="item.content" style="font-family: Microsoft YaHei;"></div>
73 81
           </div>
@@ -679,7 +687,6 @@ export default {
679 687
           this.diagnosis = this.patient.diagnose.split(',')
680 688
           
681 689
           this.list = response.data.data.sickhistorys
682
-          console.log('ttttttt',response.data.data);
683 690
         }
684 691
       })
685 692
     },

+ 2 - 1
src/xt_pages/user/sickHistory_new.vue View File

@@ -522,7 +522,8 @@ export default {
522 522
       if(this.add_index ==0){
523 523
         this.template_dialog = true
524 524
       }else{
525
-        const mode=`<table border="1" style="border-collapse: collapse;text-align: center;">
525
+        const mode=`<p style="font-size: 18px;font-weight: 600;width:100%;margin-bottom: 10px;text-align: center;">血液净化治疗患者首次门诊病历</p>
526
+      <table border="1" style="border-collapse: collapse;text-align: center;">
526 527
       <tbody>
527 528
         <tr>
528 529
           <td style="width:8%;padding: 5px 0px;font-size: 16px;">

+ 497 - 57
src/xt_pages/workforce/scheduleTablePrintTwo.vue View File

@@ -5,12 +5,14 @@
5 5
         <el-button type="primary" @click="touping">{{ Screencasting == true ? '取消投屏' : '投屏' }}</el-button>
6 6
         <el-button type="primary" @click="printAction">打印</el-button>
7 7
       </div>
8
-      <div class="tab" style="margin-top: 10px;">
9
-        <table id="scheduleTable" class="scheduleTable" border="1" cellspacing="0"
10
-          style='width: 100%;table-layout:fixed;text-align: center;word-break: break-all;word-wrap: break-word;font-weight: 600;'>
8
+      <div class="tab" style="margin-top: 10px;" v-if="org_id!=10742">
9
+        <table id="scheduleTable" class="scheduleTable" border="1" cellspacing="0" 
10
+          style='width: 100%;table-layout:fixed;text-align: center;word-break: break-all;word-wrap: break-word;font-size: 15px;'>
11 11
           <tr>
12
-            <td rowspan="2" width="100">分区</td>
13
-            <td rowspan="2" width="100">机号</td>
12
+            <td rowspan="2" v-if="org_id !=10721">分区</td>
13
+            <td rowspan="2" v-if="org_id !=10721">机号</td>
14
+            <td rowspan="2" width="100" v-if="org_id ==10721">分区</td>
15
+            <td rowspan="2" width="100" v-if="org_id ==10721">机号</td>
14 16
             <td colspan="3" v-if="first_day == 1">周一({{ weekTitle[0] }})</td>
15 17
             <td colspan="3" v-if="second_day == 2">周二({{ weekTitle[1] }})</td>
16 18
             <td colspan="3" v-if="three_day == 3">周三({{ weekTitle[2] }})</td>
@@ -71,8 +73,8 @@
71 73
            
72 74
           </tr> -->
73 75
           <tr v-for="(item, index) in scheduleZone" :key="index">
74
-            <td style="min-width:50px;">{{ item.area }}</td>
75
-            <td style="min-width:50px;">{{ item.cut }}</td>
76
+            <td style="min-width:30px;">{{ item.area }}</td>
77
+            <td style="min-width:30px;">{{ item.cut }}</td>
76 78
             <!-- 上午 -->
77 79
             <template v-if="schedule_type == 1">
78 80
               <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
@@ -298,18 +300,18 @@
298 300
             <template v-if="schedule_type == 0 && org_id != 10721 ">
299 301
               <td style="min-width:50px;" v-if="first_day == 1">
300 302
                 <span v-if="item.Mon_M.patient_id">
301
-                  <span>{{ item.Mon_M.patient }}</span>
303
+                  <span>{{ item.Mon_M.patient }}</span><br />
302 304
                   <span v-if="item.Mon_M.mode_id != 1">{{ item.Mon_M.mode_name }}</span><br />
303
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_M.anticoagulant) }}</span>
305
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_M.anticoagulant) }}</span> -->
304 306
                   <span v-show="showflag">{{ item.Mon_M.dialysis_machine_name }}
305 307
                   </span>
306 308
                 </span>
307 309
               </td>
308 310
               <td style="min-width:50px;" v-if="first_day == 1">
309 311
                 <span v-if="item.Mon_A.patient_id">
310
-                  <span>{{ item.Mon_A.patient }} </span>
312
+                  <span>{{ item.Mon_A.patient }} </span><br />
311 313
                   <span v-if="item.Mon_A.mode_id != 1">{{ item.Mon_A.mode_name }}</span><br />
312
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_A.anticoagulant) }}</span>
314
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_A.anticoagulant) }}</span> -->
313 315
                   <span v-show="showflag">{{ item.Mon_A.dialysis_machine_name }}
314 316
 
315 317
                   </span>
@@ -317,9 +319,9 @@
317 319
               </td>
318 320
               <td style="min-width:50px;" v-if="first_day == 1">
319 321
                 <span v-if="item.Mon_N.patient_id">
320
-                  <span>{{ item.Mon_N.patient }} </span>
322
+                  <span>{{ item.Mon_N.patient }} </span><br />
321 323
                   <span v-if="item.Mon_N.mode_id != 1">{{ item.Mon_N.mode_name }}</span><br />
322
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_N.anticoagulant) }}</span>
324
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_N.anticoagulant) }}</span> -->
323 325
                   <span v-show="showflag">{{ item.Mon_N.dialysis_machine_name }}
324 326
 
325 327
                   </span>
@@ -327,9 +329,9 @@
327 329
               </td>
328 330
               <td style="min-width:50px;" v-if="second_day == 2">
329 331
                 <span v-if="item.Tue_M.patient_id">
330
-                  <span>{{ item.Tue_M.patient }} </span>
332
+                  <span>{{ item.Tue_M.patient }} </span><br />
331 333
                   <span v-if="item.Tue_M.mode_id != 1">{{ item.Tue_M.mode_name }}</span><br />
332
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_M.anticoagulant) }}</span>
334
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_M.anticoagulant) }}</span> -->
333 335
                   <span v-show="showflag">{{ item.Tue_M.dialysis_machine_name }}
334 336
 
335 337
                   </span>
@@ -337,9 +339,9 @@
337 339
               </td>
338 340
               <td style="min-width:50px;" v-if="second_day == 2">
339 341
                 <span v-if="item.Tue_A.patient_id">
340
-                  <span>{{ item.Tue_A.patient }} </span>
342
+                  <span>{{ item.Tue_A.patient }} </span><br />
341 343
                   <span v-if="item.Tue_A.mode_id != 1">{{ item.Tue_A.mode_name }}</span><br />
342
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_A.anticoagulant) }}</span>
344
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_A.anticoagulant) }}</span> -->
343 345
                   <span v-show="showflag">{{ item.Tue_A.dialysis_machine_name }}
344 346
 
345 347
                   </span>
@@ -348,9 +350,9 @@
348 350
               </td>
349 351
               <td style="min-width:50px;" v-if="second_day == 2">
350 352
                 <span v-if="item.Tue_N.patient_id">
351
-                  <span>{{ item.Tue_N.patient }} </span>
353
+                  <span>{{ item.Tue_N.patient }} </span><br />
352 354
                   <span v-if="item.Tue_N.mode_id != 1">{{ item.Tue_N.mode_name }}</span><br />
353
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_N.anticoagulant) }}</span>
355
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_N.anticoagulant) }}</span> -->
354 356
                   <span v-show="showflag">{{ item.Tue_N.dialysis_machine_name }}
355 357
 
356 358
                   </span>
@@ -358,9 +360,9 @@
358 360
               </td>
359 361
               <td style="min-width:50px;" v-if="three_day == 3">
360 362
                 <span v-if="item.Wed_M.patient_id">
361
-                  <span>{{ item.Wed_M.patient }} </span>
363
+                  <span>{{ item.Wed_M.patient }} </span><br />
362 364
                   <span v-if="item.Wed_M.mode_id != 1">{{ item.Wed_M.mode_name }}</span><br />
363
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_M.anticoagulant) }}</span>
365
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_M.anticoagulant) }}</span> -->
364 366
                   <span v-show="showflag">{{ item.Wed_M.dialysis_machine_name }}
365 367
 
366 368
                   </span>
@@ -368,19 +370,17 @@
368 370
               </td>
369 371
               <td style="min-width:50px;" v-if="three_day == 3">
370 372
                 <span v-if="item.Wed_A.patient_id">
371
-                  <span>{{ item.Wed_A.patient }} </span>
373
+                  <span>{{ item.Wed_A.patient }} </span><br />
372 374
                   <span v-if="item.Wed_A.mode_id != 1">{{ item.Wed_A.mode_name }}</span><br />
373
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_A.anticoagulant) }}</span>
374
-                  <span v-show="showflag">{{ item.Wed_A.dialysis_machine_name }}
375
-
376
-                  </span>
375
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_A.anticoagulant) }}</span> -->
376
+                  <span v-show="showflag">{{ item.Wed_A.dialysis_machine_name }}</span>
377 377
                 </span>
378 378
               </td>
379 379
               <td style="min-width:50px;" v-if="three_day == 3">
380 380
                 <span v-if="item.Wed_N.patient_id">
381
-                  <span>{{ item.Wed_N.patient }} </span>
381
+                  <span>{{ item.Wed_N.patient }} </span><br />
382 382
                   <span v-if="item.Wed_N.mode_id != 1">{{ item.Wed_N.mode_name }}</span><br />
383
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_N.anticoagulant) }}</span>
383
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_N.anticoagulant) }}</span> -->
384 384
                   <span v-show="showflag">{{ item.Wed_N.dialysis_machine_name }}
385 385
 
386 386
                   </span>
@@ -388,9 +388,9 @@
388 388
               </td>
389 389
               <td style="min-width:50px;" v-if="four_day == 4">
390 390
                 <span v-if="item.Thurs_M.patient_id">
391
-                  <span>{{ item.Thurs_M.patient }} </span>
391
+                  <span>{{ item.Thurs_M.patient }} </span><br />
392 392
                   <span v-if="item.Thurs_M.mode_id != 1">{{ item.Thurs_M.mode_name }}</span><br />
393
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_M.anticoagulant) }}</span>
393
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_M.anticoagulant) }}</span> -->
394 394
                   <span v-show="showflag">{{ item.Thurs_M.dialysis_machine_name }}
395 395
 
396 396
                   </span>
@@ -398,7 +398,7 @@
398 398
               </td>
399 399
               <td style="min-width:50px;" v-if="four_day == 4">
400 400
                 <span v-if="item.Thurs_A.patient_id">
401
-                  <span>{{ item.Thurs_A.patient }} </span>
401
+                  <span>{{ item.Thurs_A.patient }} </span><br />
402 402
                   <span v-if="item.Thurs_A.mode_id != 1">{{ item.Thurs_A.mode_name }}</span><br />
403 403
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_A.anticoagulant) }}</span>
404 404
 
@@ -409,9 +409,9 @@
409 409
               </td>
410 410
               <td style="min-width:50px;" v-if="four_day == 4">
411 411
                 <span v-if="item.Thurs_N.patient_id">
412
-                  <span>{{ item.Thurs_N.patient }} </span>
412
+                  <span>{{ item.Thurs_N.patient }} </span><br />
413 413
                   <span v-if="item.Thurs_N.mode_id != 1">{{ item.Thurs_N.mode_name }}</span><br />
414
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_N.anticoagulant) }}</span>
414
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_N.anticoagulant) }}</span> -->
415 415
                   <span v-show="showflag">{{ item.Thurs_N.dialysis_machine_name }}
416 416
 
417 417
                   </span>
@@ -419,9 +419,9 @@
419 419
               </td>
420 420
               <td style="min-width:50px;" v-if="five_day == 5">
421 421
                 <span v-if="item.Fri_M.patient_id">
422
-                  <span>{{ item.Fri_M.patient }} </span>
422
+                  <span>{{ item.Fri_M.patient }} </span><br />
423 423
                   <span v-if="item.Fri_M.mode_id != 1">{{ item.Fri_M.mode_name }}</span><br />
424
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_M.anticoagulant) }} </span>
424
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_M.anticoagulant) }} </span> -->
425 425
                   <span v-show="showflag">{{ item.Fri_M.dialysis_machine_name }}
426 426
 
427 427
                   </span>
@@ -429,9 +429,9 @@
429 429
               </td>
430 430
               <td style="min-width:50px;" v-if="five_day == 5">
431 431
                 <span v-if="item.Fri_A.patient_id">
432
-                  <span>{{ item.Fri_A.patient }} </span>
432
+                  <span>{{ item.Fri_A.patient }} </span><br />
433 433
                   <span v-if="item.Fri_A.mode_id != 1">{{ item.Fri_A.mode_name }}</span><br />
434
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_A.anticoagulant) }}</span>
434
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_A.anticoagulant) }}</span> -->
435 435
                   <span v-show="showflag">{{ item.Fri_A.dialysis_machine_name }}
436 436
 
437 437
                   </span>
@@ -439,9 +439,9 @@
439 439
               </td>
440 440
               <td style="min-width:50px;" v-if="five_day == 5">
441 441
                 <span v-if="item.Fri_N.patient_id">
442
-                  <span>{{ item.Fri_N.patient }} </span>
442
+                  <span>{{ item.Fri_N.patient }} </span><br />
443 443
                   <span v-if="item.Fri_N.mode_id != 1">{{ item.Fri_N.mode_name }}</span><br />
444
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_N.anticoagulant) }}</span>
444
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_N.anticoagulant) }}</span> -->
445 445
                   <span v-show="showflag">{{ item.Fri_N.dialysis_machine_name }}
446 446
 
447 447
                   </span>
@@ -449,9 +449,9 @@
449 449
               </td>
450 450
               <td style="min-width:50px;" v-if="six_day == 6">
451 451
                 <span v-if="item.Sat_M.patient_id">
452
-                  <span>{{ item.Sat_M.patient }} </span>
452
+                  <span>{{ item.Sat_M.patient }} </span><br />
453 453
                   <span v-if="item.Sat_M.mode_id != 1">{{ item.Sat_M.mode_name }}</span><br />
454
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_M.anticoagulant) }}</span>
454
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_M.anticoagulant) }}</span> -->
455 455
                   <span v-show="showflag">{{ item.Sat_M.dialysis_machine_name }}
456 456
 
457 457
                   </span>
@@ -459,9 +459,9 @@
459 459
               </td>
460 460
               <td style="min-width:50px;" v-if="six_day == 6">
461 461
                 <span v-if="item.Sat_A.patient_id">
462
-                  <span>{{ item.Sat_A.patient }} </span>
462
+                  <span>{{ item.Sat_A.patient }} </span><br />
463 463
                   <span v-if="item.Sat_A.mode_id != 1">{{ item.Sat_A.mode_name }}</span><br />
464
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_A.anticoagulant) }}</span>
464
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_A.anticoagulant) }}</span> -->
465 465
                   <span v-show="showflag">{{ item.Sat_A.dialysis_machine_name }}
466 466
 
467 467
                   </span>
@@ -469,9 +469,9 @@
469 469
               </td>
470 470
               <td style="min-width:50px;" v-if="six_day == 6">
471 471
                 <span v-if="item.Sat_N.patient_id">
472
-                  <span>{{ item.Sat_N.patient }} </span>
472
+                  <span>{{ item.Sat_N.patient }} </span><br />
473 473
                   <span v-if="item.Sat_N.mode_id != 1">{{ item.Sat_N.mode_name }}</span><br />
474
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_N.anticoagulant) }}</span>
474
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_N.anticoagulant) }}</span> -->
475 475
                   <span v-show="showflag">{{ item.Sat_N.dialysis_machine_name }}
476 476
 
477 477
                   </span>
@@ -479,9 +479,9 @@
479 479
               </td>
480 480
               <td style="min-width:50px;" v-if="seven_day == 7">
481 481
                 <span v-if="item.Sun_M.patient_id">
482
-                  <span>{{ item.Sun_M.patient }} </span>
482
+                  <span>{{ item.Sun_M.patient }} </span><br />
483 483
                   <span v-if="item.Sun_M.mode_id != 1">{{ item.Sun_M.mode_name }}</span><br />
484
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_M.anticoagulant) }}</span>
484
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_M.anticoagulant) }}</span> -->
485 485
                   <span v-show="showflag">{{ item.Sun_M.dialysis_machine_name }}
486 486
 
487 487
                   </span>
@@ -489,9 +489,9 @@
489 489
               </td>
490 490
               <td style="min-width:50px;" v-if="seven_day == 7">
491 491
                 <span v-if="item.Sun_A.patient_id">
492
-                  <span>{{ item.Sun_A.patient }} </span>
492
+                  <span>{{ item.Sun_A.patient }} </span><br />
493 493
                   <span v-if="item.Sun_A.mode_id != 1">{{ item.Sun_A.mode_name }}</span><br />
494
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_A.anticoagulant) }}</span>
494
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_A.anticoagulant) }}</span> -->
495 495
                   <span v-show="showflag">{{ item.Sun_A.dialysis_machine_name }}
496 496
 
497 497
                   </span>
@@ -500,12 +500,10 @@
500 500
               </td>
501 501
               <td style="min-width:50px;" v-if="seven_day == 7">
502 502
                 <span v-if="item.Sun_N.patient_id">
503
-                  <span>{{ item.Sun_N.patient }} </span>
503
+                  <span>{{ item.Sun_N.patient }} </span><br />
504 504
                   <span v-if="item.Sun_N.mode_id != 1">{{ item.Sun_N.mode_name }}</span><br />
505
-                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_N.anticoagulant) }}</span>
506
-                  <span v-show="showflag">{{ item.Sun_N.dialysis_machine_name }}
507
-
508
-                  </span>
505
+                  <!-- <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_N.anticoagulant) }}</span> -->
506
+                  <span v-show="showflag">{{ item.Sun_N.dialysis_machine_name }} </span>
509 507
                 </span>
510 508
               </td>
511 509
             </template>
@@ -659,8 +657,450 @@
659 657
                   <span v-show="showflag">{{ item.Sun_N.dialysis_machine_name }}</span>
660 658
                 </span>
661 659
               </td>
660
+            </template>  
661
+          </tr>
662
+        </table>
663
+      </div>
664
+      <div class="tab" style="margin-top: 10px;" v-if="org_id==10742">
665
+        <table id="scheduleTable" class="scheduleTable" border="1" cellspacing="0" 
666
+          style='width: 100%;table-layout:fixed;text-align: center;word-break: break-all;word-wrap: break-word;font-size: 14px;'>
667
+          <tr>
668
+            <td rowspan="2" >分区</td>
669
+            <td rowspan="2" >机号</td>
670
+            <td colspan="3" v-if="first_day == 1">周一({{ weekTitle[0] }})</td>
671
+            <td colspan="3" v-if="second_day == 2">周二({{ weekTitle[1] }})</td>
672
+            <td colspan="3" v-if="three_day == 3">周三({{ weekTitle[2] }})</td>
673
+            <td colspan="3" v-if="four_day == 4">周四({{ weekTitle[3] }})</td>
674
+            <td colspan="3" v-if="five_day == 5">周五({{ weekTitle[4] }})</td>
675
+            <td colspan="3" v-if="six_day == 6">周六({{ weekTitle[5] }})</td>
676
+            <!-- <td colspan="3" v-if="seven_day == 7">周日({{ weekTitle[6] }})</td> -->
677
+            <!-- <td>总数</td>  -->
678
+          </tr>
679
+          <tr v-if="schedule_type == 0">
680
+            <td v-if="first_day == 1">上午</td>
681
+            <td v-if="first_day == 1">下午</td>
682
+            <td v-if="first_day == 1">晚上</td>
683
+            <td v-if="second_day == 2">上午</td>
684
+            <td v-if="second_day == 2">下午</td>
685
+            <td v-if="second_day == 2">晚上</td>
686
+            <td v-if="three_day == 3">上午</td>
687
+            <td v-if="three_day == 3">下午</td>
688
+            <td v-if="three_day == 3">晚上</td>
689
+            <td v-if="four_day == 4">上午</td>
690
+            <td v-if="four_day == 4">下午</td>
691
+            <td v-if="four_day == 4">晚上</td>
692
+            <td v-if="five_day == 5">上午</td>
693
+            <td v-if="five_day == 5">下午</td>
694
+            <td v-if="five_day == 5">晚上</td>
695
+            <td v-if="six_day == 6">上午</td>
696
+            <td v-if="six_day == 6">下午</td>
697
+            <td v-if="six_day == 6">晚上</td>
698
+            <!-- <td v-if="seven_day == 7">上午</td>
699
+            <td v-if="seven_day == 7">下午</td>
700
+            <td v-if="seven_day == 7">晚上</td> -->
701
+          </tr>
702
+          <tr v-else>
703
+            <td colspan="3" v-if="first_day == 1 && schedule_type == 1">上午</td>
704
+            <td colspan="3" v-if="first_day == 1 && schedule_type == 2">下午</td>
705
+            <td colspan="3" v-if="first_day == 1 && schedule_type == 3">晚上</td>
706
+            <td colspan="3" v-if="second_day == 2 && schedule_type == 1">上午</td>
707
+            <td colspan="3" v-if="second_day == 2 && schedule_type == 2">下午</td>
708
+            <td colspan="3" v-if="second_day == 2 && schedule_type == 3">晚上</td>
709
+            <td colspan="3" v-if="three_day == 3 && schedule_type == 1">上午</td>
710
+            <td colspan="3" v-if="three_day == 3 && schedule_type == 2">下午</td>
711
+            <td colspan="3" v-if="three_day == 3 && schedule_type == 3">晚上</td>
712
+            <td colspan="3" v-if="four_day == 4 && schedule_type == 1">上午</td>
713
+            <td colspan="3" v-if="four_day == 4 && schedule_type == 2">下午</td>
714
+            <td colspan="3" v-if="four_day == 4 && schedule_type == 3">晚上</td>
715
+            <td colspan="3" v-if="five_day == 5 && schedule_type == 1">上午</td>
716
+            <td colspan="3" v-if="five_day == 5 && schedule_type == 2">下午</td>
717
+            <td colspan="3" v-if="five_day == 5 && schedule_type == 3">晚上</td>
718
+            <td colspan="3" v-if="six_day == 6 && schedule_type == 1">上午</td>
719
+            <td colspan="3" v-if="six_day == 6 && schedule_type == 2">下午</td>
720
+            <td colspan="3" v-if="six_day == 6 && schedule_type == 3">晚上</td>
721
+            <!-- <td colspan="3" v-if="seven_day == 7 && schedule_type == 1">上午</td>
722
+            <td colspan="3" v-if="seven_day == 7 && schedule_type == 2">下午</td>
723
+            <td colspan="3" v-if="seven_day == 7 && schedule_type == 3">晚上</td> -->
724
+          </tr>
725
+          <!-- <tr v-for="(it, index) in zong_arr" :key="index">
726
+            <td :row="getzong(it.zong_id)">{{ it.name }}</td>
727
+           
728
+          </tr> -->
729
+          <tr v-for="(item, index) in scheduleZone" :key="index">
730
+            <td style="min-width:30px;">{{ item.area }}</td>
731
+            <td style="min-width:30px;">{{ item.cut }}</td>
732
+            <!-- 上午 -->
733
+            <template v-if="schedule_type == 1">
734
+              <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
735
+                <span v-if="item.Mon_M.patient_id">
736
+                  <span>{{ item.Mon_M.patient }}</span>&nbsp;
737
+                  <span v-if="item.Mon_M.mode_id != 1">{{ item.Mon_M.mode_name }}</span>&nbsp;
738
+                  <span v-show="showflag">{{ item.Mon_M.dialysis_machine_name }}
739
+                  </span>
740
+                </span>
741
+              </td>
742
+              <td colspan="3" style="min-width:50px;" v-if="second_day == 2">
743
+                <span v-if="item.Tue_M.patient_id">
744
+                  <span>{{ item.Tue_M.patient }} </span>&nbsp;
745
+                  <span v-if="item.Tue_M.mode_id != 1">{{ item.Tue_M.mode_name }}</span>&nbsp;
746
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_M.anticoagulant) }}</span>
747
+                  <span v-show="showflag">{{ item.Tue_M.dialysis_machine_name }}
748
+
749
+                  </span>
750
+                </span>
751
+              </td>
752
+              <td colspan="3" style="min-width:50px;" v-if="three_day == 3">
753
+                <span v-if="item.Wed_M.patient_id">
754
+                  <span>{{ item.Wed_M.patient }} </span>&nbsp;
755
+                  <span v-if="item.Wed_M.mode_id != 1">{{ item.Wed_M.mode_name }}</span>&nbsp;
756
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_M.anticoagulant) }}</span>
757
+                  <span v-show="showflag">{{ item.Wed_M.dialysis_machine_name }}
758
+
759
+                  </span>
760
+                </span>
761
+              </td>
762
+              <td colspan="3" style="min-width:50px;" v-if="four_day == 4">
763
+                <span v-if="item.Thurs_M.patient_id">
764
+                  <span>{{ item.Thurs_M.patient }} </span>&nbsp;
765
+                  <span v-if="item.Thurs_M.mode_id != 1">{{ item.Thurs_M.mode_name }}</span>&nbsp;
766
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_M.anticoagulant) }}</span>
767
+                  <span v-show="showflag">{{ item.Thurs_M.dialysis_machine_name }}
768
+
769
+                  </span>
770
+                </span>
771
+              </td>
772
+              <td colspan="3" style="min-width:50px;" v-if="five_day == 5">
773
+                <span v-if="item.Fri_M.patient_id">
774
+                  <span>{{ item.Fri_M.patient }} </span>&nbsp;
775
+                  <span v-if="item.Fri_M.mode_id != 1">{{ item.Fri_M.mode_name }}</span>&nbsp;
776
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_M.anticoagulant) }} </span>
777
+                  <span v-show="showflag">{{ item.Fri_M.dialysis_machine_name }}
778
+
779
+                  </span>
780
+                </span>
781
+              </td>
782
+              <td colspan="3" style="min-width:50px;" v-if="six_day == 6">
783
+                <span v-if="item.Sat_M.patient_id">
784
+                  <span>{{ item.Sat_M.patient }} </span>&nbsp;
785
+                  <span v-if="item.Sat_M.mode_id != 1">{{ item.Sat_M.mode_name }}</span>&nbsp;
786
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_M.anticoagulant) }}</span>
787
+                  <span v-show="showflag">{{ item.Sat_M.dialysis_machine_name }}
788
+
789
+                  </span>
790
+                </span>
791
+              </td>
792
+              <!-- <td colspan="3" style="min-width:50px;" v-if="seven_day == 7">
793
+                <span v-if="item.Sun_M.patient_id">
794
+                  <span>{{ item.Sun_M.patient }} </span>&nbsp;
795
+                  <span v-if="item.Sun_M.mode_id != 1">{{ item.Sun_M.mode_name }}</span>&nbsp;
796
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_M.anticoagulant) }}</span>
797
+                  <span v-show="showflag">{{ item.Sun_M.dialysis_machine_name }}
798
+
799
+                  </span>
800
+                </span>
801
+              </td> -->
802
+            </template>
803
+
804
+            <!-- 下午 -->
805
+            <template v-if="schedule_type == 2">
806
+              <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
807
+                <span v-if="item.Mon_A.patient_id">
808
+                  <span>{{ item.Mon_A.patient }} </span>&nbsp;
809
+                  <span v-if="item.Mon_A.mode_id != 1">{{ item.Mon_A.mode_name }}</span>&nbsp;
810
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_A.anticoagulant) }}</span>
811
+                  <span v-show="showflag">{{ item.Mon_A.dialysis_machine_name }}
812
+                  </span>
813
+                </span>
814
+              </td>
815
+              <td colspan="3" style="min-width:50px;" v-if="second_day == 2">
816
+                <span v-if="item.Tue_A.patient_id">
817
+                  <span>{{ item.Tue_A.patient }} </span>&nbsp;
818
+                  <span v-if="item.Tue_A.mode_id != 1">{{ item.Tue_A.mode_name }}</span>&nbsp;
819
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_A.anticoagulant) }}</span>
820
+                  <span v-show="showflag">{{ item.Tue_A.dialysis_machine_name }}
821
+
822
+                  </span>
823
+
824
+                </span>
825
+              </td>
826
+              <td colspan="3" style="min-width:50px;" v-if="three_day == 3">
827
+                <span v-if="item.Wed_A.patient_id">
828
+                  <span>{{ item.Wed_A.patient }} </span>&nbsp;
829
+                  <span v-if="item.Wed_A.mode_id != 1">{{ item.Wed_A.mode_name }}</span>&nbsp;
830
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_A.anticoagulant) }}</span>
831
+                  <span v-show="showflag">{{ item.Wed_A.dialysis_machine_name }}
832
+
833
+                  </span>
834
+                </span>
835
+              </td>
836
+              <td colspan="3" style="min-width:50px;" v-if="four_day == 4">
837
+                <span v-if="item.Thurs_A.patient_id">
838
+                  <span>{{ item.Thurs_A.patient }} </span>&nbsp;
839
+                  <span v-if="item.Thurs_A.mode_id != 1">{{ item.Thurs_A.mode_name }}</span>&nbsp;
840
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_A.anticoagulant) }}</span>
841
+
842
+                  <span v-show="showflag">{{ item.Thurs_A.dialysis_machine_name }}
843
+
844
+                  </span>
845
+                </span>
846
+              </td>
847
+              <td colspan="3" style="min-width:50px;" v-if="five_day == 5">
848
+                <span v-if="item.Fri_A.patient_id">
849
+                  <span>{{ item.Fri_A.patient }} </span>&nbsp;
850
+                  <span v-if="item.Fri_A.mode_id != 1">{{ item.Fri_A.mode_name }}</span>&nbsp;
851
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_A.anticoagulant) }}</span>
852
+                  <span v-show="showflag">{{ item.Fri_A.dialysis_machine_name }}
853
+
854
+                  </span>
855
+                </span>
856
+              </td>
857
+              <td colspan="3" style="min-width:50px;" v-if="six_day == 6">
858
+                <span v-if="item.Sat_A.patient_id">
859
+                  <span>{{ item.Sat_A.patient }} </span>&nbsp;
860
+                  <span v-if="item.Sat_A.mode_id != 1">{{ item.Sat_A.mode_name }}</span>&nbsp;
861
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_A.anticoagulant) }}</span>
862
+                  <span v-show="showflag">{{ item.Sat_A.dialysis_machine_name }}
863
+
864
+                  </span>
865
+                </span>
866
+              </td>
867
+              <!-- <td colspan="3" style="min-width:50px;" v-if="seven_day == 7">
868
+                <span v-if="item.Sun_A.patient_id">
869
+                  <span>{{ item.Sun_A.patient }} </span>&nbsp;
870
+                  <span v-if="item.Sun_A.mode_id != 1">{{ item.Sun_A.mode_name }}</span>&nbsp;
871
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_A.anticoagulant) }}</span>
872
+                  <span v-show="showflag">{{ item.Sun_A.dialysis_machine_name }}
873
+
874
+                  </span>
875
+
876
+                </span>
877
+              </td> -->
878
+            </template>
879
+
880
+            <!-- 晚上 -->
881
+            <template v-if="schedule_type == 3">
882
+              <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
883
+                <span v-if="item.Mon_N.patient_id">
884
+                  <span>{{ item.Mon_N.patient }} </span>&nbsp;
885
+                  <span v-if="item.Mon_N.mode_id != 1">{{ item.Mon_N.mode_name }}</span>&nbsp;
886
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_M.anticoagulant) }}</span>
887
+                  <span v-show="showflag">{{ item.Mon_N.dialysis_machine_name }}
888
+                  </span>
889
+                </span>
890
+              </td>
891
+              <td colspan="3" style="min-width:50px;" v-if="second_day == 2">
892
+                <span v-if="item.Tue_N.patient_id">
893
+                  <span>{{ item.Tue_N.patient }} </span>&nbsp;
894
+                  <span v-if="item.Tue_N.mode_id != 1">{{ item.Tue_N.mode_name }}</span>&nbsp;
895
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_N.anticoagulant) }}</span>
896
+                  <span v-show="showflag">{{ item.Tue_N.dialysis_machine_name }}
897
+
898
+                  </span>
899
+                </span>
900
+              </td>
901
+              <td colspan="3" style="min-width:50px;" v-if="three_day == 3">
902
+                <span v-if="item.Wed_N.patient_id">
903
+                  <span>{{ item.Wed_N.patient }} </span>&nbsp;
904
+                  <span v-if="item.Wed_N.mode_id != 1">{{ item.Wed_N.mode_name }}</span>&nbsp;
905
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_N.anticoagulant) }}</span>
906
+                  <span v-show="showflag">{{ item.Wed_N.dialysis_machine_name }}
907
+
908
+                  </span>
909
+                </span>
910
+              </td>
911
+              <td colspan="3" style="min-width:50px;" v-if="four_day == 4">
912
+                <span v-if="item.Thurs_N.patient_id">
913
+                  <span>{{ item.Thurs_N.patient }} </span>&nbsp;
914
+                  <span v-if="item.Thurs_N.mode_id != 1">{{ item.Thurs_N.mode_name }}</span>&nbsp;
915
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_N.anticoagulant) }}</span>
916
+                  <span v-show="showflag">{{ item.Thurs_N.dialysis_machine_name }}
917
+
918
+                  </span>
919
+                </span>
920
+              </td>
921
+              <td colspan="3" style="min-width:50px;" v-if="five_day == 5">
922
+                <span v-if="item.Fri_N.patient_id">
923
+                  <span>{{ item.Fri_N.patient }} </span>&nbsp;
924
+                  <span v-if="item.Fri_N.mode_id != 1">{{ item.Fri_N.mode_name }}</span>&nbsp;
925
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_N.anticoagulant) }}</span>
926
+                  <span v-show="showflag">{{ item.Fri_N.dialysis_machine_name }}
927
+
928
+                  </span>
929
+                </span>
930
+              </td>
931
+              <td colspan="3" style="min-width:50px;" v-if="six_day == 6">
932
+                <span v-if="item.Sat_N.patient_id">
933
+                  <span>{{ item.Sat_N.patient }} </span>&nbsp;
934
+                  <span v-if="item.Sat_N.mode_id != 1">{{ item.Sat_N.mode_name }}</span>&nbsp;
935
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_N.anticoagulant) }}</span>
936
+                  <span v-show="showflag">{{ item.Sat_N.dialysis_machine_name }}
937
+
938
+                  </span>
939
+                </span>
940
+              </td>
941
+              <!-- <td colspan="3" style="min-width:50px;" v-if="seven_day == 7">
942
+                <span v-if="item.Sun_N.patient_id">
943
+                  <span>{{ item.Sun_N.patient }} </span>&nbsp;
944
+                  <span v-if="item.Sun_N.mode_id != 1">{{ item.Sun_N.mode_name }}</span>&nbsp;
945
+                  <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_N.anticoagulant) }}</span>
946
+                  <span v-show="showflag">{{ item.Sun_N.dialysis_machine_name }}
947
+
948
+                  </span>
949
+                </span>
950
+              </td> -->
662 951
             </template>
663 952
 
953
+            <template v-if="schedule_type == 0">
954
+              <td style="min-width:50px;" v-if="first_day == 1">
955
+                <span v-if="item.Mon_M.patient_id">
956
+                  <span>{{ item.Mon_M.patient }}</span><br/>
957
+                  <span>{{ item.Mon_M.mode_name }}</span><br/>
958
+                  <span v-show="showflag">{{ item.Mon_M.dialysis_machine_name }}
959
+                  </span>
960
+                </span>
961
+              </td>
962
+              <td style="min-width:50px;" v-if="first_day == 1">
963
+                <span v-if="item.Mon_A.patient_id">
964
+                  <span>{{ item.Mon_A.patient }} </span><br/>
965
+                  <span>{{ item.Mon_A.mode_name }}</span><br/>
966
+                  <span v-show="showflag">{{ item.Mon_A.dialysis_machine_name }}</span>
967
+                </span>
968
+              </td>
969
+              <td style="min-width:50px;" v-if="first_day == 1">
970
+                <span v-if="item.Mon_N.patient_id">
971
+                  <span>{{ item.Mon_N.patient }} </span><br/>
972
+                  <span>{{ item.Mon_N.mode_name }}</span><br/>
973
+                  <span v-show="showflag">{{ item.Mon_N.dialysis_machine_name }}</span>
974
+                </span>
975
+              </td>
976
+              <td style="min-width:50px;" v-if="second_day == 2">
977
+                <span v-if="item.Tue_M.patient_id">
978
+                  <span>{{ item.Tue_M.patient }} </span><br/>
979
+                  <span>{{ item.Tue_M.mode_name }}</span><br/>
980
+                  <span v-show="showflag">{{ item.Tue_M.dialysis_machine_name }}</span>
981
+                </span>
982
+              </td>
983
+              <td style="min-width:50px;" v-if="second_day == 2">
984
+                <span v-if="item.Tue_A.patient_id">
985
+                  <span>{{ item.Tue_A.patient }} </span><br/>
986
+                  <span>{{ item.Tue_A.mode_name }}</span><br/>
987
+                  <span v-show="showflag">{{ item.Tue_A.dialysis_machine_name }}</span>
988
+
989
+                </span>
990
+              </td>
991
+              <td style="min-width:50px;" v-if="second_day == 2">
992
+                <span v-if="item.Tue_N.patient_id">
993
+                  <span>{{ item.Tue_N.patient }} </span><br/><br/>
994
+                  <span>{{ item.Tue_N.mode_name }}</span><br/><br/>
995
+                  <span v-show="showflag">{{ item.Tue_N.dialysis_machine_name }}</span>
996
+                </span>
997
+              </td>
998
+              <td style="min-width:50px;" v-if="three_day == 3">
999
+                <span v-if="item.Wed_M.patient_id">
1000
+                  <span>{{ item.Wed_M.patient }} </span><br/>
1001
+                  <span>{{ item.Wed_M.mode_name }}</span><br/>
1002
+                  <span v-show="showflag">{{ item.Wed_M.dialysis_machine_name }}</span>
1003
+                </span>
1004
+              </td>
1005
+              <td style="min-width:50px;" v-if="three_day == 3">
1006
+                <span v-if="item.Wed_A.patient_id">
1007
+                  <span>{{ item.Wed_A.patient }} </span><br/>
1008
+                  <span>{{ item.Wed_A.mode_name }}</span><br/>
1009
+                  <span v-show="showflag">{{ item.Wed_A.dialysis_machine_name }}</span>
1010
+                </span>
1011
+              </td>
1012
+              <td style="min-width:50px;" v-if="three_day == 3">
1013
+                <span v-if="item.Wed_N.patient_id">
1014
+                  <span>{{ item.Wed_N.patient }} </span><br/>
1015
+                  <span>{{ item.Wed_N.mode_name }}</span><br/>
1016
+                  <span v-show="showflag">{{ item.Wed_N.dialysis_machine_name }}</span>
1017
+                </span>
1018
+              </td>
1019
+              <td style="min-width:50px;" v-if="four_day == 4">
1020
+                <span v-if="item.Thurs_M.patient_id">
1021
+                  <span>{{ item.Thurs_M.patient }} </span><br/>
1022
+                  <span>{{ item.Thurs_M.mode_name }}</span><br/>
1023
+                  <span v-show="showflag">{{ item.Thurs_M.dialysis_machine_name }}</span>
1024
+                </span>
1025
+              </td>
1026
+              <td style="min-width:50px;" v-if="four_day == 4">
1027
+                <span v-if="item.Thurs_A.patient_id">
1028
+                  <span>{{ item.Thurs_A.patient }} </span><br/>
1029
+                  <span>{{ item.Thurs_A.mode_name }}</span><br/>
1030
+                  <span v-show="showflag">{{ item.Thurs_A.dialysis_machine_name }}</span>
1031
+                </span>
1032
+              </td>
1033
+              <td style="min-width:50px;" v-if="four_day == 4">
1034
+                <span v-if="item.Thurs_N.patient_id">
1035
+                  <span>{{ item.Thurs_N.patient }} </span><br/>
1036
+                  <span>{{ item.Thurs_N.mode_name }}</span><br/>
1037
+                  <span v-show="showflag">{{ item.Thurs_N.dialysis_machine_name }}</span>
1038
+                </span>
1039
+              </td>
1040
+              <td style="min-width:50px;" v-if="five_day == 5">
1041
+                <span v-if="item.Fri_M.patient_id">
1042
+                  <span>{{ item.Fri_M.patient }} </span><br/>
1043
+                  <span>{{ item.Fri_M.mode_name }}</span><br/>
1044
+                  <span v-show="showflag">{{ item.Fri_M.dialysis_machine_name }}</span>
1045
+                </span>
1046
+              </td>
1047
+              <td style="min-width:50px;" v-if="five_day == 5">
1048
+                <span v-if="item.Fri_A.patient_id">
1049
+                  <span>{{ item.Fri_A.patient }} </span><br/>
1050
+                  <span>{{ item.Fri_A.mode_name }}</span><br/>
1051
+                  <span v-show="showflag">{{ item.Fri_A.dialysis_machine_name }}</span>
1052
+                </span>
1053
+              </td>
1054
+              <td style="min-width:50px;" v-if="five_day == 5">
1055
+                <span v-if="item.Fri_N.patient_id">
1056
+                  <span>{{ item.Fri_N.patient }} </span><br/>
1057
+                  <span>{{ item.Fri_N.mode_name }}</span><br/>
1058
+                  <span v-show="showflag">{{ item.Fri_N.dialysis_machine_name }}</span>
1059
+                </span>
1060
+              </td>
1061
+              <td style="min-width:50px;" v-if="six_day == 6">
1062
+                <span v-if="item.Sat_M.patient_id">
1063
+                  <span>{{ item.Sat_M.patient }} </span><br/>
1064
+                  <span>{{ item.Sat_M.mode_name }}</span><br/>
1065
+                  <span v-show="showflag">{{ item.Sat_M.dialysis_machine_name }}</span>
1066
+                </span>
1067
+              </td>
1068
+              <td style="min-width:50px;" v-if="six_day == 6">
1069
+                <span v-if="item.Sat_A.patient_id">
1070
+                  <span>{{ item.Sat_A.patient }} </span><br/>
1071
+                  <span>{{ item.Sat_A.mode_name }}</span><br/>
1072
+                  <span v-show="showflag">{{ item.Sat_A.dialysis_machine_name }}</span>
1073
+                </span>
1074
+              </td>
1075
+              <td style="min-width:50px;" v-if="six_day == 6">
1076
+                <span v-if="item.Sat_N.patient_id">
1077
+                  <span>{{ item.Sat_N.patient }} </span><br/>
1078
+                  <span>{{ item.Sat_N.mode_name }}</span><br/>
1079
+                  <span v-show="showflag">{{ item.Sat_N.dialysis_machine_name }}</span>
1080
+                </span>
1081
+              </td>
1082
+              <!-- <td style="min-width:50px;" v-if="seven_day == 7">
1083
+                <span v-if="item.Sun_M.patient_id">
1084
+                  <span>{{ item.Sun_M.patient }} </span><br/>
1085
+                  <span>{{ item.Sun_M.mode_name }}</span><br/>
1086
+                  <span v-show="showflag">{{ item.Sun_M.dialysis_machine_name }}</span>
1087
+                </span>
1088
+              </td>
1089
+              <td style="min-width:50px;" v-if="seven_day == 7">
1090
+                <span v-if="item.Sun_A.patient_id">
1091
+                  <span>{{ item.Sun_A.patient }} </span><br/>
1092
+                  <span>{{ item.Sun_A.mode_name }}</span><br/>
1093
+                  <span v-show="showflag">{{ item.Sun_A.dialysis_machine_name }}</span>
1094
+                </span>
1095
+              </td>
1096
+              <td style="min-width:50px;" v-if="seven_day == 7">
1097
+                <span v-if="item.Sun_N.patient_id">
1098
+                  <span>{{ item.Sun_N.patient }} </span><br/>
1099
+                  <span>{{ item.Sun_N.mode_name }}</span><br/>
1100
+                  <span v-show="showflag">{{ item.Sun_N.dialysis_machine_name }}</span>
1101
+                </span>
1102
+              </td> -->
1103
+            </template>          
664 1104
           </tr>
665 1105
         </table>
666 1106
       </div>
@@ -1551,9 +1991,9 @@ export default {
1551 1991
     },
1552 1992
     printAction: function () {
1553 1993
       // const style = '@media print {#scheduleTable{font-size:16px;} .scheduleTable tr td{text-align: center;padding: 5px;}}'
1554
-      const style = '@media print {#scheduleTable{font-size:15px;} }'
1994
+      const style = '@media print {#scheduleTable{font-size:14px;} .scheduleTable td{padding: 5px 0;} }'
1555 1995
       const style1 = '@media print {#scheduleTable{font-size:20px;font-weight: 500;} .scheduleTable td{padding: 5px;} }'
1556
-      if (this.org_id != 10721 && this.org_id != 0) {
1996
+      if (this.org_id != 10721 ) {
1557 1997
         printJS({
1558 1998
           printable: 'scheduleTable',
1559 1999
           type: 'html',
@@ -1839,7 +2279,7 @@ export default {
1839 2279
     table {
1840 2280
       td {
1841 2281
         text-align: center;
1842
-        padding: 5px;
2282
+        padding: 5px 0;
1843 2283
         word-wrap: break-word;
1844 2284
       }
1845 2285
     }