|
@@ -5,6 +5,11 @@
|
|
|
<title>工作内容详情</title>
|
|
|
<meta name="decorator" content="default"/>
|
|
|
<script src="${ctxStatic}/layer-v2.3/layui/xmSelect.js" charset="utf-8"></script>
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/layui/layui.js"></script>
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/css/layui.css"/>
|
|
|
+ <link href="${ctxStatic}/layer-v2.3/layui/tableTree/treetable.css" rel="stylesheet" />
|
|
|
+ <script src="${ctxStatic}/common/html/js/script.js"></script>
|
|
|
+ <%@include file="/webpage/include/treetable.jsp" %>
|
|
|
<script type="text/javascript">
|
|
|
$.fn.serializeJson=function(){
|
|
|
var serializeObj={};
|
|
@@ -77,6 +82,31 @@
|
|
|
initControlData("1");
|
|
|
});
|
|
|
|
|
|
+ $(document).ready(function() {
|
|
|
+ $(".tabMove").mouseover(function(){
|
|
|
+ //tips层-下
|
|
|
+ var td=$(this)
|
|
|
+ var tdval=$(this).find("input").val();
|
|
|
+ layer.tips(tdval, td, {
|
|
|
+ tips: 3
|
|
|
+ });
|
|
|
+ })
|
|
|
+ })
|
|
|
+
|
|
|
+ function listTr(obj){
|
|
|
+ var name=$(obj).attr("id");
|
|
|
+ var tiao="."+name;
|
|
|
+ var span=$(obj).find("td").eq(2);
|
|
|
+ // var ss=$(span).val().split(" ")[4];
|
|
|
+ $(span).toggle(function () {
|
|
|
+ $(tiao).hide();
|
|
|
+ $(span).find("span").eq(0).attr("class","default_shut")
|
|
|
+ },function () {
|
|
|
+ $(tiao).show();
|
|
|
+ $(span).find("span").eq(0).attr("class","default_open")
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
function openDialogre(title,url,width,height,formId){
|
|
|
|
|
|
if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){//如果是移动端,就使用自适应大小弹窗
|
|
@@ -595,14 +625,153 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+
|
|
|
<div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>依据性资料明细</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
|
+ <table id="upTable1" class="table table-bordered table-condensed tree_table">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th width="200px">资料名称</th>
|
|
|
+ <th width="200px">资料类别</th>
|
|
|
+ <th width="200px">资料性质</th>
|
|
|
+ <th width="35%">资料内容</th>
|
|
|
+ <th width="160px">上传人</th>
|
|
|
+ <th width="160px">上传日期</th>
|
|
|
+ <th width="120px">文件大小(M)</th>
|
|
|
+ <th width="100px">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="overAllFile_attachment">
|
|
|
+ <c:forEach items="${projectcontentinfo.overAllFileGistdataList}" var = "fileAttachment" varStatus="status">
|
|
|
+ <tr id="file_attachment_${fileAttachment.id}_tr_fu" onclick="listTr(this)">
|
|
|
+ <td style="display:none"><span class="faid">${fileAttachment.id}</span></td>
|
|
|
+ <td style="display:none">${fileAttachment.mustFlag}</td>
|
|
|
+ <td class="tabMove" style="text-align: left;"><span class='default_open' style="padding-right: 15px; "></span>${fileAttachment.name}<input type="hidden" value="${fileAttachment.name}"/></td>
|
|
|
+ <td style="white-space:normal; word-break:break-all;overflow:hidden;">${fileAttachment.attachName}</td>
|
|
|
+ <td>
|
|
|
+ <div style="white-space:normal; word-break:break-all;overflow:hidden;"> ${fileAttachment.attachTypes}</div>
|
|
|
+ </td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td style="display:none">${fileAttachment.fileFlag}</td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <c:forEach items="${fileAttachment.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
+ <tr class="file_attachment_${fileAttachment.id}_tr_fu">
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
|
+ <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.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','90%','90%')" alt="${workClientAttachment.attachmentName}">
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <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}"></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ <td class="op-td" style="white-space:normal; word-break:break-all;overflow:hidden;" onclick="readOpenInfo('${workClientAttachment.createName}')">${workClientAttachment.createName}</td>
|
|
|
+
|
|
|
+ <td class="op-td" style="text-align:center;">
|
|
|
+ <fmt:formatDate value="${workClientAttachment.createDate}" type="date"/>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="op-td">${workClientAttachment.fileSize}</td>
|
|
|
+ <td class="op-td">
|
|
|
+ <div class="op-btn-box" >
|
|
|
+ <%--附件下载删除--%>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <a href="${workClientAttachment.temporaryUrl}" target="_blank" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <a href="${workClientAttachment.temporaryUrl}" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </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">
|
|
|
<table id="contentTableBase" class="table table-bordered table-condensed details">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th class="hide"></th>
|
|
|
- <%--<th >资料编号</th>--%>
|
|
|
+ <%–<th >资料编号</th>–%>
|
|
|
<th >资料名称</th>
|
|
|
<th >资料类别</th>
|
|
|
<th >资料性质</th>
|
|
@@ -618,9 +787,9 @@
|
|
|
<td class="hide">
|
|
|
<input type="hidden" id="workBaseDataList${idx.index}_id" value="${projectBasedData.id}">
|
|
|
</td>
|
|
|
- <%--<td style="text-align:center;">
|
|
|
+ <%–<td style="text-align:center;">
|
|
|
${projectBasedData.number}
|
|
|
- </td>--%>
|
|
|
+ </td>–%>
|
|
|
<td style="text-align:center;">
|
|
|
${projectBasedData.name}
|
|
|
</td>
|
|
@@ -707,7 +876,7 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
<script type="text/template" id="workBaseDataTpl">//<!--
|
|
|
<tr id="budgetList{{idx}}">
|
|
|
<td class="hide">
|
|
@@ -931,7 +1100,7 @@
|
|
|
</table>
|
|
|
</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="contentTable1" class="table table-bordered table-condensed details">
|
|
@@ -1001,101 +1170,134 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
<div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>成果文件</h2></div>
|
|
|
<div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
|
- <table id="upTable" class="table table-bordered table-condensed details">
|
|
|
+ <table id="upTable" class="table table-bordered table-condensed tree_table">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <%-- <th>序号</th>--%>
|
|
|
- <th>文件预览</th>
|
|
|
- <th>上传人</th>
|
|
|
- <th>上传时间</th>
|
|
|
- <th width="200px">操作</th>
|
|
|
+ <th width="200px">资料名称</th>
|
|
|
+ <th width="35%">资料内容</th>
|
|
|
+ <th width="160px">上传人</th>
|
|
|
+ <th width="160px">上传日期</th>
|
|
|
+ <th width="120px">文件大小(M)</th>
|
|
|
+ <th width="100px">操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody id="file_attachment">
|
|
|
- <c:forEach items="${projectcontentinfo.projectReportData.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
- <tr>
|
|
|
- <%-- <td>${status.index + 1}</td>--%>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${projectcontentinfo.projectReportData.uploadMode == 2}">
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
|
|
|
+ <c:forEach items="${projectcontentinfo.projectAchievementFileDataList}" var = "fileAttachment" varStatus="status">
|
|
|
+ <tr id="file_attachment_${fileAttachment.id}_tr_fu" onclick="listTr(this)">
|
|
|
+ <td style="display:none"><span class="faid">${fileAttachment.id}</span></td>
|
|
|
+ <td style="display:none">${fileAttachment.mustFlag}</td>
|
|
|
+ <td class="tabMove" style="text-align: left;"><span class='default_open' style="padding-right: 15px; "></span>${fileAttachment.name}<input type="hidden" value="${fileAttachment.name}"/></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td class="op-td">
|
|
|
+ </td>
|
|
|
+ <td style="display:none">${fileAttachment.fileFlag}</td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <c:forEach items="${fileAttachment.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
+ <tr class="file_attachment_${fileAttachment.id}_tr_fu">
|
|
|
+ <td></td>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
|
+ <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.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','90%','90%')" alt="${workClientAttachment.attachmentName}">
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.temporaryUrl}','90%','90%','1')">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.temporaryUrl}','90%','90%')">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
|
|
|
+ <td><img src="${workClientAttachment.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','90%','90%')" alt="${workClientAttachment.attachmentName}">
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <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}"></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%','1')">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%')">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
+ <td><img src="${workClientAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.url}','90%','90%')" alt="${workClientAttachment.attachmentName}"></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ <td class="op-td" style="white-space:normal; word-break:break-all;overflow:hidden;" onclick="readOpenInfo('${workClientAttachment.createName}')">${workClientAttachment.createName}</td>
|
|
|
|
|
|
- <td>${workClientAttachment.createBy.name}</td>
|
|
|
- <td><fmt:formatDate value="${workClientAttachment.createDate}" type="both"/></td>
|
|
|
- <td class="op-td">
|
|
|
- <div class="op-btn-box" >
|
|
|
- <c:set var="signflag" value="${fns:getSysParam('sign_flag',fns:getUser())}"/>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'doc')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'docx')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'xls')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'xlsx')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'ppt')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'pptx')}">
|
|
|
- <c:if test="${not empty gzr && gzr eq 'gzr'}">
|
|
|
- <a href="${ctx}/isignature/iSignatureDocument/sign?recordId=${workClientAttachment.id}&type=report" class="op-btn op-btn-sign" target="_blank">签章</a>
|
|
|
- </c:if>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${signflag == '是'}">
|
|
|
- <a href="javascript:location.href='${ctx}/isignature/iSignatureDocument/download?recordId=${workClientAttachment.id}'" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <a href="javascript:location.href='${ctx}/workcontractinfo/workContractInfo/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <a href="javascript:location.href='${ctx}/workcontractinfo/workContractInfo/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
+ <td class="op-td" style="text-align:center;">
|
|
|
+ <fmt:formatDate value="${workClientAttachment.createDate}" type="date"/>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ <td class="op-td">${workClientAttachment.fileSize}</td>
|
|
|
+ <td class="op-td">
|
|
|
+ <div class="op-btn-box" >
|
|
|
+ <%--附件下载删除--%>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <a href="${workClientAttachment.temporaryUrl}" target="_blank" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <a href="${workClientAttachment.temporaryUrl}" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+
|
|
|
+ <%-- <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileAttachment.id}&projectId=${project.id}','70%','80%',false,'inputForm','upTable',this)" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>--%>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
</c:forEach>
|
|
|
</tbody>
|
|
|
</table>
|