You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
3.2 KiB
76 lines
3.2 KiB
1 month ago
|
<%@page import="org.wdk.module.auth.mount.bean.BaseSessionUser"%>
|
||
|
<%@page import="org.wdk.WDK"%>
|
||
|
<%@page import="org.wdk.module.auth.source.bean.TokenBean"%>
|
||
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||
|
<%
|
||
|
String path = request.getContextPath();
|
||
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
|
||
|
BaseSessionUser su = WDK.getSessionUser(request, response);
|
||
|
if(null==su){
|
||
|
su = new BaseSessionUser();
|
||
|
}
|
||
|
String WDK_ROOT = WDKCore.WDK_ROOT;
|
||
|
String RSS_ROOT = WDK_ROOT +"/"+WDKConstant.Theme+"/"+WDKCore.THEME;
|
||
|
String commonURL = "/"+RSS_ROOT+"/module/public/common.jsp";
|
||
|
%>
|
||
|
<!DOCTYPE html>
|
||
|
<%@page import="org.wdk.WDKConstant"%>
|
||
|
<%@page import="org.wdk.WDKCore"%>
|
||
|
<html>
|
||
|
<head>
|
||
|
<base href="<%=basePath%>" target="_self">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<title>查询方案</title>
|
||
|
<script type="text/javascript" src="<%=RSS_ROOT%>/core/js/wdk.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
var _wid = $.getURLParam('wid');
|
||
|
var _mid = $.getURLParam('mid');
|
||
|
var _gid = $.getURLParam('gid');
|
||
|
var _pageurl = $.getURLParam('pageurl');
|
||
|
var _pageurlparam = $.getURLParam('pageurlparam');
|
||
|
_pageurlparam = $.decode(_pageurlparam);
|
||
|
|
||
|
window.onload=function(){
|
||
|
$('#_ID_query_scheme_scheme').html('<iframe id="ifr_schemelist" name="ifr_query_condition" src="<%=WDK_ROOT%>/module/sys/query_scheme_left.jsp?pageurl='+_pageurl+'" width="100%" height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" ></iframe>');
|
||
|
$('#_ID_query_scheme_condition').html('<iframe id="ifr_querypage" name="ifr_rule_personlist_query" src="'+_pageurlparam+'" width="100%" height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="yes" ></iframe>');
|
||
|
|
||
|
};
|
||
|
|
||
|
//获取查询页面的提交参数
|
||
|
function scheme_getParam(){
|
||
|
var queryParam = document.getElementById('ifr_querypage').contentWindow.scheme_getParam();
|
||
|
return queryParam;
|
||
|
}
|
||
|
|
||
|
//设置查询页面的提交参数
|
||
|
function scheme_setParam(jparam){
|
||
|
var queryParam = document.getElementById('ifr_querypage').contentWindow.scheme_setParam(jparam);
|
||
|
return queryParam;
|
||
|
}
|
||
|
//点击提交
|
||
|
function _submit(){
|
||
|
//获取查询页面的参数,然后返回
|
||
|
var queryParam = scheme_getParam();
|
||
|
if(false==queryParam){
|
||
|
|
||
|
}else{
|
||
|
$.method_call(_mid,queryParam);
|
||
|
$.closeWin(_wid);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function _cancel(){
|
||
|
$.closeWin(_wid);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body class="easyui-layout" data-options="fit:true" style="padding:0px;margin:0px;background-color:#FFFFFF;">
|
||
|
<div id="_ID_query_scheme_scheme" data-options="region:'west',split:false" style="width:200px;padding:0px;overflow:hidden;"></div>
|
||
|
<div id="_ID_query_scheme_condition" data-options="region:'center'" style="padding:0px;overflow:hidden;"></div>
|
||
|
<div data-options="region:'south',border:false,height:40" style="text-align:right;padding:5px;">
|
||
|
<a id="_ID_query_scheme_btnsubmit" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0)" onclick="_submit()">确定</a>
|
||
|
<a id="_ID_query_scheme_btncancel" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" href="javascript:void(0)" onclick="_cancel()">关闭</a>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|