|
@@ -758,13 +758,13 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/*上报相关按钮*/
|
|
/*上报相关按钮*/
|
|
- if(d.projectReportStatusTwo == 0){
|
|
|
|
|
|
+ /*if(d.projectReportStatusTwo == 0){
|
|
if(d.projectReportStatus == 5){
|
|
if(d.projectReportStatus == 5){
|
|
if(d.syncStatus == 0){
|
|
if(d.syncStatus == 0){
|
|
if(d.reportStatus == 0){
|
|
if(d.reportStatus == 0){
|
|
if(d.reportedState == 0 || d.reportedState == 6){
|
|
if(d.reportedState == 0 || d.reportedState == 6){
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageNew/updateReported?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,暂存,关闭')\" style='background-color: #5FB878;height: 32px;margin-top: 5px;margin-bottom: 5px;' class=\"layui-btn layui-btn-xs layui-bg-blue\" > 上报</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageNew/updateReported?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,暂存,关闭')\" style='background-color: #5FB878;height: 32px;margin-top: 5px;margin-bottom: 5px;' class=\"layui-btn layui-btn-xs layui-bg-blue\" > 上报</a>";
|
|
- /*xml+="<a href=\"#\" onclick=\"openDialogre('上报管理', '${ctx}/ruralProject/ruralProjectMessage/updateReportedByPerson?id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #5FB878' class=\"layui-btn layui-btn-xs layui-bg-blue\" > 个人上报</a>";*/
|
|
|
|
|
|
+ /!*xml+="<a href=\"#\" onclick=\"openDialogre('上报管理', '${ctx}/ruralProject/ruralProjectMessage/updateReportedByPerson?id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #5FB878' class=\"layui-btn layui-btn-xs layui-bg-blue\" > 个人上报</a>";*!/
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
if(d.reportedState == 1){
|
|
if(d.reportedState == 1){
|
|
@@ -773,11 +773,11 @@
|
|
if(d.reportedState == 2){
|
|
if(d.reportedState == 2){
|
|
xml+="<a href=\"${ctx}/ruralProject/ruralProjectMessage/cancelInvalidateByReported?companyType=${companyType}&id=" + d.id + "&processInstanceId=" + d.reportedProcessInstanceId + "\" onclick=\"return confirmx('确认要撤回该上报审批吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 撤回上报</a>";
|
|
xml+="<a href=\"${ctx}/ruralProject/ruralProjectMessage/cancelInvalidateByReported?companyType=${companyType}&id=" + d.id + "&processInstanceId=" + d.reportedProcessInstanceId + "\" onclick=\"return confirmx('确认要撤回该上报审批吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 撤回上报</a>";
|
|
}
|
|
}
|
|
- /*撤回修改*/
|
|
|
|
|
|
+ /!*撤回修改*!/
|
|
if(d.reportedState == 3){
|
|
if(d.reportedState == 3){
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageNew/updateReported?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #1E9FFF;height: 32px;margin-top: 5px;margin-bottom: 5px;' class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改上报</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageNew/updateReported?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #1E9FFF;height: 32px;margin-top: 5px;margin-bottom: 5px;' class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改上报</a>";
|
|
}
|
|
}
|
|
- /*驳回修改*/
|
|
|
|
|
|
+ /!*驳回修改*!/
|
|
if(d.reportedState == 4){
|
|
if(d.reportedState == 4){
|
|
//驳回操作
|
|
//驳回操作
|
|
// if(d.newReportedNotifyFlag == 1){
|
|
// if(d.newReportedNotifyFlag == 1){
|
|
@@ -796,7 +796,7 @@
|
|
if(d.reportStatus == 0){
|
|
if(d.reportStatus == 0){
|
|
if(d.reportedState == 0 || d.reportedState == 6){
|
|
if(d.reportedState == 0 || d.reportedState == 6){
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageNew/updateReported?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,暂存,关闭')\" style='background-color: #5FB878' class=\"layui-btn layui-btn-xs layui-bg-blue\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 上报</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageNew/updateReported?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,暂存,关闭')\" style='background-color: #5FB878' class=\"layui-btn layui-btn-xs layui-bg-blue\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 上报</a>";
|
|
- /*xml+="<a href=\"#\" onclick=\"openDialogre('上报管理', '${ctx}/ruralProject/ruralProjectMessage/updateReportedByPerson?id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #5FB878' class=\"layui-btn layui-btn-xs layui-bg-blue\" > 个人上报</a>";*/
|
|
|
|
|
|
+ /!*xml+="<a href=\"#\" onclick=\"openDialogre('上报管理', '${ctx}/ruralProject/ruralProjectMessage/updateReportedByPerson?id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #5FB878' class=\"layui-btn layui-btn-xs layui-bg-blue\" > 个人上报</a>";*!/
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
if(d.reportedState == 1){
|
|
if(d.reportedState == 1){
|
|
@@ -805,11 +805,11 @@
|
|
if(d.reportedState == 2){
|
|
if(d.reportedState == 2){
|
|
xml+="<a href=\"${ctx}/ruralProject/ruralProjectMessage/cancelInvalidateByReported?companyType=${companyType}&id=" + d.id + "&processInstanceId=" + d.reportedProcessInstanceId + "\" onclick=\"return confirmx('确认要撤回该上报审批吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 撤回上报</a>";
|
|
xml+="<a href=\"${ctx}/ruralProject/ruralProjectMessage/cancelInvalidateByReported?companyType=${companyType}&id=" + d.id + "&processInstanceId=" + d.reportedProcessInstanceId + "\" onclick=\"return confirmx('确认要撤回该上报审批吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 撤回上报</a>";
|
|
}
|
|
}
|
|
- /*撤回修改*/
|
|
|
|
|
|
+ /!*撤回修改*!/
|
|
if(d.reportedState == 3){
|
|
if(d.reportedState == 3){
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageNew/updateReported?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #1E9FFF' class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 修改上报</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageNew/updateReported?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #1E9FFF' class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 修改上报</a>";
|
|
}
|
|
}
|
|
- /*驳回修改*/
|
|
|
|
|
|
+ /!*驳回修改*!/
|
|
if(d.reportedState == 4){
|
|
if(d.reportedState == 4){
|
|
//驳回操作
|
|
//驳回操作
|
|
// if(d.newReportedNotifyFlag == 1){
|
|
// if(d.newReportedNotifyFlag == 1){
|
|
@@ -823,7 +823,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
/*纸质归档*/
|
|
/*纸质归档*/
|
|
/*if(d.projectReportStatusTwo == 5){
|
|
/*if(d.projectReportStatusTwo == 5){
|
|
if(d.submitMoney == "2"){
|
|
if(d.submitMoney == "2"){
|
|
@@ -864,11 +864,11 @@
|
|
xml+="<a href=\"#\" onclick=\"openDialogre('修改纸质归档案卷号', '${ctx}/paperFiling/paperFiling/adminPaperFiling?companyType=${companyType}&id=" + d.ppfId + "&projectId=" + d.id +"&view=filing ','95%', '95%','','提交,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 修改纸质归档</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogre('修改纸质归档案卷号', '${ctx}/paperFiling/paperFiling/adminPaperFiling?companyType=${companyType}&id=" + d.ppfId + "&projectId=" + d.id +"&view=filing ','95%', '95%','','提交,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 修改纸质归档</a>";
|
|
}
|
|
}
|
|
//项目升级按钮
|
|
//项目升级按钮
|
|
- if (d.submitMoney==1){
|
|
|
|
|
|
+ /*if (d.submitMoney==1){
|
|
if (d.projectReportRecordStatus==0 || d.projectReportRecordStatus==1 || d.projectReportRecordStatus==2 || d.projectReportRecordStatus==3 || d.projectReportRecordStatus==6){
|
|
if (d.projectReportRecordStatus==0 || d.projectReportRecordStatus==1 || d.projectReportRecordStatus==2 || d.projectReportRecordStatus==3 || d.projectReportRecordStatus==6){
|
|
xml+="<a href=\"#\" onclick=\"projectUpgrade('"+d.id+"','"+d.projectReportRecordStatus+"','"+d.filingProjectStatus+"','"+d.projectReportStatus+"','"+d.projectReportStatusTwo+"')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 项目升级</a>";
|
|
xml+="<a href=\"#\" onclick=\"projectUpgrade('"+d.id+"','"+d.projectReportRecordStatus+"','"+d.filingProjectStatus+"','"+d.projectReportStatus+"','"+d.projectReportStatusTwo+"')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 项目升级</a>";
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
if(d.projectReportStatus == 5){
|
|
if(d.projectReportStatus == 5){
|
|
if (d.projectReportStatusTwo != 5 && d.projectReportStatusTwo != 2){
|
|
if (d.projectReportStatusTwo != 5 && d.projectReportStatusTwo != 2){
|
|
xml+="<a href=\"#\" onclick=\"openDialogre('修改报告质量复核信息', '${ctx}/ruralProject/ruralProjectMessageNew/reviewForm?companyType=${companyType}&projectId=" + d.id +"&view=reloadReport&edit=reviewAgain','95%', '95%','','送审,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 重新复核</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogre('修改报告质量复核信息', '${ctx}/ruralProject/ruralProjectMessageNew/reviewForm?companyType=${companyType}&projectId=" + d.id +"&view=reloadReport&edit=reviewAgain','95%', '95%','','送审,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 重新复核</a>";
|
|
@@ -876,11 +876,11 @@
|
|
}
|
|
}
|
|
</shiro:hasPermission>
|
|
</shiro:hasPermission>
|
|
|
|
|
|
- <shiro:hasPermission name="ruralProject:ruralCostProjectMessage:reportedProvincialStanding">
|
|
|
|
|
|
+ <%--<shiro:hasPermission name="ruralProject:ruralCostProjectMessage:reportedProvincialStanding">
|
|
if(d.reportedState == 5 || d.reportedState == 7){
|
|
if(d.reportedState == 5 || d.reportedState == 7){
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralCostProjectMessageNew/submitReportedProvincialStanding?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #1E9FFF' class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 提交省站</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralCostProjectMessageNew/submitReportedProvincialStanding?companyType=${companyType}&id=" + d.id + " ','95%', '95%','','上报,关闭')\" style='background-color: #1E9FFF' class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 提交省站</a>";
|
|
}
|
|
}
|
|
- </shiro:hasPermission>
|
|
|
|
|
|
+ </shiro:hasPermission>--%>
|
|
|
|
|
|
|
|
|
|
xml+="</div>";
|
|
xml+="</div>";
|
|
@@ -1024,7 +1024,7 @@
|
|
</form:select>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
</div>--%>
|
|
</div>--%>
|
|
- <div class="layui-item query athird ">
|
|
|
|
|
|
+ <%--<div class="layui-item query athird ">
|
|
<label class="layui-form-label">上报状态:</label>
|
|
<label class="layui-form-label">上报状态:</label>
|
|
<div class="layui-input-block readOnlyFFF">
|
|
<div class="layui-input-block readOnlyFFF">
|
|
<form:select path="reportedState" class=" form-control simple-select">
|
|
<form:select path="reportedState" class=" form-control simple-select">
|
|
@@ -1032,7 +1032,7 @@
|
|
<form:options items="${fns:getDictList('reported_state')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
<form:options items="${fns:getDictList('reported_state')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
</form:select>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </div>--%>
|
|
<%--<div class="layui-item query athird ">
|
|
<%--<div class="layui-item query athird ">
|
|
<label class="layui-form-label double-line">项目等级:</label>
|
|
<label class="layui-form-label double-line">项目等级:</label>
|
|
<div class="layui-input-block readOnlyFFF">
|
|
<div class="layui-input-block readOnlyFFF">
|
|
@@ -1238,14 +1238,14 @@
|
|
}
|
|
}
|
|
return xml;
|
|
return xml;
|
|
}}*/
|
|
}}*/
|
|
- ,{align:'center', title: '上报', width:90,templet:function(d){
|
|
|
|
|
|
+ /*,{align:'center', title: '上报', width:90,templet:function(d){
|
|
var st = getReportedState(d.reportedState);
|
|
var st = getReportedState(d.reportedState);
|
|
if(st.action)
|
|
if(st.action)
|
|
var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/getReportedProcess?companyType=${companyType}&processInstanceId=" + d.reportedProcessInstanceId + "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/getReportedProcess?companyType=${companyType}&processInstanceId=" + d.reportedProcessInstanceId + "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
else
|
|
else
|
|
var xml = "<span style=\"cursor:default;\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
var xml = "<span style=\"cursor:default;\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
return xml;
|
|
return xml;
|
|
- }}
|
|
|
|
|
|
+ }}*/
|
|
/*,{align:'center', title: '案例项目申报', width:150,templet:function(d){
|
|
/*,{align:'center', title: '案例项目申报', width:150,templet:function(d){
|
|
var st = getCaseBaseAuditState(d.caseStatus);
|
|
var st = getCaseBaseAuditState(d.caseStatus);
|
|
if(st.action)
|
|
if(st.action)
|