budgetInst-fill4Hr.jsp 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!doctype html>
  4. <html>
  5. <head>
  6. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  7. <meta charset="utf-8" />
  8. <meta name="spreadjs culture" content="zh-cn" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  10. <style>
  11. html{
  12. height:100%;
  13. }
  14. body{
  15. height:97%;
  16. width:calc(100% - 10px);
  17. background:#FFFFFF
  18. }
  19. .mainDiv{
  20. height: calc(100% - 40px);
  21. display:flex;
  22. flex-direction: column;
  23. }
  24. .buttonsDiv{
  25. }
  26. .excelDiv{
  27. flex:1;
  28. }
  29. .sample-spreadsheets {
  30. width: 100%;
  31. height: 100%;
  32. overflow: hidden;
  33. }
  34. .sample-spreadsheets-statusBar {
  35. width: 100%;
  36. overflow: hidden;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <div class="mainDiv">
  42. <div class="buttonsDiv">
  43. <%--查询框begin --%>
  44. <%@include file="budgetInst-buttons.jsp"%>
  45. <%--查询框end --%>
  46. </div>
  47. <div class="excelDiv">
  48. <div id="ss" class="sample-spreadsheets" ></div>
  49. <div id="statusBar" class="sample-spreadsheets-statusBar"></div>
  50. <%-- <div id="detail" class="options-container">
  51. <div class="option-row">
  52. <fieldset style="border:1px solid #666666;padding:5px">
  53. <legend>分类合计</legend>
  54. <table id="cateSumTable">
  55. </table>
  56. </fieldset>
  57. </div>
  58. <div class="option-row">
  59. <div id="e1" style="width: 300px;height:400px;"></div>
  60. </div>
  61. </div>--%>
  62. </div>
  63. </div>
  64. <script>
  65. var needInitData=${needInitData};
  66. var postTypeList={};
  67. <c:forEach items="${postTypeList}" var="type" varStatus="i">
  68. postTypeList['${type.typecode}'] ='${type.typename}';
  69. </c:forEach>
  70. var postUserTypeList={};
  71. <c:forEach items="${postUserTypeList}" var="type" varStatus="i">
  72. postUserTypeList['${type.typecode}'] ='${type.typename}';
  73. </c:forEach>
  74. var budgetPostEntityList=[];
  75. <c:forEach items="${budgetPostEntityList}" var="post" varStatus="i">
  76. budgetPostEntityList[${i.index}]={};
  77. budgetPostEntityList[${i.index}].id='${post.id}';
  78. budgetPostEntityList[${i.index}].postName='${post.postName}';
  79. budgetPostEntityList[${i.index}].type='${post.type}';
  80. budgetPostEntityList[${i.index}].typeString=postTypeList['${post.type}'];
  81. budgetPostEntityList[${i.index}].userType='${post.userType}';
  82. budgetPostEntityList[${i.index}].userTypeString=postUserTypeList['${post.userType}'];
  83. </c:forEach>
  84. var postNumDetailList ={};
  85. <c:forEach items="${postNumDetailEntityList}" var="postNumDetail" varStatus="i">
  86. postNumDetailList['${postNumDetail.postId}']='${postNumDetail.num}';
  87. </c:forEach>
  88. </script>
  89. <script src="webpage/cn/com/lzt/budget/inst/budgetInst-fill4Hr.js?v=7" type="text/javascript"></script>
  90. <script src="plug-in/echarts/echarts.js" type="text/javascript"></script>
  91. </body>
  92. </html>