see999 3 лет назад
Родитель
Сommit
e7c06742bc

+ 2 - 14
src/xt_pages/dialysis/batch_print/batch_print_order_fortyOne.vue Просмотреть файл

@@ -577,10 +577,6 @@
577 577
                                     医嘱内容
578 578
                                 </td>
579 579
                                 </tr>
580
-                                <!-- <tr style="line-height:35px;padding:8px 5px;">
581
-                            <td colspan="4" style="font-size: 16px">开医嘱</td>
582
-                            <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
583
-                            </tr> -->
584 580
                                 <tr style="line-height:30px;padding:0 5px;">
585 581
                                 <td style="font-size: 16px" width="10%">时间</td>
586 582
                                 <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
@@ -589,14 +585,12 @@
589 585
                                 <td style="font-size: 16px" width="10%">执行人员</td>
590 586
                                 <td style="font-size: 16px" width="10%">核对人员</td>
591 587
                                 </tr>
592
-                                <!-- <template v-for="group in doctor_advices" > -->
593 588
 
594 589
                                 <tr v-for="(advice, advice_index) in record.advices" :key="advice_index">
595 590
                                 <td height="30px" style="padding:4px 5px;">
596 591
                                     <span v-if="advice.start_time">
597 592
                                     {{ getTime(advice.start_time, "{h}:{i}") }}
598 593
                                     </span>
599
-                                    <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
600 594
                                 </td>
601 595
                                 <td height="30px" colspan="2" class="advice-name" style="padding:4px 5px;">
602 596
                                     <span v-if="advice.parent_id > 0">---></span>
@@ -608,12 +602,7 @@
608 602
                                     <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
609 603
                                     <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
610 604
                                 </td>
611
-                                <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
612
-                                <span>{{advice.delivery_way}}</span>
613
-                                <span>{{advice.execution_frequency}}</span>
614
-                                <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
615
-                            </td> -->
616
-                                <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
605
+                                
617 606
                                 <td height="30px" style="padding:4px 5px;">
618 607
                                     <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">
619 608
                                         {{getAdminUser(advice, 'advice_doctor')}}
@@ -641,7 +630,6 @@
641 630
                                     </span>
642 631
                                 </td>
643 632
                                 </tr>
644
-                                <!-- </template> -->
645 633
                             </tbody>
646 634
                             </table>
647 635
                         </td>
@@ -1053,7 +1041,7 @@ export default {
1053 1041
 
1054 1042
             var leftAdvice = []
1055 1043
             var rightAdvice = []
1056
-            var adlen = advices.length
1044
+            var adlen = this.records[recordIndex].advices.length
1057 1045
 
1058 1046
             var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
1059 1047
             for (var i = 0; i < halfLen; i++) {

+ 7 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Просмотреть файл

@@ -2667,21 +2667,24 @@
2667 2667
           }
2668 2668
         }
2669 2669
         if (this.teamList.length > 0) {
2670
-          if (this.$store.getters.xt_user.org_id == 0) {
2670
+          if (this.$store.getters.xt_user.org_id == 10138) {
2671 2671
             for (let i = 0; i < this.teamList.length; i++) {
2672 2672
               if (this.curPrescriptions.med_type == 14 && this.teamList[i].is_special_diseases != 1) {
2673
-                this.$message.error('该处方属于特病类型处方,开特病类型的项目')
2673
+                this.$message.error('该处方属于特病类型处方,开特病类型的项目')
2674 2674
                 // return
2675 2675
               }
2676 2676
 
2677 2677
             }
2678 2678
           }
2679 2679
           
2680
-          if(this.$store.getters.xt_user.org_id == 0){
2680
+          if(this.$store.getters.xt_user.org_id == 10138){
2681 2681
             let arr = this.teamList
2682 2682
             let newArr = []
2683 2683
             arr.map(item => {
2684
-              if(item.is_special_diseases == 1){
2684
+              if(this.curPrescriptions.med_type != 14){
2685
+                newArr.push(item)
2686
+              }
2687
+              if(this.curPrescriptions.med_type == 14 && item.is_special_diseases == 1){
2685 2688
                 newArr.push(item)
2686 2689
               }
2687 2690
             })