调整前端不同卫生院机构的处理图片参数,不使用boolen值,使用int

This commit is contained in:
yy2205 2025-05-22 15:58:57 +08:00
parent 896dd0be24
commit b6215d68dc

View File

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