|
@@ -0,0 +1,434 @@
|
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
|
+<%@ include file="/webpage/include/taglib.jsp"%>
|
|
|
|
+<html>
|
|
|
|
+<head>
|
|
|
|
+ <title>项目管理</title>
|
|
|
|
+ <meta name="decorator" content="default"/>
|
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.js"></script>
|
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.css"/>
|
|
|
|
+ <style>
|
|
|
|
+ #projectDesc-error{
|
|
|
|
+ left:0;
|
|
|
|
+ top:82px;
|
|
|
|
+ }
|
|
|
|
+ .layui-layer-dialog{
|
|
|
|
+ background: red;
|
|
|
|
+ }
|
|
|
|
+ td input{
|
|
|
|
+ margin-left:-10px !important;
|
|
|
|
+ height: 42px !important;
|
|
|
|
+ }
|
|
|
|
+ .disables {
|
|
|
|
+ pointer-events: none;
|
|
|
|
+ }
|
|
|
|
+ .notDisables {
|
|
|
|
+ pointer-events: all;
|
|
|
|
+ }
|
|
|
|
+ .forbidden{
|
|
|
|
+ background-color:#c2c2c2;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .notForbidden{
|
|
|
|
+ background-color:#3ca2e0;
|
|
|
|
+ }
|
|
|
|
+ </style>
|
|
|
|
+ <script type="text/javascript">
|
|
|
|
+ var validateForm;
|
|
|
|
+ var clientCount = 0;
|
|
|
|
+ function doSubmit(i){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
|
|
+ if(validateForm.form()){
|
|
|
|
+ if(i==2){
|
|
|
|
+ $("#inputForm").attr("action","${ctx}/ruralProject/ruralProjectRecords/tstore");
|
|
|
|
+ }
|
|
|
|
+ $("#inputForm").submit();
|
|
|
|
+ return true;
|
|
|
|
+ }else{
|
|
|
|
+ parent.layer.msg("信息未填写完整!", {icon: 5});
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ $(document).ready(function() {
|
|
|
|
+ var radioVal ;
|
|
|
|
+ validateForm = $("#inputForm").validate({
|
|
|
|
+ submitHandler: function(form){
|
|
|
|
+ loading('正在提交,请稍等...');
|
|
|
|
+ form.submit();
|
|
|
|
+ },
|
|
|
|
+ errorContainer: "#messageBox",
|
|
|
|
+ errorPlacement: function(error, element) {
|
|
|
|
+ $("#messageBox").text("输入有误,请先更正。");
|
|
|
|
+ if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
|
|
|
|
+ error.appendTo(element.parent().parent());
|
|
|
|
+ } else {
|
|
|
|
+ error.insertAfter(element);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ var tt = $("#contractNum").val();
|
|
|
|
+ if (tt == null || tt === "") {
|
|
|
|
+ $("#divv").hide();
|
|
|
|
+ $("#divv2").show();
|
|
|
|
+ $("#divv3").hide();
|
|
|
|
+ setTimeout(function () {
|
|
|
|
+ var tt = $("#workClientLinkmanList").find("tr").eq(0).find("td").eq(1).text().trim();
|
|
|
|
+ $("#clientName").val(tt);
|
|
|
|
+ },100);
|
|
|
|
+ }else{
|
|
|
|
+ $("#divv2").hide();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ </script>
|
|
|
|
+</head>
|
|
|
|
+<body >
|
|
|
|
+<div class="single-form">
|
|
|
|
+ <div class="container">
|
|
|
|
+ <form:form id="inputForm" modelAttribute="projectRecords" enctype="multipart/form-data" action="${ctx}/project/recordChooseCheckAll/saveAudit" method="post" class="form-horizontal">
|
|
|
|
+ <form:hidden path="id"/>
|
|
|
|
+ <form:hidden path="home"/>
|
|
|
|
+ <form:hidden path="act.taskId"/>
|
|
|
|
+ <form:hidden path="act.taskName"/>
|
|
|
|
+ <form:hidden path="act.taskDefKey"/>
|
|
|
|
+ <form:hidden path="act.procInsId"/>
|
|
|
|
+ <form:hidden path="act.procDefId"/>
|
|
|
|
+ <form:hidden id="flag" path="act.flag"/>
|
|
|
|
+ <form:hidden path="workContractInfo.client.id" id="contractClientId" value="${workContractInfo.client.id}"/>
|
|
|
|
+ <input type="hidden" id="flagFile" value="">
|
|
|
|
+ <input type="hidden" id="saveAuditFlag" name="saveAuditFlag" value="1">
|
|
|
|
+
|
|
|
|
+ <input type="hidden" id="workClientLinkmanInfo" value="${projectRecords.workClientLinkmanList}">
|
|
|
|
+ <div class="form-group layui-row first">
|
|
|
|
+ <div class="form-group-label"><h2>项目合同信息</h2></div>
|
|
|
|
+ <div id="divv">
|
|
|
|
+ <div class="layui-item layui-col-sm12 lw6">
|
|
|
|
+ <label class="layui-form-label">合同编号:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" id="contractNum" readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.contractNum}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">合同名称:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.name}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label double-line">合同金额(元):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="<fmt:formatNumber value="${projectRecords.workContractInfo.contractPrice}" pattern="#,##0.00#"/>"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">委托方:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" id="clientName" readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.client.name}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="divv2">
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">无合同</label>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="divv3">
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">工程分类:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.constructionProjectTypeStr}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row first">
|
|
|
|
+ <div class="form-group-label"><h2>项目基础信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">项目名称:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectRecords.projectName}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">项目编号:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <div class="input-group">
|
|
|
|
+ <form:input path="projectId" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
|
+ <span class="input-group-btn">
|
|
|
|
+ <label class="form-status"><c:choose><c:when test="${not empty projectRecords.projectStatus}">${fns:getDictLabel(projectRecords.projectStatus, 'rural_project_audit_state', '')}</c:when><c:otherwise>新添</c:otherwise></c:choose></label>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">项目所在地:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectRecords.area.name}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">所在省份:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="province" htmlEscape="false" id="province" class="form-control layui-input" readonly="true"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">所在地级市:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="city" htmlEscape="false" id="city" class="form-control layui-input" readonly="true"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">所在区县:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="county" htmlEscape="false" id="areaName1" class="form-control layui-input" readonly="true"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">建设地点:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectRecords.projectSite}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">创建人:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectRecords.createBy.name}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">项目负责人:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectRecords.leaderNameStr}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <%--<c:choose>
|
|
|
|
+ <c:when test="${not empty projectRecords.bzshbUserId}">
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>项目审核人员:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <select class="form-control required editable-select layui-input" id="bzshbUserId" disabled="disabled" name="bzshbUserId">
|
|
|
|
+ <option value=""/>
|
|
|
|
+ <c:forEach items="${projectRecords.bzshbUserList}" var="user" varStatus="status">
|
|
|
|
+ <option value="${user.id}" <c:if test="${projectRecords.bzshbUserId eq user.id }">selected</c:if>>${user.name}</option>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>项目审核人员:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <select class="form-control required editable-select layui-input" id="bzshbUserId" name="bzshbUserId">
|
|
|
|
+ <option value=""/>
|
|
|
|
+ <c:forEach items="${projectRecords.bzshbUserList}" var="user" varStatus="status">
|
|
|
|
+ <option value="${user.id}">${user.name}</option>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>--%>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">所属部门:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" id="officeName" class="form-control layui-input" value="${projectRecords.officeName}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label double-line">工作开始日期:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date " readonly="true" id="startDate" name="startDate" value="<fmt:formatDate value="${ruralProjectRecords.startDate}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label double-line">工作结束日期:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date " readonly="true" id="endingDate" name="endingDate" value="<fmt:formatDate value="${ruralProjectRecords.endingDate}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label">创建日期:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="<fmt:formatDate value="${projectRecords.createDate}" pattern="yyyy-MM-dd"/>"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">项目类别:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectRecords.attachmentProjectSort}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <%--<div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label double-line">施工单位:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="constructionUnit" htmlEscape="false" id="installPercent" class="form-control layui-input" readonly="true"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label double-line">施工方联系方式:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="constructionLinkman" htmlEscape="false" id="installPercent" class="form-control layui-input" readonly="true"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>--%>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6 with-textarea">
|
|
|
|
+ <label class="layui-form-label">工程概况:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <textarea htmlEscape="false" rows="4" readonly="true" maxlength="1000" class="form-control" >${projectRecords.projectDesc}</textarea>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6 with-textarea">
|
|
|
|
+ <label class="layui-form-label">备注:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <textarea htmlEscape="false" rows="4" readonly="true" maxlength="1000" class="form-control" >${projectRecords.remarks}</textarea>
|
|
|
|
+ </div>
|
|
|
|
+ </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="contentTable" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="hide"></th>
|
|
|
|
+ <th width="25%">委托方</th>
|
|
|
|
+ <th width="25%">联系人姓名</th>
|
|
|
|
+ <th width="25%">联系方式1</th>
|
|
|
|
+ <th width="25%">联系方式2</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody id="workClientLinkmanList">
|
|
|
|
+ </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="contentTable1" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th class="hide"></th>
|
|
|
|
+ <th width="25%">施工方单位名称</th>
|
|
|
|
+ <th width="25%">联系人姓名</th>
|
|
|
|
+ <th width="25%">联系方式1</th>
|
|
|
|
+ <th width="25%">联系方式2</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody id="workConstructionLinkmanList">
|
|
|
|
+ </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="upTable" class="table table-bordered table-condensed details">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th width="25%">报告编号</th>
|
|
|
|
+ <th width="25%">报告名称</th>
|
|
|
|
+ <th width="25%">创建日期</th>
|
|
|
|
+ <th width="25%">状态</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}/ruralProject/ruralProjectMessage/modify?projectId=${projectRecords.id}&view=view','95%', '95%')">
|
|
|
|
+ ${projectReportData.number}
|
|
|
|
+ </a></td>
|
|
|
|
+ <td>
|
|
|
|
+ ${projectReportData.name}
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <fmt:formatDate value="${projectReportData.reportDate}" pattern="yyyy-MM-dd"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="op-td">
|
|
|
|
+ <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 layui-col-xs12 form-table-container" >
|
|
|
|
+ <table id="listAttachment" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th width="25%">文件预览</th>
|
|
|
|
+ <th width="25%">上传人</th>
|
|
|
|
+ <th width="25%">上传时间</th>
|
|
|
|
+ <th width="25%">操作</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody id="file_attachment">
|
|
|
|
+ <c:forEach items="${projectRecords.workAttachments}" var="workClientAttachment" varStatus="status">
|
|
|
|
+ <tr>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
|
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
|
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')
|
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')
|
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">
|
|
|
|
+ <td><img src="${workClientAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.url}','90%','90%')" alt="${workClientAttachment.attachmentName}">
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
|
+ <td><a href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','95%','95%','1')">${workClientAttachment.attachmentName}</a></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <td><a href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','95%','95%')">${workClientAttachment.attachmentName}</a></td>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ <td>${workClientAttachment.createBy.name}</td>
|
|
|
|
+ <td><fmt:formatDate value="${workClientAttachment.createDate}" pattern="yyyy-MM-dd"/></td>
|
|
|
|
+ <td class="op-td">
|
|
|
|
+ <a href="javascript:location.href=encodeURI('${ctx}/workcontractinfo/workContractInfo/downLoadAttach?file=${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </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" >
|
|
|
|
+ <act:flowChart procInsId="${projectRecords.checkProcessInstanceId}"/>
|
|
|
|
+ <act:histoicFlow procInsId="${projectRecords.checkProcessInstanceId}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="form-group layui-row page-end"></div>
|
|
|
|
+ </form:form>
|
|
|
|
+ </div>
|
|
|
|
+</div>
|
|
|
|
+
|
|
|
|
+</body>
|
|
|
|
+</html>
|