1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- var fd_id = (window.location.href).split('?')[1];
- var fd_id1 = (window.location.href).split('?')[2];
- var g;
- /**定义变量**/
- var condition="";
- if(fd_id=="0"){
- condition = "FD_OBJECTID = '"+fd_id1+"' ";
- }else{
- condition = "(COLUMN_1='0' AND FD_OBJECTID='"+ fd_id+"') OR (COLUMN_1='"+ fd_id+"') ";
- }
- var loadParams = {
- "listId" : '261',
- "condition" : condition
- };
- function initComplete(){
- g = $("#maingrid").quiGrid({
- columns: [
- //为了解决自定义表格,头上显示的主键ID,先暂时注掉2015-10-10
- { display: '队伍名称', name: 'TEAM_NAME_261', align: 'center', width: "10%"},
- { display: '所属单位', name: 'TEAM_COMP_ID_261_SHOW', align: 'center', width: "10%"},
- { display: '队伍类型', name: 'TEAM_TYPE_261_SHOW', align: 'center', width: "5%"},
- { display: '状态', name: 'TEAM_STAT_261_SHOW', align: 'center', width: "5%"},
- { display: '所在地区', name: 'TEAM_AEAR_261', align: 'center', width: "10%"},
- { display: '负责人', name: 'TEAM_LEADER_261', align: 'center', width: "5%"},
- { display: '值班电话', name: 'TEAM_TEL_261', align: 'center', width: "10%"},
- { display: '手机', name: 'TEAM_PHONE_261', align: 'center', width: "10%"},
- { display: '办公电话', name: 'TEAM_OFFICE_TEL_261', align: 'center', width: "10%"},
- { display: '人数', name: 'TEAM_MEMBER_NUMBER_261', align: 'center', width: "5%"},
- { display: '电压等级', name: 'TEAM_LEVEL_261_SHOW', align: 'center', width: "5%"},
- // { display: '专长描述', name: 'TEAM_SPECIALITY_261', align: 'center', width: "5%"},
- { display: '维护时间', name: 'UPDATEDATE_261', align: 'center', width: "15%"}
- ],
- url :$.pathname() + '/ws/crud/CRUDService/queryQui',
- params : loadParams,
- sortName : 'UPDATEDATE_261',
- sortOrder : 'desc nulls last',
- rownumbers:true,
- // checkbox:true,
- height: '100%',
- width:"100%",
- pageSize: 10,
- percentWidthMode:true,
- });
- }
-
-
|