12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379 |
- <%@ page contentType="text/html; charset=gb2312"%>
- <%-- <%@page contentType="application/msword;charset=GBK" %> --%>
- <%-- <%@page contentType="application/msword;charset=GBK" %> --%>
- <%-- <%response.setHeader("Content-disposition","attachment; filename=exdata.doc");%> --%>
- <%@ page import="java.io.*"%>
- <%@ page import="java.text.*"%>
- <%@ page import="java.util.*"%>
- <%@ page import="java.lang.*"%>
- <%@ page import="java.sql.*"%>
- <%@ page import="java.net.*"%>
- <%@ page import="DBstep.*"%>
- <%@page import="oracle.jdbc.driver.OracleResultSet"%>
- <%@page import="oracle.sql.BLOB"%>
- <%!String BH;//=编号;
- String ZYDW;//=作业单位;
- String ZYWTR;//作业委托人
- String CM;//=船名;
- String XCGLFZR;//=现场管理负责人;
- String WXHWMCBH;//=危险品名称;
- String WPBH;//=物品编号;
- String JSPM;//=技术品名;
- String BZ;//=包装;
- String WXPLB;//=类别和项别;
- String BYZD4;//=包装类别;
- String INOROUT;//=进出港;
- String ZYSL;//=作业数量(吨);
- String SG;//=上港;
- String XG;//=下港;
- String MAO;//=内外贸;
- String HZWXX;//=火灾危险性;
- String DXDJ;//=毒性等级;
- String WRLB;//=污染类别;
- String JZXSL;//=集装箱数量;
- String HC;//=航次;
- String HWZL;//=货物种类;
- String HWXS;//=货物形式;
- String LHXZ;//=理化性质;
- String ZYDD;//=作业地点;
- String ZYSJQ;//=作业时间起;
- String ZYSJZ;//=作业时间止;
- String AQFFCS;//=安全防范措施;
- String BGR;//=报告人;
- String LXFS;//=联系方式;
- String BGSJ;//=报告时间;
- String BYZD2;//=申报员证书编号;
- String SHYJ;//=审核意见;
- String SHR;//=审核人;
- String SHSJ;//=审核时间
- String DocumentID; //文档编号
- String mServerUrl;%>
- <%
- DocumentID = request.getParameter("documentID");
- mServerUrl = "http://" + request.getServerName() + ":"
- + request.getServerPort() + request.getContextPath()
- + "/Service.jsp";
- try {
- String targetUrl = "http://" + request.getServerName() + ":"
- + request.getServerPort() + request.getContextPath()
- + "/GetmSignatureData.do" + "?documentID=" + DocumentID;
- URL url = new URL(targetUrl);
- HttpURLConnection connection = (HttpURLConnection) url
- .openConnection();// 此时cnnection只是为一个连接对象,待连接中
- connection.setRequestMethod("GET");
- connection.connect();
- //System.out.println(connection.getResponseCode());
- BufferedReader bf = new BufferedReader(new InputStreamReader(
- connection.getInputStream(), "gb2312"));
- String line;
- StringBuilder sb = new StringBuilder(); // 用来存储响应数据
- // 循环读取流,若不到结尾处
- while ((line = bf.readLine()) != null) {
- sb.append(line);
- }
- bf.close(); // 重要且易忽略步骤 (关闭流,切记!)
- connection.disconnect(); // 销毁连接
- String result = "";
- try {
- result = java.net.URLDecoder
- .decode(sb.toString(), "gb2312");
- } catch (UnsupportedEncodingException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- String[] arrResult = result.split("\r\n");
- Map<String, String> map = new HashMap<String, String>();
- for (String tmp : arrResult) {
- String[] arrTmp = tmp.split("=");
- try {
- map.put(arrTmp[0].trim(), arrTmp[1]);
- } catch (Exception e) {
- map.put(arrTmp[0], "");
- }
- }
- BH = map.get("BH").trim();//=编号;
- ZYDW = map.get("ZYDW").trim();//=作业单位;
- ZYWTR = map.get("ZYWTR").trim();//作业委托人
- CM = map.get("CM").trim();//=船名;
- XCGLFZR = map.get("XCGLFZR").trim();//=现场管理负责人;
- WXHWMCBH = map.get("WXHWMCBH").trim();//=危险品名称;
- WPBH = map.get("WPBH").trim();//=物品编号;
- JSPM = map.get("JSPM");//=技术品名;
- BZ = map.get("BZ").trim();//=包装;
- WXPLB = map.get("WXPLB").trim();//=类别和项别;
- BYZD4 = map.get("BYZD4");//=包装类别;
- INOROUT = map.get("INOROUT").trim();//=进出港;
- ZYSL = map.get("ZYSL").trim();//=作业数量(吨);
- SG = map.get("SG").trim();//=上港;
- XG = map.get("XG").trim();//=下港;
- MAO = map.get("MAO").trim();//=内外贸;
- HZWXX = map.get("HZWXX").trim();//=火灾危险性;
- DXDJ = map.get("DXDJ").trim();//=毒性等级;
- WRLB = map.get("WRLB").trim();//=污染类别;
- JZXSL = map.get("JZXSL").trim();//=集装箱数量;
- HC = map.get("HC").trim();//=航次;
- HWZL = map.get("HWZL").trim();//=货物种类;
- HWXS = map.get("HWXS").trim();//=货物形式;
- LHXZ = map.get("LHXZ").trim();//=理化性质;
- ZYDD = map.get("ZYDD").trim();//=作业地点;
- ZYSJQ = map.get("ZYSJQ").trim();//=作业时间起;
- ZYSJZ = map.get("ZYSJZ").trim();//=作业时间止;
- AQFFCS = map.get("AQFFCS").trim();//=安全防范措施;
- BGR = map.get("BGR").trim();//=报告人;
- LXFS = map.get("LXFS").trim();//=联系方式;
- BGSJ = map.get("BGSJ").trim();//=报告时间;
- BYZD2 = map.get("BYZD2").trim();//=申报员证书编号;
- SHYJ = map.get("SHYJ").trim();//=审核意见;
- SHR = map.get("SHR").trim();//=审核人;
- SHSJ = map.get("SHSJ").trim();
- } catch (Exception e) {
- e.printStackTrace();
- }
- //--------------------------------------load world ----------------------------
- ResultSet result2 = null;
- String mSubject = null;
- String mStatus = null;
- String mAuthor = null;
- String mFileName = null;
- String mFileDate = null;
- String mHTMLPath = "";
- String mDisabled = "";
- String mDisabledSave = "";
- String mWord = "";
- String mExcel = "";
- //自动获取OfficeServer和OCX文件完整URL路径
- String mHttpUrlName = request.getRequestURI();
- String mScriptName = request.getServletPath();
- String mServerName = "OfficeServer.jsp";
- String mServerUrl2 = "http://"
- + request.getServerName()
- + ":"
- + request.getServerPort()
- + mHttpUrlName.substring(0,
- mHttpUrlName.lastIndexOf(mScriptName)) + "/"
- + mServerName;//取得OfficeServer文件的完整URL
- String mHttpUrl = "http://"
- + request.getServerName()
- + ":"
- + request.getServerPort()
- + mHttpUrlName.substring(0,
- mHttpUrlName.lastIndexOf(mScriptName)) + "/";
- String mRecordID = request.getParameter("RecordID");
- String mTemplate = request.getParameter("Template");
- String mFileType = request.getParameter("FileType");
- String mEditType = request.getParameter("EditType");
- String mShowType = request.getParameter("ShowType");
- String mUserName = new String(request.getParameter("UserName")
- .getBytes("8859_1"));
- //设置编号初始值
- if (mRecordID == null) {
- mRecordID = "";
- }
- //设置编辑状态初始值
- if (mEditType == null || mEditType == "") {
- mEditType = "1,1";
- }
- //设置显示模式初始值
- if (mShowType == null || mShowType == "") {
- mShowType = "1";
- }
- //设置文档类型初始值
- if (mFileType == null || mFileType == "") {
- mFileType = ".doc";
- }
- //设置用户名初始值
- if (mUserName == null || mUserName == "") {
- mUserName = "金格科技";
- }
- //设置模板初始值
- if (mTemplate == null) {
- mTemplate = "";
- }
- //打开数据库
- DBstep.iDBManager2000 DbaObj = new DBstep.iDBManager2000();
- if (DbaObj.OpenConnection()) {
- String mSql = "Select * From Document Where RecordID='"
- + mRecordID + "'";
- try {
- result2 = DbaObj.ExecuteQuery(mSql);
- if (result2.next()) {
- mRecordID = result2.getString("RecordID");
- mTemplate = result2.getString("Template");
- mSubject = result2.getString("Subject");
- mAuthor = result2.getString("Author");
- mFileDate = result2.getString("FileDate");
- mStatus = result2.getString("Status");
- mFileType = result2.getString("FileType");
- mHTMLPath = result2.getString("HTMLPath");
- } else {
- //取得唯一值(mRecordID)
- java.util.Date dt = new java.util.Date();
- long lg = dt.getTime();
- Long ld = new Long(lg);
- //初始化值
- mRecordID = ld.toString();//保存的是文档的编号,通过该编号,可以在里找到所有属于这条纪录的文档
- mTemplate = mTemplate;
- mSubject = "请输入主题";
- mAuthor = mUserName;
- mFileDate = DbaObj.GetDateTime();
- mStatus = "DERF";
- mFileType = mFileType;
- mHTMLPath = "";
- }
- result2.close();
- } catch (SQLException e) {
- System.out.println(e.toString());
- }
- DbaObj.CloseConnection();
- }
- if (mEditType == "0,0") {
- mDisabled = "disabled";
- mDisabledSave = "disabled";
- } else {
- mDisabled = "";
- }
- mFileName = mRecordID + mFileType; //取得完整的文档名称
- if (mFileType.equalsIgnoreCase(".doc")
- || mFileType.equalsIgnoreCase(".wps")) {
- mWord = "";
- mExcel = "disabled";
- } else if (mFileType == ".xls") {
- mWord = "disabled";
- mExcel = "";
- } else {
- mDisabled = "disabled";
- }
- %>
- <html>
- <head>
- <title></title>
- <style media="print">
- .Noprint {
- display: none;
- }
- </style>
- <style type="text/css">
- .inputOut{border: none; width: 58px; height: 30px; background: url(resource/images/download_a.png) no-repeat center;}
- .inputOver{border: none; width: 58px; height: 30px; background: url(resource/images/download_b.png) no-repeat center;}
- </style>
- <script type="text/javascript">
-
- //作用:自动锁定文档
- function ProtectDocument()
- {
- var mLength=document.getElementsByName("iHtmlSignature").length;
- var mProtect = false;
- for (var i=0;i<mLength;i++){
- var vItem=document.getElementsByName("iHtmlSignature")[i];
- if(vItem.DocProtect)
- {
- mProtect = true;
- break;
- }
- }
- if(!mProtect){
- var vItem = document.getElementsByName("iHtmlSignature")[mLength-1];
- vItem.LockDocument(true);
- }
- }
-
- //作用:获取签章信息,以XML格式返回,并且分析显示数据.具体的XML格式请参照技术白皮书
- // 具体分析后的内容如何处理,请自己做适当处理,本示例仅将返回结果进行提示。
- function WebGetSignatureInfo(){
- var mSignXMl=DocForm.SignatureControl.GetSignatureInfo(); //读取当前文档签章信息,以XML返回
- alert(mSignXMl); //调试信息
- var XmlObj = new ActiveXObject("Microsoft.XMLDOM");
- XmlObj.async = false;
- var LoadOk=XmlObj.loadXML(mSignXMl);
- var ErrorObj = XmlObj.parseError;
- if (ErrorObj.errorCode != 0){
- alert("返回信息错误...");
- }else{
- var CurNodes=XmlObj.getElementsByTagName("iSignature_HTML");
- for (var iXml=0;iXml<CurNodes.length;iXml++){
- var TmpNodes=CurNodes.item(iXml);
- /*
- alert(TmpNodes.selectSingleNode("SignatureOrder").text); //签章序列号
- alert(TmpNodes.selectSingleNode("SignatureName").text); //签章名称
- alert(TmpNodes.selectSingleNode("SignatureUnit").text); //签章单位
- alert(TmpNodes.selectSingleNode("SignatureUser").text); //签章用户
- alert(TmpNodes.selectSingleNode("SignatureDate").text); //签章日期
- alert(TmpNodes.selectSingleNode("SignatureIP").text); //签章电脑IP
- alert(TmpNodes.selectSingleNode("KeySN").text); //钥匙盘序列号
- alert(TmpNodes.selectSingleNode("SignatureSN").text); //签章序列号
- alert(TmpNodes.selectSingleNode("SignatureResult").text); //签章验测结果
- */
- }
- }
- }
- //作用:设置禁止(允许)签章的密钥盘 具体参数信息请参照技术白皮书
- function WebAllowKeySN()
- {
- var KeySn=window.prompt("请输入禁止在此页面上签章的钥匙盘序列号:");
- DocForm.SignatureControl.WebAllowKeySN(false,KeySn);
- }
- //作用:获取KEY密钥盘的SN序列号
- function WebGetKeySN()
- {
- var KeySn=DocForm.SignatureControl.WebGetKeySN();
- alert("您的钥匙盘序列号为:"+KeySn);
- }
- //作用:校验用户的 PIN码是否正确
- function WebVerifyKeyPIN()
- {
- var KeySn = DocForm.SignatureControl.WebGetKeySN();
- var mBoolean = DocForm.SignatureControl.WebVerifyKeyPIN("123456");
- if (mBoolean){
- alert(KeySn+":通过校验");
- }else{
- alert(KeySn+":未通过校验");
- }
- }
- //作用:修改钥匙盘PIN码,参数1为原PIN码,参数2为修改后的PIN码
- function WebEditKeyPIN()
- {
- var oldPIN = window.prompt("请输入原来的PIN码");
- if(oldPIN == null){
- return;
- }
- var newPIN = window.prompt("请输入修改后的PIN码");
- if(newPIN == null){
- return;
- }
- var mBoolean = DocForm.SignatureControl.WebEditKeyPIN(oldPIN,newPIN);
- if (mBoolean){
- alert("钥匙盘PIN码修改成功!");
- }else{
- alert("钥匙盘PIN码修改不成功!");
- }
- }
- //作用:批量验证签章
- function BatchCheckSign()
- {
- DocForm.SignatureControl.BatchCheckSign();
- }
-
- //作用:显示或隐藏签章
- function ShowSignature(visibleValue)
- {
- var mLength=document.getElementsByName("iHtmlSignature").length;
- for (var i=0;i<mLength;i++){
- var vItem=document.getElementsByName("iHtmlSignature")[i];
- vItem.Visiabled = visibleValue;
- }
- }
- //作用:删除签章
- function DeleteSignature()
- {
- var mLength=document.getElementsByName("iHtmlSignature").length;
- var mSigOrder = "";
- for (var i=mLength-1;i>=0;i--){
- var vItem=document.getElementsByName("iHtmlSignature")[i];
- //mSigOrder :=
- if (vItem.SignatureOrder=="1")
- {
- vItem.DeleteSignature();
- }
- }
- }
- //作用:移动签章
- function MoveSignature()
- {
- DocForm.SignatureControl.MovePositionByNoSave(100,100);
- alert("位置增加100");
- DocForm.SignatureControl.MovePositionByNoSave(-100,-100);
- alert("回到原来位置");
- DocForm.SignatureControl.MovePositionToNoSave(100,100);
- alert("移动到100,100");
- }
- //作用:脱密
- function ShedCryptoDocument()
- {
- DocForm.SignatureControl.ShedCryptoDocument();
- }
- //作用:脱密还原
- function ResetCryptoDocument()
- {
- DocForm.SignatureControl.ResetCryptoDocument();
- }
- //作用:打印文档
- function PrintDocument(){
- var tagElement = document.getElementById('documentPrintID');
- tagElement.className = 'print'; //样式改变为可打印
- var mCount = DocForm.SignatureControl.PrintDocument(false,2,5); //打印控制窗体
- alert("实际打印份数:"+mCount);
- tagElement.className = 'Noprint'; //样式改变为不可打印
- }
- //作用:获取IE版本,如果是高于IE9,设置打印方式解决签章打印黑白问题
- function getIEVersion()
- {
-
- var mXml = "<?xml version='1.0' encoding='GB2312' standalone='yes'?>";
- mXml = mXml + " <Signature>";
- mXml = mXml + " <OtherParam>";
- mXml = mXml + " <PrintType>1</PrintType>"; //IE9以上设置为1解决签章打印黑白问题
- //mXml = mXml + " <DIVIndex>-999999</DIVIndex>"; //IE9以上设置为1解决签章打印黑白问题
- mXml = mXml + " </OtherParam>";
- mXml = mXml + " </Signature>";
- DocForm.SignatureControl.XmlConfigParam = mXml;
-
- }
-
- //作用:显示操作状态
- function StatusMsg(mString){
- //webform.StatusBar.value=mString;
- }
- //作用:载入iWebOffice
- function Load(){
- DocForm.SignatureControl.ShowSignature('<%=DocumentID%>');
- try{
- //以下属性必须设置,实始化iWebOffice
- webform.WebOffice.WebUrl="<%=mServerUrl2%>"; //WebUrl:系统服务器路径,与服务器文件交互操作,如保存、打开文档,重要文件
- webform.WebOffice.RecordID="<%=DocumentID%>"; //RecordID:本文档记录编号 mRecordID
- webform.WebOffice.Template="<%=mTemplate%>"; //Template:模板编号
- webform.WebOffice.FileName="<%=mFileName%>"; //FileName:文档名称
- webform.WebOffice.FileType="<%=mFileType%>"; //FileType:文档类型 .doc .xls .wps
- webform.WebOffice.UserName="<%=mUserName%>"; //UserName:操作用户名,痕迹保留需要
- webform.WebOffice.EditType="<%=mEditType%>"; //EditType:编辑类型 方式一、方式二 <参考技术文档>
- //第一位可以为0,1,2,3 其中:0不可编辑;1可以编辑,无痕迹;2可以编辑,有痕迹,不能修订;3可以编辑,有痕迹,能修订;
- //第二位可以为0,1 其中:0不可批注,1可以批注。可以参考iWebOffice2009的EditType属性,详细参考技术白皮书
- webform.WebOffice.MaxFileSize = 4 * 1024; //最大的文档大小控制,默认是8M,现在设置成4M。
- webform.WebOffice.Language="CH"; //Language:多语言支持显示选择 CH简体 TW繁体 EN英文
- //webform.WebOffice.ShowWindow = true; //控制显示打开或保存文档的进度窗口,默认不显示
- webform.WebOffice.PenColor="#FF0000"; //PenColor:默认批注颜色
- webform.WebOffice.PenWidth="1"; //PenWidth:默认批注笔宽
- webform.WebOffice.Print="1"; //Print:默认是否可以打印:1可以打印批注,0不可以打印批注
- webform.WebOffice.ShowToolBar="0"; //ShowToolBar:是否显示工具栏:1显示,0不显示
-
- //WebSetRibbonUIXML(); //控制OFFICE2007的选项卡显示
- webform.WebOffice.WebOpen(); //打开该文档 交互OfficeServer 调出文档OPTION="LOADFILE" 调出模板OPTION="LOADTEMPLATE" <参考技术文档>
- webform.WebOffice.ShowType=<%=mShowType%>; //文档显示方式 1:表示文字批注 2:表示手写批注 0:表示文档核稿
-
-
- if (!webform.WebOffice.WebLoadBookmarks()){ //交互OfficeServer的OPTION="LOADBOOKMARKS"
- //StatusMsg(webform.WebOffice.Status);
- }else{
- //StatusMsg(webform.WebOffice.Status);
- }
-
-
- ConvertSignature();//将html的章转到office中的test1标签处
-
-
-
- }catch(e){
-
- alert(e.description); //显示出错误信息
- }
- }
- function SetCharacterEncoding()
- {
- //var mValue = window.prompt("请输入信息字符集 0:ANSI 1:UTF-8 2:为HTML签章采用字符集","2");
- //if(mValue == null){
- //return;
- //}
-
-
- //webform.SignatureControl.SetParam("SIGNRESULTUTF8","0");
- //设置SignatureValueStr结果字符集
- var mLength=document.getElementsByName("iHtmlSignature").length;
- var mSigOrder = "";
- for (var i=mLength-1;i>=0;i--){
- var vItem=document.getElementsByName("iHtmlSignature")[i];
- vItem.SetParam('SIGNRESULTUTF8', "0");
-
- //alert(document.getElementsByName("iHtmlSignature").SignatureValueStr);
-
- }
- }
- //HTML签章转换为OFFICE签章
- function ConvertSignature(){
- //alert("222");
- //解决章上的乱码问题
- SetCharacterEncoding();
- var mResult = true;
- var BmkName = "test1";
- var vItem = document.getElementsByName("iHtmlSignature");
- if(vItem.length<=0){
- //alert("请先点击上面的‘HTML签章’,至少盖一个HTML签章!");
- return;
- }
-
- SetActiveDocument();
-
- webform.WebOffice.SignatureAPI.BeginLoadSignature();
- try{
- // webform.WebOffice.SignatureAPI.LockDocument(1); //锁定文档
- var mLength = vItem.length;
- var books= webform.WebOffice.WebObject.Bookmarks;
- if(books.Exists(BmkName)) {
- webform.WebOffice.WebObject.Bookmarks.Item(BmkName).Range.Select();
- //webform.WebOffice.SignatureAPI.UnLockDocument();
- //alert("签章高度和宽度:"+vItem[0].clientHeight+"||"+vItem[0].clientWidth);
-
- if( vItem[0].Check){//如果章验证失败,验证结果被篡改的章是不转的
- //webform.WebOffice.SignatureAPI.ConvertHTML2Office(vItem[0].SignatureValueStr);
- var vItem2=document.getElementsByName("iHtmlSignature")[0];
- var signatureData = vItem2.SignatureValueStr;
- //alert('test');
- vItem2.SignatureOrder=0;
- zhuanzhang(signatureData);
- //zhuanzhang(vItem[0].SignatureValueStr);
- }
- }
-
- //webform.WebOffice.SignatureAPI.LockDocument(1); //锁定文档
- webform.WebOffice.SignatureAPI.EndLoadSignature();
- webform.WebOffice.SignatureAPI.ReleaseActiveDocument();
-
- }catch(e){
- alert(e.discription);
- mResult= false;
- }
-
- //webform.WebOffice.WebObject.NormalTemplate.Saved = true;
- return mResult;
- }
- function zhuanzhang(htmlsigndata){
- //alert(htmlsigndata);
- //webform.WebOffice.SignatureAPI.ConvertHTML2Office("1212121");
- //webform.SignatureAPI.ConvertHTML2Office(htmlsigndata);
- webform.WebOffice.SignatureAPI.ConvertHTML2Office(htmlsigndata);
- }
- //作用:退出iWebOffice
- function UnLoad(){
- DocForm.SignatureControl.DeleteSignature();
- try{
- webform.SignatureAPI.ReleaseActiveDocument();
- if (!webform.WebOffice.WebClose()){
- StatusMsg(webform.WebOffice.Status);
- }else{
- StatusMsg("关闭文档...");
- }
- }catch(e){
- //alert(e.description);
- }
- }
- //作用:存为本地文件
- function WebSaveLocal(){
- try{
- webform.WebOffice.WebSaveLocal();
- StatusMsg(webform.WebOffice.Status);
- }catch(e){alert(e.description);}
- }
- //作用:设置活动文档对象
- function SetActiveDocument(){
- try{
- if (webform.WebOffice.FileType==".doc"){
- webform.WebOffice.SignatureAPI.ActiveDocument = webform.WebOffice.WebObject; //设置WORD对象
- }
- }catch(e){
- alert(e.description);
- }
- }
- function createSign(){
- try{
- SetActiveDocument(); //设置活动文档
- if(webform.WebOffice.SignatureAPI.SelectionState==0){ //成功
- //webform.WebOffice.SignatureAPI.SelectIndex = GetSign('签名');
- webform.WebOffice.SignatureAPI.CreateSignature(1); //建立电子签章
- webform.WebOffice.SignatureAPI.ReleaseActiveDocument();
- }
- }catch(e){alert(e.description)}
- }
- //test
- function test(){
- try{
- var msg = webform.WebOffice.SignatureAPI.CreateComment("2年");
- if(msg){
- SetActiveDocument();
- webform.WebOffice.SignatureAPI.ActionAddinButton(2);
- //webform..SignatureAPI.ReleaseActiveDocument();
- }else{
- alert(msg);
- }
- }
- catch(e){alert(e.description);}
- try{
- //var table = webform.WebOffice.WebObject.Tables.Add(webform.WebOffice.WebObject.Bookmarks("test").Range,4,4);
- //table.Borders.Enable=true;
- //alert(webform.WebOffice.WebObject.FormFields("test1").Range);
- /*
- var myTable = webform.WebOffice.WebObject.Tables.Add(webform.WebOffice.WebObject.FormFields("test1").Range,4,3);
- myTable.Borders.InsideLineStyle = 1;
- myTable.Borders.OutsideLineStyle = 1;
- var Selection =webform.WebOffice.WebObject.Application.Range;
- //books("test").Range.Select();
- Selection.InsertFile(path);
- */
- return;
- // SetActiveDocument(); //设置活动文档
- //webform.WebOffice.SignatureAPI.SelectIndex = GetSign('8365');
- // webform.WebOffice.SignatureAPI.ActionAddinButton(1);//签章参数
- // alert(webform.WebOffice.SignatureAPI.SelectionState);
- // webform.WebOffice.SignatureAPI.SetSignatureParam("MousePositioning","1");
- //webform.WebOffice.SignatureAPI.ActionAddinButton(1);
- // webform.WebOffice.WebObject.Bookmarks.Item("test").Range.Select();
- // var Selection= webform.WebOffice.Application.Selection;
- // webform.WebOffice.WebObject.Application.Selection.InlineShapes.AddPicture("c:\\1.jpg",false,true);
- //var Selection = wd.Application.Selection;
- //下面方法中第一个参数为水印图片路径
- //Selection.HeaderFooter.Shapes.AddPicture("c:\11.gif", false, true);
- var books= webform.WebOffice.WebObject.Bookmarks;
- var Selection =webform.WebOffice.WebObject.Application.Selection;
- //books("test").Range.Select();
- Selection.GoTo(-1,0,0,"test");
- Selection.MoveDown(5,5);
- Selection.TypeParagraph();//回车
- Selection.text = "[描述]";//书签描述
- books.Add("名称",Selection);//光标位置 插入书签
- }catch(e){
- alert(e.description);
- }finally{
- // webform.WebOffice.SignatureAPI.ReleaseActiveDocument();
- }
- }
- //无对话框签章
- function CreateNoneSignature(){
- try{
- var fc,fd,BmkName;
- SetActiveDocument(); //设置活动文档
-
- BmkName = "test";//首先在文档上添加一个名称 test 的标签
- webform.WebOffice.SignatureAPI.BeginLoadSignature();
- if(webform.WebOffice.WebObject.Bookmarks.Exists(BmkName))
- {
- webform.WebOffice.WebObject.Bookmarks.Item(BmkName).Range.Select();
- if(webform.WebOffice.SignatureAPI.SelectionState == 0)//成功
- {
- webform.WebOffice.SignatureAPI.CreateGroupSignature(true, 0, "000000");//true,密钥盘签章索引,签章密码
- }
- }else{
- webform.WebOffice.SignatureAPI.CreateGroupSignature(true, 0, "000000");//true,密钥盘签章索引,签章密码
- }
- webform.WebOffice.SignatureAPI.EndLoadSignature();
- webform.WebOffice.SignatureAPI.ReleaseActiveDocument();
- }catch(e){alert(e.discription);}
- }
-
- </script>
- </head>
- <body id="documentPrintID" class="Noprint" onLoad="Load();"
- onUnload="UnLoad();">
- <input type="button" onclick="WebSaveLocal();" class="inputOut" onMouseOver="this.className='inputOver'" onMouseOut="this.className='inputOut'" />
- <form name="DocForm">
- <input type="hidden" name="DocumentID" value="<%=DocumentID%>">
- <OBJECT id="SignatureControl"
- classid="clsid:D85C89BE-263C-472D-9B6B-5264CD85B36E"
- codebase="iSignatureHTML.cab#version=8,2,2,56" width="0" height="0">
- <param name="ServiceUrl" value="<%=mServerUrl%>">
- <!--读去数据库相关信息-->
- <param name="PrintControlType" value=2>
- <!--打印控制方式(0:不控制 1:签章服务器控制 2:开发商控制)-->
- </OBJECT>
- <div style="width: 100%; text-align: center;">
- <table id="tab"
- style="width: 595px; border-collapse: collapse; empty-cells: show; background-color: "
- border="0" cellspacing="0" cellpadding="0">
- <thead>
- <tr valign="top" style="height: 20px;">
- <td colspan="7"></td>
- </tr>
- <!-- title -->
- <tr valign="top" style="height: 33px;">
- <td></td>
- <td
- style="text-align: center; text-indent: 0px; vertical-align: middle;"
- colspan="5"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 20px; font-weight: bold;">
- 危险货物港口作业申请书 </span>
- </td>
- <td></td>
- </tr>
- </thead>
- <tbody>
- <tr valign="top" style="height: 23px;">
- <td></td>
- <td
- style="text-align: left; text-indent: 0px; padding-left: 10px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1; font-family: 宋体; font-size: 12px;">
- 编号: </span>
- </td>
- <td
- style="text-align: left; text-indent: 0px; vertical-align: middle;"
- colspan="4"><input type="text" name="BH" value="<%=BH%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 作业单位 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="ZYDW" value="<%=ZYDW%>"
- style='width: 100%; border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 作业委托人 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="ZYWTR" value="<%=ZYWTR%>"
- style='width: 100%; border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 船名 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="CM" value="<%=CM%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 现场管理负责人 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="XCGLFZR" value="<%=XCGLFZR%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 危险品名称 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="WXHWMCBH" value="<%=WXHWMCBH%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 物品编号 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="WPBH" value="<%=WPBH%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 技术品名 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="JSPM" value="<%=JSPM%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 包装 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="BZ" value="<%=BZ%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 类别和项别 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="WXPLB" value="<%=WXPLB%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 包装类别 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="BYZD4" value="<%=BYZD4%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 进出港 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="INOROUT" value="<%=INOROUT%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 作业数量(吨) </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="ZYSL" value="<%=ZYSL%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 上港 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="SG" value="<%=SG%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 下港 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="XG" value="<%=XG%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 内外贸 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="MAO" value="<%=MAO%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 火灾危险性 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="HZWXX" value="<%=HZWXX%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 毒性等级 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="DXDJ" value="<%=DXDJ%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 污染类别 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="WRLB" value="<%=WRLB%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 集装箱数量 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="JZXSL" value="<%=JZXSL%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 航次 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="HC" value="<%=HC%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 货物种类 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="3"><input type="text" name="HWZL" value="<%=HWZL%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 货物形式 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="3"><input type="text" name="HWXS" value="<%=HWXS%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 45px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 理化性质 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-bottom: 5px; padding-left: 5px; vertical-align: middle;"
- colspan="3"><Textarea name="LHXZ" onfocus="this.blur();"
- rows="4"
- style='width: 100%; height: 100%; overflow: hidden; background-attachment: fixed; font-family: 宋体; font-size: 12px; background-repeat: no-repeat; border-style: solid; border-color: #FFFFFF'><%=LHXZ%></Textarea>
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 作业地点 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="3"><input type="text" name="ZYDD" value="<%=ZYDD%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 作业时间起 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="ZYSJQ" value="<%=ZYSJQ%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 作业时间止 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="ZYSJZ" value="<%=ZYSJZ%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 83px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 安全防范措施 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-bottom: 5px; padding-left: 5px; vertical-align: middle;"
- colspan="3"><Textarea name="AQFFCS" onfocus="this.blur();"
- rows="6"
- style='width: 100%; height: 100%; overflow: hidden; background-attachment: fixed; font-family: 宋体; font-size: 12px; background-repeat: no-repeat; border-style: solid; border-color: #FFFFFF'><%=AQFFCS%></Textarea>
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 报告人 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="BGR" value="<%=BGR%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px; width: 100%;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 联系方式 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="LXFS" value="<%=LXFS%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 报告时间 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="BGSJ" value="<%=BGSJ%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 申报员证书编号 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="BYZD2" value="<%=BYZD2%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 28px;">
- <td></td>
- <td
- style="text-align: center; text-indent: 0px; vertical-align: middle;"
- colspan="5"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 16px; font-weight: bold;">
- 审核 </span>
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 40px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 审核意见 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="SHYJ" value="<%=SHYJ%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border-top-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-width: 1px; border-left-width: 1px; border-top-style: solid; border-left-style: solid;">
- <div id="yfdiv" style="position: absolute;" bgcolor=#ffffff></div>
- </td>
- <td
- style="border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-width: 1px; border-right-width: 1px; border-top-style: solid; border-right-style: solid;">
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 40px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 审核机构 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- </td>
- <td
- style="border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-bottom-width: 1px; border-left-width: 1px; border-bottom-style: solid; border-left-style: solid;">
- </td>
- <td
- style="border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;">
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 审核人 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="SHR" value="<%=SHR%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 审核日期 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <input type="text" name="SHSJ" value="<%=SHSJ%>"
- style='border-left: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; font-family: 宋体; font-size: 12px;'
- onfocus="this.blur();" /></td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 30px;">
- <td></td>
- <td
- style="text-align: center; text-indent: 0px; vertical-align: middle;"
- colspan="5"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 16px; font-weight: bold;">
- 开工报、完工报 </span>
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 靠泊时间 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 25px;">
- <td></td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="2"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 开工时间 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- <span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px; font-weight: bold;">
- 完工时间 </span>
- </td>
- <td
- style="border: 1px solid rgb(0, 0, 0); border-image: none; text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;">
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 20px;">
- <td></td>
- <td
- style="text-align: left; text-indent: 0px; padding-left: 5px; vertical-align: middle;"
- colspan="5"><span
- style="color: rgb(0, 0, 0); line-height: 1.1406; font-family: 宋体; font-size: 12px;">
- </span>
- </td>
- <td></td>
- </tr>
- <tr valign="top" style="height: 20px;">
- <td colspan="7"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </form>
- <form name="webform" style="display:'none';">
- <table border="0" cellspacing="0" cellpadding="0" width="100%"
- height="100%">
- <tr>
- <td bgcolor="menu" height="98%" valign="top"><script
- src="iWebOffice2009.js"></script> <script src="iSignatureHTML.js"></script>
- <object id="SignatureAPI" width="0" height="0"
- classid="clsid:79F9A6F8-7DBE-4098-A040-E6E0C3CF2001"
- codebase="iSignatureAPI.ocx#version=9,0,0,316"> </object></td>
- </tr>
- </table>
- </form>
- </body>
- </html>
|