%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
<%
/*
Author: undefined 2017-05-12
Content:
History Log:
*/
String flowunid = CurPage.getParameter("FlowUnid");//流程
BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);
String projid=flow.getAttribute("proj_id").getString();
String contract_id=flow.getAttribute("contract_id").getString();
String ProductId=CurPage.getParameter("ProductId");//产品编号
String calType = CurPage.getParameter("calType");
String sRightType= CurPage.getParameter("RightType");
String compClientID = CurPage.getParameter("CompClientID");
String ishistory = CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
if(sRightType==null){
sRightType="";
}
String planCName="PROJECT_PLAN_NUMBER";
if("proj_process".equals(calType)){
planCName="PROJECT_PLAN_NUMBER";
}else if("pay_process".equals(calType)){
planCName="PAYMENT_NUMBER";
}else{
planCName="CONTRACT_PLAN_NUMBER";
}
ASObjectModel doTemp = new ASObjectModel("LCCalcPlanTempList");
doTemp.setVisible(planCName, true);
if(null!=ishistory&&ishistory.equals("true"))
{
doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcListArachiveShow");
}
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(flowunid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
String sButtons[][] =null;
if("ContractOnhireChangeFlow".equals(CurPage.getParameter("FlowNo"))){
sButtons=new String[][] {
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_edit"},
};
}else{
sButtons=new String[][]{
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"true","All","Button","复制方案","新增","copyCalc()","","","","btn_icon_add",""},
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"true","All","Button","删除","删除","if(confirm('确实要删除吗?'))deletePlan()","","","","btn_icon_delete",""},
{"true","All","Button","生成报价单","生成报价单","generateQuotation()","","","",""},
};
}
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<%@ include file="/Frame/resources/include/include_end.jspf"%>