123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta content="IE=edge" http-equiv="X-UA-Compatible">
- <meta content="initial-scale=1.0, width=device-width" name="viewport">
- <title>湖北智慧水运</title>
- <!-- css -->
- <link href="../css/base.min.css" rel="stylesheet">
- <script type="text/javascript" src="../js/zepto.min.js"></script>
- <link rel="stylesheet" type="text/css" href="../css/mui.min.css">
- <style>
- .container{
- padding-left:0px;
- padding-right:0px;
- }
- .mui-input-group:after {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- height: 0px;
- content: '';
- background-color: #c8c7cc;
- -webkit-transform: scaleY(.5);
- transform: scaleY(.5);
- }
- .header-logo{
- width:50%;
- text-align:right;
- }
- .layermmain .section { vertical-align: middle;}
- .icback{
- font-size: 22px;
- }
- .nav{position: fixed;}
- .header {
- width:100%;
- height:45px;
- line-height:45px;
- padding:0;
-
- color:#eee;
- font-size:22px;
- text-align:center;
- color:white;
- background: #2196f3;
- }
- </style>
- <script type="text/javascript">
- function tuihui(){
- layer.open({
- content: '确定退回吗?',
- btn: ['确认', '取消'],
- shadeClose: false,
- yes: function(){
- //layer.open({content: '你点了确认', time: 1});
- }, no: function(){
- // layer.open({content: '你选择了取消', time: 1});
- }
- });
- }
- </script>
- </head>
- <body class="page-blue">
- <header class="header">
- <ul class="nav nav-list pull-left">
- <li><a href="javascript:void(0);" id="goback" onclick="history.back()" ><span class="icon icon-arrow-back icback"></span>
- </a></li>
- </ul>
- <a class="" href="#">文档详情</a>
- </header>
- <div class="content" style="margin-top: 45px;">
- <div class="content-inner" >
- <div class="container">
- <div class="table-responsive">
- <table class="table" title="Default Tabl">
- <tbody id="content">
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <script>
-
- $(function(){
- var statusname = {"0":"锁定","1":"正常"}
- $.ajax({
- type: 'post',
- url: '../../wdglcontroller/view.do',
- data:{id:getQueryString("id")},
- dataType: 'json',
- success: function(data){
- console.log(data)
- var result = "";
- result+='<tr><td class="titlered">文件编号</td><td style="word-wrap:break-word;word-break:break-all;" >'+data.fileVo.id+'</td></tr>';
- result+='<tr><td class="titlered">文件下载</td><td><a style="text-decoration: underline;" href="../../wdglcontroller/download.do?id='+data.fileVo.id+'">下载</a></td></tr> ';
- result+='<tr><td class="titlered">文件名称</td><td>'+data.fileVo.name+'</td></tr>';
- result+='<tr><td class="titlered">文件状态</td><td>'+statusname[data.fileVo.recordStatus]+'</td></tr>';
- result+='<tr><td class="titlered">文件类型</td><td>'+data.fileVo.filetype+'</td></tr>';
- result+='<tr><td class="titlered">文件大小</td><td>'+data.fileVo.filesize+'</td></tr>';
- result+='<tr><td class="titlered">创建人</td><td>'+data.fileVo.addUsername+'</td></tr>';
- result+='<tr><td class="titlered">创建时间</td><td>'+todata(data.fileVo.addDate)+'</td></tr>';
- result+='<tr><td class="titlered">修改人</td><td>'+data.fileVo.updateUsername+'</td></tr>';
- result+='<tr><td class="titlered">修改时间</td><td>'+todata(data.fileVo.updateDate)+'</td></tr>';
- result+='<tr><td class="titlered">直属文件夹</td><td>'+data.fileVo.wjjId+'</td></tr>';
- result+='<tr><td class="titlered">备注</td><td>'+data.fileVo.reserve1+'</td></tr>';
- result+='<tr><td class="titlered">操作记录</td><td>'+data.fileVo.reserve1+'</td></tr>';
- $("#content").html(result);
- }})
- })
-
-
- </script>
- </body>
- </html>
|