%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_simplelist.jspf"%>
<%@ page import="com.tenwa.doc.action.DocListInitAction" %>
<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
<%
/*
Author: undefined 2016-09-01
Content: 固定带出项目立项的资料清单列表页面,如要根据流程动态生成资料,请用DocListMain.jsp
History Log:
*/
String ProjectId=CurPage.getParameter("ProjectId");
String flowunid=CurPage.getParameter("FlowUnid");
String CustomerType=CurPage.getParameter("CustomerType");
String carAttributes=CurPage.getParameter("carAttributes");//获取车类型
if(flowunid==""||flowunid==null){
flowunid="flowunid";
}
BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//流程对象
String sObjectType = CurPage.getParameter("FlowNo");//流程类型
String ishistory=CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
String RightType= CurPage.getParameter("RightType");
String username=CurUser.getUserName();
String sTempletNo=CurPage.getParameter("TempletNo");
String phaseNo = CurPage.getParameter("PhaseNo");
String apply = CurPage.getParameter("ApplyType");
if(sTempletNo==null){
sTempletNo="FlowPayDocList";
}
String compClientID = request.getParameter("CompClientID");
if("ProjectRecreditFlow".equals(sObjectType)){
sTempletNo = "FlowPayDocList" ;
}
if("ProjectCreditFlow".equals(sObjectType)){
sTempletNo = "FlowPayDocList" ;
}
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.appendJboWhere(" and rela.proj_id = '"+ProjectId+"' and rela.objecttype = 'ProjectApprovalFlow' ");
doTemp.setLockCount(2);
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
doTemp.setVisible("operation", false);
}
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "0";
dwTemp.setPageSize(500);
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
dwTemp.ReadOnly = "1";//只读模式
RightType="ReadOnly";
isShowButton=false;
}else{
isShowButton=true;
}
dwTemp.genHTMLObjectWindow(flowunid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
String sButtons[][] =null;
sButtons=new String[][]{
{"true","","Button","保存","保存所有修改","saveRecord()","","","",""},
};
%>
<%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<%@ include file="/Frame/resources/include/include_end.jspf"%>