12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- $(function(){
-
- var gridData={
- "rows":[
- {"number":"1",
- "project":"2",
- "assess":"3",
- "suit":"4",
- "unsuit":"5",
- "deduct":"6",
- "suit_rate":"7",
- "ques_num":"8",
- "key_ques_num":"9",
- "standard_score":"10",
- "deserve_score":"11",
- "real_score":"12",
- "score_rate":"13",
- }
- ]};
- grid = $("#dataBasic").quiGrid({
- columns:[
- { display: '序号', name: 'number',align: 'center', width: "7%"},
- { display: '项目', name: 'project', align: 'center', width: "17%"},
- { display: '评价项', name: 'assess', align: 'center', width: "7%"},
- { display: '适用项', name: 'suit',align: 'center', width:"7%"} ,
- { display: '不适用项', name: 'unsuit',align: 'center', width:"7%"} ,
- { display: '扣分项', name: 'deduct',align: 'center', width:"7%"} ,
- { display: '占适用项比%', name: 'suit_rate',align: 'center', width:"7%"} ,
- { display: '发现问题条数', name: 'ques_num',align: 'center', width:"7%"} ,
- { display: '重点问题数', name: 'key_ques_num',align: 'center', width:"7%"},
- { display: '标准分', name: 'standard_score',align: 'center', width:"7%"},
- { display: '应得分', name: 'deserve_score',align: 'center', width:"7%"},
- { display: '实得分', name: 'real_score',align: 'center', width:"7%"},
- { display: '得分率', name: 'score_rate',align: 'center', width:"7%"},
- ],
- usePager:true,
- pageSize : 10,
- percentWidthMode : true,
- height: 'auto',
- width:"99%",
- headerRowHeight:45,
- minRowHeight:40,
- rowHeight:"auto",
- headFixMode:true,
- data:gridData,
- });
- setPageHeight();
-
- $('.go_img').hover(function(){
- $('.go_img img').attr('src','/nwyj/images/temp/back_hover.png');
- },function(){
- $('.go_img img').attr('src','/nwyj/images/temp/back.png');
- });
- });
- function goback(){
- top.$.removeFrameTabs();
- top.$.indexOpenSelfWindow($.pathname()+"/page/business/em/evaluate/grade/Grade.jsp");
- };
- function setPageHeight(){
- $(parent.document.body).find("#frmright").css("height",$(window.document.body).height()+30);
- }
|