Merge remote-tracking branch 'origin/ap007' into ap007
This commit is contained in:
commit
9fdf4d7779
@ -61,7 +61,8 @@
|
||||
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",""},
|
||||
{"true","","Button","栗죕헌데","栗죕헌데","openFileList()","","","","btn_icon_saveNew",""}
|
||||
{"true","","Button","栗죕헌데","栗죕헌데","openFileList('1')","","","","btn_icon_saveNew",""},
|
||||
{("BusinessApplyFlow".equals(FlowNo)||"BusinessChangeFlow".equals(FlowNo))&&("0020".equals(sPhaseNo)||"0030".equals(sPhaseNo))?"true":"false","","Button","斤<>栗죕","斤<>栗죕","openFileList('2')","","","","btn_icon_saveNew",""}
|
||||
};
|
||||
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
@ -175,9 +176,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
function openFileList(){
|
||||
function openFileList(type){
|
||||
let url = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestUrl","");
|
||||
let params = getRequestParam();
|
||||
if(type==2){
|
||||
params = getRequestParamOfCredit();
|
||||
}
|
||||
if(params!=null){
|
||||
AsControl.postICMS(url,params);
|
||||
}
|
||||
@ -208,6 +212,21 @@
|
||||
let param = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestParam","appCode="+appCode+",appName="+appName+",code="+code+",busiNo="+busiNo+",userCode=<%=userId%>"+",userName=<%=userName%>"+",identity="+identity+",customerName="+customerName);
|
||||
return param;
|
||||
}
|
||||
function getRequestParamOfCredit(){
|
||||
|
||||
let code = 'ECM0002';
|
||||
if(("<%=FlowNo%>"=="BusinessApplyFlow"||"<%=FlowNo%>"=="BusinessChangeFlow")&&("<%=sPhaseNo%>"=="0020"||"<%=sPhaseNo%>"=="0030")&&"ReadOnly"!="<%=rightType%>"){
|
||||
code = 'ECM0001';
|
||||
}
|
||||
let busiNo="<%=projectNo%>";
|
||||
if(busiNo==null||busiNo==""||busiNo=="null"){
|
||||
busiNo = RunJavaMethod("com.ample.icms.util.GetInfoUtil", "getProjectNoByFlowUnidRJM", "flowUnid=<%=sFlowUnid%>");
|
||||
}
|
||||
let identity = $("#frame_list")[0].contentWindow.getIdentity();
|
||||
let customerName = $("#frame_list")[0].contentWindow.getCustomerName();
|
||||
let param = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestParam","appCode=AZPLGPA,appName=斤<>淚橄栗죕,code="+code+",busiNo="+busiNo+",userCode=<%=userId%>"+",userName=<%=userName%>"+",identity="+identity+",customerName="+customerName);
|
||||
return param;
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user