123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <!DOCTYPE html>
- <html lang=zh-cn>
- <head>
- <meta charset=utf-8>
- <title>纵横计量支付系统</title>
- <meta name=description content=计量支付>
- <meta name=copyright content=smartcost.com.cn>
- <link rel=stylesheet href={{rootUrl}}global/css/fixedheadertable.css>
- <link rel=stylesheet href="{{rootUrl}}global/css/bootstrap.css">
- <link rel=stylesheet href="{{rootUrl}}global/css/style.css">
- <script src="{{rootUrl}}global/js/jquery-1.9.1.min.js"></script>
- <script src="{{rootUrl}}global/js/bootstrap.js"></script>
- <script src="{{rootUrl}}global/js/jl.js"></script>
- <script src={{rootUrl}}global/js/jquery.fixedheadertable.js></script>
- </head>
- <body>
- <!-- include "top" -->
- <div class="wrapContent">
- <!-- include "left" -->
- <div class="mainContainer">
- <!--内容-->
- <div class="mainContent">
- <div class="title clearfix">
- <ul class="nav nav-pills">
- <li class="dropdown"><a title="返回" href="{{rootUrl}}rproject/{{pid}}/section"><span
- class="closePanel" aria-hidden="true" data-icon="Z"></span></a></li>
- <li class="dropdown">
- <a href="{{rootUrl}}sproject/{{currproArray.pid}}/section" data-toggle="dropdown"
- class="dropdown-toggle">
- {{currproArray.pname}}<b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- <!-- loop allproArray -->
- <li><a href="{{rootUrl}}sproject/{{allproArray' value.pid}}/section">{{allproArray'
- value.pname}}</a></li>
- <!-- endloop -->
- </ul>
- </li>
- </ul>
- </div>
- <!--导航-->
- <ul class="nav nav-tabs">
- <li>
- <a href="{{rootUrl}}rproject/{{pid}}/section/{{pmid}}/detail">标段概况</a>
- </li>
- <li class="active">
- <a href="/rproject/{{pid}}/section/{{pmid}}/files/{{mpid}}">附件</a>
- </li>
- <!-- if {{mpid}}>0 -->
- <li>
- <a href="{{rootUrl}}rproject/{{pid}}/section/{{pmid}}/report/{{mpid}}">审批</a>
- </li>
- <!-- endif -->
- </ul>
- <!--导航-->
- <!--文件管理-->
- <div class="filesWrap">
- <div class="filesList">
- <table class="table table-striped table-hover">
- <thead>
- <tr>
- <th width="">文件名</th>
- <th width="">节点</th>
- <th width="">上传者</th>
- <th width="">上传时间</th>
- </tr>
- </thead>
- <tbody>
- <!-- loop itematta -->
- <tr>
- <td width=""><span class="fileico ico-{{itematta' value.fileext}}"></span><a
- fileext="{{itematta' value.fileext}}"
- iaid="{{itematta' value.iaid}}"
- filename="{{itematta' value.filename}}"
- realname="{{itematta' value.realname}}"
- intime="{{formatDate(itematta' value.intime,'Y-m-d')}}"
- tips="{{itematta' value.tips}}"
- href="#"
- numpname="第{{ToChinaseNum(itematta' value.numpname)}}期"
- id="fname_{{itematta' value.imnid}}">{{itematta' value.filename}}</a></td>
- <td>{{itematta' value.pmname}}</td>
- <td width="">{{itematta' value.realname}}</td>
- <td width="">{{formatDate(itematta' value.intime,'Y-m-d')}}</td>
- </tr>
- <!-- endloop -->
- </tbody>
- </table>
- </div>
- <div class="filesDetail">
- <table class="table table-striped">
- <thead>
- <tr>
- <th colspan="4">文件详情</th>
- <input type="hidden" value="" id="uuid"/>
- </tr>
- </thead>
- <tr>
- <th width="60">文件名</th>
- <td colspan="3"><a href="#" id="filename" target="_blank">K0+800-K1+000图纸</a><span
- class="fR"><button
- class="btn btn-mini btn-primary" id="filedown"
- type="button">下载</button></span></td>
- </tr>
- <tr>
- <th width="60">格式</th>
- <td id="fileext"><span class="fileico ico-jpg"></span>.jpg</td>
- <th width="60">所在类</th>
- <td>台帐附件</td>
- </tr>
- <tr>
- <th width="60">上传者</th>
- <td id="realname">陈工</td>
- <th width="60">上传时间</th>
- <td id="intime">2014-11-20 14:20</td>
- </tr>
- <tr>
- <th width="60">备注/描述</th>
- <td id="tips" colspan="3">内容内容内容内容</td>
- </tr>
- </table>
- </div>
- </div>
- <!--文件管理-->
- </div>
- <!--内容-->
- </div>
- </div>
- <script type="text/javascript">autoFlashHeight();</script>
- <script type="text/javascript">
- $(document).ready(function () {
- $("a[id^='fname_']").click(function () {
- var fileext = $(this).attr('fileext');
- var filename = $(this).attr('filename');
- var realname = $(this).attr('realname');
- var intime = $(this).attr('intime');
- var tips = $(this).attr('tips');
- var numpname = $(this).attr('numpname');
- var iaid = $(this).attr('iaid');
- $("#filename").html(filename);
- $("#fileico").html(fileext);
- $("#realname").html(realname);
- $("#intime").html(intime);
- $("#tips").html(tips);
- $("#numpname").html(numpname);
- $("#fileext").html(fileext);
- $("#uuid").val(iaid);
- });
- $("#filedown").click(function () {
- var uuid = $("#uuid").val();
- location.href = "{{rootUrl}}rproject/section/get/" + uuid + "/attachment";
- });
- });
- </script>
- </body>
|