60 lines
2.5 KiB
Plaintext
60 lines
2.5 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%>
|
||
<%
|
||
|
||
String sID = CurPage.getParameter("id");//标识
|
||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||
String ishistory = CurPage.getParameter("IsHistory");
|
||
String nodeNo=CurPage.getParameter("NodeNo");
|
||
String RightType = CurPage.getParameter("RightType");
|
||
// String sListTempletNo = CurPage.getParameter("ListTempletNo");//List页面模板号
|
||
String taskno = CurPage.getParameter("TaskNo");
|
||
|
||
if(sID == null) sID = "";
|
||
if(sFlowUnid == null) sFlowUnid = "";
|
||
//if(sListTempletNo == null) sListTempletNo = "FlowAccountAccreditList";
|
||
String sTempletNo = "LBClaimsApplyTemp";//--模板号--
|
||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||
if(null!=ishistory&&ishistory.equals("true")){
|
||
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据
|
||
}
|
||
CurPage.getCurComp().setAttribute("RightType", null);
|
||
%>
|
||
<%@ include file="/Tenwa/Lease/Flow/Comm/baseShowInfoFormal.jspf"%>
|
||
<%
|
||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||
dwTemp.Style = "2";//freeform
|
||
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
|
||
dwTemp.ReadOnly = "-2";//只读模式
|
||
}
|
||
dwTemp.genHTMLObjectWindow(sFlowUnid);//得到的参数
|
||
CurPage.getCurComp().setAttribute("RightType", RightType);
|
||
|
||
String sButtons[][] = {
|
||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||
//{"true","All","Button","保存","保存所有修改","saveRecord()","","","",""},
|
||
//{"true","","Button","返回","返回列表页面","goBack()","","","",""},
|
||
};
|
||
sButtonPosition = "north";
|
||
%>
|
||
<%@include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=Info07;Describe=自定义函数;]~*/%>
|
||
<script type="text/javascript">
|
||
<%/*~[Describe=执行插入操作前执行的代码;]~*/%>
|
||
function beforeInsert()
|
||
{
|
||
setItemValue(0,0,"InputUserID","<%=CurUser.getUserID()%>");
|
||
setItemValue(0,0,"InputOrgID","<%=CurUser.getOrgID()%>");
|
||
setItemValue(0,0,"InputTime","<%=StringFunction.getTodayNow()%>");
|
||
bIsInsert = false;
|
||
}
|
||
<%/*~[Describe=执行更新操作前执行的代码;]~*/%>
|
||
function beforeUpdate()
|
||
{
|
||
setItemValue(0,0,"UpdateUserID","<%=CurUser.getUserID()%>");
|
||
setItemValue(0,0,"UpdateOrgID","<%=CurUser.getOrgID()%>");
|
||
setItemValue(0,0,"UpdateTime","<%=StringFunction.getTodayNow()%>");
|
||
}
|
||
</script>
|
||
<%/*~END~*/%>
|
||
<%@ include file="/Frame/resources/include/include_end.jspf"%> |