r-project-section-files.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <!DOCTYPE html>
  2. <html lang=zh-cn>
  3. <head>
  4. <meta charset=utf-8>
  5. <title>纵横计量支付系统</title>
  6. <meta name=description content=计量支付>
  7. <meta name=copyright content=smartcost.com.cn>
  8. <link rel=stylesheet href={{rootUrl}}global/css/fixedheadertable.css>
  9. <link rel=stylesheet href="{{rootUrl}}global/css/bootstrap.css">
  10. <link rel=stylesheet href="{{rootUrl}}global/css/style.css">
  11. <script src="{{rootUrl}}global/js/jquery-1.9.1.min.js"></script>
  12. <script src="{{rootUrl}}global/js/bootstrap.js"></script>
  13. <script src="{{rootUrl}}global/js/jl.js"></script>
  14. <script src={{rootUrl}}global/js/jquery.fixedheadertable.js></script>
  15. </head>
  16. <body>
  17. <!-- include "top" -->
  18. <div class="wrapContent">
  19. <!-- include "left" -->
  20. <div class="mainContainer">
  21. <!--内容-->
  22. <div class="mainContent">
  23. <div class="title clearfix">
  24. <ul class="nav nav-pills">
  25. <li class="dropdown"><a title="返回" href="{{rootUrl}}rproject/{{pid}}/section"><span
  26. class="closePanel" aria-hidden="true" data-icon="Z"></span></a></li>
  27. <li class="dropdown">
  28. <a href="{{rootUrl}}sproject/{{currproArray.pid}}/section" data-toggle="dropdown"
  29. class="dropdown-toggle">
  30. {{currproArray.pname}}<b class="caret"></b>
  31. </a>
  32. <ul class="dropdown-menu">
  33. <!-- loop allproArray -->
  34. <li><a href="{{rootUrl}}sproject/{{allproArray' value.pid}}/section">{{allproArray' value.pname}}</a></li>
  35. <!-- endloop -->
  36. </ul>
  37. </li>
  38. </ul>
  39. </div>
  40. <!--导航-->
  41. <ul class="nav nav-tabs">
  42. <li>
  43. <a href="{{rootUrl}}rproject/{{pid}}/section/{{pmid}}/detail">标段概况</a>
  44. </li>
  45. <li class="active">
  46. <a href="/rproject/{{pid}}/section/{{pmid}}/files/{{mpid}}">附件</a>
  47. </li>
  48. <!-- if {{mpid}}>0 -->
  49. <li>
  50. <a href="{{rootUrl}}rproject/{{pid}}/section/{{pmid}}/report/{{mpid}}">审批</a>
  51. </li>
  52. <!-- endif -->
  53. </ul>
  54. <!--导航-->
  55. <!--文件管理-->
  56. <div class="filesWrap">
  57. <div class="filesList">
  58. <table class="table table-striped table-hover">
  59. <thead>
  60. <tr>
  61. <th width="">文件名</th>
  62. <th width="">节点</th>
  63. <th width="">上传者</th>
  64. <th width="">上传时间</th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68. <!-- loop itematta -->
  69. <tr>
  70. <td width=""><span class="fileico ico-{{itematta' value.fileext}}"></span><a
  71. fileext="{{itematta' value.fileext}}"
  72. iaid="{{itematta' value.iaid}}"
  73. filename="{{itematta' value.filename}}"
  74. realname="{{itematta' value.realname}}"
  75. intime="{{formatDate(itematta' value.intime,'Y-m-d')}}"
  76. tips="{{itematta' value.tips}}"
  77. href="#"
  78. numpname="第{{ToChinaseNum(itematta' value.numpname)}}期"
  79. id="fname_{{itematta' value.imnid}}">{{itematta' value.filename}}</a></td>
  80. <td>{{itematta' value.pmname}}</td>
  81. <td width="">{{itematta' value.realname}}</td>
  82. <td width="">{{formatDate(itematta' value.intime,'Y-m-d')}}</td>
  83. </tr>
  84. <!-- endloop -->
  85. </tbody>
  86. </table>
  87. </div>
  88. <div class="filesDetail">
  89. <table class="table table-striped">
  90. <thead>
  91. <tr>
  92. <th colspan="4">文件详情</th>
  93. <input type="hidden" value="" id="uuid"/>
  94. </tr>
  95. </thead>
  96. <tr>
  97. <th width="60">文件名</th>
  98. <td colspan="3"><a href="#" id="filename" target="_blank">K0+800-K1+000图纸</a><span
  99. class="fR"><button
  100. class="btn btn-mini btn-primary" id="filedown"
  101. type="button">下载</button></span></td>
  102. </tr>
  103. <tr>
  104. <th width="60">格式</th>
  105. <td id="fileext"><span class="fileico ico-jpg"></span>.jpg</td>
  106. <th width="60">所在类</th>
  107. <td>台帐附件</td>
  108. </tr>
  109. <tr>
  110. <th width="60">上传者</th>
  111. <td id="realname">陈工</td>
  112. <th width="60">上传时间</th>
  113. <td id="intime">2014-11-20 14:20</td>
  114. </tr>
  115. <tr>
  116. <th width="60">备注/描述</th>
  117. <td id="tips" colspan="3">内容内容内容内容</td>
  118. </tr>
  119. </table>
  120. </div>
  121. </div>
  122. <!--文件管理-->
  123. </div>
  124. <!--内容-->
  125. </div>
  126. </div>
  127. <script type="text/javascript">autoFlashHeight();</script>
  128. <script type="text/javascript">
  129. $(document).ready(function () {
  130. $("a[id^='fname_']").click(function () {
  131. var fileext = $(this).attr('fileext');
  132. var filename = $(this).attr('filename');
  133. var realname = $(this).attr('realname');
  134. var intime = $(this).attr('intime');
  135. var tips = $(this).attr('tips');
  136. var numpname = $(this).attr('numpname');
  137. var iaid = $(this).attr('iaid');
  138. $("#filename").html(filename);
  139. $("#fileico").html(fileext);
  140. $("#realname").html(realname);
  141. $("#intime").html(intime);
  142. $("#tips").html(tips);
  143. $("#numpname").html(numpname);
  144. $("#fileext").html(fileext);
  145. $("#uuid").val(iaid);
  146. });
  147. $("#filedown").click(function () {
  148. var uuid = $("#uuid").val();
  149. location.href = "{{rootUrl}}rproject/section/get/" + uuid + "/attachment";
  150. });
  151. });
  152. </script>
  153. </body>