|
@@ -591,23 +591,23 @@
|
|
|
}
|
|
|
function projectUpgrade(id,projectReportRecordStatus,filingProjectStatus,projectReportStatus,projectReportStatusTwo) {
|
|
|
if (projectReportRecordStatus == '2' || projectReportRecordStatus == '4'){
|
|
|
- top.layer.msg("电子归档流程正在运行当中,请撤回流程!", {icon: 0});
|
|
|
+ top.layer.msg("归档流程正在运行当中,请撤回流程!", {icon: 0});
|
|
|
return ;
|
|
|
}
|
|
|
- if (filingProjectStatus == '2' || filingProjectStatus == '4' || filingProjectStatus == '5'){
|
|
|
+ /*if (filingProjectStatus == '2' || filingProjectStatus == '4' || filingProjectStatus == '5'){
|
|
|
top.layer.msg("纸质归档(批量归档)流程已发起!", {icon: 0});
|
|
|
return ;
|
|
|
- }
|
|
|
+ }*/
|
|
|
//质量复核状态
|
|
|
if (projectReportStatus == '2' || projectReportStatus == '4'){
|
|
|
top.layer.msg("质量复核流程正在运行当中,请撤回流程!", {icon: 0});
|
|
|
return ;
|
|
|
}
|
|
|
- //报告签发状态
|
|
|
+ /*//报告签发状态
|
|
|
if (projectReportStatusTwo == '2' || projectReportStatusTwo == '4'){
|
|
|
top.layer.msg("报告签发流程正在运行当中,请撤回流程!", {icon: 0});
|
|
|
return ;
|
|
|
- }
|
|
|
+ }*/
|
|
|
$.ajax({
|
|
|
url: "${ctx}/ruralProject/ruralCostProjectMessage/projectUpgrade",
|
|
|
data:{
|
|
@@ -686,10 +686,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item query athird ">
|
|
|
- <label class="layui-form-label">项目责任人:</label>
|
|
|
+ <label class="layui-form-label">项目负责人:</label>
|
|
|
<div class="layui-input-block with-icon">
|
|
|
<sys:inquireselectUserNotReadolnyTow id="leader" name="leaderId" value="${ruralProjectRecords.leaderId}" labelName="leaderNameStr" labelValue="${ruralProjectRecords.leaderNameStr}" cssStyle="background-color: #fff"
|
|
|
- title="项目责任人" url="/sys/office/treeDataAll?type=3" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
+ title="项目负责人" url="/sys/office/treeDataAll?type=3" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item query athird">
|
|
@@ -759,7 +759,7 @@
|
|
|
</form:select>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item query athird ">
|
|
|
+ <%--<div class="layui-item query athird ">
|
|
|
<label class="layui-form-label double-line">签发状态:</label>
|
|
|
<div class="layui-input-block readOnlyFFF">
|
|
|
<form:select path="projectReportStatusTwo" class="form-control simple-select">
|
|
@@ -767,9 +767,9 @@
|
|
|
<form:options items="${fns:getDictList('rural_report_audit_state')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
</form:select>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
<div class="layui-item query athird ">
|
|
|
- <label class="layui-form-label">电子归档:</label>
|
|
|
+ <label class="layui-form-label">归档:</label>
|
|
|
<div class="layui-input-block readOnlyFFF">
|
|
|
<form:select id="projectReportRecordStatus" path="projectReportRecordStatus" class=" form-control simple-select">
|
|
|
<form:option value="" label=""/>
|
|
@@ -777,7 +777,7 @@
|
|
|
</form:select>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item query athird ">
|
|
|
+ <%--<div class="layui-item query athird ">
|
|
|
<label class="layui-form-label">线下归档:</label>
|
|
|
<div class="layui-input-block readOnlyFFF">
|
|
|
<form:select path="downProjectReportRecordStatus" class=" form-control simple-select">
|
|
@@ -785,11 +785,11 @@
|
|
|
<form:option value="0" label="未归档"/>
|
|
|
<form:option value="2" label="归档中"/>
|
|
|
<form:option value="5" label="已归档"/>
|
|
|
- <%-- <form:options items="${fns:getDictList('rural_report_audit_state')}" itemLabel="label" itemValue="value" htmlEscape="false"/>--%>
|
|
|
+ <%– <form:options items="${fns:getDictList('rural_report_audit_state')}" itemLabel="label" itemValue="value" htmlEscape="false"/>–%>
|
|
|
</form:select>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="layui-item query athird ">
|
|
|
+ </div>--%>
|
|
|
+ <%--<div class="layui-item query athird ">
|
|
|
<label class="layui-form-label">上报状态:</label>
|
|
|
<div class="layui-input-block readOnlyFFF">
|
|
|
<form:select path="reportedState" class="form-control simple-select">
|
|
@@ -797,7 +797,7 @@
|
|
|
<form:options items="${fns:getDictList('reported_state')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
</form:select>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
<div class="layui-item query athird">
|
|
|
<label class="layui-form-label">总审人员:</label>
|
|
|
<div class="layui-input-block readOnlyFFF">
|
|
@@ -809,18 +809,18 @@
|
|
|
</form:select>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item query athird ">
|
|
|
+ <%--<div class="layui-item query athird ">
|
|
|
<label class="layui-form-label double-line">项目等级:</label>
|
|
|
<div class="layui-input-block readOnlyFFF">
|
|
|
<form:select path="submitMoney" class="form-control simple-select">
|
|
|
<form:option value="" label=""/>
|
|
|
<form:option value="2" label="A级"/>
|
|
|
<form:option value="1" label="B级"/>
|
|
|
- <%--<form:option value="3" label="B级紧急"/>
|
|
|
- <form:option value="1" label="B级非紧急"/>--%>
|
|
|
+ <%–<form:option value="3" label="B级紧急"/>
|
|
|
+ <form:option value="1" label="B级非紧急"/>–%>
|
|
|
</form:select>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
<div style="clear:both;"></div>
|
|
|
</div>
|
|
|
</form:form>
|
|
@@ -837,19 +837,19 @@
|
|
|
<shiro:hasPermission name="ruralProject:ruralProjectMessageAll:recordDownload">
|
|
|
<a href="javascript:void(0)" style='background-color: #FFB800' onclick="downloadDialogre('归档信息导出', '${ctx}/ruralProject/ruralProjectMessageAll/skipDownloadRecordForm','40%', '70%','','下载,关闭')" class="layui-btn layui-btn-sm layui-bg-blue" > 归档信息导出</a>
|
|
|
</shiro:hasPermission>
|
|
|
- <shiro:hasPermission name="ruralProject:ruralProjectMessageAll:reportedDownload">
|
|
|
+ <%--<shiro:hasPermission name="ruralProject:ruralProjectMessageAll:reportedDownload">
|
|
|
<a href="javascript:void(0)" style='background-color: #FFB800' onclick="downloadDialogre('上报信息导出', '${ctx}/ruralProject/ruralProjectMessageAll/skipDownloadReportedForm','40%', '70%','','下载,关闭')" class="layui-btn layui-btn-sm layui-bg-blue" > 上报信息导出</a>
|
|
|
- </shiro:hasPermission>
|
|
|
+ </shiro:hasPermission>--%>
|
|
|
<button class="layui-btn layui-btn-sm" data-toggle="tooltip" data-placement="left" onclick="sortOrRefresh()" title="刷新"> 刷新</button>
|
|
|
<div class=" layui-btn-sm" style="float: right;width: 300px">
|
|
|
<span style="color: red">咨询营业收入:${moneyAll}(万元)</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <shiro:hasPermission name="ruralProject:ruralCostProjectMessage:reportSwitch">
|
|
|
+ <%--<shiro:hasPermission name="ruralProject:ruralCostProjectMessage:reportSwitch">
|
|
|
<div style="float: right;margin-right: 30px;">
|
|
|
<input type="checkbox" id="reportSwitch" <c:if test="${reportSwitch}">checked</c:if> lay-filter="reportSwitch" lay-skin="switch" lay-text="开启|关闭">
|
|
|
</div>
|
|
|
- </shiro:hasPermission>
|
|
|
+ </shiro:hasPermission>--%>
|
|
|
<div style="clear: both;"></div>
|
|
|
</div>
|
|
|
<table class="oa-table layui-table" id="contentTable1"></table>
|
|
@@ -872,7 +872,7 @@
|
|
|
,cols: [[
|
|
|
// {checkbox: true, fixed: true},
|
|
|
{field:'index',align:'center', title: '序号',width:40}
|
|
|
- ,{field: 'projId',align:'center', title: '项目编号/项目定义号',width:160}
|
|
|
+ ,{field: 'projId',align:'center', title: '项目编号',width:160}
|
|
|
,{field:'projName',align:'center', title: '项目名称', minWidth:200,templet:function(d){
|
|
|
var xml="";
|
|
|
<shiro:hasPermission name="ruralProject:ruralProjectView:listAllView">
|
|
@@ -885,7 +885,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:180,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;
|
|
@@ -903,22 +903,22 @@
|
|
|
}
|
|
|
<%--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:100,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:250,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: 'createDate', align:'center', title: '创建日期',width:120,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:100,templet: function(d){
|
|
|
return "<font style = 'font-size:14px;'>"+d.submitMoneyStr+"</font>";
|
|
|
- }}
|
|
|
- ,{align:'center', title: '质量复核', width:70,templet:function(d){
|
|
|
+ }}*/
|
|
|
+ ,{align:'center', title: '质量复核', width:90,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>";
|
|
@@ -926,15 +926,15 @@
|
|
|
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:90,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
|
|
|
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:140,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>";
|
|
@@ -955,7 +955,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:70,templet:function(d){
|
|
|
if (d.submitMoney=="1"){
|
|
|
var st = getRuralProjectArchiveState(d.downProjectReportRecordStatus);
|
|
|
}else if (d.submitMoney=="2"){
|
|
@@ -971,16 +971,16 @@
|
|
|
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:90,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>";
|
|
|
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:150,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>";
|
|
@@ -990,7 +990,7 @@
|
|
|
xml+="<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralCostProjectMessage/getReportedProcess?processInstanceId=" + d.caseProcessId + "','95%','95%')\" style='margin-left: 5px;' class=\"layui-badge layui-bg-orange\">是</span>";
|
|
|
}
|
|
|
return xml;
|
|
|
- }}
|
|
|
+ }}*/
|
|
|
,{field:'op',align:'center',title:"操作",width:330,templet:function(d) {
|
|
|
////对操作进行初始化
|
|
|
var xml = '<div class=\"layui-btn-group\">';
|
|
@@ -1003,10 +1003,10 @@
|
|
|
{
|
|
|
xml+="<a href=\"#\" onclick=\"notifyDialogre('电子归档审批', '${ctx}/workprojectnotify/workProjectNotify/form?id=" + d.reportNotifyId +"&home=record','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 审批</a>";
|
|
|
}
|
|
|
- if(d.reportedAuditNotifyFlag != undefined && d.reportedAuditNotifyFlag !=null && "" != d.reportedAuditNotifyFlag && d.reportedAuditNotifyFlag == 1)
|
|
|
+ /*if(d.reportedAuditNotifyFlag != undefined && d.reportedAuditNotifyFlag !=null && "" != d.reportedAuditNotifyFlag && d.reportedAuditNotifyFlag == 1)
|
|
|
{
|
|
|
xml+="<a href=\"#\" onclick=\"notifyDialogre('上报审批', '${ctx}/workprojectnotify/workProjectNotify/form?id=" + d.reportNotifyId +"&home=reported','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 审批</a>";
|
|
|
- }
|
|
|
+ }*/
|
|
|
if(d.newReportAuditNotifyFlag != undefined && d.newReportAuditNotifyFlag !=null && "" != d.newReportAuditNotifyFlag && d.newReportAuditNotifyFlag == 1)
|
|
|
{
|
|
|
xml+="<a href=\"#\" onclick=\"notifyDialogre('新增报告审批', '${ctx}/workprojectnotify/workProjectNotify/form?id=" + d.reportNotifyId +"&home=report','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 审批</a>";
|
|
@@ -1099,7 +1099,7 @@
|
|
|
,"projMaster":"${projectRecords.leaderNameStr}"
|
|
|
,"contract":"${projectRecords.workContractInfo.name}"
|
|
|
,"contractId":"${projectRecords.workContractInfo.id}"
|
|
|
- ,"client":"${projectRecords.workContractInfo.client.name}"
|
|
|
+ ,"client":"${projectRecords.workContractInfo.clientName}"
|
|
|
,"createName":"${projectRecords.createBy.name}"
|
|
|
,"createDate":"<fmt:formatDate value="${projectRecords.createDate}" pattern="yyyy-MM-dd"/>"
|
|
|
,"projectReportStatus":"${projectRecords.projectReportStatus}"
|