Przeglądaj źródła

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

陈少旭 4 miesięcy temu
rodzic
commit
ca185c23ff
37 zmienionych plików z 9030 dodań i 10108 usunięć
  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 Wyświetl plik

679
     method:"post",
679
     method:"post",
680
     data:data,
680
     data:data,
681
   })
681
   })
682
-}
682
+}
683
+

+ 6 - 2
src/xt_pages/Pharmacy/DrugDispensing.vue Wyświetl plik

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

+ 6 - 5
src/xt_pages/Pharmacy/PatientDispensing.vue Wyświetl plik

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

Plik diff jest za duży
+ 451 - 661
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue


Plik diff jest za duży
+ 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 Wyświetl plik

96
               <div class="inline_block">
96
               <div class="inline_block">
97
                 入科方式:
97
                 入科方式:
98
                 <div v-for="(item, i) in way_arr" class="under_line" v-if="record.receive_assessment.way == item.id"
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
                   {{ item.name }}
100
                   {{ item.name }}
101
                 </div>
101
                 </div>
102
               </div>
102
               </div>
103
               <div class="inline_block" style="margin-left: 10px" v-if="org_id != 10460 && org_id != 10624">
103
               <div class="inline_block" style="margin-left: 10px" v-if="org_id != 10460 && org_id != 10624">
104
                 诊断:
104
                 诊断:
105
                 <div class="under_line" style="
105
                 <div class="under_line" style="
106
-                    width: 640px;
106
+                    width: 440px;
107
                     text-align: left;
107
                     text-align: left;
108
                     word-break: break-all;
108
                     word-break: break-all;
109
                     word-wrap: break-word;
109
                     word-wrap: break-word;
155
                           透前症状:
155
                           透前症状:
156
                           <div class="under_line" style="width: 50%; text-align: center;white-space: normal;">
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
                           </div>
162
                           </div>
249
                         <div class="inline_block" style="flex: 1;">
249
                         <div class="inline_block" style="flex: 1;">
250
                           内瘘:
250
                           内瘘:
251
                           <div class="under_line" style="
251
                           <div class="under_line" style="
252
-                              width: 150px;
252
+                              width: 80%;
253
                               text-align: center;
253
                               text-align: center;
254
                               white-space: normal;
254
                               white-space: normal;
255
                             ">
255
                             ">
263
 
263
 
264
                         <div class="inline_block" style="flex: 1">
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
                             {{ record.assessment_before_dislysis.catheter ?
267
                             {{ record.assessment_before_dislysis.catheter ?
268
                               record.assessment_before_dislysis.catheter : "/"
268
                               record.assessment_before_dislysis.catheter : "/"
269
                             }}
269
                             }}
274
                       <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
274
                       <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
275
                         <div class="inline_block" style="flex: 1">
275
                         <div class="inline_block" style="flex: 1">
276
                           <span>透析方式:</span>
276
                           <span>透析方式:</span>
277
-
278
                           <div class="under_line" style="
277
                           <div class="under_line" style="
279
                               width: 100px;
278
                               width: 100px;
280
                               text-align: center;
279
                               text-align: center;
410
                           kg
409
                           kg
411
                         </div>
410
                         </div>
412
                         <div class="inline_block" style="flex: 1">
411
                         <div class="inline_block" style="flex: 1">
413
-                          <span>计划超滤量:</span>
412
+                          <span>处方脱水量:</span>
414
                           <div class="under_line" style="width: 100px; text-align: center">
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
                           </div>
419
                           </div>
663
                             </td>
662
                             </td>
664
                             <td width="50">静脉压<br />(mmHg)</td>
663
                             <td width="50">静脉压<br />(mmHg)</td>
665
                             <td width="50">跨膜压<br />(mmHg)</td>
664
                             <td width="50">跨膜压<br />(mmHg)</td>
666
-                            <td width="70">透析液温度(°C)</td>
665
+                            <td width="70">体温<br/>(°C)</td>
667
                             <td width="50">电导度<br />(ms/cm)</td>
666
                             <td width="50">电导度<br />(ms/cm)</td>
668
                             <td width="50">超滤量<br />(ml)</td>
667
                             <td width="50">超滤量<br />(ml)</td>
669
                             <td width="200">病情变化及处理</td>
668
                             <td width="200">病情变化及处理</td>
669
+                            <td width="80">护士签名</td>
670
                           </tr>
670
                           </tr>
671
 
671
 
672
                           <tr v-for="(monitor, j) in record.monitor_records" :key="j">
672
                           <tr v-for="(monitor, j) in record.monitor_records" :key="j">
717
                                 }}
717
                                 }}
718
                               </span>
718
                               </span>
719
                             </td>
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
                             </td>
722
                             </td>
723
                             <td>{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
723
                             <td>{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
724
                             <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}</td>
724
                             <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}</td>
738
                                     vertical-align: middle;
738
                                     vertical-align: middle;
739
                                     height: auto;
739
                                     height: auto;
740
                                   ">
740
                                   ">
741
-                                  <template v-if="
741
+                                  <!-- <template v-if="
742
                                     (dialysisOrder &&
742
                                     (dialysisOrder &&
743
                                       monitor.operate_time ==
743
                                       monitor.operate_time ==
744
                                       dialysisOrder.start_time) && (org_id != 10414) && (org_id != 10683)
744
                                       dialysisOrder.start_time) && (org_id != 10414) && (org_id != 10683)
745
                                   ">【开始透析】 <span v-if="org_id == 10598">引血100ml/min</span>
745
                                   ">【开始透析】 <span v-if="org_id == 10598">引血100ml/min</span>
746
-                                  </template>
746
+                                  </template> -->
747
 
747
 
748
                                   {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
748
                                   {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
749
                                     monitor.dispose
749
                                     monitor.dispose
752
                                 </span>
752
                                 </span>
753
                               </div>
753
                               </div>
754
                             </td>
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
                           </tr>
763
                           </tr>
756
 
764
 
757
                           <tr v-for="(monitor_record, s) in record.monitor_records2" :key="s">
765
                           <tr v-for="(monitor_record, s) in record.monitor_records2" :key="s">
859
                               </td>
867
                               </td>
860
 
868
 
861
                               <td height="35px">
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
                                     getAdminUser(advice[0], "advice_doctor")
872
                                     getAdminUser(advice[0], "advice_doctor")
867
                                   }}</span>
873
                                   }}</span>
868
                                 <img class="es-img" :src="setAdminUserES(advice[0], 'advice_doctor')
874
                                 <img class="es-img" :src="setAdminUserES(advice[0], 'advice_doctor')
1392
                             <img style="height: 30px" :src="setAdminUserES(record.check, 'creater')" alt="" srcset=""
1398
                             <img style="height: 30px" :src="setAdminUserES(record.check, 'creater')" alt="" srcset=""
1393
                               v-else />
1399
                               v-else />
1394
                           </div>
1400
                           </div>
1395
-                          
1401
+
1396
                         </div>
1402
                         </div>
1397
                         <div class="inline_block" style="flex: 1" >
1403
                         <div class="inline_block" style="flex: 1" >
1398
                           下机护士:
1404
                           下机护士:
1647
           for (let i = 0; i < this.records.length; i++) {
1653
           for (let i = 0; i < this.records.length; i++) {
1648
             for (let j = 0; j < this.records[i].monitor_records.length; j++) {
1654
             for (let j = 0; j < this.records[i].monitor_records.length; j++) {
1649
               this.records[i].monitor_records[j].end = ""
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
           for (const recordIndex in this.records) {
1679
           for (const recordIndex in this.records) {

+ 10 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfour.vue Wyświetl plik

61
                     <td colspan="3">
61
                     <td colspan="3">
62
                       <div style="line-height:30px;">
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
                       </div>
67
                       </div>
68
                     </td>
68
                     </td>
69
                   </tr>
69
                   </tr>
222
                     <td>静脉压<br/>mmHg</td>
222
                     <td>静脉压<br/>mmHg</td>
223
                     <td>血流量<br/>ml/min</td>
223
                     <td>血流量<br/>ml/min</td>
224
                     <td>脱水量<br/>ml</td>
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
                     <td>HR<br/>bpm</td>
227
                     <td>HR<br/>bpm</td>
227
                     <td>R<br/>bpm</td>
228
                     <td>R<br/>bpm</td>
228
                     <td>BP<br/>mmHg</td>
229
                     <td>BP<br/>mmHg</td>
229
                     <td>SpO₂<br/>%</td>
230
                     <td>SpO₂<br/>%</td>
230
-                    <td>记录</td>
231
+                    <td width="200">记录</td>
231
                   </tr>
232
                   </tr>
232
                   <tr v-for="(monitor, monindex) in record.monitor_records" :key="monindex">
233
                   <tr v-for="(monitor, monindex) in record.monitor_records" :key="monindex">
233
                     <td style="height: 30px;">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
234
                     <td style="height: 30px;">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
238
                     <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
239
                     <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
239
                     <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</td>
240
                     <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</td>
240
                     <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/"}}</td>
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
                     <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
244
                     <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
243
                     <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td>
245
                     <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td>
244
                     <td>{{
246
                     <td>{{
482
         },
484
         },
483
         lastAfterWeight: '',
485
         lastAfterWeight: '',
484
         displaceLiquiPartOptions: [],
486
         displaceLiquiPartOptions: [],
485
-        
487
+        org_id: 0,
486
       }
488
       }
487
     },
489
     },
488
     created() {
490
     created() {
491
       this.orgname = xtuser.org.org_name
493
       this.orgname = xtuser.org.org_name
492
       //   this.orgname = "遂溪方济医院";
494
       //   this.orgname = "遂溪方济医院";
493
       this.modeOptions = this.$store.getters.treatment_mode
495
       this.modeOptions = this.$store.getters.treatment_mode
496
+      this.org_id = this.$store.getters.xt_user.org.id;
494
       //   this.replacementWays = this.$store.getters.replacement_ways;
497
       //   this.replacementWays = this.$store.getters.replacement_ways;
495
       //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
498
       //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
496
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
499
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit

Plik diff jest za duży
+ 1256 - 2276
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue


+ 49 - 3
src/xt_pages/dialysis/details/consumable/dialysisGood.vue Wyświetl plik

964
             var sodiumArr = []
964
             var sodiumArr = []
965
             var calciumArr = []
965
             var calciumArr = []
966
             var glucoseArr = []
966
             var glucoseArr = []
967
-            console.log("rowlist233223323223w",this.rowList)
967
+          
968
             if(list!=null && list.length>0){
968
             if(list!=null && list.length>0){
969
               for(let i=0;i<list.length;i++){
969
               for(let i=0;i<list.length;i++){
970
                  list[i].dialysis_dialyszers_arr = []
970
                  list[i].dialysis_dialyszers_arr = []
972
                  list[i].dialysis_irrigation_arr = []
972
                  list[i].dialysis_irrigation_arr = []
973
                  list[i].puncture_needle_arr = []
973
                  list[i].puncture_needle_arr = []
974
                  list[i].dialysis_strainer_arr = []
974
                  list[i].dialysis_strainer_arr = []
975
+
975
                  
976
                  
976
                  if(list[i].dialysis_prescription.dialysis_dialyszers!=""){
977
                  if(list[i].dialysis_prescription.dialysis_dialyszers!=""){
977
                   if(list[i].dialysis_prescription.dialysis_dialyszers!=""){
978
                   if(list[i].dialysis_prescription.dialysis_dialyszers!=""){
1054
               }
1055
               }
1055
             }
1056
             }
1056
 
1057
 
1058
+
1057
             console.log("glucoseArr",glucoseArr)
1059
             console.log("glucoseArr",glucoseArr)
1058
             if(kaliumArr!=null && kaliumArr.length > 0){
1060
             if(kaliumArr!=null && kaliumArr.length > 0){
1059
               let dataInfo = {}
1061
               let dataInfo = {}
1319
               Arr.push(a);
1321
               Arr.push(a);
1320
             }
1322
             }
1321
 
1323
 
1324
+        
1325
+
1322
        
1326
        
1323
            
1327
            
1324
 
1328
 
1376
             //  console.log("list23233223232wode",list)
1380
             //  console.log("list23233223232wode",list)
1377
             this.startHisDialogVisible = true
1381
             this.startHisDialogVisible = true
1378
              var projectList = []
1382
              var projectList = []
1383
+             console.log("rowlist233223323223w",this.rowList)
1384
+             var dialysis_soluton_calcium = []
1379
              for(let i=0;i<list.length;i++){
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
                 if(list[i].his_prescription_template.his_prescription_info!=null && list[i].his_prescription_template.his_prescription_info.length>0){
1389
                 if(list[i].his_prescription_template.his_prescription_info!=null && list[i].his_prescription_template.his_prescription_info.length>0){
1381
                     for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
1390
                     for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
1382
                       for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
1391
                       for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
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
              if(projectList!=null && projectList.length > 0){
1436
              if(projectList!=null && projectList.length > 0){
1391
                for(let i=0;i<projectList.length;i++){
1437
                for(let i=0;i<projectList.length;i++){
1423
               }
1469
               }
1424
             }
1470
             }
1425
             console.log("newArr32323233223wo",newArr)
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 Wyświetl plik

913
              console.log("list23233223232wode",list)
913
              console.log("list23233223232wode",list)
914
             this.startHisDialogVisible = true
914
             this.startHisDialogVisible = true
915
              var projectList = []
915
              var projectList = []
916
+             var dialysis_soluton_calcium = []
917
+           
916
              for(let i=0;i<list.length;i++){
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
                 if(list[i].his_prescription_template.his_prescription_info!=null && list[i].his_prescription_template.his_prescription_info.length>0){
922
                 if(list[i].his_prescription_template.his_prescription_info!=null && list[i].his_prescription_template.his_prescription_info.length>0){
918
                     for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
923
                     for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
919
                       for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
924
                       for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
923
                 }
928
                 }
924
              }
929
              }
925
              console.log("projectList",projectList)
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
              if(projectList!=null && projectList.length > 0){
966
              if(projectList!=null && projectList.length > 0){
928
                for(let i=0;i<projectList.length;i++){
967
                for(let i=0;i<projectList.length;i++){
929
                  projectList[i].good_id = 0
968
                  projectList[i].good_id = 0
960
               }
999
               }
961
             }
1000
             }
962
             console.log("newArr32323233223wo",newArr)
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 Wyświetl plik

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
           if(this.predialysis!=undefined){
2825
           if(this.predialysis!=undefined){
2826
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2826
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2827
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
2827
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
3339
         this.pre = pre
3339
         this.pre = pre
3340
         // console.log("pre1", pre);
3340
         // console.log("pre1", pre);
3341
         this.getPermission()
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
           this.getPatientBefor()
3343
           this.getPatientBefor()
3344
         }
3344
         }
3345
 
3345
 
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
           if(this.predialysis!=undefined){
3498
           if(this.predialysis!=undefined){
3499
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
3499
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
3500
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
3500
               this.dialysisPrescription.target_ultrafiltration = ((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(0))*1000
5190
           var prescription = response.data.data.prescription
5190
           var prescription = response.data.data.prescription
5191
           if(patientBefor!=undefined){
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
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5194
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5195
               
5195
               
5196
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000
5196
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000

Plik diff jest za duży
+ 3327 - 4596
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue


+ 8 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSop.vue Wyświetl plik

36
                 <div style="line-height:30px;">
36
                 <div style="line-height:30px;">
37
                   上机前病情:
37
                   上机前病情:
38
                   <!-- <span v-if="predialysis.symptom_before_dialysis_other==''"> -->
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
                   <!-- </span> -->
41
                   <!-- </span> -->
42
 
42
 
43
                   <!-- <span>{{predialysis.symptom_before_dialysis}}</span> -->
43
                   <!-- <span>{{predialysis.symptom_before_dialysis}}</span> -->
44
-                  <span>{{predialysis.symptom_before_dialysis_other}}</span>
44
+                  <span>{{predialysis.symptom_before_dialysis}}</span>
45
                 </div>
45
                 </div>
46
               </td>
46
               </td>
47
             </tr>
47
             </tr>
195
               <td>静脉压<br/>mmHg</td>
195
               <td>静脉压<br/>mmHg</td>
196
               <td>血流量<br/>ml/min</td>
196
               <td>血流量<br/>ml/min</td>
197
               <td>脱水量<br/>ml</td>
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
               <td>HR<br/>bpm</td>
200
               <td>HR<br/>bpm</td>
200
               <td>R<br/>bpm</td>
201
               <td>R<br/>bpm</td>
201
               <td>BP<br/>mmHg</td>
202
               <td>BP<br/>mmHg</td>
202
               <td>SpO₂<br/>%</td>
203
               <td>SpO₂<br/>%</td>
203
               <!-- <td>时间</td> -->
204
               <!-- <td>时间</td> -->
204
-              <td>记录</td>
205
+              <td width="200">记录</td>
205
             </tr>
206
             </tr>
206
             <tr v-for="(monitor, monindex) in monitors" :key="monindex">
207
             <tr v-for="(monitor, monindex) in monitors" :key="monindex">
207
               <td style="height: 30px;">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
208
               <td style="height: 30px;">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
212
               <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
213
               <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
213
               <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</td>
214
               <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</td>
214
               <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/"}}</td>
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
               <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
218
               <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
217
               <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td>
219
               <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td>
218
               <td>{{
220
               <td>{{

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue Wyświetl plik

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

Plik diff jest za duży
+ 600 - 834
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue


+ 298 - 219
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue Wyświetl plik

99
                 {{ patientInfo.dialysis_no }}
99
                 {{ patientInfo.dialysis_no }}
100
               </div>
100
               </div>
101
             </div>
101
             </div>
102
-           
102
+
103
           </div>
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
               <div class="under_line" style="width: 50px;text-align: left"
107
               <div class="under_line" style="width: 50px;text-align: left"
109
                 v-if="receiverTreatmentAccess.admission_number">
108
                 v-if="receiverTreatmentAccess.admission_number">
116
                 {{ "/" }}
115
                 {{ "/" }}
117
               </div>
116
               </div>
118
             </div>
117
             </div>
119
-            <div class="inline_block">
118
+            <div class="inline_block" style="flex: 1;">
120
               入科方式:
119
               入科方式:
121
               <div v-for="(item, index) in way_arr" class="under_line" v-if="receiverTreatmentAccess.way == item.id"
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
                 {{ item.name }}
122
                 {{ item.name }}
124
               </div>
123
               </div>
125
 
124
 
126
             </div>
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
               <div class="under_line" style="
129
               <div class="under_line" style="
131
-                  width: 500px;
130
+                  width: 80%;
132
                   text-align: left;
131
                   text-align: left;
133
                   word-wrap: break-word;
132
                   word-wrap: break-word;
134
                   white-space: inherit;
133
                   white-space: inherit;
178
                         透前症状:
177
                         透前症状:
179
                         <div class="under_line" style="width: 50%; text-align: center;white-space: normal;">
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
                         </div>
184
                         </div>
259
                         </div>
258
                         </div>
260
 
259
 
261
                       </div>
260
                       </div>
262
-                      
261
+
263
                     </div>
262
                     </div>
264
 
263
 
265
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
264
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
273
                       <div class="inline_block" style="flex: 1;">
272
                       <div class="inline_block" style="flex: 1;">
274
                         内瘘:
273
                         内瘘:
275
                         <div class="under_line" style="
274
                         <div class="under_line" style="
276
-                            width: 150px;
275
+                            width: 80%;
277
                             text-align: center;
276
                             text-align: center;
278
                             white-space: normal;
277
                             white-space: normal;
279
                           ">
278
                           ">
284
                           }}
283
                           }}
285
                         </div>
284
                         </div>
286
                       </div>
285
                       </div>
287
-
288
                       <div class="inline_block" style="flex: 1">
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
                           {{ predialysis.catheter ? predialysis.catheter : "/" }}
289
                           {{ predialysis.catheter ? predialysis.catheter : "/" }}
292
                         </div>
290
                         </div>
293
                       </div>
291
                       </div>
294
-                      
295
                     </div>
292
                     </div>
296
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
293
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
297
                       <div class="inline_block" style="flex: 1">
294
                       <div class="inline_block" style="flex: 1">
298
                         <span>透析方式:</span>
295
                         <span>透析方式:</span>
299
-                        
296
+
300
                         <div class="under_line" style="
297
                         <div class="under_line" style="
301
                             width: 100px;
298
                             width: 100px;
302
                             text-align: center;
299
                             text-align: center;
305
                           {{ prescription.mode }}
302
                           {{ prescription.mode }}
306
                         </div>
303
                         </div>
307
                       </div>
304
                       </div>
308
-
309
                       <div class="inline_block" style="flex: 1">
305
                       <div class="inline_block" style="flex: 1">
310
                         置换方式:
306
                         置换方式:
311
                         <div class="under_line" style="width: 100px; text-align: center">
307
                         <div class="under_line" style="width: 100px; text-align: center">
328
                         </div>
324
                         </div>
329
                         L
325
                         L
330
                       </div>
326
                       </div>
331
-                     
327
+
332
                       <div class="inline_block" style="flex: 1">
328
                       <div class="inline_block" style="flex: 1">
333
                         透析时间:
329
                         透析时间:
334
                         <div class="under_line" style="width: 30px; text-align: center">
330
                         <div class="under_line" style="width: 30px; text-align: center">
374
                           }}
370
                           }}
375
                         </div>
371
                         </div>
376
                       </div>
372
                       </div>
377
-
378
                       <div class="inline_block" style="flex: 1">
373
                       <div class="inline_block" style="flex: 1">
379
                         灌流器:
374
                         灌流器:
380
                         <div class="under_line" style="width: 70px; text-align: center">
375
                         <div class="under_line" style="width: 70px; text-align: center">
437
                         kg
432
                         kg
438
                       </div>
433
                       </div>
439
                       <div class="inline_block" style="flex: 1">
434
                       <div class="inline_block" style="flex: 1">
440
-                        <span>计划超滤量:</span>
435
+                        <span>处方脱水量:</span>
441
                         <div class="under_line" style="width: 100px; text-align: center">
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
                         </div>
442
                         </div>
458
                         kg
453
                         kg
459
                       </div>
454
                       </div>
460
                     </div>
455
                     </div>
461
-
462
                     <div class="row" style="padding: 2px 0; line-height: 23px">
456
                     <div class="row" style="padding: 2px 0; line-height: 23px">
463
                       <div class="inline_block">
457
                       <div class="inline_block">
464
                         透析液成分:钾:
458
                         透析液成分:钾:
657
                         </div>
651
                         </div>
658
                       </div>
652
                       </div>
659
 
653
 
660
-                    </div> 
654
+                    </div>
661
                   </td>
655
                   </td>
662
                 </tr>
656
                 </tr>
663
                 <tr>
657
                 <tr>
665
                     <table class="inside_table">
659
                     <table class="inside_table">
666
                       <tbody>
660
                       <tbody>
667
                         <tr>
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
                               letter-spacing: 5px;
664
                               letter-spacing: 5px;
674
                               text-align: center;
665
                               text-align: center;
675
                               font-weight: 520;
666
                               font-weight: 520;
711
                                 : "mmHg"
702
                                 : "mmHg"
712
                             }})
703
                             }})
713
                           </td>
704
                           </td>
714
-                          <td width="70">透析液温度(°C)</td>
705
+                          <td width="70">体温<br/>(°C)</td>
715
                           <td width="50">电导度<br/>(ms/cm)</td>
706
                           <td width="50">电导度<br/>(ms/cm)</td>
716
                           <td width="50">超滤量<br/>(ml)</td>
707
                           <td width="50">超滤量<br/>(ml)</td>
717
                           <td width="200">病情变化及处理</td>
708
                           <td width="200">病情变化及处理</td>
709
+                          <td width="80">护士签名</td>
718
                         </tr>
710
                         </tr>
719
 
711
 
720
                         <tr v-for="(monitor, monindex) in monitors" :key="monindex">
712
                         <tr v-for="(monitor, monindex) in monitors" :key="monindex">
765
                               }}
757
                               }}
766
                             </span>
758
                             </span>
767
                           </td>
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
                           </td>
762
                           </td>
771
                           <td>{{monitor.conductivity ? monitor.conductivity : "" }}</td>
763
                           <td>{{monitor.conductivity ? monitor.conductivity : "" }}</td>
772
                           <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: ""}}</td>
764
                           <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: ""}}</td>
786
                                   vertical-align: middle;
778
                                   vertical-align: middle;
787
                                   height: auto;
779
                                   height: auto;
788
                                 ">
780
                                 ">
789
-                                <template v-if="
781
+                                <!-- <template v-if="
790
                                   (dialysisOrder &&
782
                                   (dialysisOrder &&
791
                                     monitor.operate_time ==
783
                                     monitor.operate_time ==
792
                                     dialysisOrder.start_time) && (org_id != 10414) && (org_id != 10683)
784
                                     dialysisOrder.start_time) && (org_id != 10414) && (org_id != 10683)
793
                                 ">【开始透析】 <span v-if="org_id == 10598">引血100ml/min</span>
785
                                 ">【开始透析】 <span v-if="org_id == 10598">引血100ml/min</span>
794
-                                </template>
786
+                                </template> -->
795
 
787
 
796
                                 {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
788
                                 {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
797
                                   monitor.dispose
789
                                   monitor.dispose
800
                               </span>
792
                               </span>
801
                             </div>
793
                             </div>
802
                           </td>
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
                         </tr>
802
                         </tr>
804
-  
803
+
805
                       </tbody>
804
                       </tbody>
806
                     </table>
805
                     </table>
807
                   </td>
806
                   </td>
1114
                       <div class="inline_block" style="flex: 1">
1113
                       <div class="inline_block" style="flex: 1">
1115
                         体重减少:
1114
                         体重减少:
1116
                         <div class="under_line" style="width: 70px; text-align: center">
1115
                         <div class="under_line" style="width: 70px; text-align: center">
1117
-                        
1116
+
1118
                           <span
1117
                           <span
1119
                             v-if="predialysis && predialysis.weight_before > 0 && afterdialysis && afterdialysis.weight_after > 0">
1118
                             v-if="predialysis && predialysis.weight_before > 0 && afterdialysis && afterdialysis.weight_after > 0">
1120
                             {{ (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}
1119
                             {{ (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}
1128
                         <span>
1127
                         <span>
1129
                           透析中入量(L):
1128
                           透析中入量(L):
1130
                         </span>
1129
                         </span>
1131
-                      
1130
+
1132
                         <div class="under_line" style="width: 70px; text-align: center">
1131
                         <div class="under_line" style="width: 70px; text-align: center">
1133
                           {{
1132
                           {{
1134
                             afterdialysis.dialysis_intakes
1133
                             afterdialysis.dialysis_intakes
1150
                           }}
1149
                           }}
1151
                         </div>
1150
                         </div>
1152
                         <span> ml</span>
1151
                         <span> ml</span>
1153
-                        
1152
+
1154
                       </div>
1153
                       </div>
1155
                     </div>
1154
                     </div>
1156
-                  
1155
+
1157
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1156
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1158
                       <div class="inline_block" style="flex: 1; display: inline-block">
1157
                       <div class="inline_block" style="flex: 1; display: inline-block">
1159
                         治疗小结:
1158
                         治疗小结:
1386
                           </span>
1385
                           </span>
1387
                           <img style="height: 40px" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1386
                           <img style="height: 40px" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1388
                         </div>
1387
                         </div>
1389
-                        
1388
+
1390
                       </div>
1389
                       </div>
1391
                     </div>
1390
                     </div>
1392
                   </td>
1391
                   </td>
1683
     },
1682
     },
1684
 
1683
 
1685
     checkData() {
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
         this.prescription.displace_liqui_value == 0 &&
1726
         this.prescription.displace_liqui_value == 0 &&
1723
         this.prescription.mode_id == 2
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
         this.prescription.dialysis_duration_hour == 0 &&
1732
         this.prescription.dialysis_duration_hour == 0 &&
1730
         this.prescription.dialysis_duration_minute == 0
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
         this.prescription.dialyzer_perfusion_apparatus == "" &&
1738
         this.prescription.dialyzer_perfusion_apparatus == "" &&
1735
         this.prescription.dialysis_dialyszers == ""
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
         this.prescription.anticoagulant_gaimingcheng == "" &&
1780
         this.prescription.anticoagulant_gaimingcheng == "" &&
1770
         this.prescription.anticoagulant == 5
1781
         this.prescription.anticoagulant == 5
1771
       ) {
1782
       ) {
1772
-        this.$message.error("钙名称未填");
1773
-      } else if (
1783
+        const obj27='钙名称'
1784
+        checkDate.push(obj27)
1785
+      }if (
1774
         this.prescription.anticoagulant_gaijiliang == "" &&
1786
         this.prescription.anticoagulant_gaijiliang == "" &&
1775
         this.prescription.anticoagulant == 5
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
         this.afterdialysis.actual_treatment_hour == 0 &&
1823
         this.afterdialysis.actual_treatment_hour == 0 &&
1791
         this.afterdialysis.actual_treatment_minute == 0
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
         this.dialysisOrder == null ||
1856
         this.dialysisOrder == null ||
1812
         this.dialysisOrder.puncture_nurse == 0
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
         this.dialysisOrder == null ||
1862
         this.dialysisOrder == null ||
1817
         this.dialysisOrder.start_nurse == 0
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
       } else if (
1870
       } else if (
1823
         this.dialysisOrder != null &&
1871
         this.dialysisOrder != null &&
1824
         this.dialysisOrder.start_nurse == this.check.modifier &&
1872
         this.dialysisOrder.start_nurse == this.check.modifier &&
1825
         this.check.creater == 0
1873
         this.check.creater == 0
1826
       ) {
1874
       ) {
1827
-        this.$message.error("核对人员未填");
1875
+        const obj48='核对人员'
1876
+        checkDate.push(obj48)
1828
       } else if (
1877
       } else if (
1829
         this.dialysisOrder != null &&
1878
         this.dialysisOrder != null &&
1830
         this.dialysisOrder.start_nurse == this.check.creater &&
1879
         this.dialysisOrder.start_nurse == this.check.creater &&
1831
         this.check.modifier == 0
1880
         this.check.modifier == 0
1832
       ) {
1881
       ) {
1833
-        this.$message.error("核对人员未填");
1882
+        const obj48='核对人员'
1883
+        checkDate.push(obj48)
1834
       } else if (
1884
       } else if (
1835
         this.dialysisOrder != null &&
1885
         this.dialysisOrder != null &&
1836
         this.dialysisOrder.start_nurse != this.check.creater &&
1886
         this.dialysisOrder.start_nurse != this.check.creater &&
1837
         this.dialysisOrder.start_nurse != this.check.modifier &&
1887
         this.dialysisOrder.start_nurse != this.check.modifier &&
1838
         this.check.creater == 0
1888
         this.check.creater == 0
1839
       ) {
1889
       ) {
1840
-        this.$message.error("核对人员未填");
1841
-      } else if (
1890
+        const obj48='核对人员'
1891
+        checkDate.push(obj48)
1892
+      }if (
1842
         this.dialysisOrder == null ||
1893
         this.dialysisOrder == null ||
1843
         this.dialysisOrder.finish_nurse == 0
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
     getDisplaceLiquiPart: function (val) {
1967
     getDisplaceLiquiPart: function (val) {
1901
       let displace_liqui_part_name = "/";
1968
       let displace_liqui_part_name = "/";
2213
           const monitor = this.monitors[index];
2280
           const monitor = this.monitors[index];
2214
           this.monitors[index].end = "";
2281
           this.monitors[index].end = "";
2215
           if (Object.keys(monitor).length > 0 && index > 1) {
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
         return "0.0";
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
   watch: {
2767
   watch: {
2689
     "patientInfo.gender": function () {
2768
     "patientInfo.gender": function () {

+ 24 - 3
src/xt_pages/outpatientTool/components/print9919.vue Wyświetl plik

83
         <td width="80">身份证号</td>
83
         <td width="80">身份证号</td>
84
         <td colspan="3">{{info.certno}}</td>
84
         <td colspan="3">{{info.certno}}</td>
85
       </tr>
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
         <td>住院号</td>
87
         <td>住院号</td>
88
         <td>{{info.number}}</td>
88
         <td>{{info.number}}</td>
89
         <td>科别</td>
89
         <td>科别</td>
98
         <td>{{info.num}}</td>
98
         <td>{{info.num}}</td>
99
 
99
 
100
       </tr>
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
         <td>险种</td>
114
         <td>险种</td>
103
         <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
115
         <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
104
         <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
116
         <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
338
         return {}
350
         return {}
339
       }
351
       }
340
     }
352
     }
341
-  },methods:{
353
+  },
354
+  data(){
355
+    return{
356
+      org_id:'',
357
+    }
358
+  },
359
+  methods:{
342
     getBirth(idNo){
360
     getBirth(idNo){
343
       var year = idNo.substring(6, 10);
361
       var year = idNo.substring(6, 10);
344
       var month = idNo.substring(10, 12);
362
       var month = idNo.substring(10, 12);
374
       return dateTime
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 Wyświetl plik

182
           type: this.$route.query.type,
182
           type: this.$route.query.type,
183
           limit:this.$route.query.limit,
183
           limit:this.$route.query.limit,
184
           page:this.$route.query.page,
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
         totalPrice: 0,
188
         totalPrice: 0,
187
         stockDatas: [],
189
         stockDatas: [],
195
         informationList:[],
197
         informationList:[],
196
         wareOutList:[],
198
         wareOutList:[],
197
         manufacturerList:[],
199
         manufacturerList:[],
198
-        dealerList:[]
200
+        dealerList:[],
201
+        good_id:0,
199
       }
202
       }
200
     },
203
     },
201
     methods: {
204
     methods: {

+ 24 - 4
src/xt_pages/stock/detail/stockInDetail.vue Wyświetl plik

316
       dealerList:[],
316
       dealerList:[],
317
       currentIndex:0,
317
       currentIndex:0,
318
       good_id:0,
318
       good_id:0,
319
+      goodKindList:[]
319
     };
320
     };
320
   },
321
   },
321
   methods: {
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
     handleSelect(val){
333
     handleSelect(val){
323
      this.good_name = val.good_name
334
      this.good_name = val.good_name
324
      this.good_id = val.id
335
      this.good_id = val.id
480
         keywords: this.searchKey,
491
         keywords: this.searchKey,
481
         storehouse_id:this.storehouse_id,
492
         storehouse_id:this.storehouse_id,
482
         good_id:this.good_id,
493
         good_id:this.good_id,
494
+        order_way:0
483
       };
495
       };
484
       this.cancelStockDate = [];
496
       this.cancelStockDate = [];
485
       const loading = this.$loading({
497
       const loading = this.$loading({
513
           this.tableDataList = response.data.data.list
525
           this.tableDataList = response.data.data.list
514
           this.manufacturerList = response.data.data.manufacturerList
526
           this.manufacturerList = response.data.data.manufacturerList
515
           this.dealerList = response.data.data.dealerList
527
           this.dealerList = response.data.data.dealerList
516
-        
528
+          
529
+          this.goodKindList = response.data.data.goodKindList
517
 
530
 
518
           this.cancelStockDate.push({
531
           this.cancelStockDate.push({
519
             warehousing_order: "合计",
532
             warehousing_order: "合计",
769
           limit:this.limit,
782
           limit:this.limit,
770
           page:this.page,
783
           page:this.page,
771
           keywords:this.$router.keywords,
784
           keywords:this.$router.keywords,
785
+          good_id:this.good_id,
786
+          order_way:0,
772
         }
787
         }
773
       });
788
       });
774
       }
789
       }
784
           page:this.page,
799
           page:this.page,
785
           keywords:this.searchKey,
800
           keywords:this.searchKey,
786
           storehouse_id:this.storehouse_id,
801
           storehouse_id:this.storehouse_id,
787
-          
802
+          good_id:this.good_id,
803
+          order_way:0,
788
         }
804
         }
789
        });
805
        });
790
       }
806
       }
933
         var obj = {index:"合计",total_price:0}
949
         var obj = {index:"合计",total_price:0}
934
         var total = 0
950
         var total = 0
935
         console.log("wowowows",this.tableDataList)
951
         console.log("wowowows",this.tableDataList)
952
+       
936
         for(let i=0;i<this.tableDataList.length;i++){
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
           this.tableDataList[i].index = i + 1
955
           this.tableDataList[i].index = i + 1
938
           this.tableDataList[i].good_type_name = this.typeName(this.tableDataList[i].good_type_id)
956
           this.tableDataList[i].good_type_name = this.typeName(this.tableDataList[i].good_type_id)
939
           this.tableDataList[i].good_name = this.typeNameOne(this.tableDataList[i].good_id)
957
           this.tableDataList[i].good_name = this.typeNameOne(this.tableDataList[i].good_id)
951
         obj.total_price = total.toFixed(2)
969
         obj.total_price = total.toFixed(2)
952
         this.tableDataList.push(obj)
970
         this.tableDataList.push(obj)
953
       
971
       
972
+        console.log("hhhhhhhhhhhhhhhh",this.tableDataList)
973
+       
954
         import('@/vendor/Export2Excel').then(excel => {
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
         const data = this.formatJson(filterVal, this.tableDataList)
979
         const data = this.formatJson(filterVal, this.tableDataList)

+ 20 - 4
src/xt_pages/stock/detail/stockOutDetail.vue Wyświetl plik

350
       patientsList:[],
350
       patientsList:[],
351
       good_id:0,
351
       good_id:0,
352
       good_name:"",
352
       good_name:"",
353
+      goodKindList:[]
353
     };
354
     };
354
   },
355
   },
355
   methods: {
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
     changeOrderWayList(){
367
     changeOrderWayList(){
357
       this.GetCancelStock();
368
       this.GetCancelStock();
358
       this.getGoodDetailPrintList()
369
       this.getGoodDetailPrintList()
572
           this.tableDataList = response.data.data.list
583
           this.tableDataList = response.data.data.list
573
           this.manufacturerList = response.data.data.manufacturerList
584
           this.manufacturerList = response.data.data.manufacturerList
574
           this.dealerList = response.data.data.dealerList
585
           this.dealerList = response.data.data.dealerList
575
-
586
+          this.goodKindList = response.data.data.goodKindList
576
           this.cancelStockDate.push(objOne);
587
           this.cancelStockDate.push(objOne);
577
 
588
 
578
         }
589
         }
851
             end_time: this.end_time,
862
             end_time: this.end_time,
852
             limit:this.limit,
863
             limit:this.limit,
853
             page:this.page,
864
             page:this.page,
865
+            good_id:this.good_id,
866
+            order_way:this.order_way
854
           }
867
           }
855
         });
868
         });
856
       }
869
       }
865
             page:this.page,
878
             page:this.page,
866
             storehouse_id:this.storehouse_id,
879
             storehouse_id:this.storehouse_id,
867
             keyword:this.searchKey,
880
             keyword:this.searchKey,
881
+            good_id:this.good_id,
882
+            order_way:this.order_way
868
           }
883
           }
869
         });
884
         });
870
       }
885
       }
1063
      },
1078
      },
1064
      exportListDetail(){
1079
      exportListDetail(){
1065
         console.log("hahhdhafhhahdf",this.tableDataList)
1080
         console.log("hahhdhafhhahdf",this.tableDataList)
1066
-
1081
+       
1067
         var obj = {index:"合计",total_price:0}
1082
         var obj = {index:"合计",total_price:0}
1068
         var total = 0
1083
         var total = 0
1069
         for(let i=0;i<this.tableDataList.length;i++){
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
           this.tableDataList[i].index = i + 1
1086
           this.tableDataList[i].index = i + 1
1071
           this.tableDataList[i].good_type_name = this.typeName(this.tableDataList[i].good_type_id)
1087
           this.tableDataList[i].good_type_name = this.typeName(this.tableDataList[i].good_type_id)
1072
           this.tableDataList[i].good_name = this.typeNameOne(this.tableDataList[i].good_id)
1088
           this.tableDataList[i].good_name = this.typeNameOne(this.tableDataList[i].good_id)
1096
 
1112
 
1097
         this.tableDataList.push(obj)
1113
         this.tableDataList.push(obj)
1098
        import('@/vendor/Export2Excel').then(excel => {
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
        const data = this.formatJson(filterVal, this.tableDataList)
1118
        const data = this.formatJson(filterVal, this.tableDataList)
1103
 
1119
 

+ 82 - 1
src/xt_pages/stock/drugs/components/drugCancelDetail.vue Wyświetl plik

76
       </div>
76
       </div>
77
     </div>
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
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
111
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
80
       <el-table class="eltable"
112
       <el-table class="eltable"
81
         :data="tableData"
113
         :data="tableData"
188
 import { fetchAllAdminUsers} from "@/api/doctor";
220
 import { fetchAllAdminUsers} from "@/api/doctor";
189
 import {  GetAllConfig} from "@/api/stock";
221
 import {  GetAllConfig} from "@/api/stock";
190
 import { getDrugCancelDetail } from "@/api/drug/drug_stock";
222
 import { getDrugCancelDetail } from "@/api/drug/drug_stock";
223
+import {  postSearchDrugList } from "@/api/data";
191
 export default {
224
 export default {
192
   name: "cancelStockDetail",
225
   name: "cancelStockDetail",
193
 
226
 
260
       drugTypeList:[],
293
       drugTypeList:[],
261
       dealerList:[],
294
       dealerList:[],
262
       manufacturerList:[],
295
       manufacturerList:[],
263
-      patientsList:[]
296
+      patientsList:[],
297
+      drug_name:"",
298
+      drug_id:0
264
     };
299
     };
265
   },
300
   },
266
   methods: {
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
     PrintAction() {
347
     PrintAction() {
268
         window.sessionStorage.setItem('start_cancel_time',this.start_time)
348
         window.sessionStorage.setItem('start_cancel_time',this.start_time)
269
         window.sessionStorage.setItem('end_cancel_time',this.end_time)
349
         window.sessionStorage.setItem('end_cancel_time',this.end_time)
372
         keyword:this.searchKey,
452
         keyword:this.searchKey,
373
         limit:this.limit,
453
         limit:this.limit,
374
         page:this.page,
454
         page:this.page,
455
+        drug_id:this.drug_id,
375
        }
456
        }
376
        const loading = this.$loading({
457
        const loading = this.$loading({
377
           lock: true,
458
           lock: true,

+ 89 - 2
src/xt_pages/stock/drugs/components/drugInOrder.vue Wyświetl plik

86
       >
86
       >
87
     </div>
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
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
123
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
90
       <el-table class="eltable"
124
       <el-table class="eltable"
91
         :data="cancelStockDate"
125
         :data="cancelStockDate"
219
 import { fetchAllAdminUsers } from "@/api/doctor";
253
 import { fetchAllAdminUsers } from "@/api/doctor";
220
 import { GetAllConfig } from "@/api/stock";
254
 import { GetAllConfig } from "@/api/stock";
221
 import { getDrugIndetail,getDrugWarehouseInfoPrint,ModityDrugCodeWarehouseInfo} from "@/api/drug/drug_stock"
255
 import { getDrugIndetail,getDrugWarehouseInfoPrint,ModityDrugCodeWarehouseInfo} from "@/api/drug/drug_stock"
256
+import {  postSearchDrugList } from "@/api/data";
222
 export default {
257
 export default {
223
   name: "stockInDetail",
258
   name: "stockInDetail",
224
 
259
 
302
       currentIndex:0,
337
       currentIndex:0,
303
       textarea:"",
338
       textarea:"",
304
       id:0,
339
       id:0,
340
+      drug_name:"",
341
+      drug_id:0,
305
     };
342
     };
306
   },
343
   },
307
   methods: {
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
     changeText(event){
394
     changeText(event){
309
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
395
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
310
       if (event.key === 'Enter') {
396
       if (event.key === 'Enter') {
327
            id:this.id,
413
            id:this.id,
328
            drug_code:this.textarea,
414
            drug_code:this.textarea,
329
         }
415
         }
330
-        // console.log("params=-==---",params)
331
        ModityDrugCodeWarehouseInfo(params).then(response=>{
416
        ModityDrugCodeWarehouseInfo(params).then(response=>{
332
           if(response.data.state == 1){
417
           if(response.data.state == 1){
333
             var info =  response.data.data.info
418
             var info =  response.data.data.info
445
         limit:this.limit,
530
         limit:this.limit,
446
         page:this.page,
531
         page:this.page,
447
         storehouse_id:this.storehouse_id,
532
         storehouse_id:this.storehouse_id,
533
+        drug_id:this.drug_id,
448
        }
534
        }
449
        const loading = this.$loading({
535
        const loading = this.$loading({
450
           lock: true,
536
           lock: true,
536
         end_time:this.end_time,
622
         end_time:this.end_time,
537
         order_type:this.order_type,
623
         order_type:this.order_type,
538
         storehouse_id:this.storehouse_id,
624
         storehouse_id:this.storehouse_id,
625
+        drug_id:this.drug_id,
539
       }
626
       }
540
     
627
     
541
      getDrugWarehouseInfoPrint(params).then(response=>{
628
      getDrugWarehouseInfoPrint(params).then(response=>{
551
     PrintAction(){
638
     PrintAction(){
552
       window.sessionStorage.setItem('drug_start_in_time',this.start_time)
639
       window.sessionStorage.setItem('drug_start_in_time',this.start_time)
553
       window.sessionStorage.setItem('drug_end_in_time',this.end_time)
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
     select(){
643
     select(){
557
 
644
 

+ 108 - 4
src/xt_pages/stock/drugs/components/drugOutDetail.vue Wyświetl plik

102
 
102
 
103
     </div>
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
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
148
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
107
       <el-table class="eltable"
149
       <el-table class="eltable"
228
 import { fetchAllAdminUsers } from "@/api/doctor";
270
 import { fetchAllAdminUsers } from "@/api/doctor";
229
 import {GetAllConfig } from "@/api/stock";
271
 import {GetAllConfig } from "@/api/stock";
230
 import {getDrugOutDetail,getDrugOutOrderPrint } from "@/api/drug/drug_stock"
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
 export default {
275
 export default {
233
   name: "stockOutDetail",
276
   name: "stockOutDetail",
234
 
277
 
281
       manufacturer_id: "",
324
       manufacturer_id: "",
282
       dealer_id: "",
325
       dealer_id: "",
283
       order_type:"",
326
       order_type:"",
284
-
327
+      orderWay:[
328
+        {value:0,label:"全部"},
329
+        {value:1,label:"手动出库"},
330
+        {value:2,label:"自动出库"},
331
+      ],
285
       searchKey: "",
332
       searchKey: "",
286
       type: 2,
333
       type: 2,
287
       page: 1,
334
       page: 1,
311
       houseList:[],
358
       houseList:[],
312
       dealerList:[],
359
       dealerList:[],
313
       manufacturerList:[],
360
       manufacturerList:[],
314
-      patientsList:[]
361
+      patientsList:[],
362
+      drug_name:"",
363
+      drug_id:0,
364
+      order_way:"",
315
     };
365
     };
316
   },
366
   },
317
   methods: {
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
     changeType: function(val) {
418
     changeType: function(val) {
319
       this.order_type = val;
419
       this.order_type = val;
320
       this.getlist()
420
       this.getlist()
445
     PrintAction: function() {
545
     PrintAction: function() {
446
       //  window.sessionStorage.setItem('start_out_time',this.start_time)
546
       //  window.sessionStorage.setItem('start_out_time',this.start_time)
447
       //  window.sessionStorage.setItem('end_out_time',this.end_time)
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
     getlist(){
550
     getlist(){
451
       var params = {
551
       var params = {
457
          page:this.page,
557
          page:this.page,
458
          limit:this.limit,
558
          limit:this.limit,
459
          storehouse_id:this.storehouse_id,
559
          storehouse_id:this.storehouse_id,
560
+         drug_id:this.drug_id,
561
+         order_way:this.order_way,
460
       }
562
       }
461
       const loading = this.$loading({
563
       const loading = this.$loading({
462
           lock: true,
564
           lock: true,
974
          end_time:this.end_time,
1076
          end_time:this.end_time,
975
          order_type:2,
1077
          order_type:2,
976
          storehouse_id:this.storehouse_id,
1078
          storehouse_id:this.storehouse_id,
1079
+         drug_id:this.drug_id,
1080
+         order_way:this.order_way,
977
       }
1081
       }
978
      getDrugOutOrderPrint(params).then(response=>{
1082
      getDrugOutOrderPrint(params).then(response=>{
979
         if(response.data.state == 1){
1083
         if(response.data.state == 1){

+ 4 - 0
src/xt_pages/stock/drugs/drugOutOrderPrint.vue Wyświetl plik

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

+ 2 - 0
src/xt_pages/stock/drugs/drugPrint.vue Wyświetl plik

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

+ 8 - 0
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Wyświetl plik

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

+ 7 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue Wyświetl plik

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

Plik diff jest za duży
+ 602 - 560
src/xt_pages/user/Informed/Informedconsent.vue


+ 206 - 0
src/xt_pages/user/Informed/components/informef_Twentyfive.vue Wyświetl plik

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 Wyświetl plik

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 Wyświetl plik

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 Wyświetl plik

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 Wyświetl plik

1175
           anticoagulant_name = "IU"
1175
           anticoagulant_name = "IU"
1176
        }
1176
        }
1177
        if(val == 8){
1177
        if(val == 8){
1178
-          anticoagulant_name = "IU/h"
1178
+          anticoagulant_name = "IU"
1179
        }
1179
        }
1180
        if(val == 9){
1180
        if(val == 9){
1181
           anticoagulant_name = "IU/h"
1181
           anticoagulant_name = "IU/h"
2338
           //透前
2338
           //透前
2339
           var befor_total =0
2339
           var befor_total =0
2340
         var cha_weight = 0
2340
         var cha_weight = 0
2341
+        var befor_weight =0
2342
+        var after_weight =0
2341
         var pingjun_weight = 0
2343
         var pingjun_weight = 0
2342
         if(this.berforList!=null){
2344
         if(this.berforList!=null){
2343
           befor_total = this.berforList.length
2345
           befor_total = this.berforList.length
2344
           for(let i=0;i<this.berforList.length;i++){
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
         var cruorNewArr = []
2359
         var cruorNewArr = []
2519
                 <td style="align-items: center;padding: 5px;">干体重</td>
2526
                 <td style="align-items: center;padding: 5px;">干体重</td>
2520
                 <td style='padding: 5px;'>
2527
                 <td style='padding: 5px;'>
2521
                   <p>
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
                   </p>
2530
                   </p>
2524
                   <p>
2531
                   <p>
2525
                     <span style='font-weight: bold;'>调整记录:${dry_weight_str}</span>&nbsp;<span class=""></span>
2532
                     <span style='font-weight: bold;'>调整记录:${dry_weight_str}</span>&nbsp;<span class=""></span>

+ 56 - 4
src/xt_pages/user/dialysisSolution.vue Wyświetl plik

1556
         console.log("value",val)
1556
         console.log("value",val)
1557
         this.InnerDialogProps.visibility = false
1557
         this.InnerDialogProps.visibility = false
1558
         switch (val.type) {
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
             break
1578
             break
1562
           case 'dialyzers':
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
             break
1599
             break
1565
           case 'irrigations':
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
             break
1619
             break
1568
           case 'plasma_separator':
1620
           case 'plasma_separator':
1569
             this.addPlan.plasma_separator = val.value.join(',')
1621
             this.addPlan.plasma_separator = val.value.join(',')

+ 62 - 55
src/xt_pages/user/physiqueprinting.vue Wyświetl plik

6
       </el-button>
6
       </el-button>
7
     </div>
7
     </div>
8
     <div class="app-container">
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
         <div class="print_page_main_content">
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
               </div>
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
               </div>
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
               </div>
72
               </div>
73
+              <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
37
             </div>
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
             </div>
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
           </div>
78
           </div>
70
-          <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
71
           <div style="word-break: break-all; word-wrap: break-word;">
79
           <div style="word-break: break-all; word-wrap: break-word;">
72
             <div v-html="item.content" style="font-family: Microsoft YaHei;"></div>
80
             <div v-html="item.content" style="font-family: Microsoft YaHei;"></div>
73
           </div>
81
           </div>
679
           this.diagnosis = this.patient.diagnose.split(',')
687
           this.diagnosis = this.patient.diagnose.split(',')
680
           
688
           
681
           this.list = response.data.data.sickhistorys
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 Wyświetl plik

522
       if(this.add_index ==0){
522
       if(this.add_index ==0){
523
         this.template_dialog = true
523
         this.template_dialog = true
524
       }else{
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
       <tbody>
527
       <tbody>
527
         <tr>
528
         <tr>
528
           <td style="width:8%;padding: 5px 0px;font-size: 16px;">
529
           <td style="width:8%;padding: 5px 0px;font-size: 16px;">

+ 497 - 57
src/xt_pages/workforce/scheduleTablePrintTwo.vue Wyświetl plik

5
         <el-button type="primary" @click="touping">{{ Screencasting == true ? '取消投屏' : '投屏' }}</el-button>
5
         <el-button type="primary" @click="touping">{{ Screencasting == true ? '取消投屏' : '投屏' }}</el-button>
6
         <el-button type="primary" @click="printAction">打印</el-button>
6
         <el-button type="primary" @click="printAction">打印</el-button>
7
       </div>
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
           <tr>
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
             <td colspan="3" v-if="first_day == 1">周一({{ weekTitle[0] }})</td>
16
             <td colspan="3" v-if="first_day == 1">周一({{ weekTitle[0] }})</td>
15
             <td colspan="3" v-if="second_day == 2">周二({{ weekTitle[1] }})</td>
17
             <td colspan="3" v-if="second_day == 2">周二({{ weekTitle[1] }})</td>
16
             <td colspan="3" v-if="three_day == 3">周三({{ weekTitle[2] }})</td>
18
             <td colspan="3" v-if="three_day == 3">周三({{ weekTitle[2] }})</td>
71
            
73
            
72
           </tr> -->
74
           </tr> -->
73
           <tr v-for="(item, index) in scheduleZone" :key="index">
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
             <template v-if="schedule_type == 1">
79
             <template v-if="schedule_type == 1">
78
               <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
80
               <td colspan="3" style="min-width:50px;" v-if="first_day == 1">
298
             <template v-if="schedule_type == 0 && org_id != 10721 ">
300
             <template v-if="schedule_type == 0 && org_id != 10721 ">
299
               <td style="min-width:50px;" v-if="first_day == 1">
301
               <td style="min-width:50px;" v-if="first_day == 1">
300
                 <span v-if="item.Mon_M.patient_id">
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
                   <span v-if="item.Mon_M.mode_id != 1">{{ item.Mon_M.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Mon_M.dialysis_machine_name }}
306
                   <span v-show="showflag">{{ item.Mon_M.dialysis_machine_name }}
305
                   </span>
307
                   </span>
306
                 </span>
308
                 </span>
307
               </td>
309
               </td>
308
               <td style="min-width:50px;" v-if="first_day == 1">
310
               <td style="min-width:50px;" v-if="first_day == 1">
309
                 <span v-if="item.Mon_A.patient_id">
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
                   <span v-if="item.Mon_A.mode_id != 1">{{ item.Mon_A.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Mon_A.dialysis_machine_name }}
315
                   <span v-show="showflag">{{ item.Mon_A.dialysis_machine_name }}
314
 
316
 
315
                   </span>
317
                   </span>
317
               </td>
319
               </td>
318
               <td style="min-width:50px;" v-if="first_day == 1">
320
               <td style="min-width:50px;" v-if="first_day == 1">
319
                 <span v-if="item.Mon_N.patient_id">
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
                   <span v-if="item.Mon_N.mode_id != 1">{{ item.Mon_N.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Mon_N.dialysis_machine_name }}
325
                   <span v-show="showflag">{{ item.Mon_N.dialysis_machine_name }}
324
 
326
 
325
                   </span>
327
                   </span>
327
               </td>
329
               </td>
328
               <td style="min-width:50px;" v-if="second_day == 2">
330
               <td style="min-width:50px;" v-if="second_day == 2">
329
                 <span v-if="item.Tue_M.patient_id">
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
                   <span v-if="item.Tue_M.mode_id != 1">{{ item.Tue_M.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Tue_M.dialysis_machine_name }}
335
                   <span v-show="showflag">{{ item.Tue_M.dialysis_machine_name }}
334
 
336
 
335
                   </span>
337
                   </span>
337
               </td>
339
               </td>
338
               <td style="min-width:50px;" v-if="second_day == 2">
340
               <td style="min-width:50px;" v-if="second_day == 2">
339
                 <span v-if="item.Tue_A.patient_id">
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
                   <span v-if="item.Tue_A.mode_id != 1">{{ item.Tue_A.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Tue_A.dialysis_machine_name }}
345
                   <span v-show="showflag">{{ item.Tue_A.dialysis_machine_name }}
344
 
346
 
345
                   </span>
347
                   </span>
348
               </td>
350
               </td>
349
               <td style="min-width:50px;" v-if="second_day == 2">
351
               <td style="min-width:50px;" v-if="second_day == 2">
350
                 <span v-if="item.Tue_N.patient_id">
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
                   <span v-if="item.Tue_N.mode_id != 1">{{ item.Tue_N.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Tue_N.dialysis_machine_name }}
356
                   <span v-show="showflag">{{ item.Tue_N.dialysis_machine_name }}
355
 
357
 
356
                   </span>
358
                   </span>
358
               </td>
360
               </td>
359
               <td style="min-width:50px;" v-if="three_day == 3">
361
               <td style="min-width:50px;" v-if="three_day == 3">
360
                 <span v-if="item.Wed_M.patient_id">
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
                   <span v-if="item.Wed_M.mode_id != 1">{{ item.Wed_M.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Wed_M.dialysis_machine_name }}
366
                   <span v-show="showflag">{{ item.Wed_M.dialysis_machine_name }}
365
 
367
 
366
                   </span>
368
                   </span>
368
               </td>
370
               </td>
369
               <td style="min-width:50px;" v-if="three_day == 3">
371
               <td style="min-width:50px;" v-if="three_day == 3">
370
                 <span v-if="item.Wed_A.patient_id">
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
                   <span v-if="item.Wed_A.mode_id != 1">{{ item.Wed_A.mode_name }}</span><br />
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
                 </span>
377
                 </span>
378
               </td>
378
               </td>
379
               <td style="min-width:50px;" v-if="three_day == 3">
379
               <td style="min-width:50px;" v-if="three_day == 3">
380
                 <span v-if="item.Wed_N.patient_id">
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
                   <span v-if="item.Wed_N.mode_id != 1">{{ item.Wed_N.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Wed_N.dialysis_machine_name }}
384
                   <span v-show="showflag">{{ item.Wed_N.dialysis_machine_name }}
385
 
385
 
386
                   </span>
386
                   </span>
388
               </td>
388
               </td>
389
               <td style="min-width:50px;" v-if="four_day == 4">
389
               <td style="min-width:50px;" v-if="four_day == 4">
390
                 <span v-if="item.Thurs_M.patient_id">
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
                   <span v-if="item.Thurs_M.mode_id != 1">{{ item.Thurs_M.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Thurs_M.dialysis_machine_name }}
394
                   <span v-show="showflag">{{ item.Thurs_M.dialysis_machine_name }}
395
 
395
 
396
                   </span>
396
                   </span>
398
               </td>
398
               </td>
399
               <td style="min-width:50px;" v-if="four_day == 4">
399
               <td style="min-width:50px;" v-if="four_day == 4">
400
                 <span v-if="item.Thurs_A.patient_id">
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
                   <span v-if="item.Thurs_A.mode_id != 1">{{ item.Thurs_A.mode_name }}</span><br />
402
                   <span v-if="item.Thurs_A.mode_id != 1">{{ item.Thurs_A.mode_name }}</span><br />
403
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_A.anticoagulant) }}</span>
403
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_A.anticoagulant) }}</span>
404
 
404
 
409
               </td>
409
               </td>
410
               <td style="min-width:50px;" v-if="four_day == 4">
410
               <td style="min-width:50px;" v-if="four_day == 4">
411
                 <span v-if="item.Thurs_N.patient_id">
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
                   <span v-if="item.Thurs_N.mode_id != 1">{{ item.Thurs_N.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Thurs_N.dialysis_machine_name }}
415
                   <span v-show="showflag">{{ item.Thurs_N.dialysis_machine_name }}
416
 
416
 
417
                   </span>
417
                   </span>
419
               </td>
419
               </td>
420
               <td style="min-width:50px;" v-if="five_day == 5">
420
               <td style="min-width:50px;" v-if="five_day == 5">
421
                 <span v-if="item.Fri_M.patient_id">
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
                   <span v-if="item.Fri_M.mode_id != 1">{{ item.Fri_M.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Fri_M.dialysis_machine_name }}
425
                   <span v-show="showflag">{{ item.Fri_M.dialysis_machine_name }}
426
 
426
 
427
                   </span>
427
                   </span>
429
               </td>
429
               </td>
430
               <td style="min-width:50px;" v-if="five_day == 5">
430
               <td style="min-width:50px;" v-if="five_day == 5">
431
                 <span v-if="item.Fri_A.patient_id">
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
                   <span v-if="item.Fri_A.mode_id != 1">{{ item.Fri_A.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Fri_A.dialysis_machine_name }}
435
                   <span v-show="showflag">{{ item.Fri_A.dialysis_machine_name }}
436
 
436
 
437
                   </span>
437
                   </span>
439
               </td>
439
               </td>
440
               <td style="min-width:50px;" v-if="five_day == 5">
440
               <td style="min-width:50px;" v-if="five_day == 5">
441
                 <span v-if="item.Fri_N.patient_id">
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
                   <span v-if="item.Fri_N.mode_id != 1">{{ item.Fri_N.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Fri_N.dialysis_machine_name }}
445
                   <span v-show="showflag">{{ item.Fri_N.dialysis_machine_name }}
446
 
446
 
447
                   </span>
447
                   </span>
449
               </td>
449
               </td>
450
               <td style="min-width:50px;" v-if="six_day == 6">
450
               <td style="min-width:50px;" v-if="six_day == 6">
451
                 <span v-if="item.Sat_M.patient_id">
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
                   <span v-if="item.Sat_M.mode_id != 1">{{ item.Sat_M.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Sat_M.dialysis_machine_name }}
455
                   <span v-show="showflag">{{ item.Sat_M.dialysis_machine_name }}
456
 
456
 
457
                   </span>
457
                   </span>
459
               </td>
459
               </td>
460
               <td style="min-width:50px;" v-if="six_day == 6">
460
               <td style="min-width:50px;" v-if="six_day == 6">
461
                 <span v-if="item.Sat_A.patient_id">
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
                   <span v-if="item.Sat_A.mode_id != 1">{{ item.Sat_A.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Sat_A.dialysis_machine_name }}
465
                   <span v-show="showflag">{{ item.Sat_A.dialysis_machine_name }}
466
 
466
 
467
                   </span>
467
                   </span>
469
               </td>
469
               </td>
470
               <td style="min-width:50px;" v-if="six_day == 6">
470
               <td style="min-width:50px;" v-if="six_day == 6">
471
                 <span v-if="item.Sat_N.patient_id">
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
                   <span v-if="item.Sat_N.mode_id != 1">{{ item.Sat_N.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Sat_N.dialysis_machine_name }}
475
                   <span v-show="showflag">{{ item.Sat_N.dialysis_machine_name }}
476
 
476
 
477
                   </span>
477
                   </span>
479
               </td>
479
               </td>
480
               <td style="min-width:50px;" v-if="seven_day == 7">
480
               <td style="min-width:50px;" v-if="seven_day == 7">
481
                 <span v-if="item.Sun_M.patient_id">
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
                   <span v-if="item.Sun_M.mode_id != 1">{{ item.Sun_M.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Sun_M.dialysis_machine_name }}
485
                   <span v-show="showflag">{{ item.Sun_M.dialysis_machine_name }}
486
 
486
 
487
                   </span>
487
                   </span>
489
               </td>
489
               </td>
490
               <td style="min-width:50px;" v-if="seven_day == 7">
490
               <td style="min-width:50px;" v-if="seven_day == 7">
491
                 <span v-if="item.Sun_A.patient_id">
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
                   <span v-if="item.Sun_A.mode_id != 1">{{ item.Sun_A.mode_name }}</span><br />
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
                   <span v-show="showflag">{{ item.Sun_A.dialysis_machine_name }}
495
                   <span v-show="showflag">{{ item.Sun_A.dialysis_machine_name }}
496
 
496
 
497
                   </span>
497
                   </span>
500
               </td>
500
               </td>
501
               <td style="min-width:50px;" v-if="seven_day == 7">
501
               <td style="min-width:50px;" v-if="seven_day == 7">
502
                 <span v-if="item.Sun_N.patient_id">
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
                   <span v-if="item.Sun_N.mode_id != 1">{{ item.Sun_N.mode_name }}</span><br />
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
                 </span>
507
                 </span>
510
               </td>
508
               </td>
511
             </template>
509
             </template>
659
                   <span v-show="showflag">{{ item.Sun_N.dialysis_machine_name }}</span>
657
                   <span v-show="showflag">{{ item.Sun_N.dialysis_machine_name }}</span>
660
                 </span>
658
                 </span>
661
               </td>
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
             </template>
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
           </tr>
1104
           </tr>
665
         </table>
1105
         </table>
666
       </div>
1106
       </div>
1551
     },
1991
     },
1552
     printAction: function () {
1992
     printAction: function () {
1553
       // const style = '@media print {#scheduleTable{font-size:16px;} .scheduleTable tr td{text-align: center;padding: 5px;}}'
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
       const style1 = '@media print {#scheduleTable{font-size:20px;font-weight: 500;} .scheduleTable td{padding: 5px;} }'
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
         printJS({
1997
         printJS({
1558
           printable: 'scheduleTable',
1998
           printable: 'scheduleTable',
1559
           type: 'html',
1999
           type: 'html',
1839
     table {
2279
     table {
1840
       td {
2280
       td {
1841
         text-align: center;
2281
         text-align: center;
1842
-        padding: 5px;
2282
+        padding: 5px 0;
1843
         word-wrap: break-word;
2283
         word-wrap: break-word;
1844
       }
2284
       }
1845
     }
2285
     }