Browse Source

9月10,批量打印处方笺

yq1 1 week ago
parent
commit
cd254e465f
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/xt_pages/outpatientDoctorStation/pastInquiries.vue

+ 2 - 4
src/xt_pages/outpatientDoctorStation/pastInquiries.vue View File

166
       >
166
       >
167
       </el-pagination>
167
       </el-pagination>
168
       <inquiries-detail ref="inquiriesDetail"></inquiries-detail>
168
       <inquiries-detail ref="inquiriesDetail"></inquiries-detail>
169
+
169
       <el-dialog
170
       <el-dialog
170
           class="centerDialog"
171
           class="centerDialog"
171
           width="600px"
172
           width="600px"
213
 import print from './batch_print_template/index'
214
 import print from './batch_print_template/index'
214
 import treatPrint from './batch_print_treatTemplate/index'
215
 import treatPrint from './batch_print_treatTemplate/index'
215
 import checkPrint from './batch_print_checkTemplate/index'
216
 import checkPrint from './batch_print_checkTemplate/index'
216
-
217
+import prints from "print-js";
217
 export default {
218
 export default {
218
   components: {
219
   components: {
219
     BreadCrumb,
220
     BreadCrumb,
425
         }
426
         }
426
         getBatchPrint(params).then((res) => {
427
         getBatchPrint(params).then((res) => {
427
           let Arr = res.data.data.patients
428
           let Arr = res.data.data.patients
428
-
429
           let new_patients = []
429
           let new_patients = []
430
           if (type != 3) {
430
           if (type != 3) {
431
-
432
             if (type == 1){
431
             if (type == 1){
433
               Arr.forEach((i) => {
432
               Arr.forEach((i) => {
434
                 if (i.prescriptions.length != 0) {
433
                 if (i.prescriptions.length != 0) {
435
                   new_patients.push(i)
434
                   new_patients.push(i)
436
                 }
435
                 }
437
               })
436
               })
438
-
439
             }else {
437
             }else {
440
               Arr.forEach((i) => {
438
               Arr.forEach((i) => {
441
                 if (i.prescriptions.length != 0) {
439
                 if (i.prescriptions.length != 0) {