123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <%@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>
- <!--框架必需start-->
- <%@include file="../../../../include2.jsp" %>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
- <link href="<%=path%>/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/>
- <!--引用资源文件,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>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
- <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
- <!--基本选项卡start-->
- <!--框架必需end-->
- <!-- 按钮权限start -->
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <!-- 按钮权限end -->
- <script type="text/javascript">
- var g;
- //列表加载参数
- var condition = "";
- var value1 = (window.location.href).split('?')[1];
- var value2 = (window.location.href).split('?')[2];
- var value3 = (window.location.href).split('?')[3];
- //解决chrome内核传值时空格出现乱码问题
- value2 = decodeURI(value2);
- value3 = decodeURI(value3);
-
- if(value2==""){
- condition = " TEAM_ID in(select FD_OBJECTID from ECM_AM_EMERGENCY_TEAM where TEAM_COMP_ID in (select dept_id from SYS_DEPARTMENT WHERE dept_type='1' start with dept_id = '"+value1+"' connect by prior dept_id = parent_id) and is_del= '0' and column_1 = '0' "
- +"union all select column_1 from ECM_AM_EMERGENCY_TEAM where TEAM_COMP_ID in (select dept_id from SYS_DEPARTMENT WHERE dept_type='1' start with dept_id = '"+value1+"' connect by prior dept_id = parent_id) and is_del= '0' and column_1 != '0') AND IS_DEL='0'";
- }else if(value3!=null){
- condition = " "+value2+" and TEAM_ID in(select FD_OBJECTID from ECM_AM_EMERGENCY_TEAM where TEAM_COMP_ID in (select dept_id from SYS_DEPARTMENT WHERE dept_type='1' start with dept_id = '"+value1+"' connect by prior dept_id = parent_id) and is_del= '0' and column_1 = '0' "+value3+" "
- +"union all select column_1 from ECM_AM_EMERGENCY_TEAM where TEAM_COMP_ID in (select dept_id from SYS_DEPARTMENT WHERE dept_type='1' start with dept_id = '"+value1+"' connect by prior dept_id = parent_id) and is_del= '0' and column_1 != '0' "+value3+" ) AND IS_DEL='0'";
- }else{
- condition = " "+value2+" and TEAM_ID in(select FD_OBJECTID from ECM_AM_EMERGENCY_TEAM where TEAM_COMP_ID in (select dept_id from SYS_DEPARTMENT WHERE dept_type='1' start with dept_id = '"+value1+"' connect by prior dept_id = parent_id) and is_del= '0' and column_1 = '0' "
- +"union all select column_1 from ECM_AM_EMERGENCY_TEAM where TEAM_COMP_ID in (select dept_id from SYS_DEPARTMENT WHERE dept_type='1' start with dept_id = '"+value1+"' connect by prior dept_id = parent_id) and is_del= '0' and column_1 != '0') AND IS_DEL='0'";
- }
-
-
- var loadParams = {
- "listId" : '262',
- "condition" : condition,
- direction:'DESC',
- sort: 'UPDATEDATE'
- };
-
- function initComplete(){
- /**
- * 工具条
- */
- var roleCons = roleButtonArr();
- var toolBarOpt1 = {
- items:[],
- roleCons:roleCons
- };
- /**
- * 树形列
- */
- var grid_option1 = {
- columns: [
- { display: '姓名', name: 'NAME_262', align: 'center', width: "10%",showTitle:true},
- { display: '人员编号', name: 'CODE_262', align: 'center', width: "10%",showTitle:true},
- { display: '身份证号码', name: 'ID_NUMBER_262', align: 'center', width: "10%",showTitle:true},
- { display: '性别', name: 'SEX_262_SHOW', align: 'center', width: "10%",showTitle:true},
- { display: '所在部门', name: 'DEPT_ID_262', align: 'center', width: "10%",showTitle:true},
- { display: '职务岗位', name: 'DEPT_QUARTERS_262', align: 'center', width: "10%",showTitle:true},
- { display: '专业', name: 'PROFESSIONAL_262_SHOW', align: 'center', width: "10%",showTitle:true},
- { display: '电压等级', name: 'VOLTAGE_LEVEL_262_SHOW', align: 'center', width: "10%",showTitle:true},
- { display: '联系手机', name: 'TELEPHONE_262', align: 'center', width: "10%",showTitle:true},
- { display: '队伍岗位', name: 'TEAM_QUARTERS_262_SHOW', align: 'center', width: "10%",showTitle:true}
- ],
- rownumbers : true,
- checkbox : true,
- pageSize : 10,
- percentWidthMode : true
- };
-
- var options1={
- url :'/nwyj/ws/crud/CRUDService/queryQui',
- params:loadParams,
- gridOptions:grid_option1,
- singleRecodeOptions:{a:"aa"},
- paperOpration:{showInput:"true"},
- toolBarOptions:toolBarOpt1
- };
- g=gridAndSingleRecode=$("#maingrid").quickgridAndSingleRecode(options1);
- }
- </script>
- </head>
-
- <body>
- <div class="padding_right5">
- <div id="maingrid"></div>
- </div>
- </body>
- </html>
|