Browse Source

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

陈少旭 1 year ago
parent
commit
f1fbed74ca

+ 11 - 11
src/router/modules/patient.js View File

@@ -324,17 +324,17 @@ export default {
324 324
       noCache: true
325 325
     }
326 326
   },
327
-  // {//评估工具/跌倒评估
328
-  //   path: '/patients/patient/:id/Fallassessment',
329
-  //   component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
330
-  //   hidden: true,
331
-  //   is_menu: false,
332
-  //   name: 'Fallassessment',
333
-  //   meta: {
334
-  //     title: 'firstDiseasePrint',
335
-  //     noCache: true
336
-  //   }
337
-  // },
327
+  {//评估工具/跌倒评估
328
+    path: '/patients/patient/:id/Fallassessment',
329
+    component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
330
+    hidden: true,
331
+    is_menu: false,
332
+    name: 'Fallassessment',
333
+    meta: {
334
+      title: 'firstDiseasePrint',
335
+      noCache: true
336
+    }
337
+  },
338 338
   // {//小儿跌倒风险评估
339 339
   //   path: '/patients/patient/:id/pediatricFallAssessment',
340 340
   //   component: () => import('@/xt_pages/user/evaluationtool/pediatricFallAssessment'),

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_fortyOne.vue View File

@@ -724,7 +724,7 @@
724 724
                                 <tr v-for="(monitor, monindex) in record.monitor_records" :key="monindex">
725 725
                                 <td style="padding:1px 5px;" height="30px">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
726 726
                                 <td style="padding:1px 5px;">{{ monitor.temperature ? monitor.temperature : '' }}</td>
727
-                                <td style="padding:1px 5px;">{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
727
+                                <td style="padding:1px 5px;">{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}</td>
728 728
                                 <td style="padding:1px 5px;"><span v-if="getTime(monitor.operate_time, '{h}:{i}')">{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}/{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}</span></td>
729 729
                                 <td style="padding:1px 5px;"><span v-if="getTime(monitor.operate_time, '{h}:{i}')">{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "" }}/{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}</span></td>
730 730
                                 <td style="padding:1px 5px;"><span v-if="getTime(monitor.operate_time, '{h}:{i}')">{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}/{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</span></td>

+ 116 - 39
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyseven.vue View File

@@ -51,11 +51,21 @@
51 51
                 <td>姓名: {{ record.patient.name }}</td>
52 52
                 <td>性别:{{ record.patient.gender == 1 ? "男" : "女" }}</td>
53 53
                 <td>年龄:{{ getAge(record.patient) }}</td>
54
-                <td>门诊号: </td>
54
+                <td>门诊号:{{ record.receive_assessment.admission_number }} </td>
55 55
               </tr>
56 56
               <tr>
57 57
                 <td>病床床号:</td>
58
-                <td>治疗时间:</td>
58
+                <td>治疗时间:
59
+                  {{
60
+                    record&&record.assessment_after_dislysis.actual_treatment_hour
61
+                      ? record&&record.assessment_after_dislysis.actual_treatment_hour
62
+                      : "0"
63
+                  }}&nbsp;小时&nbsp;{{
64
+                    record&&record.assessment_after_dislysis.actual_treatment_minute
65
+                      ? record&&record.assessment_after_dislysis.actual_treatment_minute
66
+                      : 0
67
+                  }}&nbsp;分
68
+                </td>
59 69
                 <td>干体重:
60 70
                   {{ record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight : "" }}
61 71
                 </td>
@@ -78,10 +88,12 @@
78 88
                   <span style="width: 14%;">震颤:</span>
79 89
                   <span style="width: 14%;">外观:</span>
80 90
                   <span style="width: 14%;">置换方式:
81
-                    
91
+                    {{
92
+                          getDisplaceLiquiPart(record.prescription.displace_liqui_part)
93
+                        }}
82 94
                   </span>
83 95
                   <span style="width: 14%;">置换总量:
84
-                    
96
+                    {{ record.prescription.displace_liqui_value ? record.prescription.displace_liqui_value : "/" }}
85 97
                   </span>
86 98
                 </td>
87 99
               </tr>
@@ -90,16 +102,16 @@
90 102
                   <div>
91 103
                     透前生命体征:
92 104
                     T <span>
93
-                      
105
+
94 106
                       </span>&nbsp;
95 107
                     P <span>
96
-                       
108
+
97 109
                       </span>&nbsp;
98 110
                     R <span>
99
-                        
111
+
100 112
                       </span>&nbsp;
101 113
                     BP <span>
102
-                        
114
+
103 115
                       </span>&nbsp;
104 116
                   </div>
105 117
                 </td>
@@ -119,7 +131,7 @@
119 131
                   {{ record.prescription.dialysis_duration_hour ? record.prescription.dialysis_duration_hour : "0" }}h &nbsp;/&nbsp;
120 132
                   {{ record.prescription.dialysis_duration_minute ? record.prescription.dialysis_duration_minute : "0" }}min
121 133
                 </td>
122
-                <td>预超:</td>
134
+                <td>预超:{{ record.prescription.target_ultrafiltration ? record.prescription.target_ultrafiltration : "" }}L</td>
123 135
                 <td>血流量:
124 136
                   {{
125 137
                     record.prescription &&
@@ -133,12 +145,27 @@
133 145
                 <td colspan="4">抗凝剂:</td>
134 146
               </tr>
135 147
               <tr>
136
-                <td colspan="2">透析机:</td>
137
-                <td colspan="2">透析器:&nbsp;&nbsp;
138
-                  
139
-                  <span>
140
-                    灌流器:
141
-                  </span>
148
+                <td colspan="2">透析机:
149
+                  {{
150
+                    record.dialysis_order &&
151
+                    record.dialysis_order.device_number &&
152
+                    record.dialysis_order.device_number.number.length >
153
+                      0
154
+                      ? record.dialysis_order.device_number.number
155
+                      : record.device_number.number
156
+                  }}
157
+                </td>
158
+                <td colspan="2"> 透析器/灌流器:&nbsp;&nbsp;
159
+                  {{
160
+                    record.dialysis_order.dialysis_dialyszers
161
+                      ? record.dialysis_order.dialysis_dialyszers
162
+                      : ""
163
+                  }}&nbsp;&nbsp;
164
+                  {{
165
+                    record.dialysis_order.dialysis_irrigation
166
+                      ? record.dialysis_order.dialysis_irrigation
167
+                      : ""
168
+                  }}
142 169
                 </td>
143 170
               </tr>
144 171
               <tr>
@@ -150,6 +177,12 @@
150 177
                 <td colspan="2"></td>
151 178
                 <td colspan="2">
152 179
                   处方医生:
180
+                  <span style="width:200px;display: inline-block;">&nbsp;
181
+                    <span v-if="setAdminUserES(record.prescription, 'creater') == ''">
182
+                        {{ getAdminUser(record.prescription, 'creater') }}
183
+                    </span>
184
+                    <img style="height:30px;" :src="setAdminUserES(record.prescription, 'creater')" alt="" srcset="" v-else />
185
+                  </span>
153 186
                 </td>
154 187
               </tr>
155 188
             </table>
@@ -211,7 +244,9 @@
211 244
                   }}
212 245
                 </td>
213 246
                 <!-- 心率 无-->
214
-                <td></td>
247
+                <td>
248
+                  <!-- {{monitor.pulse_frequency}} -->
249
+                </td>
215 250
                 <!-- 血流量 -->
216 251
                 <td>
217 252
                   {{
@@ -236,7 +271,6 @@
236 271
                       : ""
237 272
                   }}
238 273
                 </td>
239
-                
240 274
                 <td width="50"><br />
241 275
                   {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
242 276
                 </td>
@@ -250,7 +284,9 @@
250 284
                   </span>
251 285
                 </td>
252 286
                 <!-- 超滤率 无 -->
253
-                <td></td>
287
+                <td>
288
+                  <!-- {{ monitor.ultrafiltration_rate }} -->
289
+                </td>
254 290
                 <!-- 电导度 -->
255 291
                 <td>
256 292
                   {{
@@ -260,9 +296,12 @@
260 296
                   }}
261 297
                 </td>
262 298
                 <!-- 备注 无 -->
263
-                <td></td>
299
+                <td>{{ record.assessment_before_dislysis.remark ? record.assessment_before_dislysis.remark : "/" }}</td>
264 300
                 <!-- 签名 无 -->
265
-                <td></td>
301
+                <td>
302
+                  <span v-if="setAdminUserES(monitor_record, 'monitoring_nurse') == ''">{{getAdminUser(monitor_record, 'monitoring_nurse')}}</span>
303
+                  <img class="es-img" :src="setAdminUserES(monitor_record, 'monitoring_nurse')" alt="" srcset=""  v-else  style="height: 60px ">
304
+                </td>
266 305
               </tr>
267 306
               <tr>
268 307
                 <td></td>
@@ -292,7 +331,7 @@
292 331
                 <th width="10%">执行时间</th>
293 332
                 <th width="10%">护士签名</th>
294 333
               </tr>
295
-              
334
+
296 335
               <tr
297 336
                 v-for="(advice, advice_index) in record.advices"
298 337
                 :key="advice_index"
@@ -363,7 +402,7 @@
363 402
                     alt=""
364 403
                     srcset=""
365 404
                     v-else
366
-                    style="height: 40px"
405
+                    style="height: 60px;width:84%"
367 406
                   />
368 407
                 </td>
369 408
                 <td height="35px">
@@ -391,7 +430,7 @@
391 430
                     alt=""
392 431
                     srcset=""
393 432
                     v-else
394
-                    style="height: 40px"
433
+                    style="height: 60px;width: 84%;"
395 434
                   />
396 435
                 </td>
397 436
               </tr>
@@ -405,7 +444,17 @@
405 444
             ">
406 445
               <tr>
407 446
                 <td>透后体重:
408
-                 
447
+                  {{
448
+                    record.assessment_after_dislysis &&
449
+                    record.assessment_after_dislysis.weight_after
450
+                      ? parseFloat(
451
+                          record.assessment_after_dislysis
452
+                            .weight_after -
453
+                            record.assessment_before_dislysis
454
+                              .additional_weight
455
+                        ).toFixed(1)
456
+                      : "/"
457
+                  }}
409 458
                 </td>
410 459
                 <td>实超:</td>
411 460
                 <td>实际治疗时长:
@@ -416,7 +465,7 @@
416 465
                       ? record.assessment_after_dislysis
417 466
                           .actual_treatment_hour
418 467
                       : "/"
419
-                  }} h 
468
+                  }} h
420 469
                   {{
421 470
                     record.assessment_after_dislysis &&
422 471
                     record.assessment_after_dislysis
@@ -427,7 +476,9 @@
427 476
                   }} min
428 477
                 </td>
429 478
                 <td>下机时间:
430
-                 
479
+                  {{
480
+                    getTime(record.dialysis_order.end_time, '{y}-{m}-{d} {h}:{i}') ? getTime(record.dialysis_order.end_time, '{y}-{m}-{d} {h}:{i}') :"/"
481
+                  }}
431 482
                 </td>
432 483
               </tr>
433 484
               <tr>
@@ -496,7 +547,7 @@
496 547
           <div style="text-align: left;width: 100%;">
497 548
             <table>
498 549
               <tr>
499
-                <td width="10%">上机护士:</td>
550
+                <td width="8%">上机护士:</td>
500 551
                 <td width="10%">
501 552
                   <span>
502 553
                 <span
@@ -517,7 +568,7 @@
517 568
                   }}</span
518 569
                 >
519 570
                 <img
520
-                  style="height: 30px"
571
+                  style="height: 65px;width: 100%; "
521 572
                   :src="
522 573
                     setAdminUserES(
523 574
                       dialysisOrder == null
@@ -531,21 +582,36 @@
531 582
                 />
532 583
                   </span>
533 584
                 </td>
534
-                <td width="10%">核对护士:</td>
535
-                <td width="10%"></td>
536
-                <td width="10%">下机护士:</td>
537
-                <td width="10%"></td>
538
-                <td width="10%">医生:</td>
539
-                <td width="10%"></td>
585
+                <td width="8%">核对护士:</td>
586
+                <td width="10%">
587
+                  <span v-if="setAdminUserES(record.check, 'modifier') == ''">{{getAdminUser(record.check, 'modifier')?getAdminUser(record.check, 'modifier'):"/"}}</span>
588
+                  <img class="es-img" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset="" style="height:40px">
589
+                </td>
590
+                <td width="8%">下机护士:</td>
591
+                <td width="10%">
592
+                  <span style="display: inline-block;height: 36px;line-height: 36px;" v-if="setAdminUserES(record.dialysis_order, 'finish_nurse') == ''">{{getAdminUser(record.dialysis_order, 'finish_nurse')}}</span>
593
+                  <span v-else>
594
+                      <img class="es-img" style="height:30px;" :src="setAdminUserES(record.dialysis_order, 'finish_nurse')" />
595
+                  </span>
596
+                </td>
597
+                <td width="5%">医生:</td>
598
+                <td width="10%">
599
+                  <span v-if="setAdminUserES(advice, 'advice_doctor') == ''">
600
+                      {{getAdminUser(advice, 'advice_doctor')}}
601
+                  </span>
602
+                  <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
603
+                      <img style="height:30px;" :src="setAdminUserES(advice, 'advice_doctor')" alt srcset />
604
+                  </span>
605
+                </td>
540 606
               </tr>
541 607
             </table>
542
-          
608
+
543 609
           </div>
544 610
         </div>
545 611
           <template v-if="record.totallength > 14">
546
-            
612
+
547 613
           </template>
548
-         
614
+
549 615
         </div>
550 616
       </div>
551 617
     </div>
@@ -618,6 +684,7 @@ export default {
618 684
         "腹痛",
619 685
       ],
620 686
       org_id: "",
687
+      displaceLiquiPartOptions: [],
621 688
     };
622 689
   },
623 690
   created() {
@@ -664,7 +731,7 @@ export default {
664 731
       this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
665 732
         dialysateFormulationOptions[key];
666 733
     }
667
-
734
+    this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
668 735
     // const xtdate = this.$route.query && this.$route.query.xtdate;
669 736
     // const xtno = this.$route.query && this.$route.query.xtno;
670 737
     //   if (typeof (xtdate) == "string" && xtdate.length > 0 && typeof (xtno) == "string" && xtno.length > 0) {
@@ -1043,7 +1110,7 @@ export default {
1043 1110
     //   }
1044 1111
     // },
1045 1112
     getAge: function(val) {
1046
-     
1113
+
1047 1114
      if (val.id_card_no) {
1048 1115
        var thisLen = val.id_card_no.length
1049 1116
 
@@ -1076,6 +1143,16 @@ export default {
1076 1143
     getNumber: function (record) {
1077 1144
       console.log(record);
1078 1145
     },
1146
+    getDisplaceLiquiPart: function (val) {
1147
+      let displace_liqui_part_name = "/";
1148
+      const displace_liqui_part = this.displaceLiquiPartOptions;
1149
+      for (let i = 0; i < displace_liqui_part.length; i++) {
1150
+        if (displace_liqui_part[i].id == val) {
1151
+          displace_liqui_part_name = displace_liqui_part[i].name;
1152
+        }
1153
+      }
1154
+      return displace_liqui_part_name;
1155
+    },
1079 1156
   },
1080 1157
 };
1081 1158
 </script>

+ 94 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -524,6 +524,10 @@
524 524
           </ul>
525 525
         </div>
526 526
       </div>
527
+      
528
+      <!-- <div style="margin-left: 1050px; margin-bottom: 10px;">
529
+        <el-button type="primary" size="small" @click="toExport">导出</el-button>
530
+      </div> -->
527 531
 
528 532
       <el-table
529 533
         :row-style="{ color: '#303133' }"
@@ -1308,6 +1312,7 @@
1308 1312
 </template>
1309 1313
 
1310 1314
 <script>
1315
+import UploadExcel from '@/xt_pages/components/UploadExcel'
1311 1316
 import { getDataConfig } from "@/utils/data";
1312 1317
 import store from "@/store";
1313 1318
 import { getSchedualPatient, GetAllZone } from "@/api/dialysis";
@@ -1316,8 +1321,12 @@ import BreadCrumb from "@/xt_pages/components/bread-crumb";
1316 1321
 import { getPrintTemplate } from "@/api/data";
1317 1322
 import { uParseTime } from '@/utils/tools'
1318 1323
 const moment = require('moment')
1324
+
1319 1325
 export default {
1320 1326
   name: "Patient",
1327
+  components: {
1328
+   UploadExcel,
1329
+ },
1321 1330
   data() {
1322 1331
     return {
1323 1332
       crumbs: [
@@ -2205,7 +2214,91 @@ export default {
2205 2214
       } else if (this.template_id == 33) {
2206 2215
         this.$router.push({ path: "/dialysis/print/batch/thirtyThree_two" });
2207 2216
       }
2208
-    }
2217
+    },
2218
+    toExport(){
2219
+      import('@/vendor/Export2Excel').then(excel => { 
2220
+        
2221
+         if(this.SchedualPatientsTableData!=null){
2222
+          for(let i=0;i<this.SchedualPatientsTableData.length;i++){
2223
+             this.SchedualPatientsTableData[i].index = i + 1
2224
+             this.SchedualPatientsTableData[i].start_time_one = ""
2225
+             this.SchedualPatientsTableData[i].start_time_two = ""
2226
+             this.SchedualPatientsTableData[i].start_time_three = ""
2227
+             this.SchedualPatientsTableData[i].start_time_four = ""
2228
+             this.SchedualPatientsTableData[i].start_time_five = ""
2229
+             this.SchedualPatientsTableData[i].start_time_six = ""
2230
+             this.SchedualPatientsTableData[i].start_time_seven = ""
2231
+             if(this.SchedualPatientsTableData[i].monitoring_record!=null&&this.SchedualPatientsTableData[i].monitoring_record.length>0){
2232
+             
2233
+              if(this.SchedualPatientsTableData[i].monitoring_record.length ==1){
2234
+                if(this.SchedualPatientsTableData[i].monitoring_record[0].operate_time!=undefined){
2235
+                this.SchedualPatientsTableData[i].start_time_one =this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[0].operate_time) 
2236
+               }
2237
+              }
2238
+              if(this.SchedualPatientsTableData[i].monitoring_record.length ==2){
2239
+                if(this.SchedualPatientsTableData[i].monitoring_record[1].operate_time!=undefined){
2240
+                this.SchedualPatientsTableData[i].start_time_two = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[1].operate_time)
2241
+               }
2242
+              }
2243
+
2244
+              if(this.SchedualPatientsTableData[i].monitoring_record.length==3){
2245
+                if(this.SchedualPatientsTableData[i].monitoring_record[2].operate_time!=undefined){
2246
+                 this.SchedualPatientsTableData[i].start_time_three = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[2].operate_time) 
2247
+               }   
2248
+              }
2249
+              
2250
+              if(this.SchedualPatientsTableData[i].monitoring_record.length ==4){
2251
+                if(this.SchedualPatientsTableData[i].monitoring_record[3].operate_time!=undefined){
2252
+                  this.SchedualPatientsTableData[i].start_time_four = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[3].operate_time)
2253
+                }
2254
+              }
2255
+            
2256
+              if(this.SchedualPatientsTableData[i].monitoring_record.length ==5){
2257
+                if(this.SchedualPatientsTableData[i].monitoring_record[4].operate_time!=undefined){
2258
+                  this.SchedualPatientsTableData[i].start_time_five = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[4].operate_time) 
2259
+                }
2260
+              }
2261
+              
2262
+              if(this.SchedualPatientsTableData[i].monitoring_record.length ==6){
2263
+                if(this.SchedualPatientsTableData[i].monitoring_record[5].operate_time!=undefined){
2264
+                this.SchedualPatientsTableData[i].start_time_six = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[5].operate_time) 
2265
+               }
2266
+              }
2267
+              if(this.SchedualPatientsTableData[i].monitoring_record.length == 7){
2268
+                if(this.SchedualPatientsTableData[i].monitoring_record[6].operate_time!=undefined){
2269
+                 this.SchedualPatientsTableData[i].start_time_seven = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[6].operate_time) 
2270
+               }
2271
+              }
2272
+           
2273
+            
2274
+             
2275
+            
2276
+             }
2277
+          }
2278
+          
2279
+         }
2280
+         console.log("监测统计",this.SchedualPatientsTableData)
2281
+         const multiHeader = [['序号','机号','排班日期','上机时间','透析号','姓名','透析模式','目标超滤量','透前血压','干体重','透前称重','透后称重','监测时间']]
2282
+         const header = ['','','','','','','','','','','','1','2','3','4','5','6','7']
2283
+         const merges = ['A1:A2', 'B1:B2', 'C1:C2', 'D1:D2', 'E1:E2','F1:F2','G1:G2','H1:H2', 'I1:I2','J1:J2','K1:K2','L1:L2','M1:S1']
2284
+          const filterVal = ['index', 'number', 'sch_time', 'start_time', 'dialysis_no', 'name', 'mode_name', 'target_ultrafiltration', 'pressure_name', 'dry_weight', 'dialysis_before_weight', 'dialysis_after_weight','start_time_one','start_time_one','start_time_one','start_time_one','start_time_one','start_time_one','start_time_one']
2285
+     
2286
+         const data = this.formatJson(filterVal, this.SchedualPatientsTableData) 
2287
+         const filename = '监测数据'
2288
+
2289
+         console.log("datawoowowow",data)
2290
+        excel.export_json_to_excel({
2291
+          multiHeader,
2292
+          header,
2293
+          merges,
2294
+          data,
2295
+          filename
2296
+        })
2297
+       })
2298
+    },
2299
+    formatJson(filterVal, jsonData) {
2300
+       return jsonData.map(v => filterVal.map(j => v[j]));
2301
+     },
2209 2302
   },
2210 2303
   components: {
2211 2304
     BreadCrumb

+ 66 - 122
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue View File

@@ -37,10 +37,12 @@
37 37
               <tr>
38 38
                 <td>姓名:{{ patientInfo.name }}</td>
39 39
                 <td>性别: {{ patientInfo_gender_1 ? "男" : "女" }}</td>
40
-                <td>年龄:{{ getAge(patientInfo) }}</td>
41
-                <td>门诊号:
42
-                  {{patientInfo.dialysis_no}}
43
-                </td>
40
+                <td>年龄:{{ getAge(patientInfo) }}岁</td>
41
+                <td>门诊号: {{
42
+                    patientInfo.admission_number
43
+                      ? patientInfo.admission_number
44
+                      : "/"
45
+                  }}</td>
44 46
               </tr>
45 47
               <tr>
46 48
                 <td>病床床号:
@@ -54,12 +56,10 @@
54 56
                     }}
55 57
                   </span>
56 58
                 </td>
57
-                <td>治疗时间:
58
-                  {{getTime(prescription.record_date,"{y}-{m}-{d}") }}
59
-                </td>
59
+                <td>治疗时间:{{getTime(prescription.record_date,"{y}-{m}-{d}") }}</td>
60 60
                 <td>干体重:{{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}kg</td>
61 61
                 <td>上次透后体重:
62
-                  {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}
62
+                  {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}kg
63 63
                 </td>
64 64
               </tr>
65 65
               <tr>
@@ -68,7 +68,7 @@
68 68
                     predialysis.weight_before ? predialysis.weight_before : "/"
69 69
                   }}kg
70 70
                 </td>
71
-                <td>透析总次数:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</td>
71
+                <td>透析总次数:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</td>
72 72
                 <td colspan="2">患者评估:
73 73
                   入科方式:
74 74
                   <span v-if="receiverTreatmentAccess.way == 1">步行</span>
@@ -85,28 +85,25 @@
85 85
               </tr>
86 86
               <tr>
87 87
                 <td colspan="4">
88
-                  <span>血管通路:
89
-                    {{ predialysis.blood_access_part_opera_name }}
90
-                  </span>
91
-                  <span>部位:
92
-                    {{ predialysis.blood_access_part_id }}
93
-                 </span>
94
-                  <span>通路评估:
95
-                     内瘘:
88
+                  <span style="width: 14%;">血管通路: {{ predialysis.blood_access_part_opera_name }}</span>
89
+                  <span style="width: 14%;">部位:{{ predialysis.blood_access_part_id }}</span>
90
+                  <span style="width: 14%;">通路评估:
91
+                    内瘘:
96 92
                      <span v-if="predialysis.internal_fistula.indexOf('自体内瘘') >-1">自体内瘘</span>
97 93
                      <span v-if="predialysis.internal_fistula.indexOf('震颤-存在') >-1">震颤-存在</span>
98 94
                      <span v-if="predialysis.internal_fistula.indexOf('震颤-减弱') >-1">震颤-减弱</span>
99 95
                      <span v-if="predialysis.internal_fistula.indexOf('震颤-无') >-1">震颤-无</span>
100 96
 
101 97
                   </span>
102
-                
98
+                  <!-- <span style="width: 14%;">震颤:</span>
99
+                  <span style="width: 14%;">外观:</span> -->
103 100
                   <span style="width: 14%;">置换方式:
104 101
                     {{
105 102
                       getDisplaceLiquiPart(prescription.displace_liqui_part)
106 103
                     }}
107 104
                   </span>
108 105
                   <span style="width: 14%;">置换总量:
109
-                    {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "" }}
106
+                    {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}
110 107
                   </span>
111 108
                 </td>
112 109
               </tr>
@@ -114,31 +111,28 @@
114 111
                 <td colspan="4">
115 112
                   <div>
116 113
                     透前生命体征:
117
-                    T <span>
114
+                    T <span>
118 115
                         {{predialysis.temperature
119 116
                         ? predialysis.temperature : "/"
120 117
                           }} ℃
121 118
                       </span>&nbsp;
122
-                    P <span>
119
+                    P <span>
123 120
                         {{
124 121
                           predialysis.pulse_frequency
125 122
                             ? predialysis.pulse_frequency
126 123
                             : "/"
127
-
128
-                        }}
129
-                         次/分
124
+                        }}次/分
130 125
                       </span>&nbsp;
131
-                    R <span>
126
+                    R <span>
132 127
                         {{
133 128
                           predialysis.breathing_rate
134 129
                             ? predialysis.breathing_rate
135 130
                             : "/"
136
-                        }}
137
-                         次/分
131
+                        }}次/分
138 132
                       </span>&nbsp;
139
-                    BP <span>
133
+                    BP <span>
140 134
                         {{predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/"}} mmHg/
141
-                        {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : '/' }} mmHg
135
+                        {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : '/' }}mmHg
142 136
                       </span>&nbsp;
143 137
                   </div>
144 138
                 </td>
@@ -185,7 +179,7 @@
185 179
                   {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }} min
186 180
                 </td>
187 181
                 <td>预超:{{prescription.target_ultrafiltration }}L</td>
188
-                <td>血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}</td>
182
+                <td>血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}ml/min</td>
189 183
               </tr>
190 184
               <tr>
191 185
                 <td colspan="4">抗凝剂:
@@ -231,9 +225,7 @@
231 225
                 </td>
232 226
               </tr>
233 227
               <tr>
234
-                <td colspan="2">透析机:
235
-                  {{predialysis.machine_type ? predialysis.machine_type : ""}}
236
-                </td>
228
+                <td colspan="2">透析机:{{predialysis.machine_type ? predialysis.machine_type : ""}}</td>
237 229
                 <td colspan="2">透析器/灌流器:
238 230
                   {{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : "/" }}
239 231
 
@@ -259,18 +251,16 @@
259 251
                 <td colspan="2">
260 252
                   处方医生:
261 253
                   <span
262
-                    style="height: 30px; display: inline-block"
263
-                      v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
264
-                      >
254
+                    style="height: 30px; display: inline-block">
265 255
                      {{ getAdminUser(doctor_advices[0].advice_doctor) }}
266 256
                   </span>
267
-                  <img
268
-                    style="height: 40px"
257
+                  <!-- <img
258
+                    style="height: 60px; width:30%"
269 259
                     :src="setAdminUserES(doctor_advices[0].advice_doctor)"
270 260
                     alt=""
271 261
                     srcset=""
272 262
                     v-else
273
-                  />
263
+                  /> -->
274 264
                 </td>
275 265
               </tr>
276 266
             </table>
@@ -279,7 +269,7 @@
279 269
           <div class="infoTitle">透析记录</div>
280 270
           <div style="margin: 10px 0px;">
281 271
             <table class="table" border="1"
282
-            style="border-collapse: collapse;text-align: center;width: 100%;"
272
+            style="border-collapse: collapse;width: 100%;"
283 273
             >
284 274
               <tr>
285 275
                 <th rowspan="2" width="50">时间</th>
@@ -289,9 +279,9 @@
289 279
                 <th rowspan="2" width="80">签名</th>
290 280
               </tr>
291 281
               <tr>
292
-                <th width="50">血压<br>mmHg</th>
293
-                <th width="50">呼吸<br>次/分</th>
294
-                <th width="50">心率<br>次/分</th>
282
+                <th width="70">血压<br>mmHg</th>
283
+                <th width="40">呼吸<br>次/分</th>
284
+                <th width="40">心率<br>次/分</th>
295 285
                 <th width="50">血流量<br>ml/min</th>
296 286
                 <th width="50">静脉压<br>mmHg</th>
297 287
                 <th width="50">透析液<br>温度℃</th>
@@ -300,7 +290,7 @@
300 290
                 <th width="50">超滤率<br>ml/h</th>
301 291
                 <th width="50">电导率<br>ms/cm</th>
302 292
               </tr>
303
-              <tr v-for="(monitor, monindex) in monitors" :key="monindex">
293
+               <tr v-for="(monitor, monindex) in monitors" :key="monindex">
304 294
                 <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
305 295
                 <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/": ""}}
306 296
                 {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
@@ -313,27 +303,26 @@
313 303
                 <td>{{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</td>
314 304
                 <td>{{monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</td>
315 305
                 <td>{{monitor.conductivity? monitor.conductivity: ""}}</td>
316
-                <td>
306
+               <td>
317 307
                   {{monitor.symptom?monitor.symptom:"" }}&nbsp;
318 308
                   {{monitor.dispose? monitor.dispose: ""}}&nbsp;
319 309
                   {{monitor.result? monitor.result: ""}}
320 310
                 </td>
321 311
                 <td>
322 312
                   <span
323
-                    style="height: 30px; display: inline-block"
324
-                      v-if="setAdminUserES(monitor.monitoring_nurse) == ''"
325
-                      >
313
+                    style="height: 30px; display: inline-block">
326 314
                      {{ getAdminUser(monitor.monitoring_nurse) }}
327 315
                   </span>
328
-                  <img
329
-                    style="height: 40px"
316
+                  <!-- <img  v-if="setAdminUserES(monitor.monitoring_nurse) != ''"
317
+                    style="height: 60px"
330 318
                     :src="setAdminUserES(monitor.monitoring_nurse)"
331 319
                     alt=""
332 320
                     srcset=""
333 321
                     v-else
334
-                  />
322
+                  /> -->
323
+
335 324
                 </td>
336
-              </tr>
325
+                </tr>
337 326
             </table>
338 327
           </div>
339 328
           <div style="margin-bottom: 10px;">
@@ -355,7 +344,6 @@
355 344
                   <span v-if="advice.start_time">
356 345
                     {{ getTime(advice.start_time, "{h}:{i}") }}
357 346
                   </span>
358
-                  <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
359 347
                 </td>
360 348
                 <td
361 349
                   height="32px"
@@ -391,17 +379,9 @@
391 379
                 </td>
392 380
 
393 381
                 <td height="32px">
394
-                  <span
395
-                    v-if="setAdminUserES(advice.advice_doctor) == ''"
396
-                    >{{ getAdminUser(advice.advice_doctor) }}</span
397
-                  >
398
-                  <img
399
-                    style="height: 30px"
400
-                    :src="setAdminUserES(advice.advice_doctor)"
401
-                    alt=""
402
-                    srcset=""
403
-                    v-else
404
-                  />
382
+                  <span>
383
+                    {{ getAdminUser(advice.advice_doctor) }}
384
+                  </span>
405 385
                 </td>
406 386
                 <td height="32px">
407 387
                   <span v-if="advice.execution_time">{{
@@ -409,17 +389,9 @@
409 389
                   }}</span>
410 390
                 </td>
411 391
                 <td height="32px">
412
-                  <span
413
-                    v-if="setAdminUserES(advice.execution_staff) == ''"
414
-                    >{{ getAdminUser(advice.execution_staff) }}</span
415
-                  >
416
-                  <img
417
-                    style="height: 30px"
418
-                    :src="setAdminUserES(advice.execution_staff)"
419
-                    alt=""
420
-                    srcset=""
421
-                    v-else
422
-                  />
392
+                  <span>
393
+                    {{ getAdminUser(advice.execution_staff) }}
394
+                  </span>
423 395
                 </td>
424 396
               </tr>
425 397
             </table>
@@ -439,11 +411,9 @@
439 411
                             afterdialysis.additional_weight
440 412
                         ).toFixed(1)
441 413
                       : "/"
442
-                  }}
443
-                </td>
444
-                <td>实超:
445
-                  {{ afterdialysis.actual_ultrafiltration }}ml
414
+                  }} kg
446 415
                 </td>
416
+                <td>实超:{{ afterdialysis.actual_ultrafiltration }}ml</td>
447 417
                 <td>实际治疗时长:
448 418
                   {{
449 419
                     afterdialysis.actual_treatment_hour
@@ -491,7 +461,6 @@
491 461
                         afterdialysis.catheter ? afterdialysis.catheter : ""
492 462
                     }}
493 463
                   </span>
494
-
495 464
                 </td>
496 465
               </tr>
497 466
             </table>
@@ -499,25 +468,15 @@
499 468
 
500 469
           <div class="infoTitle">治疗小结</div>
501 470
           <div style="height: 80px;margin: 10px 0px;text-align: left;">
502
-            <span>治疗小结:
503
-            {{summary.dialysis_summary?summary.dialysis_summary:'/'}}
504
-            </span>
471
+            <span>治疗小结:{{summary.dialysis_summary?summary.dialysis_summary:'/'}}</span>
505 472
           </div>
506 473
           <div style="text-align: left;width: 100%;">
507 474
             <table>
508 475
               <tr>
509
-                <td width="10%">上机护士:</td>
476
+                <td width="8%">上机护士:</td>
510 477
                 <td width="10%">
511
-                  <span>
512
-                    <span
513
-                      v-if="
514
-                        setAdminUserES(
515
-                          dialysisOrder == null
516
-                            ? 0
517
-                            : dialysisOrder.start_nurse
518
-                        ) == ''
519
-                      "
520
-                    >
478
+                  <div>
479
+                    <span>
521 480
                       {{
522 481
                         getAdminUser(
523 482
                           dialysisOrder == null
@@ -525,38 +484,23 @@
525 484
                             : dialysisOrder.start_nurse
526 485
                         )
527 486
                       }}</span>
528
-                    <img
529
-                      style="height: 30px"
530
-                      :src="
531
-                        setAdminUserES(
532
-                          dialysisOrder == null
533
-                            ? 0
534
-                            : dialysisOrder.start_nurse
535
-                        )
536
-                      "
537
-                      alt=""
538
-                      srcset=""
539
-                      v-else
540
-                    />
541
-
542
-                  </span>
487
+                  </div>
543 488
                 </td>
544
-                <td width="18%">核对护士:
545
-
546
-                 <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
547
-                <img style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
489
+                <td width="8%">核对护士:</td>
490
+                <td width="10%">
491
+                  <span>{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
492
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else> -->
548 493
                 </td>
549
-                <td width="10%"></td>
550
-                <td width="15%">下机护士:
551
-                 <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
552
-                                      <img style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
494
+                <td width="8%">下机护士:</td>
495
+                <td width="10%">
496
+                  <span>{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
497
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else> -->
553 498
                 </td>
554
-                <td width="10%"></td>
555
-                <td width="10%">医生:
556
-                 <span v-if="setAdminUserES(prescription.creater) == ''">{{getAdminUser(prescription.creater)}}</span>
557
-                                      <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else>
499
+                <td width="5%">医生:</td>
500
+                <td width="10%">
501
+                  <span>{{getAdminUser(prescription.creater)}}</span>
502
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else> -->
558 503
                 </td>
559
-                <td width="10%"></td>
560 504
               </tr>
561 505
             </table>
562 506
 

+ 31 - 49
src/xt_pages/outpatientCharges/invoiceTemplate/printTen.vue View File

@@ -9,8 +9,8 @@
9 9
           <div >
10 10
             <span>姓名:{{paramsObj.name}}</span>
11 11
             <span style="margin-left: 60px;">性别:</span>
12
-            <span style="" v-if="list.gender == 1">女</span>
13
-            <span style="" v-else-if="list.gender == 2">男</span>
12
+            <span style="" v-if="list.gender == 2">女</span>
13
+            <span style="" v-else-if="list.gender == 1">男</span>
14 14
           </div>
15 15
           <div>
16 16
             <span style="margin-right: 60px;">NO:</span>
@@ -65,58 +65,45 @@
65 65
           
66 66
           <div style="border-right: 1px solid black;display: inline-block;width: 360px;padding: 5px;">
67 67
             <span>合计(大写):</span>
68
-            <span  style="">
68
+            <span>
69 69
               <span v-if="zhongwen.indexOf('万') > -1 && zhongwen.indexOf('拾') > -1 && zhongwen.indexOf('拾') == 1">
70
-                          {{ zhongwen.substring(0,1) }}
71
-                      </span>
72
-                      <span v-else>零</span>
73
-
70
+                {{ zhongwen.substring(0,1) }} 拾
71
+              </span>
74 72
             </span>
75
-            <span  style="">
76
-                <span v-if="zhongwen.indexOf('万') > -1">
77
-                          {{ zhongwen.substring(zhongwen.indexOf('万') - 1,zhongwen.indexOf('万')) }}
78
-                      </span>
79
-                      <span v-else>零</span>
80
-
73
+            <span>
74
+              <span v-if="zhongwen.indexOf('万') > -1">
75
+                {{ zhongwen.substring(zhongwen.indexOf('万') - 1,zhongwen.indexOf('万')) }} 万
76
+              </span>
81 77
             </span>
82
-            <span  style="">
78
+            <span>
83 79
               <span v-if="zhongwen.indexOf('仟') > -1">
84
-                          {{ zhongwen.substring(zhongwen.indexOf('仟') - 1,zhongwen.indexOf('仟')) }}
85
-                      </span>
86
-                      <span v-else>零</span>
87
-
80
+                {{ zhongwen.substring(zhongwen.indexOf('仟') - 1,zhongwen.indexOf('仟')) }} 仟
81
+              </span>
88 82
             </span>
89
-            <span  style="">
90
-                <span v-if="zhongwen.indexOf('佰') > -1">
91
-                          {{ zhongwen.substring(zhongwen.indexOf('佰') - 1,zhongwen.indexOf('佰')) }}
92
-                      </span>
93
-                      <span v-else>零</span>
94
-
83
+            <span>
84
+              <span v-if="zhongwen.indexOf('佰') > -1">
85
+                {{ zhongwen.substring(zhongwen.indexOf('佰') - 1,zhongwen.indexOf('佰')) }} 百
86
+              </span>
95 87
             </span>
96
-            <span style="">
97
-                <span v-if="zhongwen.indexOf('拾') > -1">
98
-                          {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
99
-                      </span>
100
-                      <span v-else>零</span>
101
-
88
+            <span>
89
+              <span v-if="zhongwen.indexOf('拾') > -1">
90
+                {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }} 拾
91
+              </span>
102 92
             </span>
103
-            <span  style="">
104
-                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
105
-                          {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
106
-                      </span>
107
-                      <span v-else>零</span>
93
+            <span>
94
+              <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
95
+                {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }} 元
96
+              </span>
108 97
             </span>
109
-            <span  style="">
110
-                <span v-if="zhongwen.indexOf('角') > -1">
111
-                          {{ zhongwen.substring(zhongwen.indexOf('角') - 1,zhongwen.indexOf('角')) }}
112
-                      </span>
113
-                      <span v-else>零</span>
98
+            <span>
99
+              <span v-if="zhongwen.indexOf('角') > -1">
100
+                {{ zhongwen.substring(zhongwen.indexOf('角') - 1,zhongwen.indexOf('角')) }} 角
101
+              </span>
114 102
             </span>
115
-            <span  style="">
103
+            <span>
116 104
               <span v-if="zhongwen.indexOf('分') > -1">
117
-                          {{ zhongwen.substring(zhongwen.indexOf('分') - 1,zhongwen.indexOf('分')) }}
118
-                      </span>
119
-                      <span v-else>零</span>
105
+                {{ zhongwen.substring(zhongwen.indexOf('分') - 1,zhongwen.indexOf('分')) }} 分
106
+              </span>
120 107
             </span>
121 108
           </div>
122 109
           <span style="position: relative;top:0px;left:0px">¥:{{totalPrice.toFixed(2)}}</span>
@@ -177,11 +164,6 @@ export default {
177 164
       number: this.paramsObj.number,
178 165
     }
179 166
     this.getInvoice(params)
180
-    // var data = new Date();
181
-    // var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
182
-    // var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
183
-    // this.printDate = data.getFullYear() + "-" + month + "-" + date;
184
-    // this.smalltoBIG(982732.21)
185 167
     this.org_id = this.$store.getters.xt_user.org_id
186 168
     this.org_name = this.$store.getters.xt_user.org.org_name
187 169
   },

+ 2 - 2
src/xt_pages/outpatientDoctorStation/checkTemplate/printThree.vue View File

@@ -108,8 +108,8 @@
108 108
                 {{ item.project.project_name }}
109 109
               </div>
110 110
             </div>
111
-            <span style="position: absolute;top: 65px;right: -77px;">血透前抽血</span>
112
-            <span style="position: absolute;bottom: 96px;right: -77px;">血透后抽血</span>
111
+            <span style="position: absolute;top: 65px;right: -77px;" v-if=" singleProjectPrint.length>0">血透前抽血</span>
112
+            <span style="position: absolute;bottom: 96px;right: -77px;" v-if=" singleProjectPrint.length>0">血透后抽血</span>
113 113
           </div>
114 114
         </div>
115 115
         <div

+ 3 - 3
src/xt_pages/qcd/statisticalConfiguration.vue View File

@@ -69,8 +69,8 @@
69 69
           <el-pagination
70 70
               @size-change="handleSizeChange"
71 71
               @current-change="handleCurrentChange"
72
-              :page-sizes="[12, 20, 30, 100]"
73
-              :page-size="12"
72
+              :page-sizes="[10, 20, 30, 100]"
73
+              :page-size="10"
74 74
               background
75 75
               style="margin-top:20px;float: right"
76 76
               layout="total, sizes, prev, pager, next, jumper"
@@ -485,7 +485,7 @@ export default {
485 485
           this.configuraData = configurationlist
486 486
           var total = response.data.data.total
487 487
           // console.log("total",total)
488
-          this.total = total+2
488
+          this.total = total
489 489
         }
490 490
       })
491 491
     },

+ 32 - 5
src/xt_pages/stock/detail/cancelStockDetail.vue View File

@@ -257,7 +257,9 @@ export default {
257 257
       tableDataList:[],
258 258
       table:[],
259 259
       houseList:[],
260
-      storehouse_id:0
260
+      storehouse_id:0,
261
+      manufacturerList:[],
262
+      dealerList:[],
261 263
     };
262 264
   },
263 265
   methods: {
@@ -399,9 +401,11 @@ export default {
399 401
           }
400 402
           console.log("list232323232322332232323ow",this.cancelStockDate)
401 403
           this.tableDataList = response.data.data.list
402
-
404
+          this.manufacturerList = response.data.data.manufacturerList
405
+          this.dealerList = response.data.data.dealerList
403 406
           var listgroup = response.data.data.listgroup
404
-
407
+          
408
+          this.
405 409
 
406 410
           this.cancelStockDate.push({
407 411
             order_number: "合计",
@@ -425,6 +429,25 @@ export default {
425 429
         }
426 430
       });
427 431
     },
432
+    getManufacturerNameOne(id){
433
+        var manufacturer_name = ""
434
+        for(let i=0;i<this.manufacturerList.length;i++){
435
+          if(id == this.manufacturerList[i].id){
436
+            manufacturer_name = this.manufacturerList[i].manufacturer_name
437
+          }
438
+        }
439
+        return manufacturer_name
440
+     },
441
+     getDealerNameOne(id){
442
+       var dealer_name = ""
443
+     
444
+       for(let i=0;i<this.dealerList.length;i++){
445
+          if(id == this.dealerList[i].id){
446
+              dealer_name = this.dealerList[i].dealer_name
447
+          }
448
+       }
449
+       return dealer_name
450
+     }, 
428 451
     getXuserName(id) {
429 452
       if (id <= 0) {
430 453
         return "";
@@ -625,7 +648,6 @@ export default {
625 648
         .catch(() => {});
626 649
     },
627 650
       exportList(){
628
-        console.log("hhhhhh",this.tableList)
629 651
         for(let i=0;i<this.tableList.length;i++){
630 652
           this.tableList[i].index = i+1
631 653
           this.tableList[i].good_name = this.tableList[i].GoodInfo.good_name
@@ -633,6 +655,8 @@ export default {
633 655
           this.tableList[i].packing_unit = this.tableList[i].GoodInfo.packing_unit
634 656
           this.tableList[i].total = this.getTotalCount(this.tableList[i].child)
635 657
           this.tableList[i].total_price = (this.tableList[i].total * this.tableList[i].price).toFixed(2)
658
+          this.tableList[i].manufacturer_name = this.getManufacturerNameOne(this.tableList[i].manufacturer)
659
+          this.tableList[i].dealer_name = this.getDealerNameOne(this.tableList[i].dealer)
636 660
 
637 661
         }
638 662
        var obj = {"index":"合计","total_price":0}
@@ -640,7 +664,7 @@ export default {
640 664
            obj.total_price +=this.tableList[i].total * this.tableList[i].price
641 665
        }
642 666
        obj.total_price = obj.total_price.toFixed(2)
643
-       console.log("obj23233",obj)
667
+      
644 668
        this.tableList.push(obj)
645 669
        import('@/vendor/Export2Excel').then(excel => {
646 670
        const tHeader = ['序号','耗材名称', '规格型号', '单位','数量','退库价','总价','备注']
@@ -669,7 +693,10 @@ export default {
669 693
           this.tableDataList[i].user_name = this.getXuserName(this.tableDataList[i].CancelStock.creater)
670 694
           this.tableDataList[i].out_count = this.tableDataList[i].count
671 695
           this.tableDataList[i].total_price = (this.tableDataList[i].count * this.tableDataList[i].price).toFixed(2)
696
+          this.tableDataList[i].manufacturer_name = this.getManufacturerNameOne(this.tableDataList[i].manufacturer)
697
+          this.tableDataList[i].dealer_name = this.getDealerNameOne(this.tableDataList[i].dealer)
672 698
           total += this.tableDataList[i].count * this.tableDataList[i].price
699
+
673 700
         }
674 701
         obj.total_price = total.toFixed(2)
675 702
         this.tableDataList.push(obj)

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

@@ -265,6 +265,8 @@ export default {
265 265
       tableDataList:[],
266 266
       houseList:[],
267 267
       storehouse_id:0,
268
+      manufacturerList:[],
269
+      dealerList:[],
268 270
     };
269 271
   },
270 272
   methods: {
@@ -345,6 +347,8 @@ export default {
345 347
             obj["is_total"] = 0;
346 348
             this.cancelStockDate.push(obj);
347 349
           }
350
+          this.manufacturerList = response.data.data.manufacturerList
351
+          this.dealerList = response.data.data.dealerList
348 352
 
349 353
           this.cancelStockDate.push({
350 354
             warehousing_order: "合计",
@@ -405,7 +409,9 @@ export default {
405 409
             this.cancelStockDate.push(obj);
406 410
           }
407 411
           this.tableDataList = response.data.data.list
408
-          console.log("表格发3223332322332332323232332233",this.cancelStockDate)
412
+          this.manufacturerList = response.data.data.manufacturerList
413
+          this.dealerList = response.data.data.dealerList
414
+        
409 415
 
410 416
           this.cancelStockDate.push({
411 417
             warehousing_order: "合计",
@@ -772,11 +778,13 @@ export default {
772 778
         for(let i=0;i<this.tableInfo.length;i++){
773 779
           this.tableInfo[i].index = i+1
774 780
           this.tableInfo[i].total_price = (this.tableInfo[i].warehousing_count * this.tableInfo[i].price).toFixed(2)
781
+          this.tableInfo[i].manufacturer_name = this.getManufactuerName(this.tableInfo[i].manufacturer)
782
+          this.tableInfo[i].dealer_name = this.getDealerName(this.tableInfo[i].dealer)
775 783
         }
776 784
 
777 785
         import('@/vendor/Export2Excel').then(excel => {
778
-        const tHeader = ['序号','耗材名称', '规格型号', '单位','数量','进货价','总价','备注']
779
-        const filterVal = ['index','good_name', 'specification_name', 'packing_unit','warehousing_count','price','total_price','remark']
786
+        const tHeader = ['序号','耗材名称', '规格型号','生产厂商','进销商', '单位','数量','进货价','总价','备注']
787
+        const filterVal = ['index','good_name', 'specification_name','manufacturer_name','dealer_name', 'packing_unit','warehousing_count','price','total_price','remark']
780 788
 
781 789
 
782 790
         const data = this.formatJson(filterVal, this.tableInfo)
@@ -790,10 +798,29 @@ export default {
790 798
             this.downloadLoading = false
791 799
         })
792 800
       },
801
+        getManufacturerName(id){
802
+          var manufacturer_name = ""
803
+          for(let i=0;i<this.manufacturerList.length;i++){
804
+            if(id == this.manufacturerList[i].id){
805
+              manufacturer_name = this.manufacturerList[i].manufacturer_name
806
+            }
807
+          }
808
+          return manufacturer_name
809
+      },
810
+      getDealerName(id){
811
+        var dealer_name = ""
812
+        for(let i=0;i<this.dealerList.length;i++){
813
+            if(id == this.dealerList[i].id){
814
+                dealer_name = this.dealerList[i].dealer_name
815
+            }
816
+        }
817
+        return dealer_name
818
+      }, 
793 819
       exportListDetal(){
794 820
 
795 821
         var obj = {index:"合计",total_price:0}
796 822
         var total = 0
823
+        console.log("wowowows",this.tableDataList)
797 824
         for(let i=0;i<this.tableDataList.length;i++){
798 825
           this.tableDataList[i].index = i + 1
799 826
           this.tableDataList[i].good_type_name = this.typeName(this.tableDataList[i].good_type_id)
@@ -802,18 +829,21 @@ export default {
802 829
           this.tableDataList[i].time = this.getTime(this.tableDataList[i].Warehousing.warehousing_time)
803 830
           this.tableDataList[i].user_name = this.getXuserName(this.tableDataList[i].Warehousing.creater)
804 831
           this.tableDataList[i].total_price = (this.tableDataList[i].warehousing_count * this.tableDataList[i].price).toFixed(2)
832
+          this.tableDataList[i].manufacturer_name = this.getManufactuerName(this.tableDataList[i].manufacturer)
833
+          this.tableDataList[i].dealer_name = this.getDealerName(this.tableDataList[i].dealer)
805 834
           total += this.tableDataList[i].warehousing_count * this.tableDataList[i].price
835
+          
806 836
         }
807 837
         obj.total_price = total.toFixed(2)
808 838
         this.tableDataList.push(obj)
839
+      
809 840
         import('@/vendor/Export2Excel').then(excel => {
810
-        const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','操作时间','制单人','进货价','数量','总价']
811
-        const filterVal = ['index','warehousing_order', 'good_type_name', 'good_name','specification_name','time','user_name','price','warehousing_count','total_price']
841
+        const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','操作时间','制单人','进货价','数量','总价']
842
+        const filterVal = ['index','warehousing_order', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','time','user_name','price','warehousing_count','total_price']
812 843
 
813 844
 
814 845
         const data = this.formatJson(filterVal, this.tableDataList)
815 846
 
816
-
817 847
           excel.export_json_to_excel({
818 848
             header: tHeader,
819 849
             data,

+ 43 - 5
src/xt_pages/stock/detail/stockOutDetail.vue View File

@@ -117,6 +117,13 @@
117 117
           </template>
118 118
         </el-table-column>
119 119
 
120
+
121
+        <el-table-column label="生产厂商" align="center">
122
+          <template slot-scope="scope">
123
+            {{ getManufactuerName(scope.row.manufacturer) }}
124
+          </template>
125
+        </el-table-column>
126
+
120 127
         <!-- <el-table-column label="单据类型" align="center">
121 128
           <template slot-scope="scope">
122 129
             {{ getTypeName(scope.row) }}
@@ -271,6 +278,8 @@ export default {
271 278
       storehouse_id:0,
272 279
       houseList:[],
273 280
       wareOutList:[],
281
+      manufacturerList:[],
282
+      dealerList:[],
274 283
     };
275 284
   },
276 285
   methods: {
@@ -431,6 +440,8 @@ export default {
431 440
           }
432 441
 
433 442
           this.tableDataList = response.data.data.list
443
+          this.manufacturerList = response.data.data.manufacturerList
444
+          this.dealerList = response.data.data.dealerList
434 445
 
435 446
           this.cancelStockDate.push(objOne);
436 447
 
@@ -531,6 +542,25 @@ export default {
531 542
         }
532 543
       });
533 544
     },
545
+    getManufacturerNameOne(id){
546
+        var manufacturer_name = ""
547
+        for(let i=0;i<this.manufacturerList.length;i++){
548
+          if(id == this.manufacturerList[i].id){
549
+            manufacturer_name = this.manufacturerList[i].manufacturer_name
550
+          }
551
+        }
552
+        return manufacturer_name
553
+     },
554
+     getDealerNameOne(id){
555
+       var dealer_name = ""
556
+     
557
+       for(let i=0;i<this.dealerList.length;i++){
558
+          if(id == this.dealerList[i].id){
559
+              dealer_name = this.dealerList[i].dealer_name
560
+          }
561
+       }
562
+       return dealer_name
563
+     }, 
534 564
     getManufactuerName: function(manufacturer_id) {
535 565
       for (let i = 0; i < this.manufacturer.length; i++) {
536 566
         if (this.manufacturer[i].id == manufacturer_id) {
@@ -851,11 +881,16 @@ export default {
851 881
         if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919 && this.orgId!=0&& this.orgId!=10402 && this.orgId != 10489 && this.orgId!=10375 && this.orgId!=10485){
852 882
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
853 883
         }
884
+        this.tableOut[i].manufacturer_name = this.getManufacturerNameOne(this.tableOut[i].manufacturer)
885
+        console.log("继续桑",this.tableOut[i].dealer)
886
+        this.tableOut[i].dealer_name = this.getDealerNameOne(this.tableOut[i].dealer)
854 887
        }
888
+       console.log("retusoossoso",this.tableOut)
889
+       
855 890
        import('@/vendor/Export2Excel').then(excel => {
856
-       const tHeader = ['序号','耗材名称', '规格型号', '单位','数量','出货价','总价','出库时间','备注']
891
+       const tHeader = ['序号','耗材名称', '规格型号','生产厂商','进销商', '单位','数量','出货价','总价','出库时间','备注']
857 892
 
858
-       const filterVal = ['index','good_name', 'specification_name', 'packing_unit','out_count','packing_price','total_price','ctime','remark']
893
+       const filterVal = ['index','good_name', 'specification_name', 'manufacturer_name','dealer_name','packing_unit','out_count','packing_price','total_price','ctime','remark']
859 894
 
860 895
        const data = this.formatJson(filterVal, this.tableOut)
861 896
 
@@ -880,6 +915,8 @@ export default {
880 915
           this.tableDataList[i].time = this.getTime(this.tableDataList[i].WarehouseOut.warehouse_out_time)
881 916
           this.tableDataList[i].user_name = this.getXuserName(this.tableDataList[i].WarehouseOut.creater)
882 917
           this.tableDataList[i].out_count = this.tableDataList[i].count
918
+          this.tableDataList[i].manufacturer_name = this.getManufacturerNameOne(this.tableDataList[i].GoodInfo.manufacturer)
919
+          this.tableDataList[i].dealer_name = this.getDealerNameOne(this.tableDataList[i].GoodInfo.dealer)
883 920
           if(this.orgId == 9919){
884 921
              this.tableDataList[i].total_price = (this.tableDataList[i].count * this.tableDataList[i].GoodInfo.buy_price).toFixed(2)
885 922
              total += this.tableDataList[i].count * this.tableDataList[i].buy_price
@@ -891,11 +928,12 @@ export default {
891 928
 
892 929
         }
893 930
         obj.total_price = total.toFixed(2)
894
-
931
+        console.log("WOHHAHHAHAH",this.tableDataList)
932
+      
895 933
         this.tableDataList.push(obj)
896 934
        import('@/vendor/Export2Excel').then(excel => {
897
-       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','操作时间','制单人','出货价','数量','总价']
898
-       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','time','user_name','price','out_count','total_price']
935
+       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','操作时间','制单人','出货价','数量','总价']
936
+       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','time','user_name','price','out_count','total_price']
899 937
 
900 938
        const data = this.formatJson(filterVal, this.tableDataList)
901 939
 

+ 37 - 14
src/xt_pages/stock/drugs/components/drugCancelDetail.vue View File

@@ -235,6 +235,8 @@ export default {
235 235
       tableList:[],
236 236
       tableDataList:[],
237 237
       drugTypeList:[],
238
+      dealerList:[],
239
+      manufacturerList:[]
238 240
     };
239 241
   },
240 242
   methods: {
@@ -348,6 +350,8 @@ export default {
348 350
          if(response.data.state == 1){
349 351
            var order =  response.data.data.order
350 352
            var list = response.data.data.orderPrint
353
+           this.dealerList =  response.data.data.dealerList
354
+           this.manufacturerList =  response.data.data.manufacturerList
351 355
            //this.drugTypeList = response.data.data.drugTypeList
352 356
            for(let i=0;i<list.length;i++){
353 357
              list[i].child = []
@@ -356,15 +360,21 @@ export default {
356 360
                   list[i].child.push(order[j])
357 361
                }
358 362
             }
363
+            list[i].manufacturer_name = this.getManufacturerName(list[i].manufacturer)
364
+            list[i].dealer_name = this.getDealerName(list[i].dealer)
359 365
            }
360 366
            this.tableDataList = list
367
+           console.log("数据我我我",this.tableDataList)
361 368
            var total_price = 0
362 369
           for(let i=0;i<order.length;i++){
363 370
              order[i].specification_name  = order[i].dose + order[i].dose_unit + "*" + order[i].min_number +  order[i].min_unit + "/" + order[i].max_unit
364 371
              order[i].is_total = 0
365 372
              order[i].total_price = order[i].count * order[i].price
366 373
              total_price += order[i].count * order[i].price
374
+             order[i].manufacturer_name = this.getManufacturerName(order[i].manufacturer)
375
+             order[i].dealer_name = this.getDealerName(order[i].dealer)
367 376
           }
377
+
368 378
            order.push({
369 379
             order_number: "合计",
370 380
             is_total: 1,
@@ -380,7 +390,24 @@ export default {
380 390
          }
381 391
       })
382 392
     },
383
-
393
+    getManufacturerName(id){
394
+        var manufacturer_name = ""
395
+        for(let i=0;i<this.manufacturerList.length;i++){
396
+          if(id == this.manufacturerList[i].id){
397
+            manufacturer_name = this.manufacturerList[i].manufacturer_name
398
+          }
399
+        }
400
+        return manufacturer_name
401
+     },
402
+     getDealerName(id){
403
+       var dealer_name = ""
404
+       for(let i=0;i<this.dealerList.length;i++){
405
+          if(id == this.dealerList[i].id){
406
+              dealer_name = this.dealerList[i].dealer_name
407
+          }
408
+       }
409
+       return dealer_name
410
+     }, 
384 411
      getAdminUser(id){
385 412
       var name = ""
386 413
       for(let i=0;i<this.adminUserOptions.length;i++){
@@ -418,8 +445,8 @@ export default {
418 445
           this.tableDataList[i].ctime = this.getTime(this.tableDataList[i].ctime)
419 446
         }
420 447
        import('@/vendor/Export2Excel').then(excel => {
421
-        const tHeader = ['序号','单据编号', '药品名称', '规格型号','单据类型','操作时间','制单人','数量','退库价','总价']
422
-        const filterVal = ['index','order_number','drug_name', 'specification_name', 'drug_type','ctime','user_name','total_count','price','total_price']
448
+        const tHeader = ['序号','单据编号', '药品名称', '规格型号','生产厂商','进销商','单据类型','操作时间','制单人','数量','退库价','总价']
449
+        const filterVal = ['index','order_number','drug_name', 'specification_name','manufacturer_name','dealer_name', 'drug_type','ctime','user_name','total_count','price','total_price']
423 450
 
424 451
         const data = this.formatJson(filterVal, this.tableDataList)
425 452
 
@@ -436,8 +463,8 @@ export default {
436 463
      },
437 464
     exportListOne(){
438 465
       // let obj = {'index':'合计','total_price':0}
439
-      console.log("@332322323232332",this.tableList)
440
-
466
+    
467
+ 
441 468
        for(let i=0;i<this.tableList.length;i++){
442 469
           this.tableList[i].index = i+1
443 470
           this.tableList[i].unit = this.tableList[i].dose + this.tableList[i].dose_unit + "*"+this.tableList[i].min_number + this.tableList[i].min_unit+"/"+this.tableList[i].max_unit
@@ -453,17 +480,13 @@ export default {
453 480
           this.tableList[i].time = this.getTime(this.tableList[i].ctime)
454 481
           this.tableList[i].user_name = this.getAdminUser(this.tableList[i].creater)
455 482
 
456
-          //this.tableList[i].total_price = this.tableList[i].count * this.tableList[i].price
457
-          //  obj.total_price += this.tableList[i].count * this.tableList[i].price
458 483
         }
459
-      //   obj.total_price = obj.total_price.toFixed(2)
460
-      //  this.tableList.push(obj)
461
-      //  for(let i=0;i<this.tableData.length;i++){
462
-      //    this.tableData[i].total_price = (this.tableData[i].total_price).toFixed(2)
463
-      //  }
484
+    
485
+      console.log("@332322323232332",this.tableList)
486
+      
464 487
        import('@/vendor/Export2Excel').then(excel => {
465
-       const tHeader = ['序号','单据编号', '药品类型','药品名称', '规格型号','操作时间','制单人','退货价','数量','总价']
466
-       const filterVal = ['index','order_number','drugtype','drug_name', 'specification_name', 'time','user_name','price','count','total_price']
488
+       const tHeader = ['序号','单据编号', '药品类型','药品名称', '规格型号','生产厂商','进销商','操作时间','制单人','退货价','数量','总价']
489
+       const filterVal = ['index','order_number','drugtype','drug_name', 'specification_name','manufacturer_name','dealer_name', 'time','user_name','price','count','total_price']
467 490
 
468 491
        const data = this.formatJson(filterVal, this.tableList)
469 492
 

+ 33 - 8
src/xt_pages/stock/drugs/components/drugInOrder.vue View File

@@ -449,6 +449,8 @@ export default {
449 449
             var list = response.data.data.list
450 450
           
451 451
             this.tabelePrintList = list
452
+            this.manufacturerList = response.data.data.manufacturerList
453
+            this.dealerList = response.data.data.dealerList
452 454
           }   
453 455
       })
454 456
     },
@@ -470,17 +472,19 @@ export default {
470 472
       return name
471 473
     },
472 474
      exportList(){
473
-       
475
+        
476
+       console.log("tablePrintlist",this.tabelePrintList)
477
+      
474 478
         for(let i=0;i<this.tabelePrintList.length;i++){
475 479
           this.tabelePrintList[i].index = i+1
476 480
           this.tabelePrintList[i].drug_name = this.tabelePrintList[i].XtBaseDrug.drug_name
477
-
481
+          this.tabelePrintList[i].manufacturer_name = this.getManufacturerName(this.tabelePrintList[i].manufacturer)
482
+          this.tabelePrintList[i].dealer_name = this.getDealerName(this.tabelePrintList[i].dealer)
478 483
           this.tabelePrintList[i].unit = this.tabelePrintList[i].XtBaseDrug.dose + this.tabelePrintList[i].XtBaseDrug.dose_unit + "*" + this.tabelePrintList[i].XtBaseDrug.min_number +this.tabelePrintList[i].XtBaseDrug.min_unit +"/"+this.tabelePrintList[i].XtBaseDrug.max_unit
479 484
         }
480
-        
481 485
        import('@/vendor/Export2Excel').then(excel => {
482
-       const tHeader = ['序号','药品名称', '规格型号', '单位','数量','单价','总价','备注']
483
-       const filterVal = ['index','drug_name', 'unit', 'max_unit','warehousing_count','price','total_price','remark']
486
+       const tHeader = ['序号','药品名称', '规格型号','生产厂商','经销商', '单位','数量','单价','总价','备注']
487
+       const filterVal = ['index','drug_name', 'unit','manufacturer_name','dealer_name', 'max_unit','warehousing_count','price','total_price','remark']
484 488
        let obj = {'index':'合计','total_price':0}
485 489
        for(let i=0;i<this.tabelePrintList.length;i++){
486 490
          obj.total_price += this.tabelePrintList[i].price * this.tabelePrintList[i].warehousing_count
@@ -503,21 +507,42 @@ export default {
503 507
      formatJson(filterVal, jsonData) {
504 508
         return jsonData.map(v => filterVal.map(j => v[j]));
505 509
      },
510
+     getManufacturerName(id){
511
+        var manufacturer_name = ""
512
+        for(let i=0;i<this.manufacturerList.length;i++){
513
+          if(id == this.manufacturerList[i].id){
514
+            manufacturer_name = this.manufacturerList[i].manufacturer_name
515
+          }
516
+        }
517
+        return manufacturer_name
518
+     },
519
+     getDealerName(id){
520
+       var dealer_name = ""
521
+       for(let i=0;i<this.dealerList.length;i++){
522
+          if(id == this.dealerList[i].id){
523
+              dealer_name = this.dealerList[i].dealer_name
524
+          }
525
+       }
526
+       return dealer_name
527
+     }, 
506 528
      exportListDetail(){
507 529
        
508 530
        import('@/vendor/Export2Excel').then(excel => {
509
-       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','操作时间','制单人','进货价','数量','总价']
510
-       const filterVal = ['index','warehousing_order','drugtype','drug_name', 'specification_name','time','user_name','price','warehousing_count','total']
531
+       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','操作时间','制单人','进货价','数量','总价']
532
+       const filterVal = ['index','warehousing_order','drugtype','drug_name', 'specification_name','manufacturer_name','dealer_name','time','user_name','price','warehousing_count','total']
511 533
 
512 534
        var newArr = []
513 535
        newArr = this.cancelStockDate
536
+       console.log("newArrwowowowoow",newArr)
537
+     
514 538
        let obj = {'index':'合计','total':0}
515 539
        for(let i=0;i<newArr.length;i++){
516 540
           newArr.specification_name = ""
517 541
           newArr.index = i+1
518 542
          newArr[i].drugtype = this.getTypeList(newArr[i].drug_type)
519 543
          newArr[i].specification_name = newArr[i].dose + newArr[i].dose_unit +"*" + newArr[i].min_number + newArr[i].min_unit +  "/" + newArr[i].max_unit
520
-
544
+         newArr[i].manufacturer_name = this.getManufacturerName(newArr[i].manufacturer)
545
+         newArr[i].dealer_name = this.getDealerName(newArr[i].dealer)
521 546
          newArr[i].time = this.getTime(newArr[i].ctime)
522 547
          newArr[i].user_name = this.getAdminUser(newArr[i].creater)
523 548
          newArr[i].total = (newArr[i].price * newArr[i].warehousing_count).toFixed(2)

+ 40 - 7
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

@@ -122,6 +122,12 @@
122 122
           </template>
123 123
         </el-table-column>
124 124
 
125
+        <el-table-column label="生产厂商" align="center">
126
+          <template slot-scope="scope">
127
+           {{getManufacturerName(scope.row.manufacturer)}}
128
+          </template>
129
+        </el-table-column>
130
+
125 131
 
126 132
         <el-table-column label="操作时间" align="center">
127 133
           <template slot-scope="scope">
@@ -274,6 +280,8 @@ export default {
274 280
       drugTypeList:[],
275 281
       storehouse_id:0,
276 282
       houseList:[],
283
+      dealerList:[],
284
+      manufacturerList:[]
277 285
     };
278 286
   },
279 287
   methods: {
@@ -576,6 +584,8 @@ export default {
576 584
         for(let i=0;i<this.tablePrint.length;i++){
577 585
           this.tablePrint[i].index = i+1
578 586
           this.tablePrint[i].ctime = this.getTime(this.tablePrint[i].ctime)
587
+          this.tablePrint[i].manufacturer_name = this.getManufacturerName(this.tablePrint[i].manufacturer)
588
+          this.tablePrint[i].dealer_name = this.getDealerName(this.tablePrint[i].dealer)
579 589
         }
580 590
         for(let i=0;i<this.tablePrint.length;i++){
581 591
            if(this.org_id == 9919 || this.org_id == 9671){
@@ -594,8 +604,8 @@ export default {
594 604
 
595 605
 
596 606
        import('@/vendor/Export2Excel').then(excel => {
597
-       const tHeader = ['序号','药品名称', '规格型号', '单位','数量','单价','总价','出库时间','备注']
598
-       const filterVal = ['index','drug_name', 'unit', 'min_unit','count','min_price','total_price','ctime','remark']
607
+       const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
608
+       const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','min_unit','count','min_price','total_price','ctime','remark']
599 609
        let obj = {'index':'合计','total_price':0.00}
600 610
        for(let i=0;i<this.tablePrint.length;i++){
601 611
          obj.total_price += this.tablePrint[i].total
@@ -619,8 +629,8 @@ export default {
619 629
      },
620 630
     exportListDetai(){
621 631
       import('@/vendor/Export2Excel').then(excel => {
622
-       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','操作时间','制单人','出货价','数量','总价']
623
-       const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','time','user_name','price','count','total_price']
632
+       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','操作时间','制单人','出货价','数量','总价']
633
+       const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','manufacturer_name','dealer_name','time','user_name','price','count','total_price']
624 634
        for(let i=0;i<this.tableData.length;i++){
625 635
          if(this.tableData[i].is_total == 0){
626 636
             this.tableData[i].index = i+1
@@ -633,10 +643,11 @@ export default {
633 643
             if(this.tableData[i].drug_type == 3){
634 644
               this.tableData[i].drugtype = "成药"
635 645
             }
636
-            // this.tableData[i].drugtype = this.getTypeList(this.tableData[i].drugtype)
637 646
             this.tableData[i].specification_name = this.tableData[i].dose + this.tableData[i].dose_unit +"*" + this.tableData[i].min_number + this.tableData[i].min_unit +  "/" + this.tableData[i].max_unit
638 647
             this.tableData[i].time = this.getTime(this.tableData[i].ctime)
639 648
             this.tableData[i].user_name = this.getAdminUser(this.tableData[i].creater)
649
+            this.tableData[i].manufacturer_name = this.getManufacturerName(this.tableData[i].manufacturer)
650
+            this.tableData[i].dealer_name = this.getDealerName(this.tableData[i].dealer)
640 651
             if(this.org_id == 9919){
641 652
               this.tableData[i].total = (this.tableData[i].count * this.tableData[i].last_price)
642 653
               if(this.tableData[i].count >=this.tableData[i].min_number){
@@ -670,7 +681,24 @@ export default {
670 681
           this.downloadLoading = false
671 682
       })
672 683
     },
673
-
684
+    getManufacturerName(id){
685
+        var manufacturer_name = ""
686
+        for(let i=0;i<this.manufacturerList.length;i++){
687
+          if(id == this.manufacturerList[i].id){
688
+            manufacturer_name = this.manufacturerList[i].manufacturer_name
689
+          }
690
+        }
691
+        return manufacturer_name
692
+     },
693
+     getDealerName(id){
694
+       var dealer_name = ""
695
+       for(let i=0;i<this.dealerList.length;i++){
696
+          if(id == this.dealerList[i].id){
697
+              dealer_name = this.dealerList[i].dealer_name
698
+          }
699
+       }
700
+       return dealer_name
701
+     }, 
674 702
     getBaseDrugLibList() {
675 703
         let params = {
676 704
           page: 1,
@@ -704,7 +732,8 @@ export default {
704 732
      getDrugOutOrderPrint(params).then(response=>{
705 733
         if(response.data.state == 1){
706 734
             var list = response.data.data.list
707
-         
735
+            this.dealerList = response.data.data.dealerList
736
+            this.manufacturerList = response.data.data.manufacturerList
708 737
             let objInfo = {}
709 738
             if(this.org_id == 9919){
710 739
               list.forEach((item,index)=>{
@@ -726,6 +755,8 @@ export default {
726 755
                   max_unit:item.XtBaseDrug.max_unit,
727 756
                   min_price:item.XtBaseDrug.min_price,
728 757
                   ctime:item.ctime,
758
+                  manufacturer:item.manufacturer,
759
+                  dealer:item.dealer,
729 760
                 }
730 761
               }
731 762
              })
@@ -749,6 +780,8 @@ export default {
749 780
                   max_unit:item.XtBaseDrug.max_unit,
750 781
                   min_price:item.XtBaseDrug.min_price,
751 782
                   ctime:item.ctime,
783
+                  manufacturer:item.manufacturer,
784
+                  dealer:item.dealer,
752 785
                 }
753 786
               }
754 787
             })

+ 4 - 0
src/xt_pages/stock/drugs/inventoryDetails.vue View File

@@ -158,6 +158,10 @@ export default {
158 158
             this.$router.push({path:'/stock/drugs/inventoryPrint'}) 
159 159
         },
160 160
         print_1(){
161
+           if(this.ids == ""){
162
+             this.$message.error("请勾选需要打印的内容")
163
+             return false
164
+           }
161 165
            this.$router.push({path:'/stock/drugs/print?storehouse_id='+this.storehouse_id+"&drug_name="+this.searchKey+"&limit="+this.limit+"&page="+this.page+"&ids="+this.ids}) 
162 166
         },
163 167
         handleSizeChange(val){

+ 4 - 0
src/xt_pages/stock/inventoryDetails.vue View File

@@ -145,6 +145,10 @@ export default {
145 145
     },
146 146
     methods:{
147 147
         toprint(){
148
+          if(this.ids == ""){
149
+             this.$message.error("请勾选需要打印的内容")
150
+             return false
151
+          }              
148 152
           this.$router.push({path:'/stock/print_all?storehouse_id='+this.storehouse_id+"&good_name="+this.searchKey+"&limit="+this.limit+"&page="+this.page+"&ids="+this.ids})
149 153
         },
150 154
 

+ 4 - 4
src/xt_pages/user/components/PatientForm.vue View File

@@ -1668,11 +1668,11 @@ export default {
1668 1668
             if(this.form.patient_source >0){
1669 1669
               this.form.patient_source = parseInt(this.form.patient_source)
1670 1670
             }else{
1671
-              this.form.patient_source = 4
1671
+              this.form.patient_source = 1
1672 1672
             }
1673 1673
 
1674 1674
             if(this.form.patient_source == "NaN"){
1675
-              this.form.patient_source = 4
1675
+              this.form.patient_source = 1
1676 1676
             }
1677 1677
             
1678 1678
           
@@ -1719,11 +1719,11 @@ export default {
1719 1719
             if(this.form.patient_source >0){
1720 1720
               this.form.patient_source = parseInt(this.form.patient_source)
1721 1721
             }else{
1722
-              this.form.patient_source = 4
1722
+              this.form.patient_source = 1
1723 1723
             }
1724 1724
 
1725 1725
             if(this.form.patient_source == "NaN"){
1726
-              this.form.patient_source = 4
1726
+              this.form.patient_source = 1
1727 1727
             }
1728 1728
             console.log("form233322332w",this.form)
1729 1729
 

+ 7 - 11
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue View File

@@ -13,7 +13,7 @@
13 13
                 </div>
14 14
 
15 15
                 <div>
16
-                    <table class="table" border="1" style="width: 100%;">
16
+                    <table class="table" id="table" border="1" style="width: 100%;">
17 17
                         <thead>
18 18
                             <tr>
19 19
                             <th style="width:10%;">项目</th>
@@ -28,7 +28,7 @@
28 28
                                 <td class="start">年龄</td>
29 29
                                 <td>
30 30
                                     <div class="jiange">
31
-                                        <label><input name="ball" type="checkbox" value="football" />&nbsp;>1岁~≤3岁</label>
31
+                                        <label><input name="ball" type="checkbox" value="football" @change="checkboxChange"/>&nbsp;>1岁~≤3岁</label>
32 32
                                     </div>
33 33
                                 </td>
34 34
                                 <td><div class="jiange">
@@ -239,15 +239,11 @@ export default {
239 239
         }
240 240
     },
241 241
     methods:{
242
-    //     arraySpanMethod({ row, column, rowIndex, columnIndex }) {
243
-    //     if (rowIndex % 2 === 0) {
244
-    //       if (columnIndex === 0) {
245
-    //         return [1, 2];
246
-    //       } else if (columnIndex === 1) {
247
-    //         return [0, 0];
248
-    //       }
249
-    //     }
250
-    //   },
242
+      checkboxChange(){
243
+        var table = document.getElementById('table')
244
+        var row=table.rows
245
+        console.log('33333',row);
246
+      }
251 247
     }
252 248
 }
253 249
 </script>

+ 27 - 40
src/xt_pages/user/evaluationtool/pruritusAssessment.vue View File

@@ -179,51 +179,38 @@ export default {
179 179
       radiochecked(e){
180 180
         const bal=e
181 181
         const jiequ =(bal.split('(')[1].split(')')[0]) * 1
182
-        if(e == this.radio1 && this.ball == ''){
182
+        if(e == this.radio1 && this.ball == '' && this.radio2 =='' && this.radio3 ==''){
183 183
           this.radio1_points =jiequ
184 184
           this.pruritus_Totalpoints =jiequ
185
-        }else if(e == this.radio1 && this.ball != ''){
185
+        }else if(e == this.radio1 && this.ball != '' && this.radio3 !='' && this.radio2 !=''){
186
+          this.radio1_points =jiequ
187
+          this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
188
+        }else if(e == this.radio1 && (this.ball != '' || this.radio3 !='' || this.radio2 !='')){
186 189
           this.radio1_points =jiequ
187 190
           this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
188 191
         }
189
-      //   if(e==this.radio1 && this.radio2 =='' && this.radio3 ==''){
190
-      //   var duct_touguan = jiequ
191
-      //    console.log('111111',duct_touguan);
192
-      //    this.pruritus_Totalpoints = duct_touguan
193
-      //    return duct_touguan
194
-      //  } else if(e==this.radio1 && this.radio2 !='' && this.radio3 !=''){
195
-      //    console.log('2222222222');
196
-      //    this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
197
-      //    return this.pruritus_Totalpoints
198
-      //  }else if(e==this.radio1 && (this.radio2 !='' || this.radio3 !='')){
199
-      //   //  console.log('5555555',duct_touguan,this.pruritus_Totalpoints);
200
-      //    this.pruritus_Totalpoints = this.pruritus_Totalpoints - duct_touguan
201
-      //    this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
202
-      //    return this.pruritus_Totalpoints
203
-      //  }
204
- 
205
-      //  if(e==this.radio2 && this.radio1 !='' && this.radio3 !=''){
206
-      //    console.log('333333');
207
-      //    this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
208
-      //    return this.pruritus_Totalpoints
209
-      //  }else if(e==this.radio2 && (this.radio1 !='' || this.radio3 !='')){
210
-      //    this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
211
-      //    return this.pruritus_Totalpoints
212
-      //  }
213
-      //  else if(e==this.radio2 && this.radio1 =='' && this.radio3 ==''){
214
-      //    console.log('444444444');
215
-      //    this.pruritus_Totalpoints= jiequ
216
-      //  }
217
- 
218
-      //  if(e==this.radio3 && this.radio2 !='' && this.radio1 !=''){
219
-      //    this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
220
-      //    return this.pruritus_Totalpoints
221
-      //  }else if(e==this.radio3 && (this.radio2 !='' || this.radio1 !='')){
222
-      //    this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
223
-      //    return this.pruritus_Totalpoints
224
-      //  }else{
225
-      //    this.pruritus_Totalpoints= jiequ
226
-      //  }
192
+
193
+        if(e == this.radio2 && this.radio1 =='' && this.radio3 =='' && this.ball == '') {
194
+          this.radio2_points =jiequ
195
+          this.pruritus_Totalpoints =jiequ
196
+        }else if(e == this.radio2 && this.radio1 !='' && this.radio3 !='' && this.ball != ''){
197
+          this.radio2_points =jiequ
198
+          this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
199
+        }else if(e == this.radio2 && (this.radio1 !=''|| this.radio3 =='' || this.ball != '')){
200
+          this.radio2_points =jiequ
201
+          this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
202
+        }
203
+
204
+        if(e==this.radio3 && this.radio1 =='' && this.radio2 ==''&& this.ball == ''){
205
+          this.radio3_points =jiequ
206
+          this.pruritus_Totalpoints =jiequ
207
+       } else if(e==this.radio3 && this.radio1 !='' && this.radio2 !='' && this.ball != ''){
208
+          this.radio3_points =jiequ
209
+          this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
210
+       }else if(e==this.radio3 && (this.radio1 !='' || this.radio2 !='' || this.ball != '')){
211
+        this.radio2_points =jiequ
212
+          this.pruritus_Totalpoints = this.pruritus_Totalpoints + jiequ
213
+       }
227 214
       }
228 215
     }
229 216
 }

+ 2 - 2
src/xt_pages/workforce/appointment.vue View File

@@ -735,7 +735,6 @@ export default {
735 735
           '机号'
736 736
         ]
737 737
         if (this.export_type == 0) {
738
-
739 738
           const multiHeader = [['区号', '机号', '周一' + "(" + this.days[0] + ")", '', '', '周二' + "(" + this.days[1] + ")", '', '', '周三' + "(" + this.days[2] + ")", '', '', '周四' + "(" + this.days[3] + ")", '', '', '周五' + "(" + this.days[4] + ")", '', '', '周六' + "(" + this.days[5] + ")", '', '', '周日' + "(" + this.days[6] + ")", '', '', '周一' + "(" + this.days[7] + ")", '', '', '周二' + "(" + this.days[8] + ")", '', '', '周三' + "(" + this.days[9] + ")", '', '', '周四' + "(" + this.days[10] + ")", '', '', '周五' + "(" + this.days[11] + ")", '', '', '周六' + "(" + this.days[12] + ")", '', '', '周日' + "(" + this.days[13] + ")", '', '', '周一' + "(" + this.days[14] + ")", '', '', '周二' + "(" + this.days[15] + ")", '', '', '周三' + "(" + this.days[16] + ")", '', '', '周四' + "(" + this.days[17] + ")", '', '', '周五' + "(" + this.days[18] + ")", '', '', '周六' + "(" + this.days[19] + ")", '', '', '周日' + "(" + this.days[20] + ")", '', '']]
740 739
           const header = ['', '', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上', '上午', '下午', '晚上']
741 740
           const merges = ['A1:A2', 'B1:B2', 'C1:E1', 'F1:H1', 'I1:K1', 'L1:N1', 'O1:Q1', 'R1:T1', 'U1:W1', 'X1:Z1', 'AA1:AC1', 'AD1:AF1', 'AG1:AI1', 'AJ1:AL1', 'AM1:AO1', 'AP1:AR1', 'AS1:AU1', 'AV1:AX1', 'AY1:BA1', 'BB1:BD1', 'BE1:BG1', 'BH1:BJ1', 'BK1:BM1']
@@ -770,7 +769,8 @@ export default {
770 769
           })
771 770
 
772 771
           const filename = '排班模版'
773
-
772
+         
773
+          
774 774
           excel.export_json_to_excel({
775 775
             multiHeader,
776 776
             header,

+ 34 - 37
src/xt_pages/workforce/scheduleTablePrintTwo.vue View File

@@ -6,7 +6,7 @@
6 6
         <el-button  type="primary" @click="printAction">打印</el-button>
7 7
       </div>
8 8
       <div class="tab" style="margin-top: 10px;">
9
-        <table id="scheduleTable" class="scheduleTable" border="1" cellspacing="0" style='width: 100%;table-layout:fixed;text-align: center;'>
9
+        <table id="scheduleTable" class="scheduleTable" border="1" cellspacing="0" style='width: 100%;table-layout:fixed;text-align: center;word-break: break-all;word-wrap: break-word;'>
10 10
             <tr>
11 11
                 <td rowspan="2">分区</td>
12 12
                 <td rowspan="2">机号</td>
@@ -45,35 +45,35 @@
45 45
             <tr v-for="(item,index) in scheduleZone" :key="index">
46 46
                 <td style="min-width:50px;">{{ item.area }}</td>
47 47
                 <td style="min-width:50px;">{{ item.cut }}</td>
48
-                <td style="width:50px;" v-if="first_day == 1">
49
-                    <span v-if="item.Mon_M.patient_id">
50
-                        <span>{{ item.Mon_M.patient }} </span><br/>
51
-                        <span >{{ item.Mon_M.mode_name }}</span><br/>
52
-                        <span v-show="showflag">{{item.Mon_M.dialysis_machine_name}}</span>
53
-                    </span>
48
+                <td style="min-width:50px;" v-if="first_day == 1">
49
+                  <span v-if="item.Mon_M.patient_id">
50
+                    <span>{{ item.Mon_M.patient }} </span><br/>
51
+                    <span >{{ item.Mon_M.mode_name }}</span><br/>
52
+                    <span v-show="showflag">{{item.Mon_M.dialysis_machine_name}}</span>
53
+                  </span>
54 54
                 </td>
55
-                <td style="width:50px;" v-if="first_day == 1">
56
-                    <span v-if="item.Mon_A.patient_id">
57
-                        <span>{{ item.Mon_A.patient }} </span><br/>
58
-                        <span >{{ item.Mon_A.mode_name }}</span><br/>
59
-                       <span v-show="showflag">{{item.Mon_A.dialysis_machine_name}}</span>
60
-                    </span>
55
+                <td style="min-width:50px;" v-if="first_day == 1">
56
+                  <span v-if="item.Mon_A.patient_id">
57
+                    <span>{{ item.Mon_A.patient }} </span><br/>
58
+                    <span >{{ item.Mon_A.mode_name }}</span><br/>
59
+                    <span v-show="showflag">{{item.Mon_A.dialysis_machine_name}}</span>
60
+                  </span>
61 61
                 </td>
62
-                <td style="width:50px;" v-if="first_day == 1">
62
+                <td style="min-width:50px;" v-if="first_day == 1">
63 63
                     <span v-if="item.Mon_N.patient_id">
64 64
                         <span>{{ item.Mon_N.patient }} </span><br/>
65 65
                         <span >{{ item.Mon_N.mode_name }}</span><br/>
66 66
                         <span v-show="showflag">{{item.Mon_N.dialysis_machine_name}}</span>
67 67
                     </span>
68 68
                 </td>
69
-                <td style="width:50px;"  v-if="second_day == 2">
69
+                <td style="min-width:50px;"  v-if="second_day == 2">
70 70
                     <span v-if="item.Tue_M.patient_id">
71 71
                         <span>{{ item.Tue_M.patient }} </span><br/>
72 72
                         <span >{{ item.Tue_M.mode_name }}</span><br/>
73 73
                         <span v-show="showflag">{{item.Tue_M.dialysis_machine_name}}</span>
74 74
                     </span>
75 75
                 </td>
76
-                <td style="width:50px;"  v-if="second_day == 2">
76
+                <td style="min-width:50px;"  v-if="second_day == 2">
77 77
                     <span v-if="item.Tue_A.patient_id">
78 78
                       <span>{{ item.Tue_A.patient }} </span><br/>
79 79
                         <span >{{ item.Tue_A.mode_name }}</span><br/>
@@ -81,105 +81,105 @@
81 81
 
82 82
                     </span>
83 83
                 </td>
84
-                <td style="width:50px;"  v-if="second_day == 2">
84
+                <td style="min-width:50px;"  v-if="second_day == 2">
85 85
                     <span v-if="item.Tue_N.patient_id">
86 86
                       <span>{{ item.Tue_N.patient }} </span><br/>
87 87
                         <span >{{ item.Tue_N.mode_name }}</span><br/>
88 88
                         <span v-show="showflag">{{item.Tue_N.dialysis_machine_name}}</span>
89 89
                     </span>
90 90
                 </td>
91
-                <td style="width:50px;" v-if="three_day == 3">
91
+                <td style="min-width:50px;" v-if="three_day == 3">
92 92
                     <span v-if="item.Wed_M.patient_id">
93 93
                       <span>{{ item.Wed_M.patient }} </span><br/>
94 94
                         <span >{{ item.Wed_M.mode_name }}</span><br/>
95 95
                         <span v-show="showflag">{{item.Wed_M.dialysis_machine_name}}</span>
96 96
                     </span>
97 97
                 </td>
98
-                <td style="width:50px;" v-if="three_day == 3">
98
+                <td style="min-width:50px;" v-if="three_day == 3">
99 99
                     <span v-if="item.Wed_A.patient_id">
100 100
                       <span>{{ item.Wed_A.patient }} </span><br/>
101 101
                         <span >{{ item.Wed_A.mode_name }}</span><br/>
102 102
                         <span v-show="showflag">{{item.Wed_A.dialysis_machine_name}}</span>
103 103
                     </span>
104 104
                 </td>
105
-                <td style="width:50px;" v-if="three_day == 3">
105
+                <td style="min-width:50px;" v-if="three_day == 3">
106 106
                     <span v-if="item.Wed_N.patient_id">
107 107
                       <span>{{ item.Wed_N.patient }} </span><br/>
108 108
                         <span >{{ item.Wed_N.mode_name }}</span><br/>
109 109
                         <span v-show="showflag">{{item.Wed_N.dialysis_machine_name}}</span>
110 110
                     </span>
111 111
                 </td>
112
-                <td style="width:50px;" v-if="four_day == 4">
112
+                <td style="min-width:50px;" v-if="four_day == 4">
113 113
                     <span v-if="item.Thurs_M.patient_id">
114 114
                       <span>{{ item.Thurs_M.patient }} </span><br/>
115 115
                         <span >{{ item.Thurs_M.mode_name }}</span><br/>
116 116
                         <span v-show="showflag">{{item.Thurs_M.dialysis_machine_name}}</span>
117 117
                     </span>
118 118
                 </td>
119
-                <td style="width:50px;" v-if="four_day == 4">
119
+                <td style="min-width:50px;" v-if="four_day == 4">
120 120
                     <span v-if="item.Thurs_A.patient_id">
121 121
                       <span>{{ item.Thurs_A.patient }} </span><br/>
122 122
                         <span >{{ item.Thurs_A.mode_name }}</span><br/>
123 123
                         <span v-show="showflag">{{item.Thurs_A.dialysis_machine_name}}</span>
124 124
                     </span>
125 125
                 </td>
126
-                <td style="width:50px;" v-if="four_day == 4">
126
+                <td style="min-width:50px;" v-if="four_day == 4">
127 127
                     <span v-if="item.Thurs_N.patient_id">
128 128
                       <span>{{ item.Thurs_N.patient }} </span><br/>
129 129
                         <span >{{ item.Thurs_N.mode_name }}</span><br/>
130 130
                         <span v-show="showflag">{{item.Thurs_N.dialysis_machine_name}}</span>
131 131
                     </span>
132 132
                 </td>
133
-                <td style="width:50px;" v-if="five_day == 5">
133
+                <td style="min-width:50px;" v-if="five_day == 5">
134 134
                     <span v-if="item.Fri_M.patient_id">
135 135
                       <span>{{ item.Fri_M.patient }} </span><br/>
136 136
                         <span >{{ item.Fri_M.mode_name }}</span><br/>
137 137
                         <span v-show="showflag">{{item.Fri_M.dialysis_machine_name}}</span>
138 138
                     </span>
139 139
                 </td>
140
-                <td style="width:50px;" v-if="five_day == 5">
140
+                <td style="min-width:50px;" v-if="five_day == 5">
141 141
                     <span v-if="item.Fri_A.patient_id">
142 142
                       <span>{{ item.Fri_A.patient }} </span><br/>
143 143
                         <span >{{ item.Fri_A.mode_name }}</span><br/>
144 144
                         <span v-show="showflag">{{item.Fri_A.dialysis_machine_name}}</span>
145 145
                     </span>
146 146
                 </td>
147
-                <td style="width:50px;" v-if="five_day == 5">
147
+                <td style="min-width:50px;" v-if="five_day == 5">
148 148
                     <span v-if="item.Fri_N.patient_id">
149 149
                       <span>{{ item.Fri_N.patient }} </span><br/>
150 150
                         <span >{{ item.Fri_N.mode_name }}</span><br/>
151 151
                         <span v-show="showflag">{{item.Fri_N.dialysis_machine_name}}</span>
152 152
                     </span>
153 153
                 </td>
154
-                <td style="width:50px;" v-if="six_day == 6">
154
+                <td style="min-width:50px;" v-if="six_day == 6">
155 155
                     <span v-if="item.Sat_M.patient_id">
156 156
                       <span>{{ item.Sat_M.patient }} </span><br/>
157 157
                         <span >{{ item.Sat_M.mode_name }}</span><br/>
158 158
                         <span v-show="showflag">{{item.Sat_M.dialysis_machine_name}}</span>
159 159
                     </span>
160 160
                 </td>
161
-                <td style="width:50px;" v-if="six_day == 6">
161
+                <td style="min-width:50px;" v-if="six_day == 6">
162 162
                     <span v-if="item.Sat_A.patient_id">
163 163
                       <span>{{ item.Sat_A.patient }} </span><br/>
164 164
                         <span >{{ item.Sat_A.mode_name }}</span><br/>
165 165
                         <span v-show="showflag">{{item.Sat_A.dialysis_machine_name}}</span>
166 166
                     </span>
167 167
                 </td>
168
-                <td style="width:50px;" v-if="six_day == 6">
168
+                <td style="min-width:50px;" v-if="six_day == 6">
169 169
                     <span v-if="item.Sat_N.patient_id">
170 170
                       <span>{{ item.Sat_N.patient }} </span><br/>
171 171
                         <span >{{ item.Sat_N.mode_name }}</span><br/>
172 172
                         <span v-show="showflag">{{item.Sat_N.dialysis_machine_name}}</span>
173 173
                     </span>
174 174
                 </td>
175
-                <td style="width:50px;" v-if="seven_day == 7">
175
+                <td style="min-width:50px;" v-if="seven_day == 7">
176 176
                     <span v-if="item.Sun_M.patient_id">
177 177
                       <span>{{ item.Sun_M.patient }} </span><br/>
178 178
                         <span >{{ item.Sun_M.mode_name }}</span><br/>
179 179
                         <span v-show="showflag">{{item.Sun_M.dialysis_machine_name}}</span>
180 180
                     </span>
181 181
                 </td>
182
-                <td style="width:50px;" v-if="seven_day == 7">
182
+                <td style="min-width:50px;" v-if="seven_day == 7">
183 183
                     <span v-if="item.Sun_A.patient_id">
184 184
                       <span>{{ item.Sun_A.patient }} </span><br/>
185 185
                         <span >{{ item.Sun_A.mode_name }}</span><br/>
@@ -187,7 +187,7 @@
187 187
 
188 188
                     </span>
189 189
                 </td>
190
-                <td style="width:50px;" v-if="seven_day == 7">
190
+                <td style="min-width:50px;" v-if="seven_day == 7">
191 191
                     <span v-if="item.Sun_N.patient_id">
192 192
                       <span>{{ item.Sun_N.patient }} </span><br/>
193 193
                         <span >{{ item.Sun_N.mode_name }}</span><br/>
@@ -855,7 +855,6 @@ export default {
855 855
                   });
856 856
                   var newArr= [{"area":"总数","cut":0,"Fri_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Fri_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Fri_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Mon_A":{mode_id:0,mode_name:"",patient:"",patient_id:"1",type:0},"Mon_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Mon_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Sat_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Sat_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Sat_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Sun_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Sun_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Sun_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Thurs_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Thurs_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Thurs_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Tue_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Tue_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Tue_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Wed_A":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Wed_M":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"Wed_N":{mode_id:0,mode_name:"",patient:"0",patient_id:"1",type:0},"jihao_id":"","total":"","zone_id":"","zone_type":"",sort:""}]
857 857
 
858
-
859 858
                     for(let i=0;i<newArr.length;i++){
860 859
                       for(let j=0;j<this.scheduleCountList.length;j++){
861 860
                           newArr[i].cut = this.total
@@ -987,8 +986,6 @@ export default {
987 986
 
988 987
                             newArr[i].Sun_N.patient = this.scheduleCountList[j].Count
989 988
                         }
990
-
991
-
992 989
                       }
993 990
                     }
994 991
                   console.log("newArr222222222",newArr)
@@ -1026,8 +1023,8 @@ export default {
1026 1023
           return [weekArr[week], typeArr[schedule_type]];
1027 1024
       },
1028 1025
       printAction: function() {
1029
-          const style = '@media print {#scheduleTable{font-size:16px;} .scheduleTable tr td{text-align: center;padding: 5px;}}'
1030
-
1026
+          // const style = '@media print {#scheduleTable{font-size:16px;} .scheduleTable tr td{text-align: center;padding: 5px;}}'
1027
+          const style = '@media print {#scheduleTable{font-size:14px;} }'
1031 1028
           printJS({
1032 1029
           printable: 'scheduleTable',
1033 1030
           type: 'html',