|
@@ -98,6 +98,7 @@ import {downloadExcel} from '@/utils/excel'
|
|
|
import NormalEvent from "@/components/inpatient/adverse-event-printpage/NormalEvent.vue";
|
|
|
import {getLodop, initLodop} from '@/utils/c-lodop'
|
|
|
import {useUserStore} from "@/pinia/user-store";
|
|
|
+import {startLoading} from "@/utils/loading";
|
|
|
|
|
|
const dateRange = ref(null)
|
|
|
const allWards = ref([])
|
|
@@ -225,7 +226,7 @@ const submitHlbDealing = () => {
|
|
|
})
|
|
|
}
|
|
|
const toPrintPage = () => {
|
|
|
- LODOP = getLodop()
|
|
|
+ let LODOP = getLodop()
|
|
|
const prntStyle = `<style>table, tr, th, td {border: 1px solid #c1dbfa;border-collapse: collapse;text-align: left;padding: 0 10px;vertical-align: center;word-break: break-all;font-size: 13px;}</style>`
|
|
|
const prntContent = document.getElementById('printArea').innerHTML
|
|
|
let pagePrint = prntStyle + '<body>' + prntContent + '</body>'
|