123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!-- saved from url=(0014)about:internet -->
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
- <!--
- Smart developers always View Source.
-
- This application was built using Adobe Flex, an open source framework
- for building rich Internet applications that get delivered via the
- Flash Player or to desktops via Adobe AIR.
-
- Learn more about Flex at http://flex.org
- // -->
- <head>
- <title>${title}</title>
- <meta name="google" value="notranslate" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="pragma" content="no-cache"/>
- <meta http-equiv="Cache-Control" content="no-cache, must-revalidate"/>
- <meta http-equiv="expires" content="0"/>
- <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
- the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
- the percentage of the height of its parent container, which has to be set explicitly. Fix for
- Firefox 3.6 focus border issues. Initially, don't display flashContent div so it won't show
- if JavaScript disabled.
- -->
- <style type="text/css" media="screen">
- html, body { height:100%; }
- body { margin:0; padding:0; overflow:auto; text-align:center;
- background-color: ${bgcolor}; }
- object:focus { outline:none; }
- #flashContent { display:none; }
- </style>
-
- <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
- <!-- BEGIN Browser History required section ${useBrowserHistory}>
- <link rel="stylesheet" type="text/css" href="history/history.css" />
- <script type="text/javascript" src="history/history.js"></script>
- <!${useBrowserHistory} END Browser History required section -->
-
- <script type="text/javascript" src="swfobject.js"></script>
- <script type="text/javascript">
- // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
- var swfVersionStr = "${version_major}.${version_minor}.${version_revision}";
- // To use express install, set to playerProductInstall.swf, otherwise the empty string.
- var xiSwfUrlStr = "${expressInstallSwf}";
- var flashvars = {"localeChain":"zh_CN,en_US"};
- var params = {};
- params.quality = "high";
- params.bgcolor = "${bgcolor}";
- params.allowscriptaccess = "sameDomain";
- params.allowfullscreen = "true";
- var attributes = {};
- attributes.id = "${application}";
- attributes.name = "${application}";
- attributes.align = "middle";
- swfobject.embedSWF(
- "${swf}.swf?version=4.1.9", "flashContent",
- "${width}", "${height}",
- swfVersionStr, xiSwfUrlStr,
- flashvars, params, attributes);
- // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
- swfobject.createCSS("#flashContent", "display:block;text-align:left;");
- </script>
- </head>
- <body>
- <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
- JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
- when JavaScript is disabled.
- -->
- <div id="flashContent">
- <p>
- To view this page ensure that Adobe Flash Player version
- ${version_major}.${version_minor}.${version_revision} or greater is installed.
- </p>
- <script type="text/javascript">
- var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
- document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
- + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
- </script>
- </div>
-
- <script type="text/javascript">
-
- function moveIFrame(x,y,w,h) {
- var frameRef=document.getElementById("myFrame");
- frameRef.style.left=x+"px";
- frameRef.style.top=y+"px";
- var iFrameRef=document.getElementById("myIFrame");
- iFrameRef.width=w;
- iFrameRef.height=h;
- }
-
- function hideIFrame(){
- document.getElementById("myFrame").style.visibility="hidden";
- }
-
- function showIFrame(){
- document.getElementById("myFrame").style.visibility="visible";
- }
-
- function loadIFrame(url){
- document.getElementById("myFrame").innerHTML = "<iframe id='myIFrame' src='" + url + "'frameborder='0'></iframe>";
- }
-
- </script>
- <div id="myFrame" style="position:absolute;background-color:transparent;border:0px;visibility:hidden;"></div>
- <noscript>
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="${width}" height="${height}" id="${application}">
- <param name="movie" value="${swf}.swf" />
- <param name="quality" value="high" />
- <param name="bgcolor" value="${bgcolor}" />
- <param name="allowScriptAccess" value="sameDomain" />
- <param name="allowFullScreen" value="true" />
- <!--[if !IE]>-->
- <object type="application/x-shockwave-flash" data="${swf}.swf" width="${width}" height="${height}">
- <param name="quality" value="high" />
- <param name="bgcolor" value="${bgcolor}" />
- <param name="allowScriptAccess" value="sameDomain" />
- <param name="allowFullScreen" value="true" />
- <!--<![endif]-->
- <!--[if gte IE 6]>-->
- <p>
- Either scripts and active content are not permitted to run or Adobe Flash Player version
- ${version_major}.${version_minor}.${version_revision} or greater is not installed.
- </p>
- <!--<![endif]-->
- <a href="http://www.adobe.com/go/getflashplayer">
- <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
- </a>
- <!--[if !IE]>-->
- </object>
- <!--<![endif]-->
- </object>
- </noscript>
-
- <!--------------------------- iSignature begin: ----------------------------------->
- <form name="mainForm" style="display:none">
- <div id="obj" ></div>
- </form>
-
- <script type="text/javascript">
- window.onload=function(){
- var ServiceUrl = window.location.protocol+"//"+ window.location.hostname +":"+window.location.port+ window.location.pathname+ "iSignature/jspServer/Service.jsp";
- var objHtml= '<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="'+
- ServiceUrl+'" > '+
- '</OBJECT>';
- document.getElementById('obj').innerHTML = objHtml;
- }
-
- //作用:进行批量签章
- function RunBatchSignature(documentID,userName,ExtParam){
- ExtParam = encodeURI(ExtParam,"utf-8");
- //userName = encodeURI(userName,"utf-8");
- mainForm.SignatureControl.FieldsList="BH=编号;ZYDW=作业单位;ZYWTR=作业委托人;CM=船名;XCGLFZR=现场管理负责人;WXHWMCBH=危险品名称;WPBH=物品编号;JSPM=技术品名;BZ=包装;WXPLB=类别和项别;BYZD4=包装类别;INOROUT=进出港;ZYSL=作业数量(吨);SG=上港;XG=下港;MAO=内外贸;HZWXX=火灾危险性;DXDJ=毒性等级;WRLB=污染类别;JZXSL=集装箱数量;HC=航次;HWZL=货物种类;HWXS=货物形式;LHXZ=理化性质;ZYDD=作业地点;ZYSJQ=作业时间起;ZYSJZ=作业时间止;AQFFCS=安全防范措施;BGR=报告人;LXFS=联系方式;BGSJ=报告时间;BYZD2=申报员证书编号;SHYJ=审核意见;SHR=审核人;SHSJ=审核时间"; //所保护字段
- mainForm.SignatureControl.Position(0,0); //签章位置
- mainForm.SignatureControl.DocumentList=documentID; //签章页面ID
- mainForm.SignatureControl.WebSetFontOther("True","同意通过","0","宋体","11","000128","True"); //默认签章附加信息及字体,具体参数信息参阅技术白皮书
- mainForm.SignatureControl.SaveHistory="True"; //是否自动保存历史记录,true保存 false不保存 默认值false
- mainForm.SignatureControl.UserName="wjd"; //文件版签章用户
- mainForm.SignatureControl.WebCancelOrder=0; //签章撤消原则设置, 0无顺序 1先进后出 2先进先出 默认值0
- mainForm.SignatureControl.DivId = "yfdiv"; //签章所在层
- mainForm.SignatureControl.EnableMove = "false";
- mainForm.SignatureControl.AutoCloseBatchWindow=true; //为true当批量签章完成后,系统自动关闭进度窗口,否则不自动关闭,系统默认为false。
- mainForm.SignatureControl.ExtParam = ExtParam; //输入的附加信息
- return mainForm.SignatureControl.RunBatchSignature(); //执行批量签章
- }
-
- //打开危险品审批的打印页面
- function ZysqbpPrintSignature(documentID){
- var url = "/yjpt/iSignature/view/ZysqbpPrintSignature.jsp?Template=1468222709986&UserName=&FileType=.doc&documentID="+documentID;
- window.open (url,"_blank");
- }
- </script>
- <!------------------------------ iSignature end ----------------------------------->
-
- </body>
- </html>
|