2018-06-03 22:26:41 +08:00

45 lines
1.7 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%><%@
include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Content: 流程模型列表
Input Param:
sFlowNo流程编号
*/
//获得页面参数
String sFlowNo = CurPage.getParameter("FlowNo");
String sVersion = CurPage.getParameter("Version");
if (sFlowNo == null) sFlowNo = "";
if (sVersion == null) sVersion = "";
ASObjectModel doTemp = new ASObjectModel("FlowModelList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //设置DW风格 1:Grid 2:Freeform
dwTemp.ReadOnly = "1"; //设置是否只读 1:只读 0:可写
dwTemp.setPageSize(20);
//生成HTMLDataWindow
dwTemp.genHTMLObjectWindow(sFlowNo+","+sVersion);
String sButtons[][] = {
{"true","","Button","配置","配置节点信息","viewAndEdit()","","","","btn_icon_setting"}
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function viewAndEdit(){
var sFlowNo = getItemValue(0,getRow(),"FlowNo");
var sPhaseNo = getItemValue(0,getRow(),"PhaseNo");
if(typeof(sFlowNo)=="undefined" || sFlowNo.length==0) {
alert(getMessageText('AWEW1001'));//请选择一条信息!
return ;
}
var param="FlowNo="+sFlowNo+"&PhaseNo="+sPhaseNo;
var sUrl="/AppConfig/FlowManage/FlowModelInfo.jsp";
AsDialog.PopView(sUrl,param,"dialogWidth=800px;dialogHeight=600px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(sReturn){ if (typeof(sReturn)!='undefined' && sReturn.length!=0){
sReturnValues = sReturn.split("@");
if (sReturnValues[0].length !=0 && sReturnValues[1]=="Y"){
reloadSelf();
}
}},"步骤修改");
}
</script>
<%@include file="/Frame/resources/include/include_end.jspf"%>