|
@@ -16,10 +16,10 @@
|
|
|
var span=$(obj).find("td").eq(2);
|
|
|
$(span).toggle(function () {
|
|
|
$(tiao).hide();
|
|
|
- $(span).find("span").attr("class","default_shut")
|
|
|
+ $(span).find("span").eq(0).attr("class","default_shut")
|
|
|
},function () {
|
|
|
$(tiao).show();
|
|
|
- $(span).find("span").attr("class","default_open")
|
|
|
+ $(span).find("span").eq(0).attr("class","default_open")
|
|
|
});
|
|
|
}
|
|
|
var validateForm;
|
|
@@ -821,19 +821,18 @@
|
|
|
<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 tree_table">
|
|
|
+ <table id="upTable" class="table table-bordered table-condensed tree_table">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th width="30%">电子件名称</th>
|
|
|
-<%-- <th width="100px">最大容量(M)</th>--%>
|
|
|
- <th >类型限制</th>
|
|
|
-<%-- <th>文件名</th>--%>
|
|
|
- <th width="150px">操作</th>
|
|
|
+ <th width="30%">文件类型</th>
|
|
|
+ <th >文件描述/文件</th>
|
|
|
+ <th width="100px">文件大小(M)</th>
|
|
|
+ <th width="100px">操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody id="file_attachment">
|
|
|
<c:forEach items="${projectcontentinfo.fileAttachmentList}" var = "fileAttachment" varStatus="status">
|
|
|
- <tr id="file_attachment_${fileAttachment.id}_tr" onclick="listTr(this)">
|
|
|
+ <tr id="file_attachment_${fileAttachment.id}" onclick="listTr(this)">
|
|
|
<td style="display:none"><span class="faid">${fileAttachment.id}</span></td>
|
|
|
<td style="display:none">${fileAttachment.mustFlag}</td>
|
|
|
<c:choose>
|
|
@@ -845,8 +844,12 @@
|
|
|
</c:otherwise>
|
|
|
</c:choose>
|
|
|
<%-- <td class="tabMove" style="text-align: left;"><span class='default_open' style="padding-right: 15px; "></span><span style="color: red">* </span>${fileAttachment.attachName}<input type="hidden" value="${fileAttachment.attachName}"/></td>--%>
|
|
|
- <td>${fileAttachment.attachLength}M;${fileAttachment.attachTypes}</td>
|
|
|
- <td class="op-td">
|
|
|
+ <td>
|
|
|
+ <div style="overflow: hidden"><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>
|
|
|
+ </td>
|
|
|
+ <td></td>
|
|
|
+ <td class="op-td" style="text-align: center">
|
|
|
<div class="op-btn-box" >
|
|
|
<a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileAttachment.id}&projectId=${projectcontentinfo.project.id}&uploadMode=${projectcontentinfo.uploadMode}','70%','80%',false,'inputForm','upTable',this)" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
</div>
|
|
@@ -854,7 +857,7 @@
|
|
|
<td style="display:none">${fileAttachment.fileFlag}</td>
|
|
|
</tr>
|
|
|
<c:forEach items="${fileAttachment.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
- <tr class="file_attachment_tr">
|
|
|
+ <tr class="file_attachment_${fileAttachment.id}">
|
|
|
<td></td>
|
|
|
<c:choose>
|
|
|
<c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
@@ -922,6 +925,9 @@
|
|
|
</c:choose>
|
|
|
<%-- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workAttachment.url}','90%','90%')">${workAttachment.attachmentName} ; </a></td>--%>
|
|
|
<td class="op-td">
|
|
|
+ ${workClientAttachment.fileSize}
|
|
|
+ </td>
|
|
|
+ <td class="op-td" style="text-align: center">
|
|
|
<div class="op-btn-box" >
|
|
|
<%--附件下载删除--%>
|
|
|
<c:choose>
|
|
@@ -965,19 +971,18 @@
|
|
|
<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>
|
|
|
<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>
|
|
|
<tr >
|
|
|
- <th width="30%">电子件名称</th>
|
|
|
-<%-- <th width="100px">最大容量(M)</th>--%>
|
|
|
- <th >类型限制</th>
|
|
|
-<%-- <th>文件名</th>--%>
|
|
|
- <th width="150px">操作</th>
|
|
|
+ <th width="30%">文件类型</th>
|
|
|
+ <th >文件描述/文件</th>
|
|
|
+ <th width="100px">文件大小(M)</th>
|
|
|
+ <th width="100px">操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody id="file_gistdata">
|
|
|
<c:forEach items="${projectcontentinfo.fileGistdataList}" var = "fileGistdata" varStatus="status">
|
|
|
- <tr id="file_gistdata_${fileGistdata.id}_tr" onclick="listTr(this)">
|
|
|
+ <tr id="file_gistdata_${fileGistdata.id}" onclick="listTr(this)">
|
|
|
<td style="display:none"><span class="fgid">${fileGistdata.id}</span></td>
|
|
|
<td style="display:none">${fileGistdata.mustFlag}</td>
|
|
|
<c:choose>
|
|
@@ -989,8 +994,12 @@
|
|
|
</c:otherwise>
|
|
|
</c:choose>
|
|
|
<%-- <td class="tabMove" style="text-align: left;"><span class='default_open' style="padding-right: 15px; "></span>${fileGistdata.attachName}<input type="hidden" value="${fileGistdata.attachName}"/></td>--%>
|
|
|
- <td>${fileGistdata.attachLength}M;${fileGistdata.attachTypes}</td>
|
|
|
- <td class="op-td">
|
|
|
+ <td>
|
|
|
+ <div style="overflow: hidden"><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>
|
|
|
+ </td>
|
|
|
+ <td></td>
|
|
|
+ <td class="op-td" style="text-align: center">
|
|
|
<div class="op-btn-box" >
|
|
|
<a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileGistdata.id}&projectId=${projectcontentinfo.project.id}&uploadMode=${projectcontentinfo.uploadMode}','70%','80%',false,'inputForm','gistdata_upTable',this)" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
</div>
|
|
@@ -999,7 +1008,7 @@
|
|
|
|
|
|
</tr>
|
|
|
<c:forEach items="${fileGistdata.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
- <tr class="file_gistdata_tr">
|
|
|
+ <tr class="file_gistdata_${fileGistdata.id}">
|
|
|
<td></td>
|
|
|
<c:choose>
|
|
|
<c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
@@ -1067,6 +1076,9 @@
|
|
|
</c:choose>
|
|
|
<%-- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workAttachment.url}','90%','90%')">${workAttachment.attachmentName} ; </a></td>--%>
|
|
|
<td class="op-td">
|
|
|
+ ${workClientAttachment.fileSize}
|
|
|
+ </td>
|
|
|
+ <td class="op-td" style="text-align: center">
|
|
|
<div class="op-btn-box" >
|
|
|
<%--附件下载删除--%>
|
|
|
<c:choose>
|
|
@@ -1110,19 +1122,18 @@
|
|
|
<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>
|
|
|
<div class="layui-item layui-col-xs12" style="padding:0 16px;">
|
|
|
- <table id="upTable_other" class="table table-bordered table-condensed details tree_table">
|
|
|
+ <table id="upTable_other" class="table table-bordered table-condensed tree_table">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th width="30%">电子件名称</th>
|
|
|
-<%-- <th width="100px">最大容量(M)</th>--%>
|
|
|
- <th >类型限制</th>
|
|
|
-<%-- <th>文件名</th>--%>
|
|
|
- <th width="150px">操作</th>
|
|
|
+ <th width="30%">文件类型</th>
|
|
|
+ <th >文件描述/文件</th>
|
|
|
+ <th width="100px">文件大小(M)</th>
|
|
|
+ <th width="100px">操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody id="file_other">
|
|
|
<c:forEach items="${projectcontentinfo.fileOtherList}" var = "fileOther" varStatus="status">
|
|
|
- <tr id="file_other_${fileOther.id}_tr" onclick="listTr(this)">
|
|
|
+ <tr id="file_other_${fileOther.id}" onclick="listTr(this)">
|
|
|
<td style="display:none"><span class="foid">${fileOther.id}</span></td>
|
|
|
<td style="display:none">${fileOther.mustFlag}</td>
|
|
|
<c:choose>
|
|
@@ -1134,9 +1145,13 @@
|
|
|
</c:otherwise>
|
|
|
</c:choose>
|
|
|
<%-- <td class="tabMove" style="text-align: left;"><span class='default_open' style="padding-right: 15px; "></span>${fileOther.attachName}<input type="hidden" value="${fileOther.attachName}"/></td>--%>
|
|
|
- <td>${fileOther.attachLength}M;${fileOther.attachTypes}</td>
|
|
|
- <td class="op-td">
|
|
|
- <div class="op-btn-box" >
|
|
|
+ <td>
|
|
|
+ <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>
|
|
|
+ </td>
|
|
|
+ <td></td>
|
|
|
+ <td class="op-td " style="text-align: center">
|
|
|
+ <div class="op-btn-box" style="text-align: center">
|
|
|
<a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileOther.id}&projectId=${projectcontentinfo.project.id}&uploadMode=${projectcontentinfo.uploadMode}','70%','80%',false,'inputForm','upTable_other',this)" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
</div>
|
|
|
</td>
|
|
@@ -1144,7 +1159,7 @@
|
|
|
|
|
|
</tr>
|
|
|
<c:forEach items="${fileOther.workAttachments}" var = "workClientAttachment" varStatus="status">
|
|
|
- <tr class="file_other_tr">
|
|
|
+ <tr class="file_other_${fileOther.id}">
|
|
|
<td></td>
|
|
|
<c:choose>
|
|
|
<c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
@@ -1212,6 +1227,9 @@
|
|
|
</c:choose>
|
|
|
<%-- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workAttachment.url}','90%','90%')">${workAttachment.attachmentName} ; </a></td>--%>
|
|
|
<td class="op-td">
|
|
|
+ ${workClientAttachment.fileSize}
|
|
|
+ </td>
|
|
|
+ <td class="op-td" style="text-align: center">
|
|
|
<div class="op-btn-box" >
|
|
|
<%--附件下载删除--%>
|
|
|
<c:choose>
|