1.传统业务当新增申请时,判断当前用户所属部门只能看到自己部门的申请
This commit is contained in:
parent
83d8bfa3c4
commit
56ee7571d7
@ -4,15 +4,26 @@
|
||||
<script type="text/javascript">
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply(){
|
||||
debugger;
|
||||
var flowno="<%=CurPage.getParameter("ApplyType")%>";
|
||||
var orgId="<%=CurUser.getOrgID()%>";
|
||||
var selname="";
|
||||
var parm="";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="3";
|
||||
}else{
|
||||
businessType="false";
|
||||
}
|
||||
if(flowno=="BContractCancelApply"){
|
||||
selname="SelectContract_Car";
|
||||
}else{
|
||||
selname="SelectContract";
|
||||
parm="businessType,"+businessType;
|
||||
}
|
||||
|
||||
AsDialog.OpenSelector(selname,"","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
AsDialog.OpenSelector(selname,parm,"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;
|
||||
|
||||
@ -5,7 +5,16 @@
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply()
|
||||
{
|
||||
AsDialog.OpenSelector("SelectContract","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
var orgId="<%=CurUser.getOrgID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="3";
|
||||
}else{
|
||||
businessType="false";
|
||||
}
|
||||
AsDialog.OpenSelector("SelectContract","businessType,"+businessType,"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;
|
||||
|
||||
@ -5,7 +5,16 @@
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply()
|
||||
{
|
||||
AsDialog.OpenSelector("SelectContractForSupport","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
var orgId="<%=CurUser.getOrgID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="3";
|
||||
}else{
|
||||
businessType="false";
|
||||
}
|
||||
AsDialog.OpenSelector("SelectContractForSupport","businessType,"+businessType,"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;
|
||||
|
||||
@ -5,7 +5,17 @@
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply()
|
||||
{
|
||||
AsDialog.OpenSelector("selectContractPaymentPlanBusiness","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
debugger;
|
||||
var orgId="<%=CurUser.getOrgID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="3";
|
||||
}else{
|
||||
businessType="false";
|
||||
}
|
||||
AsDialog.OpenSelector("selectContractPaymentPlanBusiness","businessType,"+businessType,"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;
|
||||
|
||||
@ -4,7 +4,16 @@
|
||||
<script type="text/javascript">
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply(){
|
||||
AsDialog.OpenSelector("SelectProject","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
var orgId="<%=CurUser.getOrgID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="3";
|
||||
}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){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
|
||||
@ -5,7 +5,16 @@
|
||||
<script type="text/javascript">
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply(){
|
||||
AsDialog.OpenSelector("SelectProject","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
var orgId="<%=CurUser.getOrgID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="3";
|
||||
}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){
|
||||
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
|
||||
@ -5,7 +5,16 @@
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply()
|
||||
{
|
||||
AsDialog.OpenSelector("SelectProjectForSupport","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
var orgId="<%=CurUser.getOrgID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="3";
|
||||
}else{
|
||||
businessType="false";
|
||||
}
|
||||
AsDialog.OpenSelector("SelectProjectForSupport","businessType,"+businessType,"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;
|
||||
|
||||
@ -4,7 +4,16 @@
|
||||
<script type="text/javascript">
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply(){
|
||||
AsDialog.OpenSelector("selectRecreditProject","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
var orgId="<%=CurUser.getOrgID()%>";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="2";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="3";
|
||||
}else{
|
||||
businessType="false";
|
||||
}
|
||||
AsDialog.OpenSelector("selectRecreditProject","businessType,"+businessType,"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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user