81 lines
2.9 KiB
Plaintext
81 lines
2.9 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
|
/*
|
|
Author: undefined 2018-05-28
|
|
Content: 刻절圈헙女충
|
|
History Log:
|
|
*/
|
|
String userId= CurUser.getUserID();
|
|
String userName = CurUser.getUserName();
|
|
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
|
String sFlowUnid = CurPage.getParameter("FlowUnid");
|
|
String sPhaseNo=CurPage.getParameter("PhaseNo");//쌓뙈뵀
|
|
String FlowNo=CurPage.getParameter("FlowNo");//직넋츰냔
|
|
String projectNo=CurPage.getParameter("ProjectNo");//淃커긍뵀
|
|
if(sPrevUrl == null) sPrevUrl = "";
|
|
|
|
String sTempletNo = "LbContactInfo";//--친겼뵀--
|
|
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
|
doTemp.setColTips("", "");
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
|
dwTemp.Style = "2";//freeform
|
|
dwTemp.ReadOnly = "-2";//怜뗍친駕
|
|
dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid"));
|
|
|
|
String sButtons[][] = {
|
|
//{"true","All","Button","괏닸","괏닸杰唐錦맣","as_save(0)","","","",""},
|
|
//{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","럿쀼","럿쀼죗깊","returnList()","","","",""}
|
|
{"true","","Button","栗죕헌데","栗죕헌데","openFileList()","","","","btn_icon_saveNew",""},
|
|
};
|
|
//sButtonPosition = "south";
|
|
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
window.onload = function(){
|
|
var type = getItemValue(0,0,"customertype");
|
|
if(type=="03"||type==""||type==null){
|
|
hideItem(0,"CERTTYPE_CC");
|
|
hideItem(0,"CERTID_CC");
|
|
hideItem(0,"TEL_CC");
|
|
}else if(type=="01"){
|
|
hideItem(0,"CERTTYPE_CP");
|
|
hideItem(0,"CERTID_CP");
|
|
hideItem(0,"MOBILE_CP");
|
|
}
|
|
}
|
|
function returnList(){
|
|
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
|
}
|
|
function openFileList(){
|
|
let url = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestUrl","");
|
|
let params = getRequestParam();
|
|
if(params!=null){
|
|
AsControl.postICMS(url,params);
|
|
}
|
|
}
|
|
function getRequestParam(){
|
|
let appInfo = RunJavaMethod("com.ample.icms.util.GetInfoUtil", "getAppInfoByFlowUnidRJM", "flowUnid=<%=sFlowUnid%>");
|
|
let index = appInfo.indexOf("@");
|
|
if(index==-1){
|
|
alert(appInfo);
|
|
return;
|
|
}
|
|
let appCode = appInfo.substr(0,index);
|
|
let appName = appInfo.substr(index+1,appInfo.length);
|
|
if(appCode=='0000'){
|
|
alert(appName);
|
|
return;
|
|
}
|
|
let code = 'ECM0002';
|
|
if("<%=sPhaseNo%>"=="0010"){
|
|
code = 'ECM0001';
|
|
}
|
|
let busiNo = '<%=projectNo%>';
|
|
if(busiNo==null||busiNo==""||busiNo=="null"){
|
|
busiNo = RunJavaMethod("com.ample.icms.util.GetInfoUtil", "getProjectNoByFlowUnidRJM", "flowUnid=<%=sFlowUnid%>");
|
|
}
|
|
let param = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestParam","appCode="+appCode+",appName="+appName+",code="+code+",busiNo="+busiNo+",userCode=<%=userId%>"+",userName=<%=userName%>");
|
|
return param;
|
|
}
|
|
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |