|  | @@ -175,7 +175,7 @@
 | 
	
		
			
				|  |  |  	<div class="layui-row">
 | 
	
		
			
				|  |  |  		<div class="full-width fl">
 | 
	
		
			
				|  |  |  			<div class="layui-row contentShadow shadowLR" id="queryDiv">
 | 
	
		
			
				|  |  | -				<form:form id="searchForm" modelAttribute="projectImplementEarly" action="${ctx}/project/projectImplementCompletion/" method="post" class="form-inline">
 | 
	
		
			
				|  |  | +				<form:form id="searchForm" modelAttribute="projectImplementEarly" action="${ctx}/project/projectCompletionPigeonhole/" method="post" class="form-inline">
 | 
	
		
			
				|  |  |  					<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
 | 
	
		
			
				|  |  |  					<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
 | 
	
		
			
				|  |  |  					<table:sortColumn id="orderBy" name="orderBy" value="${page.orderBy}" callback="sortOrRefresh();"/><!-- 支持排序 -->
 | 
	
	
		
			
				|  | @@ -327,7 +327,7 @@
 | 
	
		
			
				|  |  |  								return "<font>"+layui.util.toDateString(date,'yyyy-MM-dd')+"</font>";
 | 
	
		
			
				|  |  |  							}
 | 
	
		
			
				|  |  |  						}},
 | 
	
		
			
				|  |  | -					/*{align:'center', title: '状态',  width:70,templet:function(d){
 | 
	
		
			
				|  |  | +					{align:'center', title: '状态',  width:70,templet:function(d){
 | 
	
		
			
				|  |  |  							var st = getAuditState(""+d.projectStatus);
 | 
	
		
			
				|  |  |  							if(d.pid ==0){
 | 
	
		
			
				|  |  |  								if(st.action)
 | 
	
	
		
			
				|  | @@ -336,15 +336,16 @@
 | 
	
		
			
				|  |  |  									var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
 | 
	
		
			
				|  |  |  								return xml;
 | 
	
		
			
				|  |  |  							}else if(d.pid !=0){
 | 
	
		
			
				|  |  | +								st = getAuditState(""+d.status);
 | 
	
		
			
				|  |  |  								if(st.action)
 | 
	
		
			
				|  |  | -									var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/projectcontentinfo/projectcontentinfo/getProcessOne?id=" + d.id + "&projectReportData.id="+ d.id + "&type="+d.projectStatus+"','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
 | 
	
		
			
				|  |  | +									var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/projectcontentinfo/projectReportRecord/getProcessOne?id=" + d.recordId + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
 | 
	
		
			
				|  |  |  								else
 | 
	
		
			
				|  |  |  									var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
 | 
	
		
			
				|  |  |  								return xml;
 | 
	
		
			
				|  |  |  							}else{
 | 
	
		
			
				|  |  |  								return '';
 | 
	
		
			
				|  |  |  							}
 | 
	
		
			
				|  |  | -						}},*/
 | 
	
		
			
				|  |  | +						}},
 | 
	
		
			
				|  |  |  					{templet: complain, align:'center', title: '操作',width:130}
 | 
	
		
			
				|  |  |  				]],
 | 
	
		
			
				|  |  |  				done: function () {
 | 
	
	
		
			
				|  | @@ -375,12 +376,33 @@
 | 
	
		
			
				|  |  |  					/*'<a href="javascript:void(0)" onclick="openDialogreAudit(\'新增工作内容\', \'${ctx}/project/projectImplementCompletion/form?view=before&dictType=&parentIds=&project.id=' + d.id +'\',\'95%\',\'95%\')" style=\"color: white;background: darkseagreen\" class="op-btn op-btn-add" ><i class="fa fa-plus"></i> 新增</a>'*/,
 | 
	
		
			
				|  |  |  				].join('');
 | 
	
		
			
				|  |  |  			} else if (d.pid!="0"){
 | 
	
		
			
				|  |  | -				//子级内容
 | 
	
		
			
				|  |  | -				return [
 | 
	
		
			
				|  |  | -					/*'<a href="javascript:void(0)" onclick="openDialogreAudit(\'修改工作内容\', \'${ctx}/projectcontentinfo/projectcontentinfo/form?view=content&condition=early&dictType=&id='+d.contentPId+'&parentIds='+d.parentIds+'&infoId='+d.id+'\',\'95%\',\'95%\')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>',*/
 | 
	
		
			
				|  |  | -					'<a href="javascript:void(0)" onclick="openDialogreAudit(\'归档\', \'${ctx}/projectcontentinfo/projectReportRecord/formData?report.id='+d.reportId+'\',\'95%\',\'95%\')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 归档</a>',
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -				].join('');
 | 
	
		
			
				|  |  | +				if(d.status == 1){
 | 
	
		
			
				|  |  | +					return [
 | 
	
		
			
				|  |  | +						'<a href="javascript:void(0)" onclick="openDialogreAudit(\'修改归档信息\', \'${ctx}/projectcontentinfo/projectReportRecord/form?condition=completionArchive&id='+d.recordId+'\',\'95%\',\'95%\')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 修改</a>',
 | 
	
		
			
				|  |  | +						'<a href="${ctx}/projectcontentinfo/projectReportRecord/delete?condition=completionArchive&id='+d.recordId+'" onclick="return confirmx(\'确认要删除该归档信息吗?\', this.href)"   class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>',
 | 
	
		
			
				|  |  | +					].join('');
 | 
	
		
			
				|  |  | +				}else if(d.status == 2){
 | 
	
		
			
				|  |  | +					return [
 | 
	
		
			
				|  |  | +						'<a href="${ctx}/projectcontentinfo/projectReportRecord/cancelInvalidate?condition=completionArchive&id='+d.recordId+'" onclick="return confirmx(\'确认要撤回该归档信息吗?\', this.href)"   class="op-btn op-btn-cancel"><i class="glyphicon glyphicon-share-alt"></i> 撤回</a>',
 | 
	
		
			
				|  |  | +					].join('');
 | 
	
		
			
				|  |  | +				}else if(d.status == 3){
 | 
	
		
			
				|  |  | +					return [
 | 
	
		
			
				|  |  | +						'<a href="javascript:void(0)" onclick="openDialogreAudit(\'修改归档信息\', \'${ctx}/projectcontentinfo/projectReportRecord/form?condition=completionArchive&id='+d.recordId+'\',\'95%\',\'95%\')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 修改</a>',
 | 
	
		
			
				|  |  | +						'<a href="${ctx}/projectcontentinfo/projectReportRecord/delete?condition=completionArchive&id='+d.recordId+'" onclick="return confirmx(\'确认要删除该归档信息吗?\', this.href)"   class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>',
 | 
	
		
			
				|  |  | +					].join('');
 | 
	
		
			
				|  |  | +				}else if(d.status == 4){
 | 
	
		
			
				|  |  | +					return [
 | 
	
		
			
				|  |  | +						'<a href="javascript:void(0)" onclick="openDialogreAudit(\'修改归档信息\', \'${ctx}/projectcontentinfo/projectReportRecord/form?condition=completionArchive&id='+d.recordId+'\'\'95%\',\'95%\')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 修改</a>',
 | 
	
		
			
				|  |  | +						'<a href="${ctx}/projectcontentinfo/projectReportRecord/delete?condition=completionArchive&id='+d.recordId+'" onclick="return confirmx(\'确认要删除该归档信息吗?\', this.href)"   class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>',
 | 
	
		
			
				|  |  | +					].join('');
 | 
	
		
			
				|  |  | +				}else if(d.status == null || d.status == '' || d.status == 10){
 | 
	
		
			
				|  |  | +					return [
 | 
	
		
			
				|  |  | +						'<a href="javascript:void(0)" onclick="openDialogreAudit(\'归档\', \'${ctx}/projectcontentinfo/projectReportRecord/formData?report.id='+d.reportId+'\',\'95%\',\'95%\')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 归档</a>',
 | 
	
		
			
				|  |  | +					].join('');
 | 
	
		
			
				|  |  | +				}else{
 | 
	
		
			
				|  |  | +					return[''].join('');
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  |  			}else{
 | 
	
		
			
				|  |  |  				return[''].join('');
 | 
	
		
			
				|  |  |  			}
 |