业务申请在信审经理终审否决无传阅

This commit is contained in:
tangft 2019-01-15 16:02:29 +08:00
parent a391f0ef3a
commit 8c3ca3d2ea
3 changed files with 12 additions and 9 deletions

View File

@ -115,7 +115,7 @@
actionSet.empty().show();
initFlowUserInfo(routeJson.route[0].phaseNo,0);
}
initReaderList();
initReaderList(routeJson.route[0].phaseNo);
}
//并行路由初始化
if(routeJson.routeType=="parallelroute"){
@ -190,21 +190,23 @@
}
}
initReaderList();
initReaderList(tempphaseno);
}
//初始化传阅人员
function initReaderList(){
function initReaderList(tempphaseno){
var actionSet = $("#actionreadset");
if(actionSet.html().length<=2){
if(actionSet.html().length<=2||"BusinessApplyFlow"=='<%=flowNo%>'){
var actionList=routeJson.readUser;
var phaseNo=routeJson.route[0].phaseNo;
if("BusinessApplyFlow"=='<%=flowNo%>'&&"1000"!=phaseNo){
if("BusinessApplyFlow"=='<%=flowNo%>'&&"1000"!=tempphaseno&&"8000"!=tempphaseno){
actionList = "";
$("#chuanyue").remove();
$("#phaseactionReader").remove();
return;
}
if(actionList.length>0){
actionSet.empty().show();
actionSet.append("<div style='margin-top:10px;margin-left:15px;font-size:12px;'><font color='#000000'><b>请选择传阅的用户:</b></font></div><div id='phaseactionReader' style='margin-top:10px;margin-left:10px;font-size:12px;border:1px solid lightgray;padding:5px;'></div>");
actionSet.append("<div id='chuanyue' style='margin-top:10px;margin-left:15px;font-size:12px;'><font color='#000000'><b>请选择传阅的用户:</b></font></div><div id='phaseactionReader' style='margin-top:10px;margin-left:10px;font-size:12px;border:1px solid lightgray;padding:5px;'></div>");
var phaseAction = $("#phaseactionReader");
var type="checkbox";
for(var j=0;j<actionList.split("@").length;j++){
@ -230,7 +232,7 @@
var phaseOpinion=getPhaseOpinion();
var nodeType=getNextPhaseNodeType(phaseOpinion);
if(nodeType==null||nodeType==""){
alert("请选择下一步处理人员!");
alert("请选择下一步处理人员!");
return ;
}
var phaseAction=getFlowUser();

View File

@ -65,7 +65,8 @@
if(confirm('确实要删除吗?')){
var message = AsControl.RunJavaMethodTrans("com.tenwa.reckon.executor.CreateTransactionExecutor","deleteLCEbankTemp","flowunid=<%=flowunid%>,ebanknumber="+ebanknumber);
if("true"==message){
as_delete(0,'alert(删除成功!)');
// as_delete(0,"alert('删除成功!')");
as_delete(0);
}else{
alert("删除失败!");
}

View File

@ -56,7 +56,7 @@ public class TenwaFlowTask extends FlowTask {
}
String nextSteps = bo.getAttribute("NEXTSTEPS").getString();
if("BusinessApplyFlow".equals(this.FlowNo)){
if(nextSteps.indexOf("1000")>0){
if(nextSteps.indexOf("1000")>0||nextSteps.indexOf("8000")>0){
passReader=this.getFlowUserByPhase("1000", "ATTRIBUTE10");
}else{
passReader="";