|
@@ -7,6 +7,7 @@
|
|
<script type="text/javascript" src="${ctxStatic}/layui/layui.js"></script>
|
|
<script type="text/javascript" src="${ctxStatic}/layui/layui.js"></script>
|
|
<link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/css/layui.css"/>
|
|
<link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/css/layui.css"/>
|
|
<link href="${ctxStatic}/layer-v2.3/layui/tableTree/treetable.css" rel="stylesheet" />
|
|
<link href="${ctxStatic}/layer-v2.3/layui/tableTree/treetable.css" rel="stylesheet" />
|
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/common/css/style.css"/>
|
|
<%@include file="/webpage/include/treetable.jsp" %>
|
|
<%@include file="/webpage/include/treetable.jsp" %>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
var validateForm;
|
|
var validateForm;
|
|
@@ -424,12 +425,13 @@
|
|
<input id="attachment_file" type="file" name="attachment_file" multiple="multiple" style="display: none;" onChange="if(this.value)insertTitle(this.value);"/>
|
|
<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>
|
|
<span id="attachment_title"></span>
|
|
<div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
<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">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<th width="30%">文件类型</th>
|
|
<th width="30%">文件类型</th>
|
|
- <th width="">文件名</th>
|
|
|
|
- <th width="100px">操作</th>
|
|
|
|
|
|
+ <th width="">文件描述/文件</th>
|
|
|
|
+ <th width="100px">文件大小(M)</th>
|
|
|
|
+ <th width="150px">操作</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody id="file_attachment">
|
|
<tbody id="file_attachment">
|
|
@@ -450,14 +452,15 @@
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
- <td style="text-align:center;">
|
|
|
|
|
|
+ <td>
|
|
<c:choose>
|
|
<c:choose>
|
|
<c:when test="${fileAttachment.flag == 0}">
|
|
<c:when test="${fileAttachment.flag == 0}">
|
|
- ${fileAttachment.attachLength}M; ${fileAttachment.attachTypes}
|
|
|
|
|
|
+ <div><span class="file_nei">内容:</span><div class="file_neirong">${fileAttachment.attachName}</div></div>
|
|
|
|
+ <div><span style="font-weight: bold">文件格式及大小:</span>${fileAttachment.attachLength}M; ${fileAttachment.attachTypes}</div>
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${projectReportRecord.uploadMode == 2}">
|
|
|
|
|
|
+ <c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
<c:choose>
|
|
<c:choose>
|
|
<c:when test="${fn:containsIgnoreCase(fileAttachment.attachName,'jpg')
|
|
<c:when test="${fn:containsIgnoreCase(fileAttachment.attachName,'jpg')
|
|
or fn:containsIgnoreCase(fileAttachment.attachName,'png')
|
|
or fn:containsIgnoreCase(fileAttachment.attachName,'png')
|
|
@@ -469,7 +472,7 @@
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
<c:when test="${fn:containsIgnoreCase(fileAttachment.attachName,'pdf')}">
|
|
<c:when test="${fn:containsIgnoreCase(fileAttachment.attachName,'pdf')}">
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileAttachment.temporaryUrl}',1)">${fileAttachment.attachName} ; </a>
|
|
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileAttachment.temporaryUrl}',1)">${fileAttachment.attachName} ; </a>
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
@@ -499,7 +502,7 @@
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachName,'pdf')}">
|
|
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileAttachment.attachName,'pdf')}">
|
|
<a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileAttachment.url}',1)">${fileAttachment.attachName} ; </a>
|
|
<a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileAttachment.url}',1)">${fileAttachment.attachName} ; </a>
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
@@ -525,6 +528,9 @@
|
|
</c:choose>
|
|
</c:choose>
|
|
</td>
|
|
</td>
|
|
<td class="op-td" style="text-align:center;">
|
|
<td class="op-td" style="text-align:center;">
|
|
|
|
+ ${fileAttachment.fileSize}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="op-td" style="text-align:center;">
|
|
<div class="op-btn-box" >
|
|
<div class="op-btn-box" >
|
|
<c:choose>
|
|
<c:choose>
|
|
<c:when test="${fileAttachment.flag == 0}">
|
|
<c:when test="${fileAttachment.flag == 0}">
|
|
@@ -575,12 +581,13 @@
|
|
<input id="gistdata_file" type="file" name="gistdata_file" multiple="multiple" style="display: none;" onChange="if(this.value)gistdataInsertTitle(this.value);"/>
|
|
<input id="gistdata_file" type="file" name="gistdata_file" multiple="multiple" style="display: none;" onChange="if(this.value)gistdataInsertTitle(this.value);"/>
|
|
<span id="gistdata_title"></span>
|
|
<span id="gistdata_title"></span>
|
|
<div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
<div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
- <table id="gistdata_upTable" class="table table-bordered table-condensed details">
|
|
|
|
|
|
+ <table id="gistdata_upTable" class="table table-bordered table-condensed">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<th width="30%">文件类型</th>
|
|
<th width="30%">文件类型</th>
|
|
- <th width="">文件名</th>
|
|
|
|
- <th width="100px">操作</th>
|
|
|
|
|
|
+ <th width="">文件描述/文件</th>
|
|
|
|
+ <th width="100px">文件大小(M)</th>
|
|
|
|
+ <th width="150px">操作</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody id="file_gistdata">
|
|
<tbody id="file_gistdata">
|
|
@@ -602,80 +609,84 @@
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
- <td style="text-align:center;">
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fileGistdata.flag == 0}">
|
|
|
|
- ${fileGistdata.attachLength}M; ${fileGistdata.attachTypes}
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
|
|
+ <td>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${projectReportRecord.uploadMode == 2}">
|
|
|
|
|
|
+ <c:when test="${fileGistdata.flag == 0}">
|
|
|
|
+ <div><span class="file_nei">内容:</span><div class="file_neirong">${fileGistdata.attachName}</div></div>
|
|
|
|
+ <div><span style="font-weight: bold">文件格式及大小:</span>${fileGistdata.attachLength}M; ${fileGistdata.attachTypes}</div>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'jpg')
|
|
|
|
|
|
+ <c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'jpg')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'png')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'png')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'gif')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'gif')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'bmp')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'bmp')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'jpeg')}">
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'jpeg')}">
|
|
- <img src="${fileGistdata.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'pdf')}">
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.temporaryUrl}',1)">${fileGistdata.attachName} ; </a>
|
|
|
|
|
|
+ <img src="${fileGistdata.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'rar')
|
|
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'pdf')}">
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.temporaryUrl}',1)">${fileGistdata.attachName} ; </a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'rar')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'zip')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'zip')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'jar')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'jar')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'7z')}">
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'7z')}">
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.temporaryUrl}',3)">${fileGistdata.attachName}</a>
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.temporaryUrl}',2)">${fileGistdata.attachName}</a>
|
|
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.temporaryUrl}',3)">${fileGistdata.attachName}</a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.temporaryUrl}',2)">${fileGistdata.attachName}</a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
- </c:otherwise>
|
|
|
|
- </c:choose>
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'jpg')
|
|
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'jpg')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'png')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'png')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'gif')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'gif')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'bmp')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'bmp')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'jpeg')}">
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'jpeg')}">
|
|
- <img src="${fileGistdata.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.url}','90%','90%')" alt="${fileGistdata.attachName}">
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachName,'pdf')}">
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.url}',1)">${fileGistdata.attachName} ; </a>
|
|
|
|
|
|
+ <img src="${fileGistdata.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.url}','90%','90%')" alt="${fileGistdata.attachName}">
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'rar')
|
|
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'pdf')}">
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.url}',1)">${fileGistdata.attachName} ; </a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileGistdata.attachName,'rar')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'zip')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'zip')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'jar')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'jar')
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'7z')}">
|
|
or fn:containsIgnoreCase(fileGistdata.attachName,'7z')}">
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.url}',3)">${fileGistdata.attachName}</a>
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.url}',2)">${fileGistdata.attachName}</a>
|
|
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.url}',3)">${fileGistdata.attachName}</a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileGistdata.url}',2)">${fileGistdata.attachName}</a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
|
|
+ <%-- <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${fileGistdata.url}','90%','90%')">${fileGistdata.attachName} ; </a>--%>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
- <%-- <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${fileGistdata.url}','90%','90%')">${fileGistdata.attachName} ; </a>--%>
|
|
|
|
- </c:otherwise>
|
|
|
|
- </c:choose>
|
|
|
|
- </td>
|
|
|
|
|
|
+ </td>
|
|
|
|
+ <td class="op-td" style="text-align:center;">
|
|
|
|
+ ${fileGistdata.fileSize}
|
|
|
|
+ </td>
|
|
<td class="op-td" style="text-align:center;">
|
|
<td class="op-td" style="text-align:center;">
|
|
<div class="op-btn-box" >
|
|
<div class="op-btn-box" >
|
|
<c:choose>
|
|
<c:choose>
|
|
@@ -729,12 +740,13 @@
|
|
<input id="other_file" type="file" name="other_file" multiple="multiple" style="display: none;" onChange="if(this.value)otherInsertTitle(this.value);"/>
|
|
<input id="other_file" type="file" name="other_file" multiple="multiple" style="display: none;" onChange="if(this.value)otherInsertTitle(this.value);"/>
|
|
<span id="other_title"></span>
|
|
<span id="other_title"></span>
|
|
<div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
<div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
- <table id="upTable_other" class="table table-bordered table-condensed details">
|
|
|
|
|
|
+ <table id="upTable_other" class="table table-bordered table-condensed">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<th width="30%">文件类型</th>
|
|
<th width="30%">文件类型</th>
|
|
- <th width="">文件名</th>
|
|
|
|
- <th width="100px">操作</th>
|
|
|
|
|
|
+ <th width="">文件描述/文件</th>
|
|
|
|
+ <th width="100px">文件大小(M)</th>
|
|
|
|
+ <th width="150px">操作</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody id="file_other">
|
|
<tbody id="file_other">
|
|
@@ -756,80 +768,84 @@
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
- <td style="text-align:center;">
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fileOther.flag == 0}">
|
|
|
|
- ${fileOther.attachLength}M; ${fileOther.attachTypes}
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
|
|
+ <td>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${projectReportRecord.uploadMode == 2}">
|
|
|
|
|
|
+ <c:when test="${fileOther.flag == 0}">
|
|
|
|
+ <div style="overflow: hidden"><span class="file_nei">内容:</span><div class="file_neirong">${fileOther.attachName}</div></div>
|
|
|
|
+ <div><span style="font-weight: bold">文件格式及大小:</span>${fileOther.attachLength}M; ${fileOther.attachTypes}</div>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'jpg')
|
|
|
|
|
|
+ <c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'jpg')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'png')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'png')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'gif')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'gif')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'bmp')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'bmp')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'jpeg')}">
|
|
or fn:containsIgnoreCase(fileOther.attachName,'jpeg')}">
|
|
- <img src="${fileOther.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'pdf')}">
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.temporaryUrl}',1)">${fileOther.attachName} ; </a>
|
|
|
|
|
|
+ <img src="${fileOther.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'pdf')}">
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.temporaryUrl}',1)">${fileOther.attachName} ; </a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'zip')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'zip')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'jar')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'jar')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'7z')}">
|
|
or fn:containsIgnoreCase(fileOther.attachName,'7z')}">
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.temporaryUrl}',3)">${fileOther.attachName}</a>
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.temporaryUrl}',2)">${fileOther.attachName}</a>
|
|
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.temporaryUrl}',3)">${fileOther.attachName}</a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.temporaryUrl}',2)">${fileOther.attachName}</a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
- </c:otherwise>
|
|
|
|
- </c:choose>
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'jpg')
|
|
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'jpg')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'png')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'png')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'gif')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'gif')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'bmp')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'bmp')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'jpeg')}">
|
|
or fn:containsIgnoreCase(fileOther.attachName,'jpeg')}">
|
|
- <img src="${fileOther.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.url}','90%','90%')" alt="${fileOther.attachName}">
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachName,'pdf')}">
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.url}',1)">${fileOther.attachName} ; </a>
|
|
|
|
|
|
+ <img src="${fileOther.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.url}','90%','90%')" alt="${fileOther.attachName}">
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:choose>
|
|
- <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'pdf')}">
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.url}',1)">${fileOther.attachName} ; </a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'zip')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'zip')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'jar')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'jar')
|
|
or fn:containsIgnoreCase(fileOther.attachName,'7z')}">
|
|
or fn:containsIgnoreCase(fileOther.attachName,'7z')}">
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.url}',3)">${fileOther.attachName}</a>
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.url}',2)">${fileOther.attachName}</a>
|
|
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.url}',3)">${fileOther.attachName}</a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="openPreview('${fileOther.url}',2)">${fileOther.attachName}</a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
|
|
+ <!-- <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${fileOther.url}','90%','90%')">${fileOther.attachName} ; </a>-->
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
- <%-- <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${fileOther.url}','90%','90%')">${fileOther.attachName} ; </a>--%>
|
|
|
|
- </c:otherwise>
|
|
|
|
- </c:choose>
|
|
|
|
- </td>
|
|
|
|
|
|
+ </td>
|
|
|
|
+ <td class="op-td" style="text-align:center;">
|
|
|
|
+ ${fileOther.fileSize}
|
|
|
|
+ </td>
|
|
<td class="op-td" style="text-align:center;">
|
|
<td class="op-td" style="text-align:center;">
|
|
<div class="op-btn-box" >
|
|
<div class="op-btn-box" >
|
|
<c:choose>
|
|
<c:choose>
|