Browse Source

hah阿凡达

28169 4 days ago
parent
commit
7e67b06b0e

+ 15 - 1
src/xt_pages/dialysis/hisLongSignPrint.vue View File

@@ -332,7 +332,14 @@ export default {
332 332
       
333 333
        
334 334
         console.log("list-------------",list)
335
-        this.list = list
335
+        
336
+        for(let i=0;i<list.length;i++){
337
+          list[i].sort = list[i].device_number.sort
338
+         
339
+        }
340
+        var arr = list.sort(this.compare('sort'))
341
+        console.log("arr--------",arr)
342
+        this.list = arr
336 343
       
337 344
         var druglist = response.data.data.drugList
338 345
         this.drugList =druglist
@@ -343,6 +350,13 @@ export default {
343 350
       }
344 351
     })
345 352
     },
353
+    compare(property) {
354
+       return function (a, b) {
355
+          var value1 = a[property];
356
+          var value2 = b[property];
357
+          return value1 - value2;
358
+      }
359
+    },
346 360
     getZoneName(patient_id){
347 361
       var zone_name = ""
348 362
        for(let i=0;i<this.list.length;i++){

+ 19 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1758,7 +1758,7 @@
1758 1758
                     </table>
1759 1759
                   </td>
1760 1760
                 </tr>
1761
-                <tr v-if="org_id != 10206">
1761
+                <tr v-if="org_id != 10206 && org_id!=0 && org_id!=10744">
1762 1762
                   <td style="padding: 0; position: relative" colspan="2">
1763 1763
                     <table class="inside_table">
1764 1764
                       <tbody>
@@ -1944,7 +1944,7 @@
1944 1944
                   </td>
1945 1945
                 </tr>
1946 1946
 
1947
-                <tr v-if="org_id == 10206">
1947
+                <tr v-if="org_id == 10206 || org_id == 0 || org_id == 10744">
1948 1948
                   <td style="padding: 0; position: relative" colspan="2">
1949 1949
                     <table class="inside_table">
1950 1950
                       <tbody>
@@ -4433,7 +4433,7 @@ export default {
4433 4433
 
4434 4434
 
4435 4435
         //针对内蒙古阿拉善
4436
-        if (this.org_id == 10206) {
4436
+        if (this.org_id == 10206 || this.org_id == 0 || this.org_id == 10744) {
4437 4437
 
4438 4438
           if (this.doctor_advices != null && this.doctor_advices.length > 0) {
4439 4439
 
@@ -4488,6 +4488,7 @@ export default {
4488 4488
               console.log("newArrwowoow", newArr)
4489 4489
 
4490 4490
               this.new_doctor_advice_list = []
4491
+
4491 4492
               this.new_doctor_advice_list.push(...newArr)
4492 4493
 
4493 4494
               console.log("newArrwowoow", this.new_doctor_advice_list)
@@ -4497,11 +4498,25 @@ export default {
4497 4498
 
4498 4499
         console.log("新时间我哦我哦", this.doctor_advices)
4499 4500
 
4501
+          //过滤口服药
4502
+          if (this.org_id == 0 || this.org_id ==10744) {
4503
+          var docArr = []
4504
+          if (this.new_doctor_advice_list != null && this.new_doctor_advice_list.length > 0) {
4505
+            for (let i = 0; i < this.new_doctor_advice_list.length; i++) {
4506
+              if (this.new_doctor_advice_list[i].delivery_way != '口服' && this.new_doctor_advice_list[i].delivery_way != '中药口服') {
4507
+                docArr.push(this.new_doctor_advice_list[i])
4508
+              }
4509
+            }
4510
+          }
4511
+          this.new_doctor_advice_list = []
4512
+          this.new_doctor_advice_list = docArr
4513
+        }
4514
+
4500 4515
        
4501 4516
 
4502 4517
 
4503 4518
         //过滤口服药
4504
-        if (this.org_id == 10265) {
4519
+        if (this.org_id == 10265 || this.org_id == 0 || this.org_id ==10744) {
4505 4520
           var docArr = []
4506 4521
           if (this.doctor_advices != null && this.doctor_advices.length > 0) {
4507 4522
             for (let i = 0; i < this.doctor_advices.length; i++) {

+ 1 - 1
src/xt_pages/outpatientDoctorStation/recordPrint.vue View File

@@ -62,7 +62,7 @@
62 62
       <!-- || org_id == 0-->
63 63
       </printThree>
64 64
       <printFour
65
-        v-if="org_id == 10138 || org_id == 10278 || org_id == 10341 || org_id == 10342 || org_id == 0"
65
+        v-if="org_id == 10138 || org_id == 10278 || org_id == 10341 || org_id == 10342"
66 66
         ref="printFour"
67 67
         v-bind:childResponse="childResponse"
68 68
         :patient="patient"

+ 9 - 1
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

@@ -26,7 +26,15 @@
26 26
           </div>
27 27
           <div class="infoMain">
28 28
             <div style="margin-bottom: 10px">
29
-              门诊号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
29
+              门诊号:
30
+              <span v-if="org_id !=10751 && org_id!=0">
31
+                {{ item.hisPatient.number ? item.hisPatient.number : "" }}
32
+              </span> 
33
+              <span v-if="org_id ==10751 || org_id==0">
34
+                {{ item.patient.admission_number ? item.patient.admission_number : "" }}
35
+              </span> 
36
+              
37
+
30 38
             </div>
31 39
             <div style="margin-bottom: 10px">
32 40
               科室:{{ item.info ? getDepart(item.info.departments) : "" }}

+ 6 - 0
src/xt_pages/stock/detail/stockInDetail.vue View File

@@ -143,6 +143,12 @@
143 143
             </template>
144 144
           </el-table-column>
145 145
 
146
+          <el-table-column label="耗材批次" align="center">
147
+            <template slot-scope="scope">
148
+             {{ scope.row.number }}
149
+            </template>
150
+          </el-table-column>
151
+
146 152
           <el-table-column label="耗材名称" align="center">
147 153
             <template slot-scope="scope">
148 154
               {{ typeNameOne(scope.row.good_id) }}

+ 6 - 0
src/xt_pages/stock/drugs/components/drugInOrder.vue View File

@@ -150,6 +150,12 @@
150 150
           </template>
151 151
         </el-table-column>
152 152
 
153
+        <el-table-column label="批次" align="center">
154
+          <template slot-scope="scope">
155
+            {{scope.row.batch_number}}
156
+          </template>
157
+        </el-table-column>
158
+
153 159
         <el-table-column label="药品名称" align="center">
154 160
           <template slot-scope="scope">
155 161
             {{scope.row.drug_name}}

+ 1 - 1
src/xt_pages/workforce/remind_print_setting.vue View File

@@ -594,7 +594,7 @@
594 594
 
595 595
       },
596 596
 
597
-       compare(property) {
597
+     compare(property) {
598 598
        return function (a, b) {
599 599
           var value1 = a[property];
600 600
           var value2 = b[property];