123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <%@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="../../../../include1.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" src="../../../../../scripts/business/am/resource/resources/external_resources.js"></script>
- <script type="text/javascript">
- var g;
- /**定义变量**/
- var value1 = (window.location.href).split('?')[1];
- var value2 = (window.location.href).split('?')[2];
- var condition = "IS_DEL='0' AND SUB_UNIT = '"+value1+"' AND RESOURCE_TYPE ='"+value2+"'";
- var loadParams = {
- "listId" : '283',
- "condition" : condition,
- direction:'DESC',
- sort: 'UPDATEDATE'
- };
- function initComplete(){
- /**
- * 工具条
- */
- var roleCons = roleButtonArr();
- var toolBarOpt1 = {
- items:[],
- roleCons:roleCons
- };
- /**
- * 树形列
- */
- var grid_option1 = {
- columns: [
- { display: '资源名称', name: 'RESOURCE_NAME_283', align: 'center', width: "10%"/* ,isPrimaryKey:true,
- render : function(rowdata, value) {
- return '<a href="javascript:void(0)" '
- + 'onclick=jumpPage("'
- + rowdata.FD_OBJECTID283
- +'")>'+ rowdata.RESOURCE_NAME_283 +'</a>';
- } */
- },
- { display: '资源类别', name: 'RESOURCE_TYPE_283_SHOW', align: 'center', width: "10%"},
- { display: '规格型号', name: 'SPECIFICATION_MODEL_283', align: 'center', width: "10%"},
- { display: '参数', name: 'PARAMETER_283', align: 'center', width: "10%"},
- { display: '数量', name: 'NUM_283', align: 'center' , width: "10%"},
- { display: '所在地址', name: 'ADDRESS_283', align: 'center', width: "10%"},
- { display: '所属单位', name: 'SUB_UNIT_283_SHOW', align: 'center' , width: "10%"},
- { display: '联系人', name: 'LINKMAN_283', align: 'center', width: "10%" },
- { display: '座机', name: 'TELEPHONE_283', align: 'center', width: "10%"},
- { display: '手机', name: 'CELLPHONE_283', align: 'center', width: "10%" }
- ],
- rownumbers : true,
- checkbox : true,
- pageSize : 10,
- percentWidthMode : true
- };
-
- var options1={
- url :'/nwyj/ws/crud/CRUDService/queryQui',
- params:loadParams,
- height: '100%',
- width:"100%",
- gridOptions:grid_option1,
- singleRecodeOptions:{a:"aa"},
- paperOpration:{showInput:"true"},
- toolBarOptions:toolBarOpt1
- };
- g=gridAndSingleRecode=$("#maingrid").quickgridAndSingleRecode(options1);
- }
- </script>
- </head>
-
- <body>
- <div class="adding_right5">
- <div id="maingrid"></div>
- </div>
- </body>
- </html>
|