管理员用户可以查看所有的法人客户
This commit is contained in:
parent
9df8cb526b
commit
1d86281bd4
@ -2,6 +2,7 @@
|
||||
<%@page import="com.tenwa.comm.dataRightmanager.DataRightManager"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
|
||||
<%
|
||||
|
||||
String PG_TITLE = "法人客户列表";
|
||||
String userId = CurUser.getUserID(); //用户ID
|
||||
String orgId = CurOrg.getOrgID(); //机构ID
|
||||
@ -11,7 +12,8 @@
|
||||
if(customerListTemplet==null)customerListTemplet="";
|
||||
ASObjectModel doTemp = new ASObjectModel(customerListTemplet);
|
||||
//String otherWhere=DataRightManager.getRightCondition(CurUser,"O","cust");
|
||||
doTemp.appendJboWhere(" and O.inputuserid='"+userId+"'");
|
||||
//登录超级管理员显示所有的法人客户
|
||||
doTemp.appendJboWhere(" and (O.inputuserid='"+userId+"' or '"+userId+"'='administrator')");
|
||||
//doTemp.appendJboWhere(otherWhere);
|
||||
//doTemp.setJboWhereWhenNoFilter("ct.custstatus = 'status02' ");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
@ -28,6 +30,7 @@
|
||||
{"true","All","Button","引用为","引用为","quote()","","","","btn_icon_quote"} ,
|
||||
{"true","All","Button","分配归属人","分配归属人","allocation()","","","","btn_icon_distribute"}
|
||||
};
|
||||
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
/* window.onload=function(){
|
||||
@ -38,7 +41,9 @@
|
||||
submitFilterArea();
|
||||
|
||||
} */
|
||||
|
||||
function view(){
|
||||
|
||||
var customerid = getItemValue(0,getRow(),"customerid");
|
||||
if (typeof(customerid) == "undefined" || customerid.length == 0){
|
||||
alert(getMessageText('AWEW1001'));//请选择一条信息!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user