2018-06-03 22:26:41 +08:00

44 lines
1.5 KiB
Plaintext

<%@page import="com.amarsoft.are.lang.StringX"%>
<%@ page contentType="text/html; charset=GBK"%><%@
include file="/Frame/resources/include/include_begin_list.jspf"%>
<%
String actionList = CurPage.getParameter("ActionList");
if(StringX.isSpace(actionList)) actionList = "";
CurPage.setAttribute("SelectDialogTitle","流程用户选择");
String userStr = "",roleStr = "";
if(actionList.contains(",")){
userStr = actionList.split(",")[0];
roleStr = actionList.split(",")[1];
if(userStr.contains("@")) userStr = userStr.replace("@","','");
if(roleStr.contains("@")) roleStr = roleStr.replace("@","','");
}
ASObjectModel doTemp = new ASObjectModel("FlowUserList");
if(!"".equals(userStr)){
doTemp.appendJboWhere(" and O.UserID in ('"+userStr+"')");
}
if(!"".equals(roleStr)){
doTemp.appendJboWhere(" and UR.RoleID in ('"+roleStr+"')");
}
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //设置为Grid风格
//dwTemp.ReadOnly = "1"; //编辑模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow("");
String sButtons[][] = {};
isShowButton = false;
%>
<%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function doSure(){
var userID = getItemValue(0,getRow(),"UserID");
if(!userID){
alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
top.returnValue = userID;
top.close();
}
</script>
<%@include file="/Frame/resources/include/include_end.jspf"%>