XMLWAN 2 лет назад
Родитель
Сommit
a9f940df1c

+ 22 - 0
src/router/modules/dialysis.js Просмотреть файл

@@ -87,6 +87,28 @@ export default {
87 87
         noCache: true
88 88
       }
89 89
     },
90
+    {
91
+      path: '/dialysis/consumable/dialysisgoodprint',
92
+      component: () => import('@/xt_pages/dialysis/details/consumable/dialysisGoodPrint'),
93
+      name: '透前耗材',
94
+      meta: {
95
+        title: '透前耗材',
96
+        noCache: true
97
+      },
98
+      is_menu: false,
99
+      hidden: true
100
+    },
101
+    {
102
+      path: '/dialysis/consumable/dialysisgoodcountprint',
103
+      component: () => import('@/xt_pages/dialysis/details/consumable/dialysisGoodCountPrint'),
104
+      name: '透前统计耗材',
105
+      meta: {
106
+        title: '透前统计耗材',
107
+        noCache: true
108
+      },
109
+      is_menu: false,
110
+      hidden: true
111
+    },
90 112
     // {
91 113
     //   path: '/dialysis/consumable/dialysis/print',
92 114
     //   component: () => import('@/xt_pages/dialysis/details/consumable/signPrint'),

+ 2 - 6
src/xt_pages/dialysis/components/consumables.vue Просмотреть файл

@@ -309,7 +309,7 @@
309 309
           this.list.map(item => {
310 310
             a.push(item.good_type)
311 311
           })
312
-          // console.log('aaaaaaaaa',a)
312
+          console.log('aaaaaaaaa',a)
313 313
           let b = []
314 314
 
315 315
           a.map(item => {
@@ -326,7 +326,7 @@
326 326
             b.push(obj)
327 327
           })
328 328
           var temp = []
329
-          // console.log('bbbbbbbbbb',b)
329
+          console.log('bbbbbbbbbb',b)
330 330
           for(let i=0;i<b.length;i++){
331 331
             var objC = {...b[i]}
332 332
             temp.push(objC)
@@ -346,7 +346,6 @@
346 346
               obj2[str] = i[str]
347 347
             })
348 348
             tempTwo.push(obj2)
349
-            // console.log(325556574342354234234,tempTwo)
350 349
           })
351 350
 
352 351
           this.arrList.push(...tempTwo)
@@ -400,9 +399,6 @@
400 399
 
401 400
        exportList(){
402 401
          import('@/vendor/Export2Excel').then(excel => {
403
-
404
-
405
-
406 402
          var arrTwo = []
407 403
          for(let i=0;i<this.arrKey.length;i++){
408 404
             arrTwo.push('name'+i)

+ 11 - 1
src/xt_pages/dialysis/details/acceptsAssessment.vue Просмотреть файл

@@ -69,10 +69,20 @@
69 69
       </ul>
70 70
       <ul>
71 71
         <li v-if="this.record.condition == 1">
72
-          <label> 住院号</label>
72
+          <label> 住院号:</label>
73 73
           <span class="content">{{ this.record.admission_number }}</span>
74 74
         </li>
75 75
 
76
+        <li v-if="this.record.condition == 1">
77
+          <label> 住院科室:</label>
78
+          <span class="content">{{ this.record.his_department }}</span>
79
+        </li>
80
+
81
+        <li v-if="this.record.condition == 1">
82
+          <label> 住院床位:</label>
83
+          <span class="content">{{ this.record.his_bed }}</span>
84
+        </li>
85
+
76 86
         <li v-if="isShow('病人意识')">
77 87
           <label>病人意识 :</label>
78 88
           <span class="content">{{ consciousness }}</span>

+ 73 - 4
src/xt_pages/dialysis/details/consumable/dialysisGood.vue Просмотреть файл

@@ -44,8 +44,9 @@
44 44
       </div>
45 45
       <div>
46 46
         <el-button size="small" icon="el-icon-printer" @click="toSett" type="primary" v-if="his_config.is_open == 1">设置</el-button>
47
-        <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">打印</el-button>
48
-        <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button>
47
+        <el-button size="small" icon="el-icon-printer" @click="toPrint" type="primary">打印</el-button>
48
+        <el-button size="small" icon="el-icon-printer" @click="exportListOne" type="primary" v-if="his_config.is_open == 1">导出</el-button>
49
+        <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary" v-if="his_config.is_open != 1">导出</el-button>
49 50
         <el-button size="small" type="primary" v-if="his_config.is_open != 1" @click="statistics">统计表</el-button>
50 51
         <el-button size="small" type="primary" v-if="his_config.is_open == 1" @click="toStatistics">统计表</el-button>
51 52
       </div>
@@ -216,6 +217,8 @@
216 217
               :value="item.id">
217 218
             </el-option>
218 219
            </el-select>
220
+
221
+         <el-button size="small" icon="el-icon-printer" @click="toPrintOne" type="primary">打印</el-button>
219 222
         </div> 
220 223
        <el-table
221 224
         :data="tableList"
@@ -437,7 +440,7 @@
437 440
         schedule_type:0,
438 441
         partion_type:0,
439 442
         goodTypeList:[],
440
-        his_config:"",
443
+        his_config:{},
441 444
         startDialogVisibleOne:false,
442 445
         type_name:false,
443 446
         checkedOne:false,
@@ -500,12 +503,73 @@
500 503
     methods: {
501 504
     
502 505
       exportList(){
506
+        import('@/vendor/Export2Excel').then(excel => {
507
+         
508
+         var arr= []
509
+        
510
+         arr.push('序号')
511
+         arr.push('透析机号')
512
+         arr.push('姓名')
513
+         arr.push('透析号')
514
+       
515
+         console.log("list23322323232",this.rowList)
516
+         if(this.rowList!=null && this.rowList.length > 0){
517
+           for(let i=0;i<this.rowList.length;i++){
518
+             arr.push(this.rowList[i].filed_name_cn)
519
+           }
520
+         }
521
+        
522
+         arr.push("备注")
523
+         console.log("arr",arr)
503 524
 
525
+         var arrTwo = []
526
+         for(let i=0;i<arr.length;i++){
527
+            arrTwo.push('name'+i)
528
+         }
529
+         console.log("arrTwo",arrTwo)
530
+         const tHeader = arr
531
+        const filterVal = arrTwo
532
+        
533
+        if(this.list!=null && this.list.length > 0){
534
+          for(let i=0;i<this.list.length;i++){
535
+            this.list[i].name0 = i+1
536
+            this.list[i].name1= this.list[i].device_number.number
537
+            this.list[i].name2 = this.list[i].patient.name
538
+            this.list[i].name3 = this.list[i].patient.dialysis_no
539
+            if(this.rowList!=null && this.rowList.length > 0){
540
+              for(let j=0;j<this.rowList.length;j++){
541
+                this.list[i]['name'+(j+4)] = this.getName(this.list[i].rowList[j].filed_name_cn,this.list[i].dialysis_solution)
542
+                this.list[i]['name'+(this.rowList.length+4)] = this.list[i].dialysis_solution.remark
543
+              }
544
+            }
545
+         
546
+          }
547
+        }
548
+        console.log("list32232232323wi",this.list)
549
+        const data = this.formatJson(filterVal, this.list)
550
+         excel.export_json_to_excel({
551
+           header: tHeader,
552
+           data,
553
+           filename: '透析耗材查询'
554
+         })
555
+          this.downloadLoading = false
556
+        }) 
557
+      },
558
+      formatJson(filterVal, jsonData) {
559
+        return jsonData.map(v => filterVal.map(j => v[j]));
560
+      },
561
+      createKeys(arr){
562
+        const obj = {};
563
+        arr.forEach((value,index)=>{
564
+          obj['name' + index] = value;
565
+        })
566
+        return obj;
504 567
       },
505 568
       open(){
506 569
        this.getlist()
507 570
       },
508 571
       getlist(){
572
+         console.log("paramsy2332322323",this.query)
509 573
         getPatientDialysisSolutionGroupList(this.query).then(response=>{
510 574
            if(response.data.state == 1){
511 575
              var list = response.data.data.list
@@ -619,7 +683,6 @@
619 683
         })
620 684
       },
621 685
       statistics() {
622
-        
623 686
         var params = {
624 687
           schedule_type:this.schedule_type,
625 688
           partion_type:this.partion_type,
@@ -1650,6 +1713,12 @@
1650 1713
        }
1651 1714
     
1652 1715
       return str
1716
+    },
1717
+    toPrint(){
1718
+     this.$router.push({path:'/dialysis/consumable/dialysisgoodprint?limit='+this.query.limit+"&page="+this.query.page+"&partition_id="+this.query.partition_id+"&schedule_date="+this.query.schedule_date+"&schedule_type="+this.query.schedule_type+"&keywords="+this.query.keywords})
1719
+    },
1720
+    toPrintOne(){
1721
+      this.$router.push({path:"/dialysis/consumable/dialysisgoodcountprint?schedule_type="+this.schedule_type+"&partion_type="+this.partion_type+"&selected_date="+this.query.schedule_date+"&is_open="+this.his_config.is_open})
1653 1722
     }
1654 1723
    }
1655 1724
   }

+ 17 - 5
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Просмотреть файл

@@ -72,6 +72,21 @@
72 72
         <el-input v-model="receiveTreatmentAsses.admission_number"></el-input>
73 73
       </el-form-item>
74 74
 
75
+      <el-form-item
76
+        label="住院科室 : "
77
+        v-if="isShow('住院科室')&&this.receiveTreatmentAsses.condition == '1'"
78
+      >
79
+        <el-input v-model="receiveTreatmentAsses.his_department"></el-input>
80
+      </el-form-item>
81
+      
82
+      <el-form-item
83
+        label="住院床位 : "
84
+        v-if="isShow('住院床位')&&this.receiveTreatmentAsses.condition == '1'"
85
+      >
86
+        <el-input v-model="receiveTreatmentAsses.his_bed"></el-input>
87
+      </el-form-item>
88
+      
89
+
75 90
       <el-form-item
76 91
         label="诊断:" v-if="isShow('诊断') && this.receiveTreatmentAsses.condition == '1'"
77 92
       >
@@ -86,11 +101,6 @@
86 101
           v-model="receiveTreatmentAsses.posture"
87 102
           >{{ item.name }}
88 103
         </el-radio>
89
-        <!--<el-radio v-model="receiveTreatmentAsses.posture" label="1">自动体位</el-radio>-->
90
-        <!--<el-radio v-model="receiveTreatmentAsses.posture" label="2">平卧位</el-radio>-->
91
-        <!--<el-radio v-model="receiveTreatmentAsses.posture" label="3">半卧位</el-radio>-->
92
-        <!--<el-radio v-model="receiveTreatmentAsses.posture" label="4">端坐位</el-radio>-->
93
-        <!--<el-radio v-model="receiveTreatmentAsses.posture" label="5">躁动不安</el-radio>-->
94 104
       </el-form-item>
95 105
 
96 106
       <el-form-item label="病情: " v-if="isShow('病情')">
@@ -295,6 +305,8 @@ export default {
295 305
         admission_number: "",
296 306
         diacrisis:"",
297 307
         tumble:"",
308
+        his_department:"",
309
+        his_bed:"",
298 310
       },
299 311
       precautionTwo: []
300 312
     };

+ 1 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Просмотреть файл

@@ -19,6 +19,7 @@
19 19
                     <el-col :span="8" v-if="isShows('透析模式')">
20 20
                         <el-form-item label="透析模式">
21 21
                             <el-select
22
+                                   filterable
22 23
                                     v-model="dialysisPrescription.mode_id"
23 24
                                     @change="changePrescription(dialysisPrescription.mode_id)"
24 25
                             >

+ 5 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Просмотреть файл

@@ -236,7 +236,7 @@
236 236
                 template_id == 56 ||
237 237
                 template_id == 60 ||
238 238
                 org_id == 10210 ||
239
-                org_id == 9555)
239
+                org_id == 9555 || org_id == 10387)
240 240
             "
241 241
           >
242 242
             <template slot-scope="scope">
@@ -292,7 +292,7 @@
292 292
               template_id != 56 &&
293 293
               template_id != 60 &&
294 294
               org_id!= 10210 &&
295
-              org_id != 9555
295
+              org_id != 9555 && org_id!=10387
296 296
             "
297 297
           >
298 298
             <template slot-scope="scope">
@@ -1121,7 +1121,8 @@
1121 1121
                 template_id == 60 ||
1122 1122
                 org_id == 10210 ||
1123 1123
                 org_id == 9555 ||
1124
-                org_id == 10340)
1124
+                org_id == 10340 ||
1125
+                org_id == 10387)
1125 1126
             "
1126 1127
           >
1127 1128
             <el-form-item label="超滤量(ml):">
@@ -1170,7 +1171,7 @@
1170 1171
               template_id == 60 &&
1171 1172
               org_id !=  10210 &&
1172 1173
               org_id !=  10340 &&
1173
-              org_id != 9555
1174
+              org_id != 9555 && org_id!=10387
1174 1175
             "
1175 1176
           >
1176 1177
             <el-form-item label="超滤量(L):">

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

@@ -14,8 +14,8 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10387)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10387"  width="76px"> 超滤量(L) </th>
19 19
           <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60)" width="50px"> 超滤率 <br />(ml/h) </th>
20 20
           <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>

+ 6 - 2
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue Просмотреть файл

@@ -1,9 +1,11 @@
1 1
 <template>
2 2
   <div id="statement-print" class="statement-print">
3 3
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10188 || this.$store.getters.xt_user.org_id == 10217">江苏省社会医疗保险医疗费用结算单</div>
4
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10387">湖南省社会医疗保险医疗费用结算单</div>
5
+
4 6
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10191">福建省社会医疗保险医疗费用结算单</div>
5 7
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10088">广水源生堂社会医疗保险医疗费用结算单</div>
6
-    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088">广东省社会医疗保险医疗费用结算单</div>
8
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088">广东省社会医疗保险医疗费用结算单</div>
7 9
 
8 10
     <table class="statementTable" border="1">
9 11
       <tr>
@@ -29,6 +31,8 @@
29 31
       <tr>
30 32
         <td width="90">就医登记号</td>
31 33
         <td colspan="11">{{info.psn_no}}</td>
34
+        <td width="80">门诊号</td>
35
+        <td colspan="3">{{info.number}}</td>
32 36
       </tr>
33 37
       <tr>
34 38
         <td width="80">姓名</td>
@@ -85,7 +89,7 @@
85 89
         <td width="80">身份证号</td>
86 90
         <td colspan="3">{{info.certno}}</td>
87 91
       </tr>
88
-      <tr>
92
+      <tr v-if="this.$store.getters.xt_user.org_id != 10387">
89 93
         <td>住院号</td>
90 94
         <td>{{info.number}}</td>
91 95
         <td>科别</td>