|
@@ -1825,11 +1825,10 @@ const dismissShowSearch = (flag) => {
|
|
|
|
|
|
const beforePrint = (page) => {
|
|
|
if (nullPatient()) return
|
|
|
- const params = {
|
|
|
+ fetchAuditCount({
|
|
|
patNo: patient.value.bah,
|
|
|
times: patient.value.admissTimes
|
|
|
- }
|
|
|
- fetchAuditCount(params).then(res => {
|
|
|
+ }).then(res => {
|
|
|
if (res.approved > 0) {
|
|
|
execPrint(page);
|
|
|
} else {
|