|
@@ -4,6 +4,8 @@
|
|
<head>
|
|
<head>
|
|
<title>报告详情管理</title>
|
|
<title>报告详情管理</title>
|
|
<meta name="decorator" content="default"/>
|
|
<meta name="decorator" content="default"/>
|
|
|
|
+ <%--<link href="${ctxStatic}/layer-v2.3/layui/tableTree/treetable.css" rel="stylesheet" />--%>
|
|
|
|
+ <%@include file="/webpage/include/treetable.jsp" %>
|
|
<style>
|
|
<style>
|
|
label.error{
|
|
label.error{
|
|
top:40px;
|
|
top:40px;
|
|
@@ -29,6 +31,9 @@
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
$(document).ready(function() {
|
|
$(document).ready(function() {
|
|
|
|
+ $("#upTable").treeTable({expandLevel : 5},{ expandable: true });
|
|
|
|
+ $("#gistdata_upTable").treeTable({expandLevel : 5},{ expandable: true });
|
|
|
|
+ $("#upTable_other").treeTable({expandLevel : 5},{ expandable: true });
|
|
validateForm = $("#inputForm").validate({
|
|
validateForm = $("#inputForm").validate({
|
|
submitHandler: function(form){
|
|
submitHandler: function(form){
|
|
loading('正在提交,请稍等...');
|
|
loading('正在提交,请稍等...');
|
|
@@ -52,10 +57,10 @@
|
|
});
|
|
});
|
|
$("#attachment_btn").click(function () {
|
|
$("#attachment_btn").click(function () {
|
|
$("#attachment_file").click();
|
|
$("#attachment_file").click();
|
|
- });;
|
|
|
|
|
|
+ });
|
|
$("#gistdata_btn").click(function () {
|
|
$("#gistdata_btn").click(function () {
|
|
$("#gistdata_file").click();
|
|
$("#gistdata_file").click();
|
|
- });;
|
|
|
|
|
|
+ });
|
|
$("#other_btn").click(function () {
|
|
$("#other_btn").click(function () {
|
|
$("#other_file").click();
|
|
$("#other_file").click();
|
|
});
|
|
});
|
|
@@ -121,7 +126,7 @@
|
|
multipartUploadWithSts(storeAs, file, attachmentId, attachmentFlag, uploadPath, divId, "0");
|
|
multipartUploadWithSts(storeAs, file, attachmentId, attachmentFlag, uploadPath, divId, "0");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
function selectNum() {
|
|
function selectNum() {
|
|
top.layer.open({
|
|
top.layer.open({
|
|
type: 2,
|
|
type: 2,
|
|
@@ -404,43 +409,58 @@
|
|
<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="layui-table" lay-filter="permissionTable"></table>--%>
|
|
|
|
+ <table id="upTable" class="table table-bordered table-hover list-table">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<%-- <th>序号</th>--%>
|
|
<%-- <th>序号</th>--%>
|
|
- <th>电子件名称</th>
|
|
|
|
- <th width="100px">最大容量(M)</th>
|
|
|
|
- <th width="18%">类型限制</th>
|
|
|
|
- <th>文件名</th>
|
|
|
|
- <th width="150px">操作</th>
|
|
|
|
|
|
+ <th width="40%">文件类型</th>
|
|
|
|
+ <th width="">文件名</th>
|
|
|
|
+ <th width="100px">操作</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody id="file_attachment">
|
|
<tbody id="file_attachment">
|
|
<c:forEach items="${projectcontentinfo.fileAttachmentList}" var = "fileAttachment" varStatus="status">
|
|
<c:forEach items="${projectcontentinfo.fileAttachmentList}" var = "fileAttachment" varStatus="status">
|
|
- <tr>
|
|
|
|
- <td style="display:none">${fileAttachment.id}</td>
|
|
|
|
- <td style="display:none">${fileAttachment.mustFlag}</td>
|
|
|
|
|
|
+ <tr id="${fileAttachment.id}" pid="${fileAttachment.parent.id}">
|
|
<c:choose>
|
|
<c:choose>
|
|
<c:when test="${fileAttachment.mustFlag == 1}">
|
|
<c:when test="${fileAttachment.mustFlag == 1}">
|
|
<td><span style="color: red">* </span>${fileAttachment.attachName}</td>
|
|
<td><span style="color: red">* </span>${fileAttachment.attachName}</td>
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
- <td>${fileAttachment.attachName}</td>
|
|
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileAttachment.flag == 0}">
|
|
|
|
+ <td>${fileAttachment.attachName}</td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <td></td>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
-
|
|
|
|
- <td>${fileAttachment.attachLength}</td>
|
|
|
|
- <td>${fileAttachment.attachTypes}</td>
|
|
|
|
- <td>
|
|
|
|
- <c:forEach items="${fileAttachment.workAttachments}" var = "workAttachment" varStatus="status">
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workAttachment.url}','90%','90%')">${workAttachment.attachmentName} ; </a>
|
|
|
|
- </c:forEach>
|
|
|
|
|
|
+ <td style="text-align:center;">
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileAttachment.flag == 0}">
|
|
|
|
+ ${fileAttachment.attachLength}M; ${fileAttachment.attachTypes}
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${fileAttachment.url}','90%','90%')">${fileAttachment.attachName} ; </a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
</td>
|
|
</td>
|
|
- <td class="op-td">
|
|
|
|
|
|
+ <td class="op-td" style="text-align:center;">
|
|
<div class="op-btn-box" >
|
|
<div class="op-btn-box" >
|
|
- <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileAttachment.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','upTable')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileAttachment.flag == 0}">
|
|
|
|
+ <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileAttachment.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','upTable')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileAttachment.parent.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','upTable')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
|
|
+ <td style="display:none">${fileAttachment.id}</td>
|
|
|
|
+ <td style="display:none">${fileAttachment.mustFlag}</td>
|
|
</tr>
|
|
</tr>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</tbody>
|
|
</tbody>
|
|
@@ -494,43 +514,58 @@
|
|
<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-hover list-table">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<%-- <th>序号</th>--%>
|
|
<%-- <th>序号</th>--%>
|
|
- <th>电子件名称</th>
|
|
|
|
- <th width="100px">最大容量(M)</th>
|
|
|
|
- <th width="18%">类型限制</th>
|
|
|
|
- <th>文件名</th>
|
|
|
|
- <th width="150px">操作</th>
|
|
|
|
|
|
+ <th width="40%">文件类型</th>
|
|
|
|
+ <th width="">文件名</th>
|
|
|
|
+ <th width="100px">操作</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody id="file_gistdata">
|
|
<tbody id="file_gistdata">
|
|
<c:forEach items="${projectcontentinfo.fileGistdataList}" var = "fileGistdata" varStatus="status">
|
|
<c:forEach items="${projectcontentinfo.fileGistdataList}" var = "fileGistdata" varStatus="status">
|
|
- <tr>
|
|
|
|
|
|
+ <tr id="${fileGistdata.id}" pid="${fileGistdata.parent.id}">
|
|
<%-- <td>${status.index + 1}</td>--%>
|
|
<%-- <td>${status.index + 1}</td>--%>
|
|
- <td style="display:none">${fileGistdata.id}</td>
|
|
|
|
- <td style="display:none">${fileGistdata.mustFlag}</td>
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fileGistdata.mustFlag == 1}">
|
|
|
|
- <td><span style="color: red">* </span>${fileGistdata.attachName}</td>
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <td>${fileGistdata.attachName}</td>
|
|
|
|
- </c:otherwise>
|
|
|
|
- </c:choose>
|
|
|
|
- <td>${fileGistdata.attachLength}</td>
|
|
|
|
- <td>${fileGistdata.attachTypes}</td>
|
|
|
|
- <td>
|
|
|
|
- <c:forEach items="${fileGistdata.workAttachments}" var = "workAttachment" varStatus="status">
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workAttachment.url}','90%','90%')">${workAttachment.attachmentName} ; </a>
|
|
|
|
- </c:forEach>
|
|
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileGistdata.mustFlag == 1}">
|
|
|
|
+ <td><span style="color: red">* </span>${fileGistdata.attachName}</td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileGistdata.flag == 0}">
|
|
|
|
+ <td>${fileGistdata.attachName}</td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <td></td>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ <td style="text-align:center;">
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileGistdata.flag == 0}">
|
|
|
|
+ ${fileGistdata.attachLength}M; ${fileGistdata.attachTypes}
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <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">
|
|
|
|
|
|
+ <td class="op-td" style="text-align:center;">
|
|
<div class="op-btn-box" >
|
|
<div class="op-btn-box" >
|
|
- <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileGistdata.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','gistdata_upTable')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileGistdata.flag == 0}">
|
|
|
|
+ <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileGistdata.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','gistdata_upTable')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileGistdata.parent.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','gistdata_upTable')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
|
|
+ <td style="display:none">${fileGistdata.id}</td>
|
|
|
|
+ <td style="display:none">${fileGistdata.mustFlag}</td>
|
|
</tr>
|
|
</tr>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</tbody>
|
|
</tbody>
|
|
@@ -539,12 +574,6 @@
|
|
</div>
|
|
</div>
|
|
<script type="text/template" id="gistdataTpl">//<!--
|
|
<script type="text/template" id="gistdataTpl">//<!--
|
|
<tr id="budgetList{{idx}}">
|
|
<tr id="budgetList{{idx}}">
|
|
- <td class="hide">
|
|
|
|
- <input id="gistdataTpl{{idx}}_id" type="hidden" value="{{row.id}}" class="clientId"/>
|
|
|
|
- </td>
|
|
|
|
- <td class="hide">
|
|
|
|
- 0
|
|
|
|
- </td>
|
|
|
|
<td style="text-align:center;">
|
|
<td style="text-align:center;">
|
|
{{row.attachName}}
|
|
{{row.attachName}}
|
|
</td>
|
|
</td>
|
|
@@ -562,6 +591,12 @@
|
|
<a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId={{row.id}}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','gistdata_upTable')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
<a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId={{row.id}}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','gistdata_upTable')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
|
|
+ <td class="hide">
|
|
|
|
+ <input id="gistdataTpl{{idx}}_id" type="hidden" value="{{row.id}}" class="clientId"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="hide">
|
|
|
|
+ 0
|
|
|
|
+ </td>
|
|
</tr>//-->
|
|
</tr>//-->
|
|
</script>
|
|
</script>
|
|
|
|
|
|
@@ -583,43 +618,58 @@
|
|
<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-hover list-table">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<%-- <th>序号</th>--%>
|
|
<%-- <th>序号</th>--%>
|
|
- <th>电子件名称</th>
|
|
|
|
- <th width="100px">最大容量(M)</th>
|
|
|
|
- <th width="18%">类型限制</th>
|
|
|
|
- <th>文件名</th>
|
|
|
|
- <th width="150px">操作</th>
|
|
|
|
|
|
+ <th width="40%">文件类型</th>
|
|
|
|
+ <th width="">文件名</th>
|
|
|
|
+ <th width="100px">操作</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody id="file_other">
|
|
<tbody id="file_other">
|
|
<c:forEach items="${projectcontentinfo.fileOtherList}" var = "fileOther" varStatus="status">
|
|
<c:forEach items="${projectcontentinfo.fileOtherList}" var = "fileOther" varStatus="status">
|
|
- <tr>
|
|
|
|
|
|
+ <tr id="${fileOther.id}" pid="${fileOther.parent.id}">
|
|
<%-- <td>${status.index + 1}</td>--%>
|
|
<%-- <td>${status.index + 1}</td>--%>
|
|
- <td style="display:none">${fileOther.id}</td>
|
|
|
|
- <td style="display:none">${fileOther.mustFlag}</td>
|
|
|
|
- <c:choose>
|
|
|
|
- <c:when test="${fileOther.mustFlag == 1}">
|
|
|
|
- <td><span style="color: red">* </span>${fileOther.attachName}</td>
|
|
|
|
- </c:when>
|
|
|
|
- <c:otherwise>
|
|
|
|
- <td>${fileOther.attachName}</td>
|
|
|
|
- </c:otherwise>
|
|
|
|
- </c:choose>
|
|
|
|
- <td>${fileOther.attachLength}</td>
|
|
|
|
- <td>${fileOther.attachTypes}</td>
|
|
|
|
- <td>
|
|
|
|
- <c:forEach items="${fileOther.workAttachments}" var = "workAttachment" varStatus="status">
|
|
|
|
- <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workAttachment.url}','90%','90%')">${workAttachment.attachmentName} ; </a>
|
|
|
|
- </c:forEach>
|
|
|
|
- </td>
|
|
|
|
- <td class="op-td">
|
|
|
|
- <div class="op-btn-box" >
|
|
|
|
- <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileOther.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','upTable_other')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
- </div>
|
|
|
|
- </td>
|
|
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileOther.mustFlag == 1}">
|
|
|
|
+ <td><span style="color: red">* </span>${fileOther.attachName}</td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileOther.flag == 0}">
|
|
|
|
+ <td>${fileOther.attachName}</td>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <td></td>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ <td style="text-align:center;">
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileOther.flag == 0}">
|
|
|
|
+ ${fileOther.attachLength}M; ${fileOther.attachTypes}
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${fileOther.url}','90%','90%')">${fileOther.attachName} ; </a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="op-td" style="text-align:center;">
|
|
|
|
+ <div class="op-btn-box" >
|
|
|
|
+ <c:choose>
|
|
|
|
+ <c:when test="${fileOther.flag == 0}">
|
|
|
|
+ <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileOther.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','upTable_other')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
+ </c:when>
|
|
|
|
+ <c:otherwise>
|
|
|
|
+ <a href="javascript:void(0)" onclick="openBill2('编辑附件', '${ctx}/projectAccessory/projectAccessory/workAttachmentForm?attachmentId=${fileOther.parent.id}&projectId=${projectRecords.id}','70%','80%',false,'inputForm','upTable_other')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>
|
|
|
|
+ </c:otherwise>
|
|
|
|
+ </c:choose>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ <td style="display:none">${fileOther.id}</td>
|
|
|
|
+ <td style="display:none">${fileOther.mustFlag}</td>
|
|
</tr>
|
|
</tr>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</tbody>
|
|
</tbody>
|
|
@@ -691,13 +741,13 @@
|
|
var $document = iframeWin.contentWindow.document;
|
|
var $document = iframeWin.contentWindow.document;
|
|
|
|
|
|
formSubmit2($document,formId,index,tableId);
|
|
formSubmit2($document,formId,index,tableId);
|
|
-
|
|
|
|
},
|
|
},
|
|
cancel: function(index){
|
|
cancel: function(index){
|
|
},
|
|
},
|
|
end:function () {
|
|
end:function () {
|
|
- var reviewFee = $("#reviewFee").val();
|
|
|
|
- $("#"+tableId).load(location.href+"&reviewFee="+reviewFee + " #"+tableId);
|
|
|
|
|
|
+ //var reviewFee = $("#reviewFee").val();
|
|
|
|
+ //$("#"+tableId).load(location.href+"&reviewFee="+reviewFee + " #"+tableId);
|
|
|
|
+ //location.reload();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
@@ -726,16 +776,17 @@
|
|
if(d.str.length>0){
|
|
if(d.str.length>0){
|
|
parent.layer.msg(d.str,{icon:1});
|
|
parent.layer.msg(d.str,{icon:1});
|
|
}
|
|
}
|
|
- var reviewFee = $("#reviewFee").val();
|
|
|
|
- $("#"+tableId).load(location.href+"&reviewFee="+reviewFee + " #"+tableId);
|
|
|
|
|
|
+ //var reviewFee = $("#reviewFee").val();
|
|
|
|
+ //$("#"+tableId).load(location.href+"&reviewFee="+reviewFee + " #"+tableId);
|
|
//关闭当前页
|
|
//关闭当前页
|
|
- top.layer.close(index)
|
|
|
|
|
|
+ top.layer.close(index);
|
|
|
|
+ //$("#gistdata_upTable").treeTable({expandLevel : 5},{ expandable: true });
|
|
|
|
+ location.reload();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
//新增行方法
|
|
//新增行方法
|
|
var fileAttachmentTpl = $("#fileAttachmentTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|
|
var fileAttachmentTpl = $("#fileAttachmentTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|
|
var gistdataTpl = $("#gistdataTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|
|
var gistdataTpl = $("#gistdataTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|