|
@@ -1011,7 +1011,7 @@
|
|
// {checkbox: true, fixed: true},
|
|
// {checkbox: true, fixed: true},
|
|
{field:'index',align:'center', title: '序号',width:40}
|
|
{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){
|
|
|
|
|
|
+ ,{field:'projName',align:'center', title: '项目名称', minWidth:215,templet:function(d){
|
|
var xml="";
|
|
var xml="";
|
|
<shiro:hasPermission name="ruralProject:ruralProjectView:costlistView">
|
|
<shiro:hasPermission name="ruralProject:ruralProjectView:costlistView">
|
|
xml+="<a class=\"attention-info pid\" title=\"" + d.projName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目', '${ctx}/ruralProject/ruralProjectView/view?id=" + d.id +"','95%', '95%')\">"
|
|
xml+="<a class=\"attention-info pid\" title=\"" + d.projName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目', '${ctx}/ruralProject/ruralProjectView/view?id=" + d.id +"','95%', '95%')\">"
|
|
@@ -1032,7 +1032,7 @@
|
|
}
|
|
}
|
|
<%--return "<a class=\"attention-info\" 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 "<a class=\"attention-info\" 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>";--%>
|
|
}}
|
|
}}
|
|
- ,{field:'contract', align:'center',title: '合同名称',minWidth:200,templet:function(d){
|
|
|
|
|
|
+ ,{field:'contract', align:'center',title: '合同名称',minWidth:215,templet:function(d){
|
|
if(""!= d.contract && null!= d.contract ){
|
|
if(""!= d.contract && null!= d.contract ){
|
|
return "<a class=\"attention-info pid\" title=\""+d.contract+"\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看合同信息', '${ctx}/workcontractinfo/workContractInfo/lookForm?id=" + d.contractId + "','95%', '95%')\">" + d.contract + "</a>";
|
|
return "<a class=\"attention-info pid\" title=\""+d.contract+"\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看合同信息', '${ctx}/workcontractinfo/workContractInfo/lookForm?id=" + d.contractId + "','95%', '95%')\">" + d.contract + "</a>";
|
|
// return d.contractName;
|
|
// return d.contractName;
|
|
@@ -1044,11 +1044,11 @@
|
|
,{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>";
|
|
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:300,templet: function(d){
|
|
return "<font style = 'font-size:14px;font-weight:500;'>"+d.client+"</font>";
|
|
return "<font style = 'font-size:14px;font-weight:500;'>"+d.client+"</font>";
|
|
}}
|
|
}}
|
|
,{field:'createName',align:'center', title: '登记人', width:80}
|
|
,{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;
|
|
var date=d.createDate;
|
|
return "<font style = 'font-size:14px;font-weight:500;'>"+layui.util.toDateString(date,'yyyy-MM-dd')+"</font>";
|
|
return "<font style = 'font-size:14px;font-weight:500;'>"+layui.util.toDateString(date,'yyyy-MM-dd')+"</font>";
|
|
}}
|
|
}}
|
|
@@ -1063,7 +1063,7 @@
|
|
,{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>";
|
|
return "<font style = 'font-size:14px;'>"+d.submitMoneyStr+"</font>";
|
|
}}
|
|
}}
|
|
- ,{align:'center', title: '质量复核', width:70,templet:function(d){
|
|
|
|
|
|
+ ,{align:'center', title: '质量复核', width:100,templet:function(d){
|
|
var st = getAuditState(d.projectReportStatus);
|
|
var st = getAuditState(d.projectReportStatus);
|
|
if(st.action)
|
|
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>";
|
|
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>";
|
|
@@ -1079,7 +1079,7 @@
|
|
var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
return xml;
|
|
return xml;
|
|
}}
|
|
}}
|
|
- ,{align:'center', title: '电子', width:140,templet:function(d){
|
|
|
|
|
|
+ ,{align:'center', title: '电子', width:110,templet:function(d){
|
|
var st = getRuralProjectArchiveState(d.projectReportRecordStatus);
|
|
var st = getRuralProjectArchiveState(d.projectReportRecordStatus);
|
|
var de = getdefectRecordState(""+d.defectRecordStatus);
|
|
var de = getdefectRecordState(""+d.defectRecordStatus);
|
|
if(st.action){
|
|
if(st.action){
|
|
@@ -1100,7 +1100,7 @@
|
|
<%-- var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";--%>
|
|
<%-- var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";--%>
|
|
<%-- return xml;--%>
|
|
<%-- return xml;--%>
|
|
<%-- }}--%>
|
|
<%-- }}--%>
|
|
- ,{align:'center', title: '线下', width:70,templet:function(d){
|
|
|
|
|
|
+ ,{align:'center', title: '线下', width:100,templet:function(d){
|
|
if (d.submitMoney=="1"){
|
|
if (d.submitMoney=="1"){
|
|
var st = getRuralProjectArchiveState(d.downProjectReportRecordStatus);
|
|
var st = getRuralProjectArchiveState(d.downProjectReportRecordStatus);
|
|
}else if (d.submitMoney=="2"){
|
|
}else if (d.submitMoney=="2"){
|
|
@@ -1117,7 +1117,7 @@
|
|
}
|
|
}
|
|
return xml;
|
|
return xml;
|
|
}}
|
|
}}
|
|
- ,{align:'center', title: '上报', width:90,templet:function(d){
|
|
|
|
|
|
+ ,{align:'center', title: '上报', width:110,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/ruralCostProjectMessage/getReportedProcess?processInstanceId=" + d.reportedProcessInstanceId + "','95%','95%')\" class=\"new-status-label status-label-" + st.label + "\" >" + st.status+ "</span>";
|
|
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>";
|
|
@@ -1133,7 +1133,7 @@
|
|
<%-- 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:350,templet:'#barDemo'}
|
|
|
|
|
|
+ ,{align:'center',title:"操作",width:150,templet:'#barDemo'}
|
|
|
|
|
|
|
|
|
|
]]
|
|
]]
|