1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378 |
- <%@ 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.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()
- + "/iSignature/jspServer/Service.jsp";
- try {
- String targetUrl = "http://" + request.getServerName() + ":"
- + request.getServerPort() + request.getContextPath()
- + "/GetSignatureData.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 = "iSignature/jspServer/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%>');
- }
- //作用:载入iWebOffice
- function Load2(){
- 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" 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;" align="center"
- 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:'';">
- <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" >
- <tr>
- <td bgcolor="menu" height="98%" valign="top"><script
- src="../js/iWebOffice2009.js"></script> <script src="../js/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>
|