d4d9464816d4ac00cdab4587ce5e168f0af99758.svn-base 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title></title>
  7. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
  8. rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  9. positionTarget="positionContent" selInputHeight="32"
  10. selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
  11. defaultFileInputWidth="200" defaultGridHeaderHeight="34"
  12. defaultGridRowHeight="38" defaultFontSize="14" defaultPageSelWidth="55"
  13. defaultFilterItemHeight="32" dialogWidthFix="0"
  14. defaultSelItemHeight="32" defaultFontFamily="宋体" />
  15. <%@include file="../../../../include1.jsp" %>
  16. <!--引用资源文件,JS CSS-->
  17. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  18. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  19. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  20. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  21. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  22. <style type="text/css">
  23. a {
  24. behavior: url(/nwyj/scripts/qui/libs/js/method/focus.htc)
  25. }
  26. body{
  27. font-size:12px;
  28. }
  29. img{
  30. width:16px;
  31. height:16px;
  32. vertical-align: middle;
  33. }
  34. .moreSearch {
  35. display:none;
  36. margin-top: 3px;
  37. }
  38. ._statusBar{
  39. width:99.5%;
  40. height:30px;
  41. background-color: #eff3f8;
  42. border:1px solid #ccc;
  43. border-bottom-style: none;
  44. }
  45. ._statusBar table{
  46. width:100%;
  47. height:100%;
  48. }
  49. ._statusBar table tbody{
  50. width:100%;
  51. height:100%;
  52. }
  53. ._statusBar table tbody tr{
  54. width:100%;
  55. height:100%;
  56. }
  57. ._statusBar table tbody tr td{
  58. height:100%;
  59. line-height: 100%;
  60. }
  61. ._statusBar table tbody tr td img{
  62. margin-right: 5px;
  63. }
  64. ._statusBar table tbody tr td pan{
  65. font-size: 12px;
  66. }
  67. .l-grid-tree-content div a span img{
  68. margin-left:5px;
  69. }
  70. .openAlldom{
  71. cursor: pointer;
  72. display: inline-block;
  73. }
  74. .closeAlldom{
  75. cursor: pointer;
  76. display: none;
  77. }
  78. .nodownload{
  79. color:#ccc;
  80. }
  81. .candownload{
  82. cursor: pointer;
  83. }
  84. .icon_btn_down,.icon_btn_up{
  85. width:100%;
  86. padding:0;
  87. }
  88. </style>
  89. </head>
  90. <body>
  91. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
  92. <div style="height: 50px;background: #F8F8F8;" align="center"><a href="javascript:;"><img id="back" style="width:55px;height:45px;" title="返回" align="left" alt="返回" src="/nwyj/images/temp/back.png" /></a><font style="font-weight: bold;font-size: 20px;line-height: 45px;" >评估评分</font></div>
  93. <div id="layout1">
  94. <div position="left">
  95. <div class="layout_content">
  96. <table width="100%">
  97. <tr>
  98. <td class="ver01">
  99. <div class="singleNav" id="singleNav"></div>
  100. </td>
  101. </tr>
  102. </table>
  103. </div>
  104. </div>
  105. <div class="plan_detail" id="plan_detail" position="center">
  106. <div class="box2" panelTitle="评估评分" id="searchPanel" statusType="none">
  107. </div>
  108. <div class="padding_right5">
  109. <div id="maingrid"></div>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. </body>
  115. </html>
  116. <script type="text/javascript">
  117. var fd_id = "<%=request.getParameter("fd_id")%>";
  118. var grid;
  119. $(function() {
  120. //****布局
  121. var layout = $("#layout1").layout({
  122. leftWidth : 250
  123. });
  124. function customHeightSet(contentHeight) {
  125. $(".layout_content").height(contentHeight - 30)
  126. }
  127. $("#layout1").layout({
  128. onEndResize : function() {
  129. grid.resetWidth();
  130. }
  131. });
  132. function customHeightSet(contentHeight) {
  133. $(".cusBoxContent").height(contentHeight - 20)
  134. }
  135. var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
  136. //生成左边面板名称:用户所在部门名称(按需求应是单位名称,这里先用部门名称放着)
  137. $(".l-layout-header-inner").text(deptName);
  138. $.ajax({
  139. url : $.pathname()+ '/ws/scoreGrade/ScoreGradeService/getScoreGradeById',
  140. type : 'post',
  141. timeout : 15000,
  142. data:{id:fd_id},
  143. dataType : 'json',
  144. success : function(data) {
  145. //调用方法加载右边的表格
  146. showDeptGrid();
  147. var fd_id = data[0].FD_OBJECTID;
  148. $("#singleNav").append('<div class="current">'
  149. + '<span data-planId='+fd_id+'><a href="javascript:;">'
  150. + data[0].NAME
  151. + '</a></span></div>');
  152. for (var i = 1; i < data.length; i++) {
  153. planId = data[i].planId;
  154. planId = planId + "a";
  155. $("#singleNav").append('<div><span data-planId='+planId+'>'
  156. + '<a href="javascript:;" >'
  157. + data[i].planName
  158. + '</a></span></div>');
  159. }
  160. /* //设置部门表格的数据
  161. setDeptData(data[0].planId + "a"); */
  162. },
  163. error : function(e) {
  164. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  165. }
  166. });
  167. $("#singleNav div").live("click", checkedCurrent);
  168. })
  169. function showDeptGrid() {
  170. var myCols = [
  171. {display : '评价体系',name : 'PROGRAMME_TIME_322',width : "25%",type : 'int',align : 'center'},
  172. {display : '评价单位',name : 'updateTime',width : "35%",align : 'center'},
  173. {display : '开始时间',name : 'WRITER_322',width : "15%",align : 'center'},
  174. {display : '结束时间',name : 'WRITER_STATE_322',width : "15%",align : 'center'},
  175. {display : '状态',name : 'IS_OVERTIME_322',width : "10%",align : 'center'}
  176. ];
  177. grid = $("#maingrid").quiGrid({
  178. columns:myCols,
  179. width : '100%',
  180. checkbox : false,
  181. usePager : false,
  182. data : "",
  183. percentWidthMode:true
  184. });
  185. };
  186. </script>