Browse Source

9月16日杨青

杨青 1 year ago
parent
commit
513c6983ac

+ 9 - 0
src/router/modules/hisTool.js View File

@@ -132,6 +132,15 @@ export default {
132 132
       is_menu: false,
133 133
       meta: { title: 'gatherPrint', noCache: true }
134 134
     },
135
+    // 灵山盛康汇总打印发票
136
+    {
137
+      path: '/hisTool/garherinvoice_lingshang',
138
+      component: () => import('@/xt_pages/outpatientTool/garherinvoice_lingshang'),
139
+      name: 'gatherPrint',
140
+      hidden: true,
141
+      is_menu: false,
142
+      meta: { title: 'gatherPrint', noCache: true }
143
+    },
135 144
     {
136 145
       path: '/hisTool/export',
137 146
       component: () => import('@/xt_pages/outpatientTool/export'),

+ 34 - 13
src/xt_pages/outpatientTool/components/gatherStatistics.vue View File

@@ -230,6 +230,7 @@ export default {
230 230
       end_time: "",
231 231
       his_record_patient: {},
232 232
       orderList: [],
233
+      org_id:'',
233 234
     };
234 235
   },
235 236
   methods: {
@@ -849,19 +850,37 @@ export default {
849 850
       }
850 851
     },
851 852
     toPrintInvoice() {
852
-      this.$router.push({
853
-        path:
854
-          "/hisTool/gatherPrintInvoice?patient_id=" +
855
-          this.patient_id +
856
-          "&start_time=" +
857
-          this.start_time +
858
-          "&end_time=" +
859
-          this.end_time +
860
-          "&type=" +
861
-          this.item_type +
862
-          "&keyword=" +
863
-          this.keywords,
864
-      });
853
+      if(this.org_id != 10375 ){
854
+        this.$router.push({
855
+          path:
856
+            "/hisTool/gatherPrintInvoice?patient_id=" +
857
+            this.patient_id +
858
+            "&start_time=" +
859
+            this.start_time +
860
+            "&end_time=" +
861
+            this.end_time +
862
+            "&type=" +
863
+            this.item_type +
864
+            "&keyword=" +
865
+            this.keywords,
866
+        });
867
+      }
868
+      if(this.org_id == 10375 || this.org_id == 0){
869
+        this.$router.push({
870
+          path:
871
+            "/hisTool/garherinvoice_lingshang?patient_id=" +
872
+            this.patient_id +
873
+            "&start_time=" +
874
+            this.start_time +
875
+            "&end_time=" +
876
+            this.end_time +
877
+            "&type=" +
878
+            this.item_type +
879
+            "&keyword=" +
880
+            this.keywords,
881
+        });
882
+      }
883
+
865 884
     },
866 885
     setMonthPrescription(month_prescriptions) {
867 886
       let drug_month_prescriptions = {
@@ -1253,6 +1272,8 @@ export default {
1253 1272
     },
1254 1273
   },
1255 1274
   created() {
1275
+    this.org_id = this.$store.getters.xt_user.org_id
1276
+
1256 1277
     let list_1 = this.$store.getters.pagedata.list;
1257 1278
     if (!list_1.start_time || list_1.start_time == "") {
1258 1279
       this.chargeDate[0] = moment(new Date())

File diff suppressed because it is too large
+ 1090 - 0
src/xt_pages/outpatientTool/garherinvoice_lingshang.vue


+ 18 - 17
src/xt_pages/workforce/Patientshift.vue View File

@@ -59,16 +59,16 @@
59 59
                   <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
60 60
                     <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':hidder ? '30px': '110px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" draggable="true"   @dragover="allowDrop"> 
61 61
                       <div class="huanzhekuai">
62
-                        <div v-for="(item2) in item.list"  draggable="true" @dragstart.self="curInfoDragStart($event,item2)">
62
+                        <div v-for="(item2) in item.list"   draggable="true" @dragstart.self="curInfoDragStart($event,item2)">
63 63
                           <template >
64 64
                             <div v-if="it.id==item2.bed_id" style="display: inline-block;">
65 65
                               <div>
66 66
                                 <span>{{nameSplit(item2.name) }}({{ getmode(item2.mode_id) }})</span><br>
67
-                                <div v-if="!hidder" >
68
-                                  <span style="font-size: 14px;color: rgb(19, 241, 175);margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
69
-                                  <span style="font-size: 14px;color:orange;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
70
-                                  <span style="font-size: 13px;color:rgb(102, 13, 161);margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
71
-                                </div> 
67
+                                <span v-if="!hidder" >
68
+                                  <span style="font-size: 14px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
69
+                                  <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
70
+                                  <span style="font-size: 13px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
71
+                                </span> 
72 72
                               </div>
73 73
                             </div>
74 74
                           </template> 
@@ -121,11 +121,11 @@
121 121
                   <div>
122 122
                     <div style="margin: 10px 30px 10px 10px;background: rgb(74 211 235 / 51%);height: 110px;width: 125px;text-align: center;">
123 123
                       <span >{{ huanzhe.name}}({{getmode(huanzhe.mode_id)}})</span><br>
124
-                      <span style="font-size: 14px;color: rgb(12, 185, 50);margin-bottom: 5px;">
124
+                      <span style="font-size: 14px;margin-bottom: 5px;">
125 125
                         {{ huanzhe.zeng_fenqu }}-{{ huanzhe.zeng_chuang }}
126 126
                       </span><br>
127
-                      <span style="font-size: 14px;color:orange;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
128
-                      <span style="font-size: 13px;color:rgb(102, 13, 161);margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span> 
127
+                      <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
128
+                      <span style="font-size: 13px;margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span> 
129 129
                     </div>
130 130
                      <div style="margin-left: 10px;">{{getZoneName(xian_fenqu.zone_id)}}-{{xian_fenqu.number}}</div>
131 131
                   </div>
@@ -133,12 +133,12 @@
133 133
                   <div>
134 134
                     <div style="margin: 10px 30px 10px 10px;background: rgb(74 197 235);height: 110px;width: 125px;text-align: center;">
135 135
                       <span >{{genghuan.name}}</span><span v-if="genghuan.mode_id !=''">({{genghuan.mode_id}})</span><br>
136
-                      <span style="font-size: 14px;color: rgb(12, 185, 50);margin-bottom: 5px;">
136
+                      <span style="font-size: 14px;margin-bottom: 5px;">
137 137
                         {{ genghuan.genghuan_fenqu }}-{{ genghuan.genghuan_chuang }}
138 138
                         <!-- A1区-6号床 -->
139 139
                       </span><br>
140
-                      <span style="font-size: 14px;color:orange;margin-bottom: 5px;"></span>{{getBloodAccess(genghuan.g_boolen_id)}}<br>
141
-                      <span style="font-size: 13px;color:rgb(102, 13, 161);margin-bottom: 5px;">{{genghuan.genghuan_remark}}</span>
140
+                      <span style="font-size: 14px;margin-bottom: 5px;"></span>{{getBloodAccess(genghuan.g_boolen_id)}}<br>
141
+                      <span style="font-size: 13px;margin-bottom: 5px;">{{genghuan.genghuan_remark}}</span>
142 142
                     </div>
143 143
                     <div style="margin-left: 10px;">{{getZoneName(g_xian_fenqu.zone_id)}}-{{g_xian_fenqu.number}}</div>
144 144
                   </div>
@@ -243,7 +243,7 @@ export default {
243 243
       tipDialogVisible:false,
244 244
       tipDialogVisibleTwo:false,
245 245
       tipDialogVisibleThree:false,
246
-      hidder: false,
246
+      hidder: true,
247 247
       td_1_width: '8%',
248 248
       td_3_width: '90%',
249 249
       date:'',
@@ -658,12 +658,12 @@ export default {
658 658
       var bedname=''
659 659
       var zonename=''
660 660
       var zoneid=''
661
-      console.log('6666',val,value);
662
-      console.log('7777',this.numberlist);
661
+      console.log('kkkkk',e.target.innerText);
663 662
       const inntext= e.target.innerText.split('(')[0]
664
-     
665 663
       for(let i=0;i<val.list.length;i++){
666 664
         if(inntext == val.list[i].name){
665
+          console.log('6666',val,value);
666
+          console.log('7777',this.numberlist);
667 667
           this.tipDialogVisible=true
668 668
           this.currentData={
669 669
             currentData_id:val.list[i].id,
@@ -686,8 +686,9 @@ export default {
686 686
           zonename = this.partitionArr[y].name
687 687
         }
688 688
       }
689
-      console.log('3333',bedid);
689
+      
690 690
       if(e.target.innerText == ''){
691
+        console.log('3333',e.target.innerText);
691 692
         this.schedule={
692 693
           schedule_date:this.date,
693 694
           schedule_type:this.classes,