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