Prechádzať zdrojové kódy

下载流程单修改

user5 4 rokov pred
rodič
commit
3ce4304d8c

+ 4 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/cost/projectcontentinfo/reportView.jsp

@@ -112,7 +112,10 @@
 			</div>
 		</div>
 			<div class="form-group layui-row first lw12">
-				<div class="form-group-label"><h2>咨询质量控制信息</h2></div>
+				<div class="form-group-label">
+					<div style="float: right"> <a href="${ctx}/workfullmanage/workFullManage/downloadMassControl?id=${projectReportData.id}"  onclick="return confirmx('确认要下载控制流程单吗?', this.href)" class="nav-btn layui-btn" ><i class="fa fa-file-excel-o"></i> 下载流程单</a></div>
+					<h2>咨询质量控制信息</h2>
+				</div>
 
 				<div class="layui-item layui-col-sm6 lw7">
 					<label class="layui-form-label">专业咨询员:</label>

+ 3 - 4
src/main/webapp/webpage/modules/ruralprojectrecords/cost/ruralCostProjectMessageLists.jsp

@@ -540,13 +540,13 @@
 								return "<font></font>";
 							}
 						}},
-                    {field: 'projectLeader', align:'center', title: '案卷号',width:120,templet: function(d){
+                    /*{field: 'projectLeader', align:'center', title: '案卷号',width:120,templet: function(d){
 							if(0 == d.pid){
 								return "<a class=\"attention-info pid\" title=\"" + d.recodeNum + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看归档信息', '${ctx}/ruralProject/ruralProjectDownMessage/view?id=" + d.prrdId + "&view=view','95%', '95%')\">" + d.recodeNum + "</a>";
 							}else{
 								return "<font></font>";
 							}
-						}},
+						}},*/
                     {field: 'projectLeader', align:'center', title: '负责人',width:80,templet: function(d){
 							if(0 == d.pid){
 								return "<font style = 'font-size:14px;'>"+d.projectLeaders+"</font>";
@@ -606,7 +606,7 @@
 								return '';
 							}
 						}},*/
-					{align:'center', title: '上报状态',  width:70,templet:function(d){
+					{align:'center', title: '上报状态',  width:90,templet:function(d){
 							var st = getReportedState(""+d.reportedState);
 							if(d.pid ==0){
 								if(st.action)
@@ -670,7 +670,6 @@
 					//线上归档操作
 					if(d.projectReportStatus == 5){
 						xml+="<a href=\"#\" style='background-color: #FFB800' onclick=\"openDialogre('下载模板', '${ctx}/ruralProject/ruralCostProjectMessage/skipDownloadFtl?id=" + d.id +"','35%', '35%','','下载,关闭')\" class=\"op-btn\" > 下载模板</a>";
-						xml+="<a href=\"${ctx}/workfullmanage/workFullManage/downloadMassControl?id=" + d.prdId + "\" onclick=\"return confirmx('确认要下载控制流程单吗?', this.href)\" class=\"op-btn op-btn-cancel\" ><i class=\"fa fa-file-excel-o\"></i> 下载流程单</a>";
 						if(d.projectReportRecordStatus == 0){
 							xml+="<a href=\"#\" onclick=\"openDialogre('新增归档信息', '${ctx}/ruralProject/ruralCostProjectMessage/formRecord?reportId=" + d.id +"','95%', '95%','','送审,暂存,关闭')\" class=\"op-btn layui-bg-green\" ><i class=\"fa fa-plus\"></i> 线上归档</a>";
 						}

+ 4 - 1
src/main/webapp/webpage/modules/ruralprojectrecords/ruralporjectmessage/projectcontentinfo/reportView.jsp

@@ -113,7 +113,10 @@
 			</div>
 		</div>
 			<div class="form-group layui-row first lw12">
-				<div class="form-group-label"><h2>咨询质量控制信息</h2></div>
+				<div class="form-group-label">
+					<div style="float: right"> <a href="${ctx}/workfullmanage/workFullManage/downloadMassControl?id=${projectReportData.id}"  onclick="return confirmx('确认要下载控制流程单吗?', this.href)" class="nav-btn layui-btn" ><i class="fa fa-file-excel-o"></i> 下载流程单</a></div>
+					<h2>咨询质量控制信息</h2>
+				</div>
 
 				<div class="layui-item layui-col-sm6 lw7">
 					<label class="layui-form-label">专业咨询员:</label>

+ 3 - 4
src/main/webapp/webpage/modules/ruralprojectrecords/ruralporjectmessage/ruralProjectMessageLists.jsp

@@ -540,13 +540,13 @@
 								return "<font></font>";
 							}
 						}},
-                    {field: 'projectLeader', align:'center', title: '案卷号',width:120,templet: function(d){
+                    /*{field: 'projectLeader', align:'center', title: '案卷号',width:120,templet: function(d){
 							if(0 == d.pid){
 								return "<a class=\"attention-info pid\" title=\"" + d.recodeNum + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看归档信息', '${ctx}/ruralProject/ruralProjectDownMessage/view?id=" + d.prrdId + "&view=view','95%', '95%')\">" + d.recodeNum + "</a>";
 							}else{
 								return "<font></font>";
 							}
-						}},
+						}},*/
                     {field: 'projectLeader', align:'center', title: '负责人',width:80,templet: function(d){
 							if(0 == d.pid){
 								return "<font style = 'font-size:14px;'>"+d.projectLeaders+"</font>";
@@ -606,7 +606,7 @@
 								return '';
 							}
 						}},*/
-					{align:'center', title: '上报状态',  width:70,templet:function(d){
+					{align:'center', title: '上报状态',  width:90,templet:function(d){
 							var st = getReportedState(""+d.reportedState);
 							if(d.pid ==0){
 								if(st.action)
@@ -670,7 +670,6 @@
 					//线上归档操作
 					if(d.projectReportStatus == 5){
 						xml+="<a href=\"#\" style='background-color: #FFB800' onclick=\"openDialogre('下载模板', '${ctx}/ruralProject/ruralProjectMessage/skipDownloadFtl?id=" + d.id +"','35%', '35%','','下载,关闭')\" class=\"op-btn\" > 下载模板</a>";
-						xml+="<a href=\"${ctx}/workfullmanage/workFullManage/downloadMassControl?id=" + d.prdId + "\" onclick=\"return confirmx('确认要下载控制流程单吗?', this.href)\" class=\"op-btn op-btn-cancel\" ><i class=\"fa fa-file-excel-o\"></i> 下载流程单</a>";
 						if(d.projectReportRecordStatus == 0){
 							xml+="<a href=\"#\" onclick=\"openDialogre('新增归档信息', '${ctx}/ruralProject/ruralProjectMessage/formRecord?reportId=" + d.id +"','95%', '95%','','送审,暂存,关闭')\" class=\"op-btn layui-bg-green\" ><i class=\"fa fa-plus\"></i> 线上归档</a>";
 						}