123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <%@page language="java" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title></title>
- <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
- rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
- positionTarget="positionContent" selInputHeight="32"
- selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
- defaultFileInputWidth="200" defaultGridHeaderHeight="34"
- defaultGridRowHeight="38" defaultFontSize="14" defaultPageSelWidth="55"
- defaultFilterItemHeight="32" dialogWidthFix="0"
- defaultSelItemHeight="32" defaultFontFamily="宋体" />
- <%@include file="../../../../include1.jsp" %>
- <!--引用资源文件,JS CSS-->
- <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <style type="text/css">
- a {
- behavior: url(/nwyj/scripts/qui/libs/js/method/focus.htc)
- }
- body{
- font-size:12px;
-
- }
- img{
- width:16px;
- height:16px;
- vertical-align: middle;
- }
- .moreSearch {
- display:none;
- margin-top: 3px;
- }
- ._statusBar{
- width:99.5%;
- height:30px;
- background-color: #eff3f8;
- border:1px solid #ccc;
- border-bottom-style: none;
- }
- ._statusBar table{
- width:100%;
- height:100%;
- }
- ._statusBar table tbody{
- width:100%;
- height:100%;
- }
- ._statusBar table tbody tr{
- width:100%;
- height:100%;
- }
- ._statusBar table tbody tr td{
- height:100%;
- line-height: 100%;
- }
- ._statusBar table tbody tr td img{
- margin-right: 5px;
- }
- ._statusBar table tbody tr td pan{
- font-size: 12px;
- }
- .l-grid-tree-content div a span img{
- margin-left:5px;
- }
- .openAlldom{
- cursor: pointer;
- display: inline-block;
- }
- .closeAlldom{
- cursor: pointer;
- display: none;
- }
- .nodownload{
- color:#ccc;
- }
- .candownload{
- cursor: pointer;
- }
- .icon_btn_down,.icon_btn_up{
- width:100%;
- padding:0;
- }
- </style>
- </head>
- <body>
- <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
- <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>
- <div id="layout1">
- <div position="left">
- <div class="layout_content">
- <table width="100%">
- <tr>
- <td class="ver01">
- <div class="singleNav" id="singleNav"></div>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div class="plan_detail" id="plan_detail" position="center">
- <div class="box2" panelTitle="评估评分" id="searchPanel" statusType="none">
- </div>
-
- <div class="padding_right5">
- <div id="maingrid"></div>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
- <script type="text/javascript">
- var fd_id = "<%=request.getParameter("fd_id")%>";
- var grid;
- $(function() {
- //****布局
- var layout = $("#layout1").layout({
- leftWidth : 250
- });
- function customHeightSet(contentHeight) {
- $(".layout_content").height(contentHeight - 30)
- }
- $("#layout1").layout({
- onEndResize : function() {
- grid.resetWidth();
- }
- });
- function customHeightSet(contentHeight) {
- $(".cusBoxContent").height(contentHeight - 20)
- }
-
- var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
- //生成左边面板名称:用户所在部门名称(按需求应是单位名称,这里先用部门名称放着)
- $(".l-layout-header-inner").text(deptName);
-
- $.ajax({
- url : $.pathname()+ '/ws/scoreGrade/ScoreGradeService/getScoreGradeById',
- type : 'post',
- timeout : 15000,
- data:{id:fd_id},
- dataType : 'json',
- success : function(data) {
- //调用方法加载右边的表格
- showDeptGrid();
- var fd_id = data[0].FD_OBJECTID;
- $("#singleNav").append('<div class="current">'
- + '<span data-planId='+fd_id+'><a href="javascript:;">'
- + data[0].NAME
- + '</a></span></div>');
- for (var i = 1; i < data.length; i++) {
- planId = data[i].planId;
- planId = planId + "a";
- $("#singleNav").append('<div><span data-planId='+planId+'>'
- + '<a href="javascript:;" >'
- + data[i].planName
- + '</a></span></div>');
- }
- /* //设置部门表格的数据
- setDeptData(data[0].planId + "a"); */
- },
- error : function(e) {
- $.messager.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- $("#singleNav div").live("click", checkedCurrent);
- })
- function showDeptGrid() {
- var myCols = [
- {display : '评价体系',name : 'PROGRAMME_TIME_322',width : "25%",type : 'int',align : 'center'},
- {display : '评价单位',name : 'updateTime',width : "35%",align : 'center'},
- {display : '开始时间',name : 'WRITER_322',width : "15%",align : 'center'},
- {display : '结束时间',name : 'WRITER_STATE_322',width : "15%",align : 'center'},
- {display : '状态',name : 'IS_OVERTIME_322',width : "10%",align : 'center'}
- ];
- grid = $("#maingrid").quiGrid({
- columns:myCols,
- width : '100%',
- checkbox : false,
- usePager : false,
- data : "",
- percentWidthMode:true
- });
- };
-
- </script>
|