1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <%@page language="java" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="content-Type" content="text/html; charset=utf-8" />
- <title>附件列表</title>
- <!--框架必需start 扁平风格-->
- <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <link href="/nwyj/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" id="skin" skinPath="/nwyj/scripts/qui/" scrollerY="false" scrollerX="false"/>
- <!-- 模版js和css start-->
- <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
- rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
- positionTarget="positionContent" selInputHeight="32"
- selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
- defaultFileInputWidth="200" defaultGridHeaderHeight="34"
- defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
- defaultFilterItemHeight="32" dialogWidthFix="0"
- defaultSelItemHeight="32" defaultFontFamily="宋体" />
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
- <!--框架必需end-->
- <!-- 扩展工具js -->
- <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/DateUtil.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/commom/common/common.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <!-- 附件上传 -->
- <link rel="stylesheet" type="text/css" href="/nwyj/scripts/webUploader/css/webuploader.css" />
- <link rel="stylesheet" type="text/css" href="/nwyj/scripts/webUploader/css/style.css" />
- <script type="text/javascript" src="/nwyj/scripts/webUploader/webuploader.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/webUploader/upload.js"></script>
- <!-- 附件上传 -->
- <style type="text/css">
- html,body {
- width: 100%;
- height: 100%;
- }
- body{overflow: auto}
- </style>
- </head>
- <body>
- <script type="text/javascript">
- $(function() {
- var defaultOpts = {
- // 自动上传。
- auto : true,
- // swf文件路径
- swf : '/nwyj/scripts/webUploader/Uploader.swf',
- // 文件接收服务端。
- //server : '/nwyj/Upload',
- server : $.pathname() +'/ws/uploadForm/FileUpDownService/indexUpLoad',
- //sendAsBinary : true,
- //withCredentials : true,
- // 选择文件的按钮。可选。
- pick : '#picker',
- fileNumLimit : 5,
- fileSizeLimit : 2000 * 1024 * 1024, // 2000 M
- fileSingleSizeLimit : 500 * 1024 * 1024, // 500 M
- chunked : false,
- chunkSize : 512 * 1024,
- fileTypeLimit : 'exe,jsp,asp',
- accept : {
- extensions : "gif,jpg,jpeg,bmp,png,rar,zip,doc,docx,xls,xlsx,mp4,pdf,pptx,ppt,3GP,mp3,txt"
- },
- /*
- formData: {},
- runtimeOrder: 'flash',
- */
- //禁掉全局的拖拽功能。这样不会出现图片拖进页面的时候,把图片打开。
- disableGlobalDnd : true
- };
- $('#fileDiv').newAsyncFileUpload(defaultOpts, "", 1);
- });
-
- //父窗口调用,并取数据的方法
- function getDateFromChild(){
- var formValue = $("#editForm").serialize();
- return formValue;
- }
-
- </script>
- <form id="editForm">
- <input type="hidden" name="indexPageBusinessId" value="00000123456"/>
- <div id="fileDiv"></div>
-
- </form>
- </body>
- </html>
|