Procházet zdrojové kódy

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN před 2 roky
rodič
revize
4995b787d3

+ 93 - 12
src/xt_pages/Pharmacy/DispensingDetails.vue Zobrazit soubor

@@ -1,4 +1,4 @@
1
-<template>
1
+<template><!--发药明细-->
2 2
   <div class="main-contain">
3 3
     <div class="position">
4 4
       <bread-crumb :crumbs="crumbs"></bread-crumb>
@@ -17,7 +17,7 @@
17 17
             size="small"
18 18
             style="width: 200px; margin-left: 10px"
19 19
             class="filter-item"
20
-            v-model="name"
20
+            v-model="keyword"
21 21
             placeholder="请输入患者姓名"
22 22
           ></el-input>
23 23
 
@@ -54,7 +54,7 @@
54 54
             class="filter-item"
55 55
             type="primary"
56 56
             icon="el-icon-search"
57
-            @click="search"
57
+            @click="query"
58 58
             >查询</el-button
59 59
           >
60 60
         </div>
@@ -73,21 +73,39 @@
73 73
         <el-table-column type="index" label="序号" align="center" width="250">
74 74
         </el-table-column>
75 75
         <el-table-column label="患者名称" align="center" width="300">
76
-          <template slot-scope="scope"> </template>
76
+          <template slot-scope="scope">
77
+            <span>{{scope.row.Name  ? scope.row.Name  : ""}}</span>
78
+          </template>
77 79
         </el-table-column>
78 80
 
79 81
         <el-table-column label="开立医生" align="center" width="300">
80
-          <template slot-scope="scope"> </template>
82
+          <template slot-scope="scope">
83
+            <span>{{scope.row.DoctorName  ? scope.row.DoctorName  : ""}}</span>
84
+          </template>
81 85
         </el-table-column>
82 86
         <el-table-column label="发药时间" align="center" width="400">
83
-          <template slot-scope="scope"> </template>
87
+          <template slot-scope="scope">
88
+            <span>{{scope.row.RecordDate  ? scope.row.RecordDate  : ""}}</span>
89
+          </template>
84 90
         </el-table-column>
85 91
         <el-table-column label="操作" align="center" width="400">
86 92
           <template slot-scope="scope">
87
-            <el-button type="primary" @click="views">查看</el-button>
93
+            <el-button type="primary" @click="views(scope.row)">查看</el-button>
88 94
           </template>
89 95
         </el-table-column>
90 96
       </el-table>
97
+      <el-pagination
98
+        @size-change="handleSizeChange"
99
+        @current-change="handleCurrentChange"
100
+        :page-sizes="[10, 50, 100, 200, 500, 1000]"
101
+        :page-size="10"
102
+        background
103
+        align="right"
104
+        style="margin-top: 20px"
105
+        layout="total, sizes, prev, pager, next, jumper"
106
+        :total="total"
107
+      >
108
+      </el-pagination>
91 109
     </div>
92 110
 
93 111
     <details-print
@@ -96,12 +114,18 @@
96 114
       :propsTable="propsTable"
97 115
     >
98 116
     </details-print>
117
+
99 118
   </div>
100 119
 </template>
101 120
 
102 121
 <script>
103 122
 import detailsPrint from "./print/details.vue";
104 123
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
124
+import {
125
+  dispensingdetails,
126
+  prescriptiondetails
127
+} from "@/api/pharmacy"
128
+const moment = require('moment')
105 129
 export default {
106 130
   components: {
107 131
     detailsPrint,
@@ -113,21 +137,78 @@ export default {
113 137
         { path: false, name: "发药明细" },
114 138
         { path: "/Pharmacy/DispensingDetails", name: "发药明细" },
115 139
       ],
116
-      name: "",
140
+      keyword: "",
117 141
       tableList: [{}],
118 142
       signAndWeighBoxPatients: "sign-and-weigh-box-patients",
143
+      start_time:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
144
+      end_time:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
145
+      prescriptionList:[],//处方
146
+      stat_order:[],//临时医嘱
147
+      total: 0,
148
+      page: 1,
149
+      limit: 10,
119 150
     };
120 151
   },
121
-
152
+  created() {
153
+    this.init();
154
+    this.query();
155
+  },
122 156
   methods: {
157
+    init(){
158
+      this.page = 1;
159
+      this.limit = 10;
160
+      this.keyword = "";
161
+    },
162
+    query(){
163
+      var params = {
164
+        keyword: this.keyword,
165
+        start_time: this.start_time,
166
+        end_time: this.end_time,
167
+        page: 1,
168
+        limit: this.limit,
169
+      }
170
+      dispensingdetails(params).then((res) => {
171
+        if (res.data.state == 1){
172
+          this.tableList = res.data.data.list;
173
+          this.total = res.data.data.total;
174
+        }
175
+      })
176
+    },
177
+    search(){
178
+      console.log("this.start_time",this.start_time)
179
+      console.log("this.end_time",this.end_time)
180
+      var params = {
181
+        keyword: this.keyword,
182
+        start_time: this.start_time,
183
+        end_time: this.end_time,
184
+        page: this.page,
185
+        limit: this.limit,
186
+      }
187
+      dispensingdetails(params).then((res) => {
188
+        if (res.data.state == 1){
189
+          this.tableList = res.data.data.list;
190
+        }
191
+      })
192
+    },
193
+
123 194
     // 查看
124
-    views() {
195
+    views(data) {
196
+      console.log("吱吱吱",data)
125 197
       this.$refs.detailsprint.show();
198
+      this.$refs.detailsprint.drugdetails(data);
199
+    },
200
+    // 页表操作
201
+    handleSizeChange(val) {
202
+      this.limit = val;
203
+      this.search();
204
+    },
205
+    handleCurrentChange(val) {
206
+      this.page = val;
207
+      this.search();
126 208
     },
127 209
   },
128
-  created() {},
129 210
 };
130 211
 </script>
131 212
 
132 213
 <style rel="stylesheet/css" lang="scss" scoped>
133
-</style>
214
+</style>

+ 19 - 8
src/xt_pages/Pharmacy/DrugDispensing.vue Zobrazit soubor

@@ -1,4 +1,4 @@
1
-<template>
1
+<template><!--药品发药页面-->
2 2
   <div class="main-contain new-main-contain">
3 3
     <div class="position">
4 4
       <!--      <bread-crumb :crumbs='crumbs'></bread-crumb>-->
@@ -18,6 +18,7 @@
18 18
               format="yyyy-MM-dd"
19 19
               value-format="yyyy-MM-dd"
20 20
               placeholder="选择日期"
21
+              :change="testsss()"
21 22
             >
22 23
             </el-date-picker>
23 24
           </div>
@@ -261,6 +262,11 @@
261 262
 import drugPrint from "./print/drugPrint.vue";
262 263
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
263 264
 import { getTodayAdviceList,getPharmacyBaseDrug,updatePharmacyBaseDrug,SaveSetting,getPharmacyConfig,getUserdDrugList } from "@/api/his/advice";
265
+import {
266
+  waitingdrug,
267
+  issueddrugs,
268
+  getpharmacycontent
269
+} from "@/api/pharmacy"
264 270
 const moment = require('moment')
265 271
 export default {
266 272
   components: {
@@ -295,6 +301,13 @@ export default {
295 301
   },
296 302
 
297 303
   methods: {
304
+    testsss(){
305
+      console.log("time",this.start_time);
306
+    },
307
+    //初始化
308
+    init(){
309
+
310
+    },
298 311
      searchAction() {
299 312
       this.getlist();
300 313
     },
@@ -363,14 +376,11 @@ export default {
363 376
         .catch(() => {});
364 377
     },
365 378
 
366
-    handleSelectionChange(val) {
367
-      this.multipleSelection = val;
368
-    },
369 379
     getlist(){
370 380
       var params = {
371 381
         start_time:this.start_time,
372 382
         keywords:this.keywords,
373
-      }  
383
+      }
374 384
       getTodayAdviceList(params).then(response=>{
375 385
          if(response.data.state == 1){
376 386
            var list =  response.data.data.list
@@ -379,8 +389,8 @@ export default {
379 389
            var doctorlist = response.data.data.doctorlist
380 390
            this.doctorList = doctorlist
381 391
          }
382
-      }) 
383
-    }, 
392
+      })
393
+    },
384 394
    getWarehoseInfo(arr, max_unit, min_unit, min_number) {
385 395
       var total = 0;
386 396
       var max_str = "";
@@ -489,6 +499,7 @@ export default {
489 499
     }
490 500
   },
491 501
   created() {
502
+    this.init();
492 503
     this.getlist()
493 504
   },
494 505
 };
@@ -530,4 +541,4 @@ export default {
530 541
     justify-content: flex-end;
531 542
   }
532 543
 }
533
-</style>
544
+</style>

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_four.vue Zobrazit soubor

@@ -435,7 +435,7 @@
435 435
                       <td width="60">静脉压<br/>mmHg</td>
436 436
                       <td width="60">跨膜压<br/>mmHg</td>
437 437
                       <td width="60">KT/V</td>
438
-                      <td width="200">病情特殊处理<br/>及专科护理措施录</td>
438
+                      <td width="200">病情特殊处理<br/>及专科护理措施录</td>
439 439
                       <td width="80">护士签名</td>
440 440
                     </tr>
441 441
                     <!-- </thead>

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Zobrazit soubor

@@ -996,7 +996,7 @@
996 996
                             colspan="11"
997 997
                             style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;"
998 998
                           >
999
-                            治疗
999
+                            治疗
1000 1000
                           </td>
1001 1001
                         </tr>
1002 1002
                         <tr>
@@ -1801,7 +1801,7 @@
1801 1801
                           style="width: 80px;text-align: left"
1802 1802
                         >
1803 1803
                           <div
1804
-                            style="width: 80px;text-align: left;display: inline-block;white-space: nowrap;" 
1804
+                            style="width: 80px;text-align: left;display: inline-block;white-space: nowrap;"
1805 1805
                             v-if="record.dialysis_order != null && record.check.creater ==record.check.creater"
1806 1806
                           >
1807 1807
                             <span

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_three.vue Zobrazit soubor

@@ -910,7 +910,7 @@
910 910
                           <td width="60">跨膜压<br />mmHg</td>
911 911
                           <td width="60">电导度<br />mS/m</td>
912 912
                           <td width="200">
913
-                            病情特殊处理<br />及专科护理措施
913
+                            病情特殊处理<br />及专科护理措施
914 914
                           </td>
915 915
                           <td width="80">护士签名</td>
916 916
                         </tr>

+ 15 - 15
src/xt_pages/dialysis/bloodPresssWatch.vue Zobrazit soubor

@@ -29,7 +29,7 @@
29 29
             @click="batchPrintActionOne"
30 30
             type="primary"
31 31
             style=""
32
-            >打印录单</el-button
32
+            >打印录单</el-button
33 33
           >
34 34
           <el-button
35 35
             :loading="loading"
@@ -78,7 +78,7 @@
78 78
             @click="batchPrintActionOne"
79 79
             type="primary"
80 80
             style=""
81
-            >打印录单</el-button
81
+            >打印录单</el-button
82 82
           >
83 83
           <el-button
84 84
             :loading="loading"
@@ -197,7 +197,7 @@
197 197
             @click="batchPrintActionOne"
198 198
             type="primary"
199 199
             style=""
200
-            >打印录单</el-button
200
+            >打印录单</el-button
201 201
           >
202 202
           <el-button
203 203
             :loading="loading"
@@ -647,7 +647,7 @@ export default {
647 647
       },
648 648
       selecting_schs: [],
649 649
       partitionArr: [],
650
-  
650
+
651 651
     };
652 652
   },
653 653
   created() {
@@ -696,7 +696,7 @@ export default {
696 696
       this.getSchedualPatientList();
697 697
       this.getTemplateInfo();
698 698
     }
699
-    
699
+
700 700
     // this.template_id = this.$store.getters.xt_user.template_info.template_id;
701 701
   },
702 702
   methods: {
@@ -742,7 +742,7 @@ export default {
742 742
       this.getSchedualPatientList()
743 743
     },
744 744
     changeEndTime(){
745
-      
745
+
746 746
       this.getSchedualPatientList()
747 747
     },
748 748
     getAllZone: function() {
@@ -766,7 +766,7 @@ export default {
766 766
       console.log("params332322332323232",this.listQuery)
767 767
       this.SchedualPatientsTableData = [];
768 768
       getSchedualPatient(this.listQuery).then(response => {
769
-      
769
+
770 770
         if (response.data.state == 0) {
771 771
           this.loading = false;
772 772
           this.$message.error(response.data.msg);
@@ -783,7 +783,7 @@ export default {
783 783
               if(response.data.data.schedule[i].dialysis_order!=null){
784 784
                 SchedualPatientsTable["start_time"] = response.data.data.schedule[i].dialysis_order.start_time ? parseTime(response.data.data.schedule[i].dialysis_order.start_time,"{h}:{i}") : '';
785 785
               }
786
-          
786
+
787 787
               SchedualPatientsTable["sch_id"] = response.data.data.schedule[i].id;
788 788
               SchedualPatientsTable["sch_time_int"] = response.data.data.schedule[i].schedule_date;
789 789
               SchedualPatientsTable["sch_time"] = parseTime(response.data.data.schedule[i].schedule_date,"{y}-{m}-{d}");
@@ -795,16 +795,16 @@ export default {
795 795
                  SchedualPatientsTable["source"] = response.data.data.schedule[i].patient.source;
796 796
                 SchedualPatientsTable["patient_id"] = response.data.data.schedule[i].patient_id;
797 797
               }
798
-             
798
+
799 799
               SchedualPatientsTable["number"] =  response.data.data.schedule[i].device_number.number;
800
-               
800
+
801 801
               if(response.data.data.schedule[i].treatment_mode!=null){
802 802
                 SchedualPatientsTable["mode_name"] = response.data.data.schedule[i].treatment_mode.name;
803 803
               }
804 804
               if(response.data.data.schedule[i].prescription!=null){
805
-                SchedualPatientsTable["target_ultrafiltration"] = response.data.data.schedule[i].prescription.target_ultrafiltration;  
805
+                SchedualPatientsTable["target_ultrafiltration"] = response.data.data.schedule[i].prescription.target_ultrafiltration;
806 806
               }
807
-             
807
+
808 808
               if (response.data.data.schedule[i].assessment_before_dislysis != null) {
809 809
                 SchedualPatientsTable["dialysis_before_weight"] =response.data.data.schedule[i].assessment_before_dislysis.weight_before;
810 810
               }
@@ -820,17 +820,17 @@ export default {
820 820
                 SchedualPatientsTable.bp.push(bp);
821 821
                }
822 822
               }
823
-             
823
+
824 824
 
825 825
               this.SchedualPatientsTableData.push(SchedualPatientsTable);
826
-             
826
+
827 827
             }
828 828
           }
829 829
         }
830 830
       });
831 831
     },
832 832
     getValue: function(val) {
833
-      
833
+
834 834
       if (val != undefined) {
835 835
         var str = val.value.split("/")
836 836
         return str[0];

+ 7 - 7
src/xt_pages/dialysis/dialysisPrintOrder.vue Zobrazit soubor

@@ -33,7 +33,7 @@
33 33
             icon="el-icon-printer"
34 34
             @click="printThisOnePage"
35 35
             type="primary"
36
-            >打印录单</el-button
36
+            >打印录单</el-button
37 37
           >
38 38
           <el-button
39 39
             :loading="loading"
@@ -91,7 +91,7 @@
91 91
             icon="el-icon-printer"
92 92
             @click="printThisOnePage"
93 93
             type="primary"
94
-            >打印录单</el-button
94
+            >打印录单</el-button
95 95
           >
96 96
           <el-button
97 97
             :loading="loading"
@@ -205,7 +205,7 @@
205 205
             icon="el-icon-printer"
206 206
             @click="printThisOnePage"
207 207
             type="primary"
208
-            >打印录单</el-button
208
+            >打印录单</el-button
209 209
           >
210 210
           <el-button
211 211
             :loading="loading"
@@ -308,7 +308,7 @@
308 308
             icon="el-icon-printer"
309 309
             @click="printThisOnePage"
310 310
             type="primary"
311
-            >打印录单</el-button
311
+            >打印录单</el-button
312 312
           >
313 313
           <el-button
314 314
             :loading="loading"
@@ -336,7 +336,7 @@
336 336
             icon="el-icon-printer"
337 337
             @click="printThisOnePage"
338 338
             type="primary"
339
-            >打印录单</el-button
339
+            >打印录单</el-button
340 340
           >
341 341
           <el-button
342 342
             :loading="loading"
@@ -409,7 +409,7 @@
409 409
             icon="el-icon-printer"
410 410
             @click="printThisOnePage"
411 411
             type="primary"
412
-            >打印录单</el-button
412
+            >打印录单</el-button
413 413
           >
414 414
           <el-button
415 415
             :loading="loading"
@@ -487,7 +487,7 @@
487 487
             icon="el-icon-printer"
488 488
             @click="printThisOnePage"
489 489
             type="primary"
490
-            >打印录单</el-button
490
+            >打印录单</el-button
491 491
           >
492 492
           <el-button
493 493
             :loading="loading"

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue Zobrazit soubor

@@ -495,7 +495,7 @@
495 495
                     <tbody>
496 496
                       <tr>
497 497
                         <td :colspan="prescription.mode_id == 2 || prescription.mode_id == 5 ? 12 : 11" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
498
-                          治疗
498
+                          治疗
499 499
                         </td>
500 500
                       </tr>
501 501
                       <tr>
@@ -1331,7 +1331,7 @@ export default {
1331 1331
             }
1332 1332
         })
1333 1333
         }
1334
-        
1334
+
1335 1335
         if(num == 0){
1336 1336
           this.$message.success('核对完成')
1337 1337
         }

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFifty.vue Zobrazit soubor

@@ -1160,7 +1160,7 @@
1160 1160
                             line-height: 30px;
1161 1161
                           "
1162 1162
                         >
1163
-                          治疗
1163
+                          治疗
1164 1164
                         </td>
1165 1165
                       </tr>
1166 1166
                       <tr>

+ 8 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue Zobrazit soubor

@@ -50,7 +50,7 @@
50 50
             病区:
51 51
             <div class="under_line" style="width: 50px;text-align: center;">
52 52
               <span>{{ patientInfo.DialysisSchedule.device_zone.name ? patientInfo.DialysisSchedule.device_zone.name : '' }}</span>
53
-              
53
+
54 54
             </div>
55 55
           </div>
56 56
           <div class="inline_block">
@@ -532,7 +532,7 @@
532 532
                     <tbody>
533 533
                       <tr>
534 534
                         <td :colspan="prescription.mode_id == 2 || prescription.mode_id == 5 ? 14 : 13" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
535
-                          治疗
535
+                          治疗
536 536
                         </td>
537 537
                       </tr>
538 538
                       <tr>
@@ -594,9 +594,9 @@
594 594
                         <!-- SPO2 -->
595 595
                         <td >{{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }}</td>
596 596
                         <td>{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
597
-                        
597
+
598 598
                         <td>{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
599
-                        
599
+
600 600
                         <td v-if="(dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time)">
601 601
                           {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
602 602
                         </td>
@@ -869,14 +869,14 @@
869 869
                     <span>{{ advice.advice_name }}</span>
870 870
 
871 871
                     <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
872
-                    
872
+
873 873
                     <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
874
-                    
874
+
875 875
                     <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
876 876
                     <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
877
-                    
877
+
878 878
                     <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
879
-                   
879
+
880 880
                     <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
881 881
                   </td>
882 882
                   <!-- <td colspan="2" height="60px" style="text-align: center" v-else >

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyNine.vue Zobrazit soubor

@@ -521,7 +521,7 @@
521 521
                     <tbody>
522 522
                       <tr>
523 523
                         <td :colspan="prescription.mode_id == 2 || prescription.mode_id == 5 ? 12 : 11" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
524
-                          治疗
524
+                          治疗
525 525
                         </td>
526 526
                       </tr>
527 527
                       <tr>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue Zobrazit soubor

@@ -1139,7 +1139,7 @@
1139 1139
                             line-height: 30px;
1140 1140
                           "
1141 1141
                         >
1142
-                          治疗
1142
+                          治疗
1143 1143
                         </td>
1144 1144
                       </tr>
1145 1145
                       <tr>
@@ -1289,7 +1289,7 @@
1289 1289
                                 : ""
1290 1290
                             }}
1291 1291
                           </span>
1292
-                          
1292
+
1293 1293
                         </td>
1294 1294
                         <!-- <td
1295 1295
                           v-if="

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue Zobrazit soubor

@@ -1087,7 +1087,7 @@
1087 1087
                             line-height: 30px;
1088 1088
                           "
1089 1089
                         >
1090
-                          治疗
1090
+                          治疗
1091 1091
                         </td>
1092 1092
                       </tr>
1093 1093
                       <tr>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue Zobrazit soubor

@@ -616,7 +616,7 @@
616 616
               <td width="80">透析液温度<br/>℃</td>
617 617
               <td width="60">置换率<br/>ml/min</td> -->
618 618
 
619
-              <td width="">病情特殊处理<br/>及专科护理措施录</td>
619
+              <td width="">病情特殊处理<br/>及专科护理措施录</td>
620 620
               <td width="80">护士签名</td>
621 621
             </tr>
622 622
 

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue Zobrazit soubor

@@ -490,7 +490,7 @@
490 490
                   <tbody>
491 491
                     <tr>
492 492
                       <td :colspan="prescription.mode_id == 2 || prescription.mode_id == 5 ? 12 : 11" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
493
-                        治疗
493
+                        治疗
494 494
                       </td>
495 495
                     </tr>
496 496
                     <tr>
@@ -1346,7 +1346,7 @@ export default {
1346 1346
           response.data.data.dialysisOrder === null
1347 1347
             ? null
1348 1348
             : response.data.data.dialysisOrder;
1349
-        
1349
+
1350 1350
         if (this.operators.length > 0) {
1351 1351
           var operatorsLen = this.operators.length;
1352 1352
           for (var index = 0; index < operatorsLen; index++) {
@@ -1487,7 +1487,7 @@ export default {
1487 1487
                     this.monitors[index].end = "【结束透析】";
1488 1488
                   }
1489 1489
               }
1490
-            
1490
+
1491 1491
           }
1492 1492
         }
1493 1493
 

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Zobrazit soubor

@@ -536,7 +536,7 @@
536 536
                     <tbody>
537 537
                       <tr>
538 538
                         <td :colspan="prescription.mode_id == 2 || prescription.mode_id == 5 ? 12 : 11" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
539
-                          治疗
539
+                          治疗
540 540
                         </td>
541 541
                       </tr>
542 542
                       <tr>
@@ -868,14 +868,14 @@
868 868
                     <span>{{ advice.advice_name }}</span>
869 869
 
870 870
                     <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
871
-                    
871
+
872 872
                     <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
873
-                    
873
+
874 874
                     <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
875 875
                     <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
876
-                    
876
+
877 877
                     <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
878
-                   
878
+
879 879
                     <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
880 880
                   </td>
881 881
                   <!-- <td colspan="2" height="60px" style="text-align: center" v-else >

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Zobrazit soubor

@@ -487,7 +487,7 @@
487 487
                     <tbody>
488 488
                       <tr>
489 489
                         <td :colspan="prescription.mode_id == 2 || prescription.mode_id == 5 ? 12 : 11" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
490
-                          治疗
490
+                          治疗
491 491
                         </td>
492 492
                       </tr>
493 493
                       <tr>
@@ -1015,7 +1015,7 @@
1015 1015
                       治疗医生:
1016 1016
                       <div class="under_line" style="width: 80px">
1017 1017
                         <!-- <img style="height:20px;" src="https://images.shengws.com/FgnRnBcx1BgULJ1dn7VKzeBPEvtm" alt="" srcset="" /> -->
1018
-                       
1018
+
1019 1019
                         <span v-if="setAdminUserES(prescription.prescription_doctor) == ''">{{ getAdminUser(prescription.prescription_doctor) }}</span>
1020 1020
                         <img style="height:20px;" :src="setAdminUserES(prescription.prescription_doctor)" alt="" srcset="" v-else />
1021 1021
                       </div>
@@ -1332,7 +1332,7 @@ export default {
1332 1332
             }
1333 1333
         })
1334 1334
         }
1335
-        
1335
+
1336 1336
         if(num == 0){
1337 1337
           this.$message.success('核对完成')
1338 1338
         }

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue Zobrazit soubor

@@ -572,7 +572,7 @@
572 572
             <!--<td width="80">透析液温度<br/>℃</td>
573 573
               <td width="60">置换率<br/>ml/min</td> -->
574 574
 
575
-            <td width="">病情特殊处理<br />及专科护理措施录</td>
575
+            <td width="">病情特殊处理<br />及专科护理措施录</td>
576 576
             <td width="60">护士签名</td>
577 577
           </tr>
578 578
 

+ 4 - 4
src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue Zobrazit soubor

@@ -146,7 +146,7 @@
146 146
                       {{ predialysis.internal_fistula_other }}
147 147
                     </div>
148 148
                   </div>
149
-                </div>  
149
+                </div>
150 150
                 <div class="row" style="padding: 2px 0;line-height:19px;">
151 151
                   <div class="inline_block">
152 152
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -508,7 +508,7 @@
508 508
                       <td width="80">血流量<br />ml/min</td>
509 509
                       <td width="90" v-if="org_id!=10210">超滤量累计L</td>
510 510
                       <td width="90" v-else>超滤量累计ml</td>
511
-                 
511
+
512 512
                       <td width="90">置换液流量ml/h</td>
513 513
                       <td width="80">钠浓度<br />mmol/L</td>
514 514
                       <td width="240">
@@ -1125,7 +1125,7 @@
1125 1125
             </tr>
1126 1126
           </template>
1127 1127
           <!-- <tr v-if="this.advice_groups_2.length == 0">
1128
-            <td colspan="7" style="text-align:left;">特殊录:</td>
1128
+            <td colspan="7" style="text-align:left;">特殊录:</td>
1129 1129
         </tr> -->
1130 1130
         </tbody>
1131 1131
         <div class="print-yema4">1</div>
@@ -1238,7 +1238,7 @@
1238 1238
                 </tr>
1239 1239
               </template>
1240 1240
               <!-- <tr >
1241
-                <td colspan="7" style="text-align:left;">特殊录:</td>
1241
+                <td colspan="7" style="text-align:left;">特殊录:</td>
1242 1242
             </tr> -->
1243 1243
             </tbody>
1244 1244
           </table>

+ 20 - 16
src/xt_pages/user/patients.vue Zobrazit soubor

@@ -408,7 +408,7 @@
408 408
             <span>{{ scope.row.created_time | parseTime('{y}-{m}-{d}') }}</span>
409 409
           </template>
410 410
         </el-table-column>
411
-        
411
+
412 412
         <el-table-column label="转归" align="center">
413 413
           <template slot-scope="scope">
414 414
             <span>{{ LapsetoInfo(scope.row) }}</span>
@@ -416,12 +416,16 @@
416 416
         </el-table-column>
417 417
         <el-table-column label="转出(死亡)时间" min-width="134" align="center">
418 418
           <template slot-scope="scope">
419
-            <span>{{getTime(scope.row.death_time)}}</span>
419
+<!--            <span>{{getTime(scope.row.death_time)}}</span>-->
420
+            <span v-if="scope.row.lapseto == 1"> </span>
421
+            <span v-else >{{getTime(scope.row.death_time)}}</span>
420 422
           </template>
421 423
         </el-table-column>
422 424
          <el-table-column label="转出(死亡)原因" align="center" min-width="150">
423 425
           <template slot-scope="scope">
424
-            <span>{{scope.row.out_reason}}</span>
426
+<!--            <span>{{scope.row.out_reason}}</span>-->
427
+            <span v-if="scope.row.lapseto == 1"> </span>
428
+            <span v-else >{{scope.row.out_reason}}</span>
425 429
           </template>
426 430
         </el-table-column>
427 431
         <el-table-column label="操作" align="center" min-width="140">
@@ -507,7 +511,7 @@
507 511
               >
508 512
             </el-radio-group>
509 513
           </el-form-item>
510
-         
514
+
511 515
           <el-form-item label="转归(死亡)时间 :" prop="lapseto_time" required>
512 516
             <el-date-picker
513 517
               v-model="lapsetoForm.lapseto_time"
@@ -844,7 +848,7 @@
844 848
 
845 849
       },
846 850
       handleSuccess({ results, header }) {
847
-       
851
+
848 852
         if (header != undefined && header.length > 0) {
849 853
           var isHasName = header.includes('*姓名')
850 854
           var isHasGender = header.includes('*性别')
@@ -860,7 +864,7 @@
860 864
           var isHasDryWeight = header.includes('干体重(kg)')
861 865
           var isHasHeight = header.includes('身高(cm)')
862 866
           var isHasHomeAddress = header.includes('家庭住址')
863
-         
867
+
864 868
           if (!(isHasName && isHasGender && isHasPhone && isHasIdCard && isHasDate && isHasSource && isHasLapseto && isHasInfectious && isHasDiagnose && isHasDialysisNo && isHasDryWeight && isHasHeight && isHasHomeAddress)) {
865 869
             this.dialogVisible = true
866 870
             return
@@ -1070,12 +1074,12 @@
1070 1074
                     }
1071 1075
                   }
1072 1076
                 }
1073
-               
1077
+
1074 1078
                 this.export_date.push(obj)
1075 1079
               }
1076 1080
 
1077 1081
               let index = 0
1078
-             
1082
+
1079 1083
               for (let i = 0; i < this.export_date.length; i++) {
1080 1084
                 if (this.export_date[i].dialysis_no == '') {
1081 1085
                   let new_dialysis_no = this.max_dialysis_no + index
@@ -1167,7 +1171,7 @@
1167 1171
                 'patients': this.export_date
1168 1172
               }
1169 1173
               console.log("export2222",this.export_date)
1170
-              
1174
+
1171 1175
               postExportPatients(params).then(
1172 1176
                 response => {
1173 1177
                   if (response.data.state === 1) {
@@ -1333,7 +1337,7 @@
1333 1337
         return new Date(time).getTime() / 1000
1334 1338
       },
1335 1339
       search() {
1336
-        
1340
+
1337 1341
         this.listQuery.keywords = this.searchKey
1338 1342
         this.getList()
1339 1343
       },
@@ -1341,17 +1345,17 @@
1341 1345
         this.getList()
1342 1346
       },
1343 1347
       getList() {
1344
-       
1348
+
1345 1349
         fetchList(this.listQuery).then(response => {
1346 1350
           if (response.data.state === 0) {
1347 1351
             this.$message.error(response.data.msg)
1348 1352
             return false
1349 1353
           } else {
1350 1354
             this.tableData = response.data.data.patients
1351
-           
1355
+
1352 1356
             this.pageTotal = this.tableData.length
1353 1357
             this.total = response.data.data.total
1354
-           
1358
+
1355 1359
           }
1356 1360
         })
1357 1361
       },
@@ -1515,7 +1519,7 @@
1515 1519
       },
1516 1520
      toExport(){
1517 1521
       import('@/vendor/Export2Excel').then(excel => {
1518
-      
1522
+
1519 1523
         console.log("hhhh323223",this.tableData)
1520 1524
         for(let i=0;i<this.tableData.length;i++){
1521 1525
           if(this.tableData[i].gender == 1){
@@ -1554,11 +1558,11 @@
1554 1558
              this.tableData[i].is_infectiouss = "阳性"
1555 1559
           }
1556 1560
         }
1557
-       
1561
+
1558 1562
         const tHeader = ['姓名', '性别', '身份证号码','年龄','透析号','首次治疗时间','本人电话','患者来源','治疗状态','传染病']
1559 1563
         const filterVal = ['name', 'genders', 'id_card_no','age_year','dialysis_no','first_dialysis_date','phone','sources','lapesetos','is_infectiouss']
1560 1564
         console.log("table",this.tableData)
1561
-      
1565
+
1562 1566
         const data = this.formatJson(filterVal, this.tableData)
1563 1567
         excel.export_json_to_excel({
1564 1568
           header: tHeader,