调整前端不同卫生院机构的处理图片参数,不使用组合对象

This commit is contained in:
yy2205 2025-05-22 14:21:35 +08:00
parent 8376736e7e
commit 896dd0be24

View File

@ -17,7 +17,11 @@ export const processImageApi = {
height:400, height:400,
width:900, width:900,
step:"诊断结果:", step:"诊断结果:",
options:{watermarkFontSize:40,enablePdf:true} enablePdf:true,
enableOcr:false,
coverColor:"#FFFFFF",
enableAreaCover:true,
enableWatermark:true,
}, },
"药王洞卫生院":{ "药王洞卫生院":{
startX:1200, startX:1200,
@ -25,7 +29,11 @@ export const processImageApi = {
height:350, height:350,
width:950, width:950,
step:" 诊断结果:", step:" 诊断结果:",
options:{watermarkFontSize:40,enablePdf:true} enablePdf:true,
enableOcr:false,
coverColor:"#FFFFFF",
enableAreaCover:true,
enableWatermark:true,
}, },
"史德卫生院":{ "史德卫生院":{
startX:990, startX:990,
@ -33,7 +41,11 @@ export const processImageApi = {
height:400, height:400,
width:800, width:800,
step:" ", step:" ",
options:{watermarkFontSize:40,enablePdf:true} enablePdf:true,
enableOcr:false,
coverColor:"#FFFFFF",
enableAreaCover:true,
enableWatermark:true,
}, },
"礼泉县城关卫生院":{ "礼泉县城关卫生院":{
startX:2700, startX:2700,
@ -41,7 +53,11 @@ export const processImageApi = {
height:600, height:600,
width:2400, width:2400,
step:"诊断结果:", step:"诊断结果:",
options:{watermarkFontSize:40,enablePdf:true} enablePdf:true,
enableOcr:false,
coverColor:"#FFFFFF",
enableAreaCover:true,
enableWatermark:true,
}, },
"北屯中心卫生院":{ "北屯中心卫生院":{
startX:1800, startX:1800,
@ -49,7 +65,11 @@ export const processImageApi = {
height:400, height:400,
width:900, width:900,
step:"诊断结果:", step:"诊断结果:",
options:{watermarkFontSize:40,enablePdf:true} enablePdf:true,
enableOcr:false,
coverColor:"#FFFFFF",
enableAreaCover:true,
enableWatermark:true,
} }
}, },
processImg: async (params: any) => { processImg: async (params: any) => {