权限这块再看一下,除了经销商,其他人都没有修改、保存、删除的权限,只能浏览详情
This commit is contained in:
parent
2540433d39
commit
07a1d83771
@ -24,6 +24,17 @@
|
||||
String PhaseNo=CurPage.getParameter("PhaseNo");
|
||||
String subjectId=CurPage.getParameter("SubjectId");//获取主体信息,用于是否签约查询
|
||||
String channel=CurPage.getParameter("channel");
|
||||
|
||||
String falg = "false";
|
||||
|
||||
if("0010".equals(PhaseNo) || "0020".equals(PhaseNo) ){
|
||||
falg = "true";
|
||||
}
|
||||
|
||||
if("合同制作流程".equals(flowName)){
|
||||
falg = "false";
|
||||
}
|
||||
|
||||
BizObjectManager ldclManager = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME);
|
||||
BizObject ldcls = ldclManager.createQuery("select * from O where file_flag='yes' and ( flow_unid=:flowunid or contract_id=:contractid ) ").setParameter("flowunid", FlowUnid).setParameter("contractid", contractId).getSingleResult(false);
|
||||
System.out.print("=========="+ldcls+"==========");
|
||||
@ -60,7 +71,7 @@
|
||||
dwTemp.replaceColumn("S_PaymentCard", "<iframe type='iframe' name=\"frame_lists\" width=\"100%\" height=\"250\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Lease/Flow/Comm/LBDebitCard/S_PaymentCardInfo.jsp?FlowUnid="+FlowUnid+"&RightType="+RightType+"&ishistory="+ishistory+"&CompClientID="+sCompClientID+"\"></iframe>", CurPage.getObjectWindowOutput());
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","","Button","保存","保存所有修改","save()","","","",""},
|
||||
{falg,"","Button","保存","保存所有修改","save()","","","",""},
|
||||
{"false","All","Button","校验银行卡信息","校验银行卡四要素","verifyFourelementBank()","","","","btn_icon_return"}
|
||||
}
|
||||
/* {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
|
||||
|
||||
@ -11,6 +11,8 @@
|
||||
String contractid = CurPage.getParameter("ContractId");
|
||||
String showtype = CurPage.getParameter("ShowType");
|
||||
String PhaseNo = CurPage.getParameter("PhaseNo");
|
||||
String flowName = CurPage.getParameter("FlowName");
|
||||
|
||||
if("queryContract".equals(action)){
|
||||
RightType = "ReadOnly";
|
||||
}
|
||||
@ -29,6 +31,10 @@
|
||||
falg = "true";
|
||||
}
|
||||
|
||||
if("ºÏÍ¬ÖÆ×÷Á÷³Ì".equals(flowName)){
|
||||
falg = "false";
|
||||
}
|
||||
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNoQuery);
|
||||
// doTemp.appendHTMLStyle("FULLNAME","width:"+(int)((screen.getWidth()-(screen.getWidth()*0.108))*0.15)+"px;");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
|
||||
@ -22,7 +22,18 @@
|
||||
String custype = CurPage.getParameter("CustomerType");
|
||||
String customertype = CurPage.getParameter("customertype");
|
||||
String channel = CurPage.getParameter("channel");
|
||||
|
||||
String flowName = CurPage.getParameter("FlowName");
|
||||
|
||||
String falg = "false";
|
||||
|
||||
if("0010".equals(sPhaseNo) || "0020".equals(sPhaseNo) ){
|
||||
falg = "true";
|
||||
}
|
||||
|
||||
if("ºÏÍ¬ÖÆ×÷Á÷³Ì".equals(flowName)){
|
||||
falg = "false";
|
||||
}
|
||||
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setHtmlEvent("inputTel","onChange","checkTel");
|
||||
//理줏近駕set怜뗍
|
||||
@ -60,7 +71,7 @@
|
||||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid"));
|
||||
dwTemp.replaceColumn("customer_info", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"1200px\" frameborder=\"0\" src=\""+sWebRootPath+userll+compClientID+"&sPhaseNo="+sPhaseNo+"\"></iframe>", CurPage.getObjectWindowOutput());
|
||||
String sButtons[][] = {
|
||||
{"ReadOnly".equals(rightType)?"false":"true","","Button","±£´æ","±£´æ","save()","","","","btn_icon_saveNew",""},
|
||||
{falg,"","Button","±£´æ","±£´æ","save()","","","","btn_icon_saveNew",""},
|
||||
{"true","","Button","栗죕헌데","栗죕헌데","openFileList('1')","","","","btn_icon_saveNew",""},
|
||||
{("BusinessApplyFlow".equals(FlowNo)||"BusinessChangeFlow".equals(FlowNo))&&("0030".equals(sPhaseNo)||"0040".equals(sPhaseNo)||"0050".equals(sPhaseNo)||"0060".equals(sPhaseNo)||"0070".equals(sPhaseNo))?"true":"false","","Button","斤<>栗죕","斤<>栗죕","openFileList('2')","","","","btn_icon_saveNew",""}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user