You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
352 lines
13 KiB
352 lines
13 KiB
LODOP.SET_PRINT_PAGESIZE(1,"","","A4");
|
|
var rheaderHeightpy;
|
|
var rfooterHeightpy;
|
|
var pagewidth=21;
|
|
var pageheight=29.7;
|
|
var leftmargin=0.0;
|
|
var rightmargin=0.0;
|
|
var topmargin=0;
|
|
var bottommargin=6.35;
|
|
var top;
|
|
var left;
|
|
var width;
|
|
var height;
|
|
var top2;
|
|
var left2;
|
|
var heightpy=parseInt(4.39208)-parseInt(topmargin);
|
|
|
|
top = parseFloat(0.2)+"cm";
|
|
left = parseFloat(0.2)+"cm";
|
|
width = 6.0019+"cm";
|
|
height = 0.478958+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$hjxh@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
top = parseFloat(0.2)+"cm";
|
|
left = parseFloat(0)+parseFloat(0)+"cm";
|
|
width = 21+"cm";
|
|
height = 0.978958+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$bgbt@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",2);
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","15.750000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
top = parseFloat(0)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(17.409)+"cm";
|
|
width = 3.38667+"cm";
|
|
height = 0.79375+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","14.250000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
top = parseFloat(1.0)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(6.58542)+"cm";
|
|
width = 14.7902+"cm";
|
|
height = 0.00003+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
top = parseFloat(1.0)+"cm";
|
|
left = parseFloat(0.5)+"cm";
|
|
width = 1.78896+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"姓 名:");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
top = parseFloat(1.0)+"cm";
|
|
left = parseFloat(1.7)+"cm";
|
|
width = 4.78896+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$xm@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
top = parseFloat(1.479)+"cm";
|
|
left = parseFloat(0.5)+"cm";
|
|
width = 5.79438+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病历号:$blh@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
top = parseFloat(1.89833)+"cm";
|
|
left = parseFloat(0.5)+"cm";
|
|
width = 5.79438+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"条码号:$tmh@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
|
|
top = parseFloat(1.0)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
|
|
width = 1.85063+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"性 别:");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
top = parseFloat(1.0)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(8.51146)+"cm";
|
|
width = 3.00063+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"$xb@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","11.500000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
top = parseFloat(1.479)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
|
|
width = 5.00063+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检科室:$sjks@num@@jzks$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
top = parseFloat(1.89833)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(7.01146)+"cm";
|
|
width = 7.00063+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"床 号:$ch@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
top = parseFloat(1.0)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
|
|
width = 5.3975+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"病人年龄:$brnl@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
top = parseFloat(1.479)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
|
|
width = 5.3975+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"样 本 号:$ybh@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
top = parseFloat(1.89833)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(13.0942)+"cm";
|
|
width = 8.0975+"cm";
|
|
height = 0.408542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"临床诊断:$lczd@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
top = parseFloat(2.29833)+"cm";
|
|
left = parseFloat(0.5)+"cm";
|
|
width = 5.79438+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"备 注:$remark@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
|
|
|
|
var gridcontent1 = "<TABLE border=0 cellSpacing=0 cellPadding=0 width='100%' style='border-collapse:collapse;font-size:14px;bordercolor='#333333'>
|
|
<thead>
|
|
<TR height='20' style='border-top:1'>
|
|
<TD vAlign=top width='100%' colSpan=5 style='border-bottom:1 solid #000000;border-top:1 solid #000000;border-right:1 solid #000000;solid #000000;font-size:13px;font-weight:bold;'><DIV align=center>尿液化学结果</DIV></TD>
|
|
<TD vAlign=top width='100%' colSpan=5 style='border-bottom:1 solid #000000;border-top:1 solid #000000;font-size:13px;font-weight:bold;'><DIV align=center>尿液沉渣结果</DIV></TD>
|
|
</TR>
|
|
<TR height='20' style='font-size:13px;font-weight:bold;'>
|
|
|
|
<TD style='solid #000000;' width='8%' align=left><b> 代号</b></TD>
|
|
<TD style='solid #000000;' width='15%'><DIV align=left><b>检验项目名称</b></DIV></TD>
|
|
<TD style='solid #000000;'width='6%'><DIV align=left><b>结果</b></DIV></TD>
|
|
<TD style='solid #000000;' width='9%' align=left><b>参考范围</b></TD>
|
|
<TD style='border-right:1 solid #000000;solid #000000;' width='6%'><DIV align=left><b>单位</b></DIV></TD>
|
|
|
|
<TD style='solid #000000;' width='8%' align=left><b> 代号</b></TD>
|
|
<TD style='solid #000000;' width='15%'><DIV align=left><b>检验项目名称</b></DIV></TD>
|
|
<TD style='solid #000000;'width='6%'><DIV align=left><b>结果</b></DIV></TD>
|
|
<TD style='solid #000000;' width='9%' align=left><b>参考范围</b></TD>
|
|
<TD style='solid #000000;' width='10%'><DIV align=left><b>单位</b></DIV></TD>
|
|
</TR>
|
|
</thead>
|
|
|
|
<TBODY>$data@num@
|
|
<TR height='16' style='font-size:13px;'>
|
|
<TD style='solid #000000;' align=left> ^0^</TD>
|
|
<TD style='solid #000000;' align=left>^1^</TD>
|
|
<TD style='solid #000000;' align=left>^2^</TD>
|
|
<TD style='solid #000000;solid #000000;' align=left>^3^</TD>
|
|
<TD style='border-right:1;solid #000000;solid #000000;' align=left>^4^</TD>
|
|
<TD style='solid #000000;solid #000000;' align=left> ^5^</TD>
|
|
<TD style='solid #000000;solid #000000;' align=left>^6^</TD>
|
|
<TD style='solid #000000;solid #000000;' align=left>^7^</TD>
|
|
<TD style='solid #000000;solid #000000;' align=left>^8^</TD>
|
|
<TD style='solid #000000;solid #000000;' align=left>^9^</TD>
|
|
</TR>$data@num@
|
|
<TR style='border-top:0 solid #000000;' height='1'>
|
|
<TD width='8%' colspan='1' style='border-top:0 solid #000000;font-weight:bold;' valign='top'></TD>
|
|
<TD width='92%' colspan='9' style='border-top:0 solid #000000;text-align:left;' valign='top'></TD>
|
|
</TR>
|
|
</TBODY>
|
|
<TFOOT>
|
|
<TR style='border-top:1 solid #000000;' height='0'>
|
|
<TD colspan='10' style='border-top:1 solid #000000;'></TD>
|
|
</TR>
|
|
</TFOOT>
|
|
</TABLE>";
|
|
top = parseFloat(2.8)+"cm";
|
|
left = parseFloat(0.0)+"cm";
|
|
width = parseFloat(21)+"cm";
|
|
height = parseFloat(pageheight)-parseFloat(1.611667)-parseFloat(0)-parseFloat(bottommargin)-parseFloat(topmargin)+"cm";
|
|
LODOP.ADD_PRINT_TABLE(top,left,width,height,gridcontent1);
|
|
LODOP.SET_PRINT_STYLEA(0,"TableHeightScope",1);
|
|
|
|
rfooterHeightpy=parseFloat(pageheight)-parseFloat(bottommargin)-parseFloat(height)+(1.5);
|
|
top = parseFloat(0.6)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(1.20771)+"cm";
|
|
width = 4.18438+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",16);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(17.2)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(2.39979)+"cm";
|
|
LODOP.ADD_PRINT_IMAGE(top,left,250,190,"$tx0@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
|
|
|
|
|
|
top = parseFloat(0.6)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(6.30833)+"cm";
|
|
width = 4.18438+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",16);
|
|
|
|
top = parseFloat(11.5)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(2.39979)+"cm";
|
|
LODOP.ADD_PRINT_IMAGE(top,left,250,190,"$tx1@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
|
|
|
|
|
|
top = parseFloat(0.6)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(11.3058)+"cm";
|
|
width = 4.18438+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",16);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(17.2)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(11.3973)+"cm";
|
|
LODOP.ADD_PRINT_IMAGE(top,left,250,190,"$tx2@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
|
|
|
|
|
|
|
|
top = parseFloat(0.6)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(16.39058)+"cm";
|
|
width = 4.18438+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",16);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(11.5)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(11.3973)+"cm";
|
|
LODOP.ADD_PRINT_IMAGE(top,left,250,190,"$tx3@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
|
|
|
|
|
|
top = parseFloat(23.011667)+"cm";
|
|
left = parseFloat(0.4)+"cm";
|
|
left2 = parseFloat(20.8)+"cm";
|
|
top2 = parseFloat(23.011667)+"cm";
|
|
width = 20.5+"cm";
|
|
height = 0+"cm";
|
|
LODOP.ADD_PRINT_LINE(top,left,top2,left2,0,1);
|
|
|
|
|
|
top = parseFloat(23.111667)+"cm";
|
|
left = parseFloat(0.5)+"cm";
|
|
width = 5.58271+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检医生:$sjys@num@@allsysuser$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(23.511667)+"cm";
|
|
left = parseFloat(0.5)+"cm";
|
|
width = 5.58271+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"检验时间:$jysj@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(23.111667)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(6.58813)+"cm";
|
|
width = 5.42396+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"送检时间:$sjsj@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(23.511667)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(6.58813)+"cm";
|
|
width = 5.42396+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"审核者:$shys@num@@allsysuser$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(23.111667)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(13.8942)+"cm";
|
|
width = 5.42396+"cm";
|
|
height = 0.608542+"cm";
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"检验者:$jyys@num@@allsysuser$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(23.511667)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(13.8942)+"cm";
|
|
width = 5.42396+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"审核时间:$shsj@num@$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(23.911667)+"cm";
|
|
left = parseFloat(0.5)+"cm";
|
|
width = 5.42396+"cm";
|
|
height = 0.608542+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"仪器名称:$sbh@num@@lissb$");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","10.000000000000");
|
|
|
|
top = parseFloat(24.011667)+"cm";
|
|
left = parseFloat(leftmargin)+parseFloat(15.09271)+"cm";
|
|
width = 6.00604+"cm";
|
|
height = 0.396875+"cm";
|
|
LODOP.ADD_PRINT_TEXT(top,left,width,height,"声明:本报告仅对所检标本负责");
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","宋体");
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize","8.500000000000");
|
|
|
|
|