|
@@ -807,7 +807,6 @@ import {
|
|
|
sheetSearch,
|
|
|
getSsfzSurgeriesByIcd,
|
|
|
increaseDiagWeight,
|
|
|
- signApply,
|
|
|
selectSiDiagByBaDiag,
|
|
|
frontsheetQualityCheck,
|
|
|
isMedinsSetl,
|
|
@@ -1477,23 +1476,6 @@ const caseQualityCheck = () => {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-const execSignApply = () => {
|
|
|
- if (nullPatient()) return
|
|
|
- signApply(patient.value)
|
|
|
- .then((res) => {
|
|
|
- ElMessage({
|
|
|
- message: '申请成功',
|
|
|
- type: 'success',
|
|
|
- duration: 2500,
|
|
|
- showClose: true,
|
|
|
- })
|
|
|
- })
|
|
|
- .catch((e) => {
|
|
|
- forceVerifies.value = e.data
|
|
|
- showMessageDrawer = true
|
|
|
- })
|
|
|
-}
|
|
|
-
|
|
|
const saveVerify = (opType) => {
|
|
|
if (nullPatient()) return
|
|
|
beforePrintSet.value = false
|
|
@@ -1524,29 +1506,30 @@ const dismissShowSearch = (flag) => {
|
|
|
}
|
|
|
}, 100)
|
|
|
}
|
|
|
-const beforePrint = (flag) => {
|
|
|
+const beforePrint = (page) => {
|
|
|
if (nullPatient()) return
|
|
|
const param = {
|
|
|
opType: 4,
|
|
|
sheet: patient.value,
|
|
|
+ page: page
|
|
|
}
|
|
|
executePrintVerify(param)
|
|
|
.then(() => {
|
|
|
- execPrint(flag)
|
|
|
+ execPrint(page)
|
|
|
})
|
|
|
.catch((e) => {
|
|
|
forceVerifies.value = e.data.force
|
|
|
adviceVerifies.value = e.data.advice
|
|
|
showMessageDrawer = true
|
|
|
if (e.data.force.length === 0) {
|
|
|
- execPrint(flag)
|
|
|
+ execPrint(page)
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-const execPrint = (flag) => {
|
|
|
+const execPrint = (page) => {
|
|
|
LODOP = getLodop()
|
|
|
const prntStyle = `<style>*{font-size:10pt} table,th,td {border: 1px solid black;border-collapse: collapse;} td,th {height: 24px;padding-left: 4px;}</style>`
|
|
|
- const prntContent = flag === 1 ? document.getElementById('headpage').innerHTML : document.getElementById('tailpage').innerHTML
|
|
|
+ const prntContent = page === 1 ? document.getElementById('headpage').innerHTML : document.getElementById('tailpage').innerHTML
|
|
|
let pagePrint = prntStyle + '<body>' + prntContent + '</body>'
|
|
|
LODOP.PRINT_INIT('casefrontsheet')
|
|
|
LODOP.SET_PRINT_PAGESIZE(1, '210mm', '297mm', '')
|