|
@@ -939,9 +939,9 @@
|
|
|
,page: false
|
|
|
,cols: [[
|
|
|
// {checkbox: true, fixed: true},
|
|
|
- {field:'index',align:'center', title: '序号',width:40}
|
|
|
- ,{field: 'projId',align:'center', title: '项目编号/项目定义号',width:160}
|
|
|
- ,{field:'projName',align:'center', title: '项目名称', minWidth:200,templet:function(d){
|
|
|
+ {field:'index',align:'center', title: '序号',width:60}
|
|
|
+ ,{field: 'projId',align:'center', title: '项目编号',width:145}
|
|
|
+ ,{field:'projName',align:'center', title: '项目名称', minWidth:400,templet:function(d){
|
|
|
var xml="";
|
|
|
<shiro:hasPermission name="ruralProject:ruralProjectView:listAllView">
|
|
|
xml+="<a class=\"attention-info pid\" title=\"" + d.projName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目', '${ctx}/ruralProject/ruralProjectView/view?id=" + d.id +"','95%', '95%')\">"
|
|
@@ -953,7 +953,7 @@
|
|
|
return xml;
|
|
|
<%--return "<a class=\"attention-info\" title=\"" + d.projName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目', '${ctx}/ruralProject/ruralCostProjectRecords/view?id=" + d.id +"','95%', '95%')\">" + d.projName + "</a>";--%>
|
|
|
}}
|
|
|
- ,{field:'projectReportNumber',align:'center', title: '报告号',minWidth:180,templet:function(d){
|
|
|
+ ,{field:'projectReportNumber',align:'center', title: '报告号',width:175,templet:function(d){
|
|
|
if(""!= d.projectReportNumber){
|
|
|
<%--return "<a class=\"attention-info pid\" title=\"" + d.projectReportNumber + "\" href=\"javascript:void(0);\" onclick=\"openDialogReportView('查看报告信息', '${ctx}/ruralProject/ruralCostProjectMessage/modify?projectId=" + d.id + "&view=view&reportedId="+d.id+"','"+ d.id +"','95%', '95%')\">" + d.projectReportNumber + "</a>";--%>
|
|
|
return d.projectReportNumber;
|
|
@@ -971,41 +971,53 @@
|
|
|
}
|
|
|
<%--return "<a class=\"attention-info\" title=\""+d.contract+"\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看合同信息', '${ctx}/workcontractinfo/workContractInfo/lookForm?id=" + d.contractId + "','95%', '95%')\">" + d.contract + "</a>";--%>
|
|
|
}}
|
|
|
- ,{field: 'projMaster', align:'center', title: '责任人',width:100,templet: function(d){
|
|
|
+ ,{field: 'projMaster', align:'center', title: '责任人',width:75,templet: function(d){
|
|
|
return "<font style = 'font-size:14px;'>"+d.projMaster+"</font>";
|
|
|
}}
|
|
|
- ,{field: 'client', align:'center', title: '委托方',width:200,templet: function(d){
|
|
|
+ ,{field: 'client', align:'center', title: '委托方',width:285,templet: function(d){
|
|
|
return "<font style = 'font-size:14px;font-weight:500;'>"+d.client+"</font>";
|
|
|
}}
|
|
|
,{field:'money',align:'center', title: '咨询营业收入(万元)', width:140}
|
|
|
- ,{field:'createName',align:'center', title: '登记人', width:80}
|
|
|
- ,{field: 'createDate', align:'center', title: '创建日期/打包时间',width:100,templet: function(d){
|
|
|
+ ,{field:'createName',align:'center', title: '登记人', width:75}
|
|
|
+ ,{field: 'createDate', align:'center', title: '创建日期',width:110,templet: function(d){
|
|
|
var date=d.createDate;
|
|
|
return "<font style = 'font-size:14px;font-weight:500;'>"+layui.util.toDateString(date,'yyyy-MM-dd')+"</font>";
|
|
|
}}
|
|
|
- ,{field: 'submitMoneyStr', align:'center', title: '项目等级',width:100,templet: function(d){
|
|
|
+ ,{field: 'submitMoneyStr', align:'center', title: '项目等级',width:80,templet: function(d){
|
|
|
return "<font style = 'font-size:14px;'>"+d.submitMoneyStr+"</font>";
|
|
|
}}
|
|
|
- ,{align:'center', title: '质量复核', width:70,templet:function(d){
|
|
|
+ ,{align:'center', title: '质量复核', width:85,templet:function(d){
|
|
|
var st = getAuditState(d.projectReportStatus);
|
|
|
- if(st.action)
|
|
|
- var xml = "<span onclick=\"openDialogReportView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getProcessOne?id=" + d.id + "&projectReportData.id=" + d.bid + "&type=2','"+ d.id +"','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>";
|
|
|
+ if(st.action){
|
|
|
+ if (d.submitMoney=="1"){
|
|
|
+ var xml = "<span title='质量复核时间:"+ d.reportAuditDate +"' class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
+ }else if (d.submitMoney=="2"){
|
|
|
+ var xml = "<span title='质量复核时间:"+ d.reportAuditDate +"' onclick=\"openDialogReportView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getProcessOne?id=" + d.id + "&projectReportData.id=" + d.bid + "&type=2','"+ d.id +"','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;
|
|
|
}}
|
|
|
- ,{align:'center', title: '报告签发', width:90,templet:function(d){
|
|
|
+ ,{align:'center', title: '报告签发', width:85,templet:function(d){
|
|
|
var st = getAuditState(""+d.projectReportStatusTwo);
|
|
|
- if(st.action)
|
|
|
- var xml = "<span onclick=\"openDialogReportTwoView('流程追踪', '${ctx}/ruralProject/ruralProjectMessageNewTwo/getProcessOne?id=" + d.id + "&projectReportData.id=" + d.bid + "&type=2','"+d.id+"','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
- else
|
|
|
+
|
|
|
+ if(st.action){
|
|
|
+ if (d.submitMoney=="1"){
|
|
|
+ var xml = "<span title='报告签发时间:"+ d.reportTwoAuditDate +"' class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
+ }else if (d.submitMoney=="2"){
|
|
|
+ var xml = "<span title='报告签发时间:"+ d.reportTwoAuditDate +"' onclick=\"openDialogReportTwoView('流程追踪', '${ctx}/ruralProject/ruralProjectMessageNewTwo/getProcessOne?id=" + d.id + "&projectReportData.id=" + d.bid + "&type=2','"+d.id+"','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;
|
|
|
}}
|
|
|
- ,{align:'center', title: '电子', width:140,templet:function(d){
|
|
|
+ ,{align:'center', title: '电子', width:110,templet:function(d){
|
|
|
var st = getRuralProjectArchiveState(d.projectReportRecordStatus);
|
|
|
if(st.action){
|
|
|
- var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportRecordProcessOne?id="+d.prrId+"&processInstanceId=" + d.prrProcessInstanceId + "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
+
|
|
|
+ var xml = "<span title='电子归档时间:"+ d.projectReportRecordAuditDate +"' onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportRecordProcessOne?id="+d.prrId+"&processInstanceId=" + d.prrProcessInstanceId + "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
}else{
|
|
|
var xml = "<span style=\"cursor:default;\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
}
|
|
@@ -1015,7 +1027,7 @@
|
|
|
}
|
|
|
return xml;
|
|
|
}}
|
|
|
- ,{align:'center', title: '材料库', width:110,templet:function(d){
|
|
|
+ ,{align:'center', title: '材料库', width:105,templet:function(d){
|
|
|
var st = getProjectMaterialStorageStatus(d.projectMaterialStorageStatus);
|
|
|
if(st.action)
|
|
|
var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/project/projectMaterialStorage/form?reportedProcessInstanceId=" + d.reportedProcessInstanceId +"&&pageId=1"+ "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status+ "</span>";
|
|
@@ -1031,7 +1043,7 @@
|
|
|
<%-- var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";--%>
|
|
|
<%-- return xml;--%>
|
|
|
<%-- }}--%>
|
|
|
- ,{align:'center', title: '线下', width:70,templet:function(d){
|
|
|
+ ,{align:'center', title: '线下', width:85,templet:function(d){
|
|
|
if (d.submitMoney=="1"){
|
|
|
var st = getRuralProjectArchiveState(d.downProjectReportRecordStatus);
|
|
|
}else if (d.submitMoney=="2"){
|
|
@@ -1039,24 +1051,24 @@
|
|
|
}
|
|
|
if(st.action){
|
|
|
if (d.submitMoney=="1"){
|
|
|
- var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/getReportedProcess?processInstanceId=" + d.prrdProcessInstanceId + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
+ var xml = "<span title='批量归档时间:"+ d.projectFlingbatchRelationAuditPassDate +"' onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/getReportedProcess?processInstanceId=" + d.prrdProcessInstanceId + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
}else if (d.submitMoney=="2"){
|
|
|
- var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/getReportedProcess?processInstanceId=" + d.ppfProcessInstanceId + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
+ var xml = "<span title='纸质归档时间:"+ d.projectPaperAuditPassDate +"' onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/getReportedProcess?processInstanceId=" + d.ppfProcessInstanceId + "','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;
|
|
|
}}
|
|
|
- ,{align:'center', title: '上报', width:90,templet:function(d){
|
|
|
+ ,{align:'center', title: '上报', width:105,templet:function(d){
|
|
|
var st = getReportedState(d.reportedState);
|
|
|
if(st.action)
|
|
|
- var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportedProcess?processInstanceId=" + d.reportedProcessInstanceId + "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
+ var xml = "<span title='上报时间:"+ d.projectRecordsReportedAuditPassDate +"' onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportedProcess?processInstanceId=" + d.reportedProcessInstanceId + "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
else
|
|
|
var xml = "<span style=\"cursor:default;\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
return xml;
|
|
|
}}
|
|
|
- ,{align:'center', title: '案例项目申报', width:150,templet:function(d){
|
|
|
+ ,{align:'center', title: '案例项目申报', width:105,templet:function(d){
|
|
|
var st = getCaseBaseAuditState(d.caseStatus);
|
|
|
if(st.action)
|
|
|
var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportedProcess?processInstanceId=" + d.caseProcessId + "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status+ "</span>";
|
|
@@ -1228,6 +1240,12 @@
|
|
|
,"caseType":"${projectRecords.caseType}"
|
|
|
,"caseCreateBy":"${projectRecords.caseCreateBy}"
|
|
|
,"caseStatus":"${projectRecords.caseStatus}"
|
|
|
+ ,"reportAuditDate":"<fmt:formatDate value="${projectRecords.reportAuditDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
|
|
|
+ ,"reportTwoAuditDate":"<fmt:formatDate value="${projectRecords.reportTwoAuditDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
|
|
|
+ ,"projectReportRecordAuditDate":"<fmt:formatDate value="${projectRecords.projectReportRecordAuditDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
|
|
|
+ ,"projectPaperAuditPassDate":"<fmt:formatDate value="${projectRecords.projectPaperAuditPassDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
|
|
|
+ ,"projectFlingbatchRelationAuditPassDate":"<fmt:formatDate value="${projectRecords.projectFlingbatchRelationAuditPassDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
|
|
|
+ ,"projectRecordsReportedAuditPassDate":"<fmt:formatDate value="${projectRecords.projectRecordsReportedAuditPassDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
|
|
|
,"projectMaterialStorageStatus":"${projectRecords.projectMaterialStorageStatus}"
|
|
|
,"falg":
|
|
|
<c:choose>
|