|
@@ -1113,12 +1113,81 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <%--<div class="form-group layui-row">
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>项目报告</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
+ <table id="upTable" class="table table-bordered table-condensed details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th width="25%">报告编号</th>
|
|
|
+ <th width="25%">报告名称</th>
|
|
|
+ <th width="20%">工作内容类型</th>
|
|
|
+ <th width="10%">签章类型</th>
|
|
|
+ <th width="10%">创建日期</th>
|
|
|
+ <th width="10%">状态</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty projectRecords.projectReportData}">
|
|
|
+ <c:forEach items="${projectRecords.projectReportData}" var="projectReportData" varStatus="index">
|
|
|
+ <tr>
|
|
|
+ <td><a title="${projectReportData.number}" href="javascript:void(0)" onclick="openDialogView('查看报告详情', '${ctx}/projectcontentinfo/projectcontentinfo/form1?id=${projectReportData.id}','95%', '95%')">
|
|
|
+ ${projectReportData.number}
|
|
|
+ </a></td>
|
|
|
+ <td>
|
|
|
+ ${projectReportData.name}
|
|
|
+ </td>
|
|
|
+ <td title="${fns:getContentTypeName(projectReportData.type,"")}">
|
|
|
+ ${fns:getContentTypeName(projectReportData.type,"")}
|
|
|
+ </td>
|
|
|
+ <td title="${projectReportData.reportType}">
|
|
|
+ ${projectReportData.reportType}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <fmt:formatDate value="${projectReportData.reportDate}" pattern="yyyy-MM-dd"/>
|
|
|
+ </td>
|
|
|
+ <td class="op-td">
|
|
|
+ <%--<c:choose>--%>
|
|
|
+ <%--<c:when test="${empty projectReportData.status || projectReportData.status eq 1}">--%>
|
|
|
+ <%--<div style="text-align: center">--%>
|
|
|
+ <%--<a href="javascript:void(0)" class="op-btn op-btn-trace" >${fns:getDictLabel(projectReportData.status, 'audit_state', '')}</a>--%>
|
|
|
+ <%--</div>--%>
|
|
|
+ <%--</c:when>--%>
|
|
|
+ <%--<c:otherwise>--%>
|
|
|
+ <%--<div style="text-align: center">--%>
|
|
|
+ <%--<a href="javascript:void(0)" onclick="openDialogView('流程追踪', '${ctx}/projectcontentinfo/projectcontentinfo/getProcessOne?id=${id}&projectReportData.id=${projectReportData.id}&type=1','95%','95%')" class="op-btn op-btn-trace" >${fns:getDictLabel(projectReportData.status, 'audit_state', '')}</a>--%>
|
|
|
+ <%--</div>--%>
|
|
|
+ <%--</c:otherwise>--%>
|
|
|
+ <%--</c:choose>--%>
|
|
|
+ <div style="text-align: center" id="status_td_${index.index+1}">
|
|
|
+ </div>
|
|
|
+ <script>
|
|
|
+ initRecordStatus(${index.index+1},"${id}","${projectReportData.id}","${projectReportData.status}");
|
|
|
+ </script>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <tr>
|
|
|
+ <td colspan="7">
|
|
|
+ 暂无数据
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>项目计划附件信息</h2></div>
|
|
|
- <div class="layui-item nav-btns">
|
|
|
+ <%--<div class="layui-item nav-btns">
|
|
|
<a id="attachment_btn" class="nav-btn nav-btn-add" title="添加附件" onclick="addFile()"><i class="fa fa-plus"></i> 添加附件</a>
|
|
|
<a class="nav-btn nav-btn-export" title="下载模板" onclick="window.location.href='${ctx}/ruralProject/ruralProjectRecords/downloadTemplate';"><i class="fa fa-download"></i> 下载模板</a>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
<div id="addFile_attachment" style="display: none" class="upload-progress">
|
|
|
<span id="fileName_attachment" ></span>
|
|
|
<b><span id="baifenbi_attachment" ></span></b>
|
|
@@ -1133,7 +1202,7 @@
|
|
|
<table id="listAttachment" class="table table-bordered table-condensed details">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <%– <th>序号</th>–%>
|
|
|
+ <%-- <th>序号</th>--%>
|
|
|
<th width="25%">文件</th>
|
|
|
<th width="25%">上传人</th>
|
|
|
<th width="25%">上传时间</th>
|
|
@@ -1143,7 +1212,7 @@
|
|
|
<tbody id="file_attachment">
|
|
|
<c:forEach items="${ruralProjectRecords.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
<tr class="trIdAdds">
|
|
|
- <%– <td>${status.index + 1}</td>–%>
|
|
|
+ <%-- <td>${status.index + 1}</td>--%>
|
|
|
<c:choose>
|
|
|
<c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
|
|
|
or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
|
|
@@ -1168,7 +1237,7 @@
|
|
|
<td class="op-td">
|
|
|
<div class="op-btn-box" >
|
|
|
<a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent(encodeURIComponent('${workClientAttachment.url}'));" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- <a href="javascript:void(0)" onclick="deleteFileFromAliyun(this,'${ctx}/sys/workattachment/deleteFileFromAliyun?url=${workClientAttachment.url}&id=${workClientAttachment.id}&type=2','addFile')" class="op-btn op-btn-delete" ><i class="fa fa-trash"></i> 删除</a>
|
|
|
+ <%--<a href="javascript:void(0)" onclick="deleteFileFromAliyun(this,'${ctx}/sys/workattachment/deleteFileFromAliyun?url=${workClientAttachment.url}&id=${workClientAttachment.id}&type=2','addFile')" class="op-btn op-btn-delete" ><i class="fa fa-trash"></i> 删除</a>--%>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -1176,50 +1245,7 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
-
|
|
|
- <%--<div class="form-group layui-row">
|
|
|
- <div class="form-group-label"><h2>项目组成员列表</h2></div>
|
|
|
- <div class="layui-item layui-col-xs12 form-table-container">
|
|
|
- <table id="usersListTable" class="table table-bordered table-condensed details">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th width="25%">姓名</th>
|
|
|
- <th width="25%">部门</th>
|
|
|
- <th width="25%">职级</th>
|
|
|
- <th width="150px;">状态</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody id="usersList">
|
|
|
- <c:if test="${not empty ruralProjectRecords.projectMembers}">
|
|
|
- <c:forEach items="${ruralProjectRecords.projectMembers}" var="user">
|
|
|
- <tr id="${user.id}">
|
|
|
- <td>
|
|
|
- ${user.name}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- ${user.office.name}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- ${user.basicInfo.jobGrade.name}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${user.delFlag == 0}">
|
|
|
- 正常
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- 移除
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </c:forEach>
|
|
|
- </c:if>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </div>--%>
|
|
|
+ </div>
|
|
|
<div class="form-group layui-row page-end"></div>
|
|
|
</form:form>
|
|
|
</div>
|