2018-09-29 15:14:13 +08:00

62 lines
2.4 KiB
Plaintext
Raw 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_simplelist.jspf"%>
<%@ page import="com.tenwa.doc.action.DocListInitAction" %>
<%
String FlowUnid=CurPage.getParameter("FlowUnid");
String RightType= CurPage.getParameter("RightType");
String ishistory= CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
isShowButton=false;
}else{
isShowButton=true;
}
ASObjectModel doTemp = new ASObjectModel("LCConditionTemp");
if(null!=ishistory&&ishistory.equals("true")){
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataListHistory");
}
%>
<%@ include file="/Tenwa/Lease/Flow/Comm/baseShowFormal.jspf"%>
<%
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1";
dwTemp.setPageSize(50);
if("ProjectCreditFlow".equals(CurPage.getParameter("FlowNo"))||"ProjectRecreditFlow".equals(CurPage.getParameter("FlowNo"))){
isShowButton=true;
}
if(isShowForaml.equals("true")){
dwTemp.genHTMLObjectWindow(sProjectId);
}else{
dwTemp.genHTMLObjectWindow(FlowUnid);
}
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","","Button","设置前提条件","设置前提条件","changeToList()","","","","btn_icon_add",""},
};
%>
<script type="text/javascript">
var rowSpan="PRECONDITION_TYPE";
</script><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
window.onload=function(){
heping();
$("#DWTD").width( document.body.offsetWidth - 10);
$("#DWTD").width( document.body.offsetHeight - 10);
document.getElementById('DWTD').innerHTML = '<div style="width:'+(document.body.offsetWidth - 10)+'px;height:'+(document.body.offsetHeight - 10)+';overflow: scroll;">'+document.getElementById('DWTD').innerHTML+'</div>';
}
function heping(){
$("#TR_Right_myiframe0_0").attr("class","color_zebra1");
}
function changeToList(){
var sUrl="/Tenwa/Lease/Flow/Comm/LCCondtionForProject/LCCondtionList.jsp";
AsDialog.PopView(sUrl,"","resizable=yes;dialogWidth=800px;dialogHeight=600px;center:yes;status:no;statusbar:no",function(){
reloadSelf();
},"前提条件");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>