project_overview.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Document</title>
  7. <style>
  8. .filelist{
  9. width: 100%;
  10. overflow: scroll;
  11. height: 8vw;
  12. justify-content:flex-start;
  13. align-content: space-between;
  14. /* flex-direction: column-reverse; */
  15. flex-wrap: wrap;
  16. display: flex;
  17. }
  18. .filelist li{
  19. padding: 0.5vw 0.7vw 0.5vw 0.7vw;
  20. white-space: nowrap;
  21. overflow: hidden;
  22. text-overflow: ellipsis;
  23. display: inline-block;
  24. border-right: 1px solid #e2e2e2;
  25. }
  26. .filelist p{
  27. margin: 3px 0 5px 0;
  28. width: 5vw;
  29. text-align: center;
  30. }
  31. .filelist:hover li{
  32. /* display: initial; */
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <table id="tabniubi" cellpadding="1" cellspacing="1">
  38. <tr>
  39. <th style="width: 10%;height: 0;"></th>
  40. <th style="width: 10%;height: 0;"></th>
  41. <th style="width: 10%;height: 0;"></th>
  42. <th style="width: 10%;height: 0;"></th>
  43. <th style="width: 10%;height: 0;"></th>
  44. <th style="width: 10%;height: 0;"></th>
  45. <th style="width: 10%;height: 0;"></th>
  46. <th style="width: 10%;height: 0;"></th>
  47. <th style="width: 10%;height: 0;"></th>
  48. </tr>
  49. <tr border="1">
  50. <th class="form-title">项目状态</th>
  51. <th>
  52. {switch $detail.project_status}
  53. {case 1}立项中{/case}
  54. {case 2}审批中{/case}
  55. {case 3}待接收{/case}
  56. {case 4}待分配{/case}
  57. {case 5}作业中{/case}
  58. {case 6}归档中{/case}
  59. {case 7}退审中{/case}
  60. {case 8}已归档{/case}
  61. {case 9}已退审{/case}
  62. {default /}未知
  63. {/switch}
  64. </th>
  65. <th class="form-title">项目名称</th>
  66. <th colspan="3">{$detail.project_name}</th>
  67. <th class="form-title">项目编号</th>
  68. <th colspan="2">{$detail.project_num}</th>
  69. </tr>
  70. <tr>
  71. <th class="form-title">项目周期</th>
  72. <th colspan="8" style="text-align: left; padding-left: 3.5vw;">{$detail.project_start_time|date="Y-m-d"}至{$detail.project_end_time|date="Y-m-d"}</th>
  73. </tr>
  74. <tr>
  75. <th class="form-title">工程类型</th>
  76. <th>
  77. {$detail.engineering_type}
  78. <!-- <div>
  79. <select name="type" lay-verify="required" lay-filter="aihao">
  80. <option value="1" style="align-items: center;">预算</option>
  81. <option value="2">结算</option>
  82. </select>
  83. </div>-->
  84. </th>
  85. <th class="form-title">——</th>
  86. <th>
  87. {$detail.engineering_type}
  88. <!-- <div>
  89. <select name="type" lay-verify="required" lay-filter="aihao">
  90. <option value="1">审核</option>
  91. <option value="2">编制</option>
  92. </select>
  93. </div> -->
  94. </th>
  95. <th class="form-title">工程类别</th>
  96. <th>{$detail.engineering_category}</th>
  97. <th class="form-title">项目区域</th>
  98. <th colspan="2">
  99. {$detail.province}-{$detail.city}-{$detail.area}
  100. <!--<div>
  101. <form class="layui-form">
  102. <div class="layui-form-item" style="margin-bottom: 0;">
  103. <div class="layui-input-inline" style="width: 6vw;">
  104. <select id="province" lay-filter="province" name="province">
  105. </select>
  106. </div>
  107. <div class="layui-input-inline area" style="width: 6vw;">
  108. <select id="city" lay-filter="city" name="city">
  109. </select>
  110. </div>
  111. <div class="layui-input-inline area" style="width: 6vw;">
  112. <select id="area" lay-filter="area" name="area">
  113. </select>
  114. </div>
  115. </div>
  116. </form>
  117. </div>-->
  118. </th>
  119. </tr>
  120. <tr>
  121. <th class="form-title">资金性质</th>
  122. <th>{$detail.fiscal_nature}</th>
  123. <th class="form-title">项目规模</th>
  124. <th colspan="3">{$detail.project_scale}</th>
  125. <th class="form-title">收费标准</th>
  126. <th colspan="2">{$detail.charge_standard}</th>
  127. </tr>
  128. <tr>
  129. <th colspan="9" class="forleft">相关单位</th>
  130. </tr>
  131. <tr>
  132. <th class="form-title">委托单位</th>
  133. <th>{$detail.entrust_unit_name}</th>
  134. <th class="form-title">负责人</th>
  135. <th>{$detail.entrust_maker_name}</th>
  136. <th class="form-title">送审单位</th>
  137. <th>{$detail.charge_standard}</th>
  138. <th class="form-title">负责人</th>
  139. <th colspan="2">{$detail.charge_standard}</th>
  140. </tr>
  141. <tr>
  142. <th class="form-title">评审机构</th>
  143. <th>{$detail.review_unit}</th>
  144. <th class="form-title">项目负责人</th>
  145. <th>{$detail.review_head}</th>
  146. <th class="form-title">作业负责人</th>
  147. <th>{$detail.operate_head}</th>
  148. <th class="form-title">作业成员</th>
  149. <th colspan="2">{$detail.operate_team}</th>
  150. </tr>
  151. <tr>
  152. <th class="form-title" colspan="1">施工单位</th>
  153. <th colspan="1">{$detail.construction_unit}</th>
  154. <th class="form-title" colspan="1">负责人</th>
  155. <th colspan="6">{$detail.construction_head}</th>
  156. </tr>
  157. <tr>
  158. <th colspan="9" class="forleft">金额详情</th>
  159. </tr>
  160. <tr>
  161. <th class="form-title" colspan="1">编制金额</th>
  162. <th colspan="1">{$detail.preparation_amount}</th>
  163. <th class="form-title" colspan="1">送审金额</th>
  164. <th colspan="1">{$detail.sent_review_amount}</th>
  165. <th class="form-title" colspan="1">审定金额</th>
  166. <th colspan="4" style="text-align: left; padding-left: 3.5vw;">{$detail.authorize_amount}</th>
  167. </tr>
  168. <tr>
  169. <th class="form-title" colspan="1">审增减额</th>
  170. <th colspan="1">{$detail.review_add_reduce_amount}</th>
  171. <th class="form-title" colspan="1">审增减率</th>
  172. <th colspan="1">{$detail.review_add_reduce_rate}</th>
  173. <th class="form-title" colspan="1">送审服务费</th>
  174. <th colspan="4" style="text-align: left; padding-left: 3.5vw;">{$detail.sent_review_cost}</th>
  175. </tr>
  176. <tr>
  177. <th class="form-title forright" colspan="1">
  178. 送审单位承担审核费
  179. </th>
  180. <th colspan="1">{$detail.sent_review_approver_amount}</th>
  181. <th class="form-title forright" colspan="1">
  182. 施工单位负责核减<br>超5%评审费部分
  183. </th>
  184. <th colspan="1">{$detail.construction_approver_amount}</th>
  185. <th class="form-title" colspan="1">报告时间</th>
  186. <th colspan="4" style="text-align: left; padding-left: 3.5vw;">{if $detail.report_time!=0}{$detail.report_time|date="Y-m-d"}{/if}</th>
  187. </tr>
  188. <tr>
  189. </tr>
  190. <tr>
  191. <th colspan="9" class="forleft">相关附件
  192. </th>
  193. </tr>
  194. <tr>
  195. <th colspan="9" class="forleft fujianimg">
  196. <div class="filelist">
  197. {:fileCard($file_array)}
  198. </div>
  199. {empty name="$file_array" }
  200. <div class="layui-data-none">暂无附件</div>
  201. {/empty}
  202. </th>
  203. </tr>
  204. </table>
  205. <table class="layui-table layui-table-form">
  206. <table class="layui-table">
  207. <colgroup>
  208. <col width="110">
  209. <col width="1300">
  210. <col width="150">
  211. <col width="150">
  212. <col>
  213. </colgroup>
  214. <thead>
  215. <tr>
  216. <td class="layui-td-gray-1" colspan=9> &nbsp;&nbsp;项目报告
  217. </td>
  218. </tr>
  219. {if !empty($report) }
  220. <thead>
  221. <tr class="heading">
  222. <th>序号</th>
  223. <th>报告名称</th>
  224. <th>报告类型</th>
  225. <th>上传时间</th>
  226. <th>发布人</th>
  227. </tr>
  228. </thead>
  229. <tbody class="form">
  230. {volist name="report" id="vo"}
  231. <tr>
  232. <td>{$vo.id}</td>
  233. <td><a data-id="{$vo.id}" lay-data="readreport" href="" >{$vo.title}</a></td>
  234. <td> {switch $vo.type}
  235. {case 0}初审报告{/case}
  236. {case 1}对数报告{/case}
  237. {case 2}定审报告{/case}
  238. {default /}未知
  239. {/switch}
  240. </td>
  241. <td>{$vo.create_time}</td>
  242. <td>{$vo.nickname}</td>
  243. </tr>
  244. {/volist}
  245. </tbody>
  246. {/if}
  247. </table>
  248. {empty name="$report" }
  249. <div class="layui-data-none">暂无项目报告</div>
  250. {/empty}
  251. </table>
  252. <!-- <script type="text/javascript" src="/static/assets/layui//layui.js"></script>-->
  253. <script src="/assets/layui/adress.json"> </script>
  254. <script>
  255. function first(){
  256. console.log('我执行了')
  257. layui.use(['form', 'jquery'], function () {
  258. var form = layui.form;
  259. const $ = layui.jquery;
  260. let adress;
  261. $.ajax({
  262. type:"get", //使用get方式
  263. url: "/static/assets/layui/adress.json", //json文件相对于这个HTML的路径
  264. dataType:"json",
  265. async: false,
  266. success:function(data) {
  267. //这个data就是json数据
  268. adress = data
  269. },
  270. error:function() {
  271. layer.alert("地址请求失败!! ");
  272. }
  273. });
  274. function getFirstAttr(obj) {
  275. for (var k in obj) return k;
  276. }
  277. function selectOption(selectedProvince, selectedCity,selectedArea) {
  278. var proStr = '', cityStr = '', areaStr = '';
  279. var pro = adress[selectedProvince], ci = adress[selectedProvince][selectedCity];
  280. for (var province in adress) {
  281. if (province == selectedProvince) proStr += '<option value="' + province + '" selected>' + province + '</option>';
  282. else proStr += '<option value="' + province + '">' + province + '</option>';
  283. }
  284. $("#province").html(proStr);
  285. for (var city in pro) {
  286. if (city == selectedCity) cityStr += '<option value="' + city + '" selected>' + city + '</option>';
  287. else cityStr += '<option value="' + city + '">' + city + '</option>';
  288. }
  289. $("#city").html(cityStr);
  290. for (var area in ci) {
  291. if(area == "remove"){
  292. continue;
  293. }
  294. if (ci[area] == selectedArea) areaStr += '<option value="' + ci[area] + '" selected>' + ci[area] + '</option>';
  295. else areaStr += '<option value="' + ci[area] + '">' + ci[area] + '</option>';
  296. }
  297. $("#area").html(areaStr);
  298. form.render();
  299. }
  300. selectOption('湖北省', getFirstAttr(adress['湖北省']),'硚口区');
  301. form.on('select(province)', function (data) {
  302. let thisProvince = data.value;
  303. let thisCity = getFirstAttr(adress[thisProvince]);
  304. selectOption(data.value, thisCity,thisCity[0]);
  305. });
  306. form.on('select(city)', function (data) {
  307. selectOption($("#province").val(), data.value,getFirstAttr(data.value));
  308. });
  309. })
  310. }
  311. </script>
  312. </body>
  313. </html>