浏览代码

hah阿凡达

28169 2 个月前
父节点
当前提交
7e67b06b0e

+ 15 - 1
src/xt_pages/dialysis/hisLongSignPrint.vue 查看文件

332
       
332
       
333
        
333
        
334
         console.log("list-------------",list)
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
         var druglist = response.data.data.drugList
344
         var druglist = response.data.data.drugList
338
         this.drugList =druglist
345
         this.drugList =druglist
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
     getZoneName(patient_id){
360
     getZoneName(patient_id){
347
       var zone_name = ""
361
       var zone_name = ""
348
        for(let i=0;i<this.list.length;i++){
362
        for(let i=0;i<this.list.length;i++){

+ 19 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

1758
                     </table>
1758
                     </table>
1759
                   </td>
1759
                   </td>
1760
                 </tr>
1760
                 </tr>
1761
-                <tr v-if="org_id != 10206">
1761
+                <tr v-if="org_id != 10206 && org_id!=0 && org_id!=10744">
1762
                   <td style="padding: 0; position: relative" colspan="2">
1762
                   <td style="padding: 0; position: relative" colspan="2">
1763
                     <table class="inside_table">
1763
                     <table class="inside_table">
1764
                       <tbody>
1764
                       <tbody>
1944
                   </td>
1944
                   </td>
1945
                 </tr>
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
                   <td style="padding: 0; position: relative" colspan="2">
1948
                   <td style="padding: 0; position: relative" colspan="2">
1949
                     <table class="inside_table">
1949
                     <table class="inside_table">
1950
                       <tbody>
1950
                       <tbody>
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
           if (this.doctor_advices != null && this.doctor_advices.length > 0) {
4438
           if (this.doctor_advices != null && this.doctor_advices.length > 0) {
4439
 
4439
 
4488
               console.log("newArrwowoow", newArr)
4488
               console.log("newArrwowoow", newArr)
4489
 
4489
 
4490
               this.new_doctor_advice_list = []
4490
               this.new_doctor_advice_list = []
4491
+
4491
               this.new_doctor_advice_list.push(...newArr)
4492
               this.new_doctor_advice_list.push(...newArr)
4492
 
4493
 
4493
               console.log("newArrwowoow", this.new_doctor_advice_list)
4494
               console.log("newArrwowoow", this.new_doctor_advice_list)
4497
 
4498
 
4498
         console.log("新时间我哦我哦", this.doctor_advices)
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
           var docArr = []
4520
           var docArr = []
4506
           if (this.doctor_advices != null && this.doctor_advices.length > 0) {
4521
           if (this.doctor_advices != null && this.doctor_advices.length > 0) {
4507
             for (let i = 0; i < this.doctor_advices.length; i++) {
4522
             for (let i = 0; i < this.doctor_advices.length; i++) {

+ 1 - 1
src/xt_pages/outpatientDoctorStation/recordPrint.vue 查看文件

62
       <!-- || org_id == 0-->
62
       <!-- || org_id == 0-->
63
       </printThree>
63
       </printThree>
64
       <printFour
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
         ref="printFour"
66
         ref="printFour"
67
         v-bind:childResponse="childResponse"
67
         v-bind:childResponse="childResponse"
68
         :patient="patient"
68
         :patient="patient"

+ 9 - 1
src/xt_pages/outpatientDoctorStation/template/printOne.vue 查看文件

26
           </div>
26
           </div>
27
           <div class="infoMain">
27
           <div class="infoMain">
28
             <div style="margin-bottom: 10px">
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
             </div>
38
             </div>
31
             <div style="margin-bottom: 10px">
39
             <div style="margin-bottom: 10px">
32
               科室:{{ item.info ? getDepart(item.info.departments) : "" }}
40
               科室:{{ item.info ? getDepart(item.info.departments) : "" }}

+ 6 - 0
src/xt_pages/stock/detail/stockInDetail.vue 查看文件

143
             </template>
143
             </template>
144
           </el-table-column>
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
           <el-table-column label="耗材名称" align="center">
152
           <el-table-column label="耗材名称" align="center">
147
             <template slot-scope="scope">
153
             <template slot-scope="scope">
148
               {{ typeNameOne(scope.row.good_id) }}
154
               {{ typeNameOne(scope.row.good_id) }}

+ 6 - 0
src/xt_pages/stock/drugs/components/drugInOrder.vue 查看文件

150
           </template>
150
           </template>
151
         </el-table-column>
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
         <el-table-column label="药品名称" align="center">
159
         <el-table-column label="药品名称" align="center">
154
           <template slot-scope="scope">
160
           <template slot-scope="scope">
155
             {{scope.row.drug_name}}
161
             {{scope.row.drug_name}}

+ 1 - 1
src/xt_pages/workforce/remind_print_setting.vue 查看文件

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