|
@@ -72,7 +72,7 @@
|
|
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
|
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
|
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
|
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
|
<table:sortColumn id="orderBy" name="orderBy" value="${page.orderBy}" callback="sortOrRefresh();"/><!-- 支持排序 -->
|
|
<table:sortColumn id="orderBy" name="orderBy" value="${page.orderBy}" callback="sortOrRefresh();"/><!-- 支持排序 -->
|
|
- <div class="commonQuery lw7">
|
|
|
|
|
|
+ <%--<div class="commonQuery lw7">
|
|
<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 with-icon">
|
|
<div class="layui-input-block with-icon">
|
|
@@ -124,7 +124,7 @@
|
|
title="部门" url="/sys/office/treeDataAll?type=2" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
title="部门" url="/sys/office/treeDataAll?type=2" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </div>--%>
|
|
</form:form>
|
|
</form:form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -159,13 +159,48 @@
|
|
,{field:'year',align:'center', sort:true,title: '年份'}
|
|
,{field:'year',align:'center', sort:true,title: '年份'}
|
|
,{field:'month',align:'center', sort:true,title: '月份'}
|
|
,{field:'month',align:'center', sort:true,title: '月份'}
|
|
,{field:'projectName',align:'center', title: '项目名称',minWidth:200,templet:function(d){
|
|
,{field:'projectName',align:'center', title: '项目名称',minWidth:200,templet:function(d){
|
|
- return "<a class=\"attention-info\" title=\""+d.projectName+"\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目信息', '${ctx}/ruralProject/ruralProjectRecords/view?id=" + d.id + "','95%', '95%')\">" + d.projectName + "</a>";
|
|
|
|
|
|
+ if(1 == d.showView && d.showView != undefined){
|
|
|
|
+ return "<a class=\"attention-info\" title=\"" + d.projectName + "\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目', '${ctx}/ruralProject/ruralProjectView/view?id=" + d.id +"','95%', '95%')\">" + d.projectName + "</a>";
|
|
|
|
+ }else{
|
|
|
|
+ return "<span title='"+ d.projectName +"'>" +d.projectName+ "</span>";
|
|
|
|
+ }
|
|
}}
|
|
}}
|
|
,{field:'reportNum',align:'center',minWidth:150, title: '报告号'}
|
|
,{field:'reportNum',align:'center',minWidth:150, title: '报告号'}
|
|
,{field:'principalUser',align:'center', title: '项目负责人'}
|
|
,{field:'principalUser',align:'center', title: '项目负责人'}
|
|
,{field:'officeName',align:'center', title: '所属部门'}
|
|
,{field:'officeName',align:'center', title: '所属部门'}
|
|
- ,{field:'recordStatus',align:'center', title: '归档状态'}
|
|
|
|
- ,{field:'reportedStatus',align:'center', title: '上报状态'}
|
|
|
|
|
|
+ ,{align:'center', title: '电子归档', width:90,templet:function(d){
|
|
|
|
+ var st = getRuralProjectArchiveState(""+d.projectReportRecordStatus);
|
|
|
|
+ if(st.action)
|
|
|
|
+ var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/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;
|
|
|
|
+ }}
|
|
|
|
+ ,{align:'center', title: '批量归档', width:90,templet:function(d){
|
|
|
|
+ var st = getRuralProjectArchiveState(""+d.filingProjectStatus);
|
|
|
|
+ if(st.action)
|
|
|
|
+ var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/getProcess?filingProcessinstanceId=" + d.filingProcessinstanceId+"&id="+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){
|
|
|
|
+ var st = getReportedState(""+d.reportedState);
|
|
|
|
+ if(st.action)
|
|
|
|
+ var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/ruralProject/ruralProjectMessage/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:90,templet:function(d){
|
|
|
|
+ var st = getCheckProjectState(d.checkStatus);
|
|
|
|
+ if(st.action)
|
|
|
|
+ var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/project/recordChooseCheck/getProcess?id=" + 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;
|
|
|
|
+ }}
|
|
|
|
|
|
|
|
|
|
]]
|
|
]]
|
|
@@ -184,6 +219,14 @@
|
|
,"officeName":"${workContractInfo.officeName}"
|
|
,"officeName":"${workContractInfo.officeName}"
|
|
,"recordStatus":"${workContractInfo.recordStatus}"
|
|
,"recordStatus":"${workContractInfo.recordStatus}"
|
|
,"reportedStatus":"${workContractInfo.reportedStatus}"
|
|
,"reportedStatus":"${workContractInfo.reportedStatus}"
|
|
|
|
+ ,"projectReportRecordStatus":"${workContractInfo.projectReportRecordStatus}"
|
|
|
|
+ ,"filingProjectStatus":"${workContractInfo.filingProjectStatus}"
|
|
|
|
+ ,"reportedState":"${workContractInfo.reportedState}"
|
|
|
|
+ ,"checkStatus":"${workContractInfo.checkStatus}"
|
|
|
|
+ ,"checkProcessInstanceId":"${workContractInfo.checkProcessInstanceId}"
|
|
|
|
+ <shiro:hasPermission name="ruralProject:ruralProjectView:view">
|
|
|
|
+ ,"showView":1
|
|
|
|
+ </shiro:hasPermission>
|
|
}
|
|
}
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</c:if>
|
|
</c:if>
|