fce58f279e178e177b0c8406a2f3f1a6.php 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <?php /*a:2:{s:71:"D:\phpstudy_pro\WWW\caiping\app\admin\view\datastat\datastat\index.html";i:1723541257;s:59:"D:\phpstudy_pro\WWW\caiping\app\admin\view\common\base.html";i:1723541257;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="360-site-verification" content="a7c876fae8b6e3175a52ea9f19543f51" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
  10. <script src="/static/dist/xm-select.js"></script>
  11. <link rel="mobile-prefetch" href=""/>
  12. <title><?php echo get_system_config('web','admin_title'); ?></title>
  13. <meta name="keywords" content="<?php echo get_system_config('web','keywords'); ?>"/>
  14. <meta name="description" content="<?php echo get_system_config('web','desc'); ?>"/>
  15. <link rel="stylesheet" href="/static/assets/gougu/css/gougu.css?v=<?php echo get_system_config('web','version'); ?>" media="all">
  16. <style>
  17. .footer{
  18. width: 100%;
  19. height: 25px;
  20. text-align: center;
  21. position: fixed;
  22. bottom: 0;
  23. }
  24. </style>
  25. </head>
  26. <body class="main-body">
  27. <!-- 主体 -->
  28. <div class="p-3">
  29. <table class="layui-hide" id="admin" lay-filter="admin"></table>
  30. </div>
  31. <script type="text/html" id="thumb">
  32. <img src="{{d.thumb}}" width="30" height="30" />
  33. </script>
  34. <script type="text/html" id="barDemo">
  35. <div class="layui-btn-group">
  36. <span class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit">编辑</span>
  37. </div>
  38. </script>
  39. <!-- /主体 -->
  40. <!-- 底部 -->
  41. <div class="footer">
  42. 逸管工程项目管理系统 © www.yiguanfep.com
  43. <img src="/static/home/images/police.png" alt="" style="width:14.5px;height:16px;">
  44. <a href="https://beian.mps.gov.cn/#/query/websearch?code=45030202000160 " rel="\&quot;noreferrer'target=\”blank\&quot;" onclick="window.open(this.href); return false;">桂公网安备45030202000160号</a>
  45. <a href="https://beian.miit.gov.cn/#/Integrated/index" onclick="window.open(this.href); return false;">桂ICP备17000971号</a>
  46. </div>
  47. <!-- /底部 -->
  48. <!-- 脚本 -->
  49. <script>
  50. const moduleInit = ['tool'];
  51. function gouguInit() {
  52. var table = layui.table, tool = layui.tool, form = layui.form;
  53. var allcount;
  54. layui.pageTable = table.render({
  55. elem: '#admin',
  56. title: '项目数据统计列表',
  57. toolbar: '#toolbarDemo',
  58. url: '/admin/datastat.datastat/index', //数据接口
  59. page: true, //开启分页
  60. limit: 20,
  61. parseData: function(res) { // 数据解析回调函数
  62. // 在这里可以获取数据总数
  63. allcount = res.count;
  64. return {
  65. code: res.code, // 数据状态码
  66. msg: res.msg, // 状态信息
  67. count: res.count, // 数据总数
  68. data: res.data // 当前页数据
  69. };
  70. },
  71. cols: [
  72. [
  73. {fixed: 'left', field: 'id', title: '编号', align: 'center', width: 80,
  74. templet: function(d){
  75. return allcount - (d.LAY_NUM-1);
  76. }
  77. },
  78. {
  79. fixed: 'left',
  80. field: 'project_code',
  81. title: '投资项目统一代码',
  82. align: 'center',
  83. width: 150,
  84. // templet:function(d){
  85. // var html = "";
  86. // html = '<a class="side-a" lay-event="read">' + d.username + '</a>';
  87. // return '<div style="text-align:left">' + html + '</div>'
  88. // }
  89. },
  90. {
  91. fixed: 'left',
  92. field: 'project_name',
  93. title: '项目名称',
  94. align: 'center',
  95. width: 400
  96. },
  97. {
  98. field: 'engineering_category',
  99. title: '工程类型',
  100. align: 'center',
  101. width: 150
  102. },
  103. {
  104. field: 'engineering_type',
  105. title: '评审类型',
  106. align: 'center',
  107. width: 150,
  108. templet:function(d){
  109. if(d.engineering_type.indexOf('结算') != -1){
  110. return '结算';
  111. }else if(d.engineering_type.indexOf('预算') != -1){
  112. return '预算';
  113. }else{
  114. return '';
  115. }
  116. }
  117. },
  118. {
  119. field: 'sent_review_time',
  120. title: '送审时间',
  121. align: 'center',
  122. width: 150
  123. },
  124. {
  125. field: 'sent_review_amount',
  126. title: '送审造价(元)',
  127. align: 'center',
  128. width: 150
  129. },
  130. {
  131. field: 'authorize_amount',
  132. title: '审定造价(元)',
  133. align: 'center',
  134. width: 150
  135. },
  136. {
  137. field: 'judge',
  138. title: '评审员',
  139. align: 'center',
  140. width: 150
  141. },
  142. {
  143. field: 'examiner',
  144. title: '稽核员',
  145. // toolbar: '#status',
  146. align: 'center',
  147. width: 150
  148. },
  149. {
  150. field: 'review_unit_name',
  151. title: '项目单位',
  152. align: 'center',
  153. width: 150
  154. },
  155. {
  156. field: 'construction_unit',
  157. title: '施工单位',
  158. align: 'center',
  159. width: 150
  160. },
  161. {
  162. field: 'sent_review_unit_name',
  163. title: '送审人',
  164. align: 'center',
  165. width: 150
  166. },
  167. {
  168. field: 'division',
  169. title: '科室',
  170. align: 'center',
  171. width: 150
  172. },
  173. {
  174. field: 'contract_out_sent_review_amount',
  175. title: '合同外送审金额(元)',
  176. align: 'center',
  177. width: 180
  178. },
  179. {
  180. field: 'contract_out_authorize_amount',
  181. title: '合同外审定金额(元)',
  182. align: 'center',
  183. width: 180
  184. },
  185. {
  186. field: 'sent_review_amount',
  187. title: '合同内送审金额(元)',
  188. align: 'center',
  189. width: 180
  190. },
  191. {
  192. field: 'authorize_amount',
  193. title: '合同内审定金额(元)',
  194. align: 'center',
  195. width: 180
  196. },
  197. {
  198. field: 'contract_amount',
  199. title: '合同金额(元)',
  200. align: 'center',
  201. width: 150
  202. },
  203. {
  204. field: 'basic_reserve_funds',
  205. title: '基本预备费(元)',
  206. align: 'center',
  207. width: 150
  208. },
  209. {
  210. field: 'right',
  211. fixed: 'right',
  212. title: '操作',
  213. toolbar: '#barDemo',
  214. width: 132,
  215. align: 'center'
  216. }
  217. ]
  218. ]
  219. });
  220. //监听行工具事件
  221. table.on('tool(admin)', function (obj) {
  222. var data = obj.data;
  223. if (obj.event === 'edit') {
  224. tool.side('/admin/datastat.datastat/edit?id='+data.id);
  225. return;
  226. }
  227. });
  228. //监听搜索提交
  229. form.on('submit(webform)', function (data) {
  230. layui.pageTable.reload({
  231. where: {
  232. keywords: data.field.keywords
  233. },
  234. page: {
  235. curr: 1
  236. }
  237. });
  238. return false;
  239. });
  240. }
  241. </script>
  242. <!-- /脚本 -->
  243. <!-- <script src="/static/assets/layui/layui.js"></script> -->
  244. <script src="/static/assets/layui/layui.js"></script>
  245. <script src="/static/assets/third_party/echart/echarts.min.js"></script>
  246. <script src="/static/assets/gougu/gouguInit.js"></script>
  247. <script src="https://unpkg.com/pinyin-pro"></script>
  248. <script>
  249. var { pinyin } = pinyinPro;
  250. </script>
  251. <!-- 统计代码 -->
  252. <!-- /统计代码 -->
  253. </body>
  254. </html>