|
@@ -813,23 +813,44 @@
|
|
|
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:120,templet:function(d){
|
|
|
var st = getRuralProjectArchiveState(d.projectReportRecordStatus);
|
|
|
- if(st.action)
|
|
|
- var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportRecordProcessOne?processInstanceId=" + d.prrProcessInstanceId + "','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;
|
|
|
+ if(st.action){
|
|
|
+ var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportRecordProcessOne?processInstanceId=" + d.prrProcessInstanceId + "','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>";
|
|
|
+ }
|
|
|
+ var de = getdefectRecordState(""+d.defectRecordStatus);
|
|
|
+ if (d.defectRecordStatus>0){
|
|
|
+ xml+="<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportedProcess?processInstanceId=" + d.pmdrProcessInstanceId + "','95%','95%')\" style='margin-left: 5px;' class=\"layui-badge layui-bg-orange\">缺</span>";
|
|
|
+ }
|
|
|
+ return xml;
|
|
|
}}
|
|
|
- ,{align:'center', title: '资料缺失', width:90,templet:function(d){
|
|
|
- var st = getdefectRecordState(""+d.defectRecordStatus);
|
|
|
- if(st.action)
|
|
|
- var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportRecordProcessOne?processInstanceId=" + d.pmdrProcessInstanceId + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
- else
|
|
|
+ <%--,{align:'center', title: '资料缺失', width:90,templet:function(d){--%>
|
|
|
+ <%-- var st = getdefectRecordState(""+d.defectRecordStatus);--%>
|
|
|
+ <%-- if(st.action)--%>
|
|
|
+ <%-- var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportRecordProcessOne?processInstanceId=" + d.pmdrProcessInstanceId + "','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:70,templet:function(d){
|
|
|
+ if (d.submitMoney=="1"){
|
|
|
+ var st = getRuralProjectArchiveState(d.downProjectReportRecordStatus);
|
|
|
+ }else if (d.submitMoney=="2"){
|
|
|
+ var st = getRuralProjectArchiveState(d.paperFilingStatus);
|
|
|
+ }
|
|
|
+ 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>";
|
|
|
+ }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>";
|
|
|
+ }
|
|
|
+ }else{
|
|
|
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){
|
|
|
+
|
|
|
var st = getRuralProjectArchiveState(d.downProjectReportRecordStatus);
|
|
|
if(st.action)
|
|
|
var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/getReportRecordProcessOne?processInstanceId=" + d.prrdProcessInstanceId + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
@@ -920,8 +941,8 @@
|
|
|
,"view":"${projectRecords.view}"
|
|
|
,"reportStatus":"${projectRecords.reportStatus}"
|
|
|
,"syncStatus":"${projectRecords.syncStatus}"
|
|
|
- ,"downProjectReportRecordStatus":"${projectRecords.downProjectReportRecordStatus}"
|
|
|
- ,"prrdProcessInstanceId":"${projectRecords.prrdProcessInstanceId}"
|
|
|
+ ,"downProjectReportRecordStatus":"${projectRecords.filingProjectStatus}"
|
|
|
+ ,"prrdProcessInstanceId":"${projectRecords.filingProcessinstanceId}"
|
|
|
,"prrdId":"${projectRecords.prrdId}"
|
|
|
,"emergencyProject":"${projectRecords.emergencyProject}"
|
|
|
,"bid":"${projectRecords.prdId}"
|
|
@@ -935,6 +956,10 @@
|
|
|
,"newReportAuditNotifyFlag":"${projectRecords.newReportAuditNotifyFlag}"
|
|
|
,"newRecordAuditNotifyFlag":"${projectRecords.newRecordAuditNotifyFlag}"
|
|
|
,"reportNotifyId":"${projectRecords.reportNotifyId}"
|
|
|
+ ,"paperFilingStatus":"${projectRecords.paperFilingStatus}"
|
|
|
+ ,"ppfId":"${projectRecords.ppfId}"
|
|
|
+ ,"ppfProcessInstanceId":"${projectRecords.ppfProcessInstanceId}"
|
|
|
+ ,"submitMoney":"${projectRecords.submitMoney}"
|
|
|
,"falg":
|
|
|
<c:choose>
|
|
|
<c:when test="${fns:getUser().id == projectRecords.leaderIds || fns:getUser().id eq projectRecords.createBy.id}">
|