JS打印表格(HTML定义格式)
2011-09-22 09:09
357 查看
<script type="text/javascript">
function printEmpty() {
var w = window.open("工作日志.htm");//
w.focus();
w.print();
}
//data:工作日志id
function printData(data) {
msg = data; //往表格中写入数据
var w = window.open("工作日志(数据).htm");
w.focus();
}
</script>
首先。用HTML定义好所有的数据格式(呈表格状)然后再用JQuery来进行网页数据的替换
怎么替换的那?就是非常简单。进行标注就OK了。把你要替换的数据用特殊的符号标注好。对应的名字再和你 传递过来的数据名称一致的话。那么就可以直接替换数据就OK了。 这里CSS布局的时候用到一些简单的EXCEL属性。就这么简单。
缺点:
1. 替换的过程中有可能已经执行打印了。有可能打印出你初始定义并未替换的数据。所以建议替换打印换成ID填充。这样如果可以保证即使发生错误或者延时,用户看到的也是没有数据。而不是这些乱的数据。
2.JQUERY.AJAX的传递是有时间延迟的。如果能在 HTML模板上加个打印按钮,这样让用户可以先看一下数据。确定了再打印。
也可以直接在现在的代码中写一个CONFIRM来确认是否打印。不过还是建议使用第一种。
3.这样的HTML模板一定要统一放在FORM验证的文件夹下面。这样可以利用.NET的FORM验证机制来保证即使是HTML文件也验证是否有打印权限。
而且如果你登录了。那么就不会出错。如果你不登录就直接进行访问,那是无法访问的。
function printEmpty() {
var w = window.open("工作日志.htm");//
w.focus();
w.print();
}
//data:工作日志id
function printData(data) {
msg = data; //往表格中写入数据
var w = window.open("工作日志(数据).htm");
w.focus();
}
</script>
首先。用HTML定义好所有的数据格式(呈表格状)然后再用JQuery来进行网页数据的替换
怎么替换的那?就是非常简单。进行标注就OK了。把你要替换的数据用特殊的符号标注好。对应的名字再和你 传递过来的数据名称一致的话。那么就可以直接替换数据就OK了。 这里CSS布局的时候用到一些简单的EXCEL属性。就这么简单。
缺点:
1. 替换的过程中有可能已经执行打印了。有可能打印出你初始定义并未替换的数据。所以建议替换打印换成ID填充。这样如果可以保证即使发生错误或者延时,用户看到的也是没有数据。而不是这些乱的数据。
2.JQUERY.AJAX的传递是有时间延迟的。如果能在 HTML模板上加个打印按钮,这样让用户可以先看一下数据。确定了再打印。
也可以直接在现在的代码中写一个CONFIRM来确认是否打印。不过还是建议使用第一种。
3.这样的HTML模板一定要统一放在FORM验证的文件夹下面。这样可以利用.NET的FORM验证机制来保证即使是HTML文件也验证是否有打印权限。
而且如果你登录了。那么就不会出错。如果你不登录就直接进行访问,那是无法访问的。
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=gb2312"> <meta name=ProgId content=Excel.Sheet> <meta name=Generator content="Microsoft Excel 11"> <link rel=File-List href="工作日志.files/filelist.xml"> <style id="环境调查_11939_Styles"> <!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";} .font511939 {color:windowtext; font-size:9.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134;} .xl6311939 {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; text-align:center; vertical-align:middle; border:.5pt solid windowtext; mso-background-source:auto; mso-pattern:auto; white-space:normal;} .xl6411939 {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; text-align:center; vertical-align:middle; mso-background-source:auto; mso-pattern:auto; white-space:normal;} .xl6511939 {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; text-align:center; vertical-align:middle; border-top:.5pt solid windowtext; border-right:none; border-bottom:none; border-left:none; mso-background-source:auto; mso-pattern:auto; white-space:normal;} .xl6611939 {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; text-align:center; vertical-align:middle; border-top:.5pt solid windowtext; border-right:none; border-bottom:.5pt solid windowtext; border-left:.5pt solid windowtext; mso-background-source:auto; mso-pattern:auto; white-space:normal;} .xl6711939 {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; text-align:center; vertical-align:middle; border-top:.5pt solid windowtext; border-right:.5pt solid windowtext; border-bottom:.5pt solid windowtext; border-left:none; mso-background-source:auto; mso-pattern:auto; white-space:normal;} .xl6811939 {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:22.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; text-align:center; vertical-align:middle; border-top:none; border-right:none; border-bottom:.5pt solid windowtext; border-left:none; mso-background-source:auto; mso-pattern:auto; white-space:normal;} .xl6911939 {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; text-align:center; vertical-align:middle; border-top:.5pt solid windowtext; border-right:none; border-bottom:.5pt solid windowtext; border-left:none; mso-background-source:auto; mso-pattern:auto; white-space:normal;} ruby {ruby-align:left;} rt {color:windowtext; font-size:9.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-char-type:none;} --> </style> <script src="http://www.cnblogs.com/js/jquery/jquery.js" type="text/javascript"></script> <script type="text/javascript"> writeData(window.opener.msg); function writeData(data) { var operationType = "PrintData"; var utilUrl = "ExpelManageUtil.aspx"; var pdata = "operationType=" + operationType + "&id=" + data; $.ajax({ url: utilUrl, //后台处理类 type: "POST", data: pdata, dataType: "json", timeout: 1000, error: function(data) { alert("出现错误或者您没有权限!"); }, success: function(data) { var b = document.body.innerHTML; for (var elem in data) {//遍历data中的每一个属性及属性值 b = b.replace("$" + elem, data[elem]); } document.body.innerHTML = b; window.print(); //打印本页 } }); } </script> </head> <body> <!--[if !excel]> <![endif]--> <!--下列信息由 Microsoft Office Excel 的“发布为网页”向导生成。--> <!--如果同一条目从 Excel 中重新发布,则所有位于 DIV 标记之间的信息均将被替换。--> <!-----------------------------> <!--“从 EXCEL 发布网页”向导开始--> <!-----------------------------> <div id="环境调查_11939" align=center x:publishsource="Excel"> <table x:str border=0 cellpadding=0 cellspacing=0 width=871 class=xl6411939 style='border-collapse:collapse;table-layout:fixed;width:655pt'> <col class=xl6411939 width=42 style='mso-width-source:userset;mso-width-alt: 1344;width:32pt'> <col class=xl6411939 width=72 style='width:54pt'> <col class=xl6411939 width=42 style='mso-width-source:userset;mso-width-alt: 1344;width:32pt'> <col class=xl6411939 width=60 style='mso-width-source:userset;mso-width-alt: 1920;width:45pt'> <col class=xl6411939 width=64 style='mso-width-source:userset;mso-width-alt: 2048;width:48pt'> <col class=xl6411939 width=72 style='width:54pt'> <col class=xl6411939 width=55 style='mso-width-source:userset;mso-width-alt: 1760;width:41pt'> <col class=xl6411939 width=61 style='mso-width-source:userset;mso-width-alt: 1952;width:46pt'> <col class=xl6411939 width=42 style='mso-width-source:userset;mso-width-alt: 1344;width:32pt'> <col class=xl6411939 width=72 style='width:54pt'> <col class=xl6411939 width=38 style='mso-width-source:userset;mso-width-alt: 1216;width:29pt'> <col class=xl6411939 width=72 style='width:54pt'> <col class=xl6411939 width=96 style='mso-width-source:userset;mso-width-alt: 3072;width:72pt'> <col class=xl6411939 width=83 style='mso-width-source:userset;mso-width-alt: 2656;width:62pt'> <tr height=45 style='mso-height-source:userset;height:33.75pt'> <td colspan=14 height=45 class=xl6811939 width=871 style='height:33.75pt; width:655pt'> 工 作 日 志</td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6311939 width=42 style='height:26.25pt;border-top:none; width:32pt'>日期</td> <td colspan=2 class=xl6611939 width=114 style='border-right:.5pt solid black; border-left:none;width:86pt'>$DoTime </td> <td class=xl6311939 width=60 style='border-top:none;border-left:none; width:45pt'>星期</td> <td class=xl6311939 width=64 style='border-top:none;border-left:none; width:48pt'>$Week </td> <td class=xl6311939 width=72 style='border-top:none;border-left:none; width:54pt'>天气</td> <td class=xl6311939 width=55 style='border-top:none;border-left:none; width:41pt'>$Weather </td> <td class=xl6311939 width=61 style='border-top:none;border-left:none; width:46pt'>温度(℃)</td> <td class=xl6311939 width=42 style='border-top:none;border-left:none; width:32pt'>$Temp </td> <td class=xl6311939 width=72 style='border-top:none;border-left:none; width:54pt'>风力风向</td> <td class=xl6311939 width=38 style='border-top:none;border-left:none; width:29pt'>$WindPower </td> <td class=xl6311939 width=72 style='border-top:none;border-left:none; width:54pt'>$WindDirect </td> <td class=xl6311939 width=96 style='border-top:none;border-left:none; width:72pt'>值班员</td> <td class=xl6311939 width=83 style='border-top:none;border-left:none; width:62pt'>$Watch </td> </tr> <tr height=29 style='mso-height-source:userset;height:21.75pt'> <td height=87 class=xl6311939 width=42 style='height:65.25pt; border-top:none;width:32pt'>参加人数(人)</td> <td class=xl6311939 width=72 style='border-top:none;border-left:none; width:54pt'>$ActorNum1 </td> <td class=xl6311939 width=42 style='border-top:none;width:32pt'>装备器材</td> <td colspan=3 class=xl6611939 width=196 style='border-right:.5pt solid black; border-left:none;width:147pt'>$Devices </td> <td class=xl6311939 width=55 style='border-top:none;width:41pt'>猎枪(支)</td> <td class=xl6311939 width=61 style='border-top:none;border-left:none; width:46pt'>$GunNum </td> <td class=xl6311939 width=42 style='border-top:none;width:32pt'>进场时间</td> <td class=xl6311939 width=72 style='border-top:none;border-left:none; width:54pt'>$BeginTime </td> <td class=xl6311939 width=38 style='border-top:none;width:29pt'>结束时间</td> <td class=xl6311939 width=72 style='border-top:none;border-left:none; width:54pt'>$EndTime </td> <td class=xl6311939 width=96 style='border-top:none;width:72pt'>带队干部</td> <td class=xl6311939 width=83 style='border-top:none;border-left:none; width:62pt'>$Leader1 </td> </tr> <tr height=52 style='mso-height-source:userset;height:39.0pt'> <td colspan=2 height=52 class=xl6311939 width=114 style='height:39.0pt; width:86pt'>消耗子弹(发)</td> <td colspan=2 class=xl6311939 width=102 style='border-left:none;width:77pt'>$MotorBullets </td> <td colspan=3 class=xl6311939 width=191 style='border-left:none;width:143pt'>猎枪消耗子弹(发)</td> <td colspan=2 class=xl6311939 width=103 style='border-left:none;width:78pt'>$GunBullets </td> <td colspan=2 class=xl6311939 width=110 style='border-left:none;width:83pt'>其他器材消耗</td> <td colspan=3 class=xl6311939 width=168 style='border-left:none;width:126pt'>$OtherDevices </td> </tr> <tr height=31 style='mso-height-source:userset;height:23.25pt'> <td colspan=4 height=31 class=xl6311939 width=216 style='height:23.25pt; width:163pt'>环境检查情况及发现问题</td> <td colspan=3 class=xl6311939 width=191 style='border-left:none;width:143pt'>处理措施</td> <td colspan=2 class=xl6311939 width=103 style='border-left:none;width:78pt'>工作量</td> <td colspan=2 class=xl6311939 width=110 style='border-left:none;width:83pt'>器材消耗量</td> <td class=xl6311939 width=72 style='border-top:none;border-left:none; width:54pt'>工时(时)</td> <td class=xl6311939 width=96 style='border-top:none;border-left:none; width:72pt'>参加人数(人)</td> <td class=xl6311939 width=83 style='border-top:none;border-left:none; width:62pt'>带队干部</td> </tr> <tr height=65 style='mso-height-source:userset;height:48.75pt'> <td colspan=4 height=65 class=xl6311939 width=216 style='height:48.75pt; width:163pt'>$EnvironProblems </td> <td colspan=3 class=xl6311939 width=191 style='border-left:none;width:143pt'>$Measure </td> <td colspan=2 class=xl6311939 width=103 style='border-left:none;width:78pt'>$Works </td> <td colspan=2 class=xl6311939 width=110 style='border-left:none;width:83pt'>$EquipExpend </td> <td class=xl6311939 width=72 style='border-top:none;border-left:none; width:54pt'>$Hours </td> <td class=xl6311939 width=96 style='border-top:none;border-left:none; width:72pt'>$ActorNum2 </td> <td class=xl6311939 width=83 style='border-top:none;border-left:none; width:62pt'>$Leader2 </td> </tr> <tr height=95 style='mso-height-source:userset;height:71.25pt'> <td colspan=2 height=95 class=xl6311939 width=114 style='height:71.25pt; width:86pt'>记<span style='mso-spacerun:yes'> </span>事</td> <td colspan=12 class=xl6611939 width=757 style='border-right:.5pt solid black; border-left:none;width:569pt'>$Remember </td> </tr> <tr height=95 style='mso-height-source:userset;height:71.25pt'> <td colspan=2 height=95 class=xl6311939 width=114 style='height:71.25pt; width:86pt'>待办事项</td> <td colspan=12 class=xl6611939 width=757 style='border-right:.5pt solid black; border-left:none;width:569pt'>$Plans </td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td colspan=4 height=35 class=xl6511939 width=216 style='height:26.25pt; width:163pt'>填表人:$Writer</td> <td class=xl6411939 width=64 style='width:48pt'></td> <td colspan=4 class=xl6511939 width=230 style='width:173pt'>交班时间:$SwitchTime</td> <td class=xl6411939 width=72 style='width:54pt'></td> <td colspan=4 class=xl6511939 width=289 style='width:217pt'>接班人员:$Successor</td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=35 style='mso-height-source:userset;height:26.25pt'> <td height=35 class=xl6411939 width=42 style='height:26.25pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <tr height=30 style='mso-height-source:userset;height:22.5pt'> <td height=30 class=xl6411939 width=42 style='height:22.5pt;width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=60 style='width:45pt'></td> <td class=xl6411939 width=64 style='width:48pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=55 style='width:41pt'></td> <td class=xl6411939 width=61 style='width:46pt'></td> <td class=xl6411939 width=42 style='width:32pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=38 style='width:29pt'></td> <td class=xl6411939 width=72 style='width:54pt'></td> <td class=xl6411939 width=96 style='width:72pt'></td> <td class=xl6411939 width=83 style='width:62pt'></td> </tr> <![if supportMisalignedColumns]> <tr height=0 style='display:none'> <td width=42 style='width:32pt'></td> <td width=72 style='width:54pt'></td> <td width=42 style='width:32pt'></td> <td width=60 style='width:45pt'></td> <td width=64 style='width:48pt'></td> <td width=72 style='width:54pt'></td> <td width=55 style='width:41pt'></td> <td width=61 style='width:46pt'></td> <td width=42 style='width:32pt'></td> <td width=72 style='width:54pt'></td> <td width=38 style='width:29pt'></td> <td width=72 style='width:54pt'></td> <td width=96 style='width:72pt'></td> <td width=83 style='width:62pt'></td> </tr> <![endif]> </table> </div> <!-----------------------------> <!--“从 EXCEL 发布网页”向导结束--> <!-----------------------------> </body> </html>
相关文章推荐
- Html Table用JS导出excel格式问题 导出EXCEL后单元格里的000412341234会变成412341234 7-14 会变成 2018-7-14(7月14) 自定义格式 web利用table表格生成excel格式问题 js导出excel增加表头、mso-number-format定义数据格式 数字输出格式转换 mso-number-format:"\@"
- 如何使用html表格自定义或采用tableexport.js第三方插件以excel格式导出
- 如何使用html表格自定义或采用tableexport.js第三方插件以excel格式导出
- C语言编程实现打印HTML格式的ASCII表格
- js 实现打印网页中定义的部分内容的代码
- 【前端基础】html端输入数据,利用qrcode.js生成打印二维码
- 标签定义 HTML 表格。
- 介绍html CSS和JS的定义或引用
- 如何将表格转成MarkDown或HTML格式
- Js-Html 前端系列--显示有格式的文本
- JS实现动态生成html table表格的方法分析
- ajax innerHTML中js定义数组识别问题
- Html+js实现表格可编辑,并能动态添加删除行
- html打印表格每页都有的表头和打印分页
- js 客户端打印html 并且去掉页眉、页脚的实例
- JS中定义类及属性方法应用格式
- js 静态HTML表格排序功能实现
- 利用js排序html表格
- js打印html页面(转)
- 利用js将html表格导出为excel文件