业务申请流程增加经销商信息页签
This commit is contained in:
parent
35024edddb
commit
16959c89da
@ -0,0 +1,46 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
|
||||
<%@ page import="org.apache.commons.lang.StringUtils" %>
|
||||
<%
|
||||
/*
|
||||
Author: undefined 2019-11-18
|
||||
Content: 经销商信息页签
|
||||
History Log:
|
||||
*/
|
||||
String userid=CurUser.getUserID();
|
||||
ASObjectModel doTemp = new ASObjectModel("DistributorInformation");
|
||||
|
||||
//加权限
|
||||
BizObjectManager manager = JBOFactory.getBizObjectManager("jbo.awe.USER_ROLE");
|
||||
List<BizObject> roleListObject = manager.createQuery("userid=:userid").setParameter("userid", userid).getResultList(false);
|
||||
List<String> roleList = new ArrayList<String>();
|
||||
String roleid = "";
|
||||
for(BizObject bo : roleListObject){
|
||||
roleid = bo.getAttribute("roleid").toString();
|
||||
roleList.add(roleid);
|
||||
}
|
||||
|
||||
String belongorg = Sqlca.getString("select belongorg from user_info where userid='"+userid+"'");
|
||||
String distributor_no = Sqlca.getString("select distributor_no from distributor_info where orgid='"+belongorg+"'");
|
||||
|
||||
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.ShowSummary="1"; //汇总
|
||||
dwTemp.setPageSize(10);
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
//{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
//{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
//{"true","","Button","导出excel","导出excel","exportExcel()","","","","btn_icon_up",""},
|
||||
//{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
Loading…
x
Reference in New Issue
Block a user