|
@@ -106,16 +106,58 @@
|
|
|
</div>
|
|
|
<div id="moresees" class="lw7" style="clear:both;display:none;height: 70px;">
|
|
|
<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:treeselect id="officeId" name="officeId" value="${ruralProjectReportInfo.officeId}" labelName="officeName" labelValue="${ruralProjectReportInfo.officeName}"
|
|
|
- title="部门" url="/sys/office/treeDataAll?type=2" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
+ <form:input path="clientName" htmlEscape="false" maxlength="255" class=" form-control layui-input"/>
|
|
|
</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">
|
|
|
+ <form:input path="projectName" htmlEscape="false" maxlength="64" class=" form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">报告号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="reportNum" htmlEscape="false" maxlength="64" class=" form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">项目所在地:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <sys:treeselectArea id="area" name="area.id" value="${ruralProject.area.id}" labelName="area.name" labelValue="${ruralProject.area.name}"
|
|
|
+ title="项目所在地" url="/sys/area/treeData" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="false"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">审定金额(元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="approvalFee" htmlEscape="false" maxlength="64" class=" form-control number layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">项目负责人:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <sys:inquireselectUser id="create" name="createId" value="${ruralProject.createId}" labelName="createNameStr" labelValue="${ruralProject.createNameStr}"
|
|
|
+ title="项目负责人" url="/sys/office/treeDataAll?type=3" cssClass="form-control required layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">部门:</label>
|
|
|
<div class="layui-input-block with-icon">
|
|
|
- <form:input path="clientName" htmlEscape="false" maxlength="255" class=" form-control layui-input"/>
|
|
|
+ <sys:treeselect id="officeId" name="officeId" value="${ruralProject.officeId}" labelName="officeName" labelValue="${ruralProject.officeName}"
|
|
|
+ title="部门" url="/sys/office/treeDataAll?type=2" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird ">
|
|
|
+ <label class="layui-form-label">上报状态:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="reportedState" class=" form-control simple-select">
|
|
|
+ <form:option value="" label=""/>
|
|
|
+ <form:options items="${fns:getDictList('reported_state')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -154,7 +196,11 @@
|
|
|
,{field:'month',align:'center', sort:true,title: '月份'}
|
|
|
,{field:'clientName',align:'center', title: '委托单位',width:220}
|
|
|
,{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:'projectId', align:'center',minWidth:110,title: '项目编号'}
|
|
|
,{field:'reportNum',align:'center',minWidth:150, title: '报告号'}
|
|
@@ -166,30 +212,42 @@
|
|
|
,{field:'verifyRate',align:'center',minWidth:120, title: '核增核减率(%)'}
|
|
|
,{field:'principalUser',align:'center', title: '项目负责人'}
|
|
|
,{field:'officeName',align:'center', title: '所属部门'}
|
|
|
-
|
|
|
+ ,{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;
|
|
|
+ }}
|
|
|
|
|
|
]]
|
|
|
,data: [
|
|
|
<c:if test="${ not empty page.list}">
|
|
|
- <c:forEach items="${page.list}" var="workContractInfo" varStatus="index">
|
|
|
+ <c:forEach items="${page.list}" var="ruralProjectReportInfo" varStatus="index">
|
|
|
<c:if test="${index.index != 0}">,</c:if>
|
|
|
{
|
|
|
"index":"${index.index+1}"
|
|
|
- ,"id":"${workContractInfo.id}"
|
|
|
- ,"year":"${workContractInfo.year}"
|
|
|
- ,"month":"${workContractInfo.month}"
|
|
|
- ,"clientName":"${workContractInfo.clientName}"
|
|
|
- ,"projectName":"${workContractInfo.projectName}"
|
|
|
- ,"projectId":"${workContractInfo.projectId}"
|
|
|
- ,"reportNum":"${workContractInfo.reportNum}"
|
|
|
- ,"filesNum":"${workContractInfo.filesNum}"
|
|
|
- ,"areaName":"${workContractInfo.areaName}"
|
|
|
- ,"reviewFee":"${workContractInfo.reviewFee}"
|
|
|
- ,"approvalFee":"${workContractInfo.approvalFee}"
|
|
|
- ,"verifyFee":"${workContractInfo.verifyFee}"
|
|
|
- ,"verifyRate":"${workContractInfo.verifyRate}"
|
|
|
- ,"principalUser":"${workContractInfo.principalUser}"
|
|
|
- ,"officeName":"${workContractInfo.officeName}"
|
|
|
+ ,"id":"${ruralProjectReportInfo.id}"
|
|
|
+ ,"year":"${ruralProjectReportInfo.year}"
|
|
|
+ ,"month":"${ruralProjectReportInfo.month}"
|
|
|
+ ,"clientName":"${ruralProjectReportInfo.clientName}"
|
|
|
+ ,"projectName":"${ruralProjectReportInfo.projectName}"
|
|
|
+ ,"projectId":"${ruralProjectReportInfo.projectId}"
|
|
|
+ ,"reportNum":"${ruralProjectReportInfo.reportNum}"
|
|
|
+ ,"filesNum":"${ruralProjectReportInfo.filesNum}"
|
|
|
+ ,"areaName":"${ruralProjectReportInfo.areaName}"
|
|
|
+ ,"reviewFee":"${ruralProjectReportInfo.reviewFee}"
|
|
|
+ ,"approvalFee":"${ruralProjectReportInfo.approvalFee}"
|
|
|
+ ,"verifyFee":"${ruralProjectReportInfo.verifyFee}"
|
|
|
+ ,"verifyRate":"${ruralProjectReportInfo.verifyRate}"
|
|
|
+ ,"principalUser":"${ruralProjectReportInfo.principalUser}"
|
|
|
+ ,"officeName":"${ruralProjectReportInfo.officeName}"
|
|
|
+ ,"reportedState":"${ruralProjectReportInfo.reportedState}"
|
|
|
+ ,"reportedProcessInstanceId":"${ruralProjectReportInfo.reportedProcessInstanceId}"
|
|
|
+ <shiro:hasPermission name="ruralProject:ruralProjectView:view">
|
|
|
+ ,"showView":1
|
|
|
+ </shiro:hasPermission>
|
|
|
}
|
|
|
</c:forEach>
|
|
|
</c:if>
|