diff --git a/WebContent/Tenwa/Comm/DocList/TriditionDocListInfo.jsp b/WebContent/Tenwa/Comm/DocList/TriditionDocListInfo.jsp
new file mode 100644
index 000000000..442623406
--- /dev/null
+++ b/WebContent/Tenwa/Comm/DocList/TriditionDocListInfo.jsp
@@ -0,0 +1,108 @@
+<%@ page contentType="text/html; charset=GBK"%>
+<%@include file="/Frame/resources/include/include_begin_info.jspf"%>
+<%
+ //定义变量
+ String sObjectNo = "";//--对象编号
+ //获得组件参数
+ String flowNo=CurPage.getParameter("FlowNo");
+ String contractid = CurPage.getParameter("contractid");
+ String projectid = CurPage.getParameter("projectid");
+
+ ASObjectModel doTemp = new ASObjectModel("FlowDocListUpload");
+ doTemp.setVisible("DOC_TYPE",false);
+ doTemp.setVisible("ONE_CLASSIFY",false);
+ doTemp.setVisible("Remark",false);
+ doTemp.setDefaultValue("DOC_NAME", "合同文件");
+ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
+ dwTemp.Style="2"; // 设置DW风格 1:Grid 2:Freeform
+ dwTemp.ReadOnly = "0"; // 设置是否只读 1:只读 0:可写
+ dwTemp.genHTMLObjectWindow("");
+ String[][] sButtons=null;
+ sButtons=new String[][]{
+ {"true","","Button","保存","保存所有修改","importRecord()","","","",""},
+ {"true","","Button","取消","取消","viewAndEdit_attachment()","","","","btn_icon_close"}};
+%><%@include file="/Frame/resources/include/ui/include_info.jspf"%>
+
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
diff --git a/WebContent/Tenwa/Comm/DocList/TriditionDocListUpload.jsp b/WebContent/Tenwa/Comm/DocList/TriditionDocListUpload.jsp
new file mode 100644
index 000000000..3d9c4fe78
--- /dev/null
+++ b/WebContent/Tenwa/Comm/DocList/TriditionDocListUpload.jsp
@@ -0,0 +1,104 @@
+<%@page import="java.net.URLDecoder"%>
+<%@page import="com.amarsoft.are.jbo.impl.BizObjectTableMapper"%>
+<%@page import="com.amarsoft.awe.util.DBKeyHelp"%>
+<%@page import="com.tenwa.reckon.util.UUIDUtil"%>
+<%@page import="com.amarsoft.awe.common.attachment.*"%>
+<%@ page contentType="text/html; charset=GBK"%>
+<%@ include file="/IncludeBegin.jsp"%><%
+ AmarsoftUpload myAmarsoftUpload = new AmarsoftUpload();
+ myAmarsoftUpload.initialize(pageContext);
+ myAmarsoftUpload.upload();
+ String FileSizejs=(String)myAmarsoftUpload.getRequest().getParameter("FileSize2");
+ String docType=(String)myAmarsoftUpload.getRequest().getParameter("DOC_TYPE");
+ String oneClassfiy=(String)myAmarsoftUpload.getRequest().getParameter("ONE_CLASSIFY");
+ String twoClassfiy=(String)myAmarsoftUpload.getRequest().getParameter("TWO_CLASSIFY");
+ String objectType=(String)myAmarsoftUpload.getRequest().getParameter("OBJECTTYPE");
+
+ String contractid=(String)myAmarsoftUpload.getRequest().getParameter("CONTRACTID");
+ String projectid=(String)myAmarsoftUpload.getRequest().getParameter("PROJECTID");
+
+ String sFileName =URLDecoder.decode((String)myAmarsoftUpload.getRequest().getParameter("FILENAMEX"),"UTF-8"); //文件名称
+ System.out.println("文件名"+sFileName);
+ // System.out.println("文件名==="+ URLDecoder.decode((String)myAmarsoftUpload.getRequest().getParameter("FILENAMEX"),"UTF-8"));
+ String Remark=URLDecoder.decode((String)myAmarsoftUpload.getRequest().getParameter("REMARK2"),"UTF-8"); //备注InputTime
+// String libraryId= (String)myAmarsoftUpload.getRequest().getParameter("ID"); //附件编号
+ String InputTime= StringFunction.getTodayNow(); //附件编号上传时间
+ BizObjectManager relaBm=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCRELATIVE");
+ BizObjectManager libBm=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCLIBRARY");
+ BizObjectManager attrBm=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE");
+ String relaID = UUIDUtil.getUUID();
+ BizObject rela = relaBm.newObject();
+ rela.setAttributeValue("ID", relaID);
+ rela.setAttributeValue("OBJECTTYPE", objectType);
+ rela.setAttributeValue("CONTRACT_ID", contractid);
+ rela.setAttributeValue("PROJ_ID", projectid);
+ relaBm.saveObject(rela);
+
+ String libraryId = UUIDUtil.getUUID();
+ BizObject lib = libBm.newObject();
+ lib.setAttributeValue("ID", libraryId);
+ lib.setAttributeValue("RELATIVE_ID", relaID);
+ lib.setAttributeValue("Doc_Nature", "合同文件");
+ lib.setAttributeValue("InputTime",InputTime);
+ lib.setAttributeValue("DOC_NAME", sFileName.substring(0, sFileName.indexOf(".")));
+ libBm.saveObject(lib);
+
+ BizObject attr=attrBm.newObject();
+ attr.setAttributeValue("Library_Id", libraryId);
+ attr.setAttributeValue("FileName", sFileName);
+ attr.setAttributeValue("InputUserId", CurUser.getUserID());
+ attr.setAttributeValue("InputOrgId", CurUser.getOrgID());
+ attr.setAttributeValue("InputTime",InputTime);
+ attr.setAttributeValue("objectType", objectType);
+
+ //得到不带路径的文件名
+ sFileName = StringFunction.getFileName(sFileName);
+ sFileName = URLDecoder.decode(URLDecoder.decode(sFileName,"UTF-8"),"UTF-8");
+ //定义数据库操作变量
+ SqlObject so = null;
+ String sNewSql = "";
+ String sFileSaveMode = CurConfig.getConfigure("FileSaveMode");
+ String sFileSavePath = CurConfig.getConfigure("FileSavePath");
+ String sFileNameType = CurConfig.getConfigure("FileNameType");
+
+ String trueTable = ((BizObjectTableMapper)attrBm).getTable(); //取得真实的表名
+ String sAttachmentNo = DBKeyHelp.getSerialNo(trueTable,"Id");
+
+ if (!myAmarsoftUpload.getFiles().getFile(0).isMissing()){
+ try {
+ //System.out.println("sDocNo="+libraryId+"--sAttachmentNo="+sAttachmentNo+"--sFileName="+sFileName+"--sFileSavePath="+sFileSavePath);
+ //System.out.println("sFileNameType="+sFileNameType+"--application="+application);
+ //String sFullPath = com.amarsoft.awe.common.attachment.FileNameHelper.getFullPath(libraryId, sAttachmentNo,sFileName, sFileSavePath, sFileNameType, application);
+ String uuid=java.util.UUID.randomUUID().toString().replaceAll("-", "");
+ String sFullPath =com.tenwa.officetempalte.util.FileOperatorUtil.getuploadFileDir(sFileSavePath) +uuid+"_"+sFileName;
+ if(myAmarsoftUpload.getFiles().getFile(0).getSize()!=Integer.parseInt(FileSizejs)){
+ throw new Exception("上传文件失败,请联系管理员!");
+ }
+ myAmarsoftUpload.getFiles().getFile(0).saveAs(sFullPath);
+ //得到带相对路径的文件名
+ String sFilePath = sFullPath.replace(sFileSavePath, "");
+ attr.setAttributeValue("FilePath",sFilePath);
+ attr.setAttributeValue("FullPath",sFullPath);
+ attr.setAttributeValue("Content_Type",DataConvert.toString(myAmarsoftUpload.getFiles().getFile(0).getContentType()));
+ attr.setAttributeValue("FileSize",DataConvert.toString(String.valueOf(myAmarsoftUpload.getFiles().getFile(0).getSize())));
+ attrBm.saveObject(attr);
+ myAmarsoftUpload = null;
+ }catch(Exception e){
+ e.printStackTrace();
+ out.println("An error occurs : " + e.toString());
+ attrBm.deleteObject(attr);
+ myAmarsoftUpload = null;
+%>
+
+<%
+ }
+ }
+%>
+
+<%@ include file="/IncludeEnd.jsp"%>
\ No newline at end of file
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/TraditionContractFileList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/TraditionContractFileList.jsp
new file mode 100644
index 000000000..5eff1c482
--- /dev/null
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/TraditionContractFileList.jsp
@@ -0,0 +1,93 @@
+<%@page import="jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT"%>
+<%@ page contentType="text/html; charset=GBK"%>
+<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
+ /*
+ Author: undefined 2018-07-16
+ Content:
+ History Log:
+ */
+ String sObjectType = CurPage.getParameter("FlowNo");//流程类型
+ String RightType= CurPage.getParameter("RightType");
+ String contractid= CurPage.getParameter("ContractId");
+ String projectid= CurPage.getParameter("ProjectId");
+ String username=CurUser.getUserName();
+ ASObjectModel doTemp = new ASObjectModel("TriditonContractList");
+ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
+ dwTemp.Style="1"; //--设置为Grid风格--
+ dwTemp.ReadOnly = "1"; //只读模式
+ dwTemp.setPageSize(10);
+ dwTemp.genHTMLObjectWindow("");
+
+ //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
+ String sButtons[][] = {
+ {"true","All","Button","上传","上传合同","upload()","","","","btn_icon_save"},
+ {"true","","Button","删除","删除","deletefile()","","","","btn_icon_delete",""},
+ };
+ sButtonPosition = "north";
+%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
+
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file