项目立项,变更,撤销加权限
This commit is contained in:
parent
8564693c20
commit
249ed71996
@ -6,6 +6,8 @@
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
String otherWhere=DataRightManager.getRightCondition(CurUser,"O","proj");
|
||||
doTemp.appendJboWhere(otherWhere);
|
||||
String userid = CurUser.getUserID();
|
||||
doTemp.appendJboWhere(" and O.project_manage='"+userid+"'");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style = "1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply(){
|
||||
var orgId="<%=CurUser.getOrgID()%>".substring(0, 7);
|
||||
var userid="<%=CurUser.getUserID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
@ -13,7 +14,7 @@
|
||||
}else{
|
||||
businessType="false";
|
||||
}
|
||||
AsDialog.OpenSelector("SelectProject","businessType,"+businessType,"dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
AsDialog.OpenSelector("SelectProject","businessType,"+businessType+",userid,"+userid,"dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply(){
|
||||
var orgId="<%=CurUser.getOrgID()%>".substring(0, 7);
|
||||
var userid="<%=CurUser.getUserID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
@ -14,7 +15,7 @@
|
||||
}else{
|
||||
businessType="false";
|
||||
}
|
||||
AsDialog.OpenSelector("SelectProject","businessType,"+businessType,"dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
AsDialog.OpenSelector("SelectProject","businessType,"+businessType+",userid,"+userid,"dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user