|  | @@ -7,12 +7,12 @@
 | 
	
		
			
				|  |  |  	<script type="text/javascript">
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		function doSubmit(){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
 | 
	
		
			
				|  |  | -		   var stageId=$("#stageId").val();
 | 
	
		
			
				|  |  | -		   if(stageId==null||stageId==""){
 | 
	
		
			
				|  |  | -               top.layer.msg('阶段信息不能为空!', {icon: 0});
 | 
	
		
			
				|  |  | +		   var url=$("#file").val();
 | 
	
		
			
				|  |  | +		   if(url==null||url==""){
 | 
	
		
			
				|  |  | +               top.layer.msg('请选择报告模板!', {icon: 0});
 | 
	
		
			
				|  |  |                 return false;
 | 
	
		
			
				|  |  |  		   }
 | 
	
		
			
				|  |  | -			//$("#inputForm").submit();
 | 
	
		
			
				|  |  | +		   $("#inputForm").submit();
 | 
	
		
			
				|  |  |  		  return true;
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |          var validateForm;
 | 
	
	
		
			
				|  | @@ -35,31 +35,13 @@
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  			});
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -            $("#typeName").blur(function(){
 | 
	
		
			
				|  |  | -                var typeName = $(this).val();
 | 
	
		
			
				|  |  | -				if("achievement_type" == typeName || "supporting_document_data_type" == typeName){
 | 
	
		
			
				|  |  | -                    $("#achievementParentIdDiv").show();
 | 
	
		
			
				|  |  | -                }else{
 | 
	
		
			
				|  |  | -                    $("#achievementParentIdDiv").hide();
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -            })
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -            $("#typeName").blur(function(){
 | 
	
		
			
				|  |  | -                var reviewStandard = $(this).val();
 | 
	
		
			
				|  |  | -                if("reviewStandard" == reviewStandard){
 | 
	
		
			
				|  |  | -                    $("#reviewStandardParentIdDiv").show();
 | 
	
		
			
				|  |  | -                }else{
 | 
	
		
			
				|  |  | -                    $("#reviewStandardParentIdDiv").hide();
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -            })
 | 
	
		
			
				|  |  |  		});
 | 
	
		
			
				|  |  |  	</script>
 | 
	
		
			
				|  |  |  </head>
 | 
	
		
			
				|  |  |  <body>
 | 
	
		
			
				|  |  |  <div class="single-form">
 | 
	
		
			
				|  |  |  	<div class="container view-form">
 | 
	
		
			
				|  |  | -		<form:form id="inputForm" modelAttribute="projectContentTreeData" action="${ctx}/projectreportnum/projectReportNum/saveReportNumOnStage" method="post" class="form-horizontal">
 | 
	
		
			
				|  |  | +		<form:form id="inputForm" modelAttribute="projectContentTreeData" action="${ctx}/workfullmanage/workFullManage/downLoadAttach" method="post" class="form-horizontal">
 | 
	
		
			
				|  |  |  			<input type="hidden" id="parentId" name="parentId" value="${reportNum.parentId}">
 | 
	
		
			
				|  |  |  			<input type="hidden" id="projectId" name="projectId" value="${reportNum.projectId}">
 | 
	
		
			
				|  |  |  		<sys:message content="${message}"/>
 | 
	
	
		
			
				|  | @@ -72,9 +54,9 @@
 | 
	
		
			
				|  |  |  					</div>
 | 
	
		
			
				|  |  |  				</div>
 | 
	
		
			
				|  |  |  				<div class="layui-item layui-col-sm6"  style="width:50%">
 | 
	
		
			
				|  |  | -					<label class="layui-form-label">阶段:</label>
 | 
	
		
			
				|  |  | +					<label class="layui-form-label">阶段名称:</label>
 | 
	
		
			
				|  |  |  					<div class="layui-input-block">
 | 
	
		
			
				|  |  | -						<input htmlEscape="false" name="num" readonly="true" class="form-control layui-input" value="${num}"/>
 | 
	
		
			
				|  |  | +						<input htmlEscape="false" name="typeName" readonly="true" class="form-control layui-input" value="${typeName}"/>
 | 
	
		
			
				|  |  |  					</div>
 | 
	
		
			
				|  |  |  				</div>
 | 
	
		
			
				|  |  |  				<div class="layui-item layui-col-sm6"  style="width:50%">
 | 
	
	
		
			
				|  | @@ -88,7 +70,7 @@
 | 
	
		
			
				|  |  |  				<div class="layui-item layui-col-sm6">
 | 
	
		
			
				|  |  |  					<label class="layui-form-label"><span class="require-item">*</span>模板信息:</label>
 | 
	
		
			
				|  |  |  					<div class="layui-input-block">
 | 
	
		
			
				|  |  | -						<select name="url" class="form-control editable-select layui-input">
 | 
	
		
			
				|  |  | +						<select id="file" name="file" class="form-control editable-select layui-input">
 | 
	
		
			
				|  |  |  							<option value=""></option>
 | 
	
		
			
				|  |  |  							<c:forEach items="${projectContentTreeData}" var="content">
 | 
	
		
			
				|  |  |  								<option value="${content.url}">
 |