|
@@ -0,0 +1,134 @@
|
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
|
+<%@ include file="/webpage/include/taglib.jsp"%>
|
|
|
|
+<html>
|
|
|
|
+<head>
|
|
|
|
+ <title>工作内容详情管理</title>
|
|
|
|
+ <meta name="decorator" content="default"/>
|
|
|
|
+ <script src="${ctxStatic}/layer-v2.3/layui/xmSelect.js" charset="utf-8"></script>
|
|
|
|
+ <style>
|
|
|
|
+ #projectContentDataType-error{
|
|
|
|
+ left:0;
|
|
|
|
+ top:40px;
|
|
|
|
+ }
|
|
|
|
+ </style>
|
|
|
|
+</head>
|
|
|
|
+<body>
|
|
|
|
+<div class="single-form">
|
|
|
|
+ <div class="container${container}">
|
|
|
|
+ <form:form id="inputForm" modelAttribute="projectVisa" action="${ctx}/project/projectVisa/save?" method="post" class="form-horizontal">
|
|
|
|
+ <form:hidden path="id"/>
|
|
|
|
+ <form:hidden path="contractId" value="${projectVisa.contractId}"/>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <sys:message content="${message}"/>
|
|
|
|
+ <div class="form-group layui-row first lw12">
|
|
|
|
+ <div class="form-group-label"><h2>基本信息</h2></div>
|
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
|
+ <label class="layui-form-label">签证编号:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="number" htmlEscape="false" readonly="true" class="form-control layui-input required"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
|
+ <label class="layui-form-label">签证日期</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="true" id="closingDate" name="date" value="<fmt:formatDate value="${projectVisa.date}" pattern="yyyy-MM-dd"/>">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
|
+ <label class="layui-form-label">送审金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="sendMoney" htmlEscape="false" readonly="true" class="form-control required layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
|
+ <label class="layui-form-label">审批手续合规性:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="procedure" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
|
+ <label class="layui-form-label">定审金额:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:input path="confirmMoney" htmlEscape="false" readonly="true" class="form-control required layui-input"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm12 lw7">
|
|
|
|
+ <label class="layui-form-label">主要内容:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <form:textarea path="content" htmlEscape="false" rows="4" maxlength="500" readonly="true"
|
|
|
|
+ onkeyup="checkContentKeyUp('unitIntroduction',500);" class="form-control "/>
|
|
|
|
+ </div>
|
|
|
|
+ <span id="contentMsg" style="float: right"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <div class="form-group layui-row">
|
|
|
|
+ <div class="form-group-label"><h2>附件信息</h2></div>
|
|
|
|
+ <div class="layui-item nav-btns">
|
|
|
|
+ </div>
|
|
|
|
+ <div id="addFile_attachment" style="display: none" class="upload-progress">
|
|
|
|
+ <span id="fileName_attachment" ></span>
|
|
|
|
+ <b><span id="baifenbi_attachment" ></span></b>
|
|
|
|
+ <div class="progress">
|
|
|
|
+ <div id="jindutiao_attachment" class="progress-bar" style="width: 0%" aria-valuenow="0">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <input id="attachment_file" type="file" name="attachment_file" multiple="multiple" style="display: none;" onChange="if(this.value)insertTitle(this.value);"/>
|
|
|
|
+ <span id="attachment_title"></span>
|
|
|
|
+ <div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
|
|
+ <table id="upTable" class="table table-bordered table-condensed details">
|
|
|
|
+ <thead>
|
|
|
|
+ <tr>
|
|
|
|
+ <th>文件名称</th>
|
|
|
|
+ <th>上传人</th>
|
|
|
|
+ <th>上传时间</th>
|
|
|
|
+ <th width="150px">操作</th>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody id="file_attachment">
|
|
|
|
+ <c:forEach items="${projectVisa.workAttachments}" var = "workAttachment" varStatus="status">
|
|
|
|
+ <tr>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workAttachment.attachmentName,'jpg')
|
|
|
|
+ or fn:containsIgnoreCase(workAttachment.attachmentName,'png')
|
|
|
|
+ or fn:containsIgnoreCase(workAttachment.attachmentName,'gif')
|
|
|
|
+ or fn:containsIgnoreCase(workAttachment.attachmentName,'bmp')
|
|
|
|
+ or fn:containsIgnoreCase(workAttachment.attachmentName,'jpeg')}">
|
|
|
|
+ <td><img src="${workAttachment.url}" width="50" height="50" alt="${workAttachment.attachmentName}"/></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workAttachment.attachmentName,'pdf')}">
|
|
|
|
+ <td><a href="javascript:void(0)" onclick="preview('预览','${workAttachment.url}','90%','90%','1')">${workAttachment.attachmentName}</a></td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <td><a href="javascript:void(0)" onclick="preview('预览','${workAttachment.url}','90%','90%')">${workAttachment.attachmentName}</a></td>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ <td>${workAttachment.createBy.name}</td>
|
|
|
|
+ <td><fmt:formatDate value="${workAttachment.createDate}" type="both"/></td>
|
|
|
|
+ <td class="op-td">
|
|
|
|
+ <div class="op-btn-box" >
|
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </form:form>
|
|
|
|
+ </div>
|
|
|
|
+</div>
|
|
|
|
+</body>
|
|
|
|
+</html>
|