门诊医生站-》开立诊断 页面调整

This commit is contained in:
itcast
2026-01-16 15:46:43 +08:00
parent 2b3add4808
commit be0514bc08
86 changed files with 2224 additions and 3929 deletions

View File

@@ -228,11 +228,7 @@ export function executePrint(data, template, printerName, options = {}, business
throw new Error('打印插件未加载');
}
const userStore = useUserStore();
const processedTemplate = JSON.parse(
JSON.stringify(template).replace(/{{HOSPITAL_NAME}}/g, userStore.hospitalName)
);
const hiprintTemplate = new window.hiprint.PrintTemplate({ template: processedTemplate });
const hiprintTemplate = new window.hiprint.PrintTemplate({ template });
const printOptions = {
title: '打印标题',
height: 210,