%@ page contentType="text/html; charset=GBK"%><%@
include file="/Frame/resources/include/include_begin_info.jspf"%>
<%
/*
Content: 流程模型信息详情
Input Param:
FlowNo: 流程编号
PhaseNo: 阶段编号
*/
//获得组件参数
String sFlowNo = CurPage.getParameter("FlowNo");
String sPhaseNo = CurPage.getParameter("PhaseNo");
String sVersion = CurPage.getParameter("Version");
if(sFlowNo == null) sFlowNo = "";
if(sPhaseNo == null) sPhaseNo = "";
if (sVersion == null) sVersion = "";
ASObjectModel doTemp = new ASObjectModel("FlowModelInfo");
doTemp.setDefaultValue("Version", sVersion);
String sSql = "jbo.sys.CODE_LIBRARY,ItemNo,ItemName,IsInUse='1' and CodeNo "+
"in (select CI.ItemDescribe from jbo.sys.CODE_LIBRARY CI where CI.CodeNo='ApplyType' and CI.ItemNo in (select FC.FlowType from jbo.sys.FLOW_CATALOG FC where FC.FlowNo='"+sFlowNo+"'))";
doTemp.setDDDWJbo("PhaseType", sSql);
//设置共用格式
//doTemp.setEditStyle("PreScript,InitScript,ChoiceDescribe,ChoiceScript,ActionDescribe,ActionScript,PostScript,Attribute1,Attribute2,Attribute4,Attribute5,Attribute10","3");
//doTemp.setHTMLStyle("PreScript,InitScript,ChoiceDescribe,ChoiceScript,ActionDescribe,ActionScript,PostScript,Attribute1,Attribute2,Attribute4,Attribute5,Attribute10"," style={width:600px;height:100px;overflow:auto}");
doTemp.setHtmlEvent("PreScript,BACKSCRIPT,DELETESCRIPT", "ondblclick", "myDBLClick","this");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style="2"; //设置DW风格 1:Grid 2:Freeform
dwTemp.ReadOnly = "0"; //设置是否只读 1:只读 0:可写
//生成HTMLDataWindow
dwTemp.genHTMLObjectWindow(sFlowNo+","+sPhaseNo);
String sButtons[][] = {
{"true","","Button","保存并返回","保存修改并返回","saveRecordAndReturn()","","","","btn_icon_save"},
{"true","","Button","步骤配置说明","步骤配置说明","illustration()","","","","btn_icon_detail"}
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<%@include file="/Frame/resources/include/include_end.jspf"%>