|
@@ -92,7 +92,8 @@
|
|
|
|
|
|
|
|
<div class="line">咨询问题</div>
|
|
<div class="line">咨询问题</div>
|
|
|
<div class="row cl">
|
|
<div class="row cl">
|
|
|
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
|
|
|
|
|
|
|
+ <label class="form-label col-xs-4 col-sm-2"></label>
|
|
|
|
|
+ <div class="formControls col-xs-8 col-sm-9">
|
|
|
<table class="table table-border table-bordered table-bg table-hover processTb">
|
|
<table class="table table-border table-bordered table-bg table-hover processTb">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr class="text-c">
|
|
<tr class="text-c">
|
|
@@ -146,9 +147,31 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
+ <div class="line">会签</div>
|
|
|
|
|
+ <div class="row cl">
|
|
|
|
|
+ <label class="form-label col-xs-4 col-sm-2"><span>会签说明:</span></label>
|
|
|
|
|
+ <div class="formControls col-xs-8 col-sm-9">
|
|
|
|
|
+ <div th:utext="${data.countersign_comment}">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row cl">
|
|
|
|
|
+ <label class="form-label col-xs-4 col-sm-2"><span>文件:</span></label>
|
|
|
|
|
+ <div class="formControls col-xs-8 col-sm-9">
|
|
|
|
|
+ <div class="uploader-list">
|
|
|
|
|
+ <th:block
|
|
|
|
|
+ th:unless="${data.countersign_file==null || data.countersign_file.file_url== null}">
|
|
|
|
|
+ <a style="color: #0c80fe;" th:href="${fileUrl} + ${data.countersign_file.file_url}"
|
|
|
|
|
+ target="_blank">[[${data.countersign_file.file_name}]]</a>
|
|
|
|
|
+ </th:block>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
<div class="line">预审审批</div>
|
|
<div class="line">预审审批</div>
|
|
|
<div class="row cl">
|
|
<div class="row cl">
|
|
|
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
|
|
|
|
|
|
|
+ <label class="form-label col-xs-4 col-sm-2"></label>
|
|
|
|
|
+ <div class="formControls col-xs-8 col-sm-9">
|
|
|
<table class="table table-border table-bordered table-bg table-hover processTb">
|
|
<table class="table table-border table-bordered table-bg table-hover processTb">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr class="text-c">
|
|
<tr class="text-c">
|
|
@@ -159,21 +182,21 @@
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
<tbody>
|
|
<tbody>
|
|
|
-<!-- <tr class="text-c">-->
|
|
|
|
|
-<!-- <td>商务局分管领导</td>-->
|
|
|
|
|
-<!-- <td th:text="${data.commerce_leader_pre_approve_operate}" class="viewComment"-->
|
|
|
|
|
-<!-- th:data="*{data.commerce_leader_pre_approve_operate}"></td>-->
|
|
|
|
|
-<!-- <td th:text="${data.commerce_leader_pre_approve_comment}" class="viewComment"-->
|
|
|
|
|
-<!-- th:data="*{data.commerce_leader_pre_approve_comment}"></td>-->
|
|
|
|
|
-<!-- <td>-->
|
|
|
|
|
-<!-- <th:block-->
|
|
|
|
|
-<!-- th:unless="${data.commerce_leader_pre_approve_file==null || data.commerce_leader_pre_approve_file.file_url== null}">-->
|
|
|
|
|
-<!-- <a style="color: #0c80fe;"-->
|
|
|
|
|
-<!-- th:href="${fileUrl} + ${data.commerce_leader_pre_approve_file.file_url}"-->
|
|
|
|
|
-<!-- target="_blank">[[${data.commerce_leader_pre_approve_file.file_name}]]</a>-->
|
|
|
|
|
-<!-- </th:block>-->
|
|
|
|
|
-<!-- </td>-->
|
|
|
|
|
-<!-- </tr>-->
|
|
|
|
|
|
|
+ <!-- <tr class="text-c">-->
|
|
|
|
|
+ <!-- <td>商务局分管领导</td>-->
|
|
|
|
|
+ <!-- <td th:text="${data.commerce_leader_pre_approve_operate}" class="viewComment"-->
|
|
|
|
|
+ <!-- th:data="*{data.commerce_leader_pre_approve_operate}"></td>-->
|
|
|
|
|
+ <!-- <td th:text="${data.commerce_leader_pre_approve_comment}" class="viewComment"-->
|
|
|
|
|
+ <!-- th:data="*{data.commerce_leader_pre_approve_comment}"></td>-->
|
|
|
|
|
+ <!-- <td>-->
|
|
|
|
|
+ <!-- <th:block-->
|
|
|
|
|
+ <!-- th:unless="${data.commerce_leader_pre_approve_file==null || data.commerce_leader_pre_approve_file.file_url== null}">-->
|
|
|
|
|
+ <!-- <a style="color: #0c80fe;"-->
|
|
|
|
|
+ <!-- th:href="${fileUrl} + ${data.commerce_leader_pre_approve_file.file_url}"-->
|
|
|
|
|
+ <!-- target="_blank">[[${data.commerce_leader_pre_approve_file.file_name}]]</a>-->
|
|
|
|
|
+ <!-- </th:block>-->
|
|
|
|
|
+ <!-- </td>-->
|
|
|
|
|
+ <!-- </tr>-->
|
|
|
<tr class="text-c">
|
|
<tr class="text-c">
|
|
|
<td>管委会分管领导</td>
|
|
<td>管委会分管领导</td>
|
|
|
<td th:text="${data.committee_leader_pre_approve_operate}" class="viewComment"
|
|
<td th:text="${data.committee_leader_pre_approve_operate}" class="viewComment"
|
|
@@ -197,35 +220,99 @@
|
|
|
<form class="form form-horizontal" id="form-add">
|
|
<form class="form form-horizontal" id="form-add">
|
|
|
<input id="id" name="id" type="hidden" th:value="${data.id}"/>
|
|
<input id="id" name="id" type="hidden" th:value="${data.id}"/>
|
|
|
<div class="line">分发文件</div>
|
|
<div class="line">分发文件</div>
|
|
|
- <div class="row cl">
|
|
|
|
|
|
|
+ <div class="row cl" th:id=" 'department0'">
|
|
|
<label class="form-label col-xs-4 col-sm-2"><span>所有部门可见:</span></label>
|
|
<label class="form-label col-xs-4 col-sm-2"><span>所有部门可见:</span></label>
|
|
|
|
|
+ <!-- <div class="formControls col-xs-8 col-sm-9">-->
|
|
|
|
|
+ <!-- <div class="uploader-thum-container">-->
|
|
|
|
|
+ <!-- <input class="uploadFileName btn btn-upload radius" name="uploadFileName" readonly="readonly"-->
|
|
|
|
|
+ <!-- type="text" value="上传文件"-->
|
|
|
|
|
+ <!-- th:onclick="'javascript:addFileByName(\'/land_supply/addApplyFile'+'\',this);'"/>-->
|
|
|
|
|
+ <!-- <input class="uploadFileId" type="hidden"-->
|
|
|
|
|
+ <!-- th:name="'distributionList[20].distribution_file.file_id'"/>-->
|
|
|
|
|
+ <!-- <input class="departmentId" type="hidden" value="0"-->
|
|
|
|
|
+ <!-- th:name="'distributionList[20].department_id'"/>-->
|
|
|
|
|
+ <!-- <a style="color: #0c80fe;" th:onclick="'javascript:deleteFile(this)'">删除</a>-->
|
|
|
|
|
+ <!-- </div>-->
|
|
|
|
|
+ <!-- </div>-->
|
|
|
<div class="formControls col-xs-8 col-sm-9">
|
|
<div class="formControls col-xs-8 col-sm-9">
|
|
|
- <div class="uploader-thum-container">
|
|
|
|
|
- <input class="uploadFileName btn btn-upload radius" name="uploadFileName" readonly="readonly"
|
|
|
|
|
- type="text" value="上传文件"
|
|
|
|
|
- th:onclick="'javascript:addFileByName(\'/land_supply/addApplyFile'+'\',this);'"/>
|
|
|
|
|
- <input class="uploadFileId" type="hidden"
|
|
|
|
|
- th:name="'distributionList[20].distribution_file.file_id'"/>
|
|
|
|
|
- <input class="departmentId" type="hidden" value="0"
|
|
|
|
|
- th:name="'distributionList[20].department_id'"/>
|
|
|
|
|
- <a style="color: #0c80fe;" th:onclick="'javascript:deleteFile(this)'">删除</a>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div><i class="Hui-iconfont" style="cursor: pointer;"
|
|
|
|
|
+ th:onclick="'javascript:addFileLineS(\'department0\')'"> 添加</i></div>
|
|
|
|
|
+ <table class="table table-border table-bordered table-bg table-hover ">
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr class="text-c">
|
|
|
|
|
+ <th>文件</th>
|
|
|
|
|
+ <th>操作</th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ <tbody class="add_file_line" th:id="'tbody_department0'">
|
|
|
|
|
+ <!-- <tr class="text-c"-->
|
|
|
|
|
+ <!-- th:each="landSupplyCons,landSupplyConsStat: ${industrialLandSupplyConsultationList}"-->
|
|
|
|
|
+ <!-- th:if="*{item.id+''==landSupplyCons.department_id}">-->
|
|
|
|
|
+ <tr class="text-c">
|
|
|
|
|
+ <td class="td_material">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="uploadFileName btn btn-upload radius" name="uploadFileName"
|
|
|
|
|
+ readonly="readonly"
|
|
|
|
|
+ type="text" value="上传文件"
|
|
|
|
|
+ th:onclick="'javascript:addFileByName(\'/land_supply/addApplyFile\',this);'"/>
|
|
|
|
|
+ <input class="uploadFileId distribution" type="hidden"
|
|
|
|
|
+ th:name="'distributionList[99].distribution_file.file_id'"/>
|
|
|
|
|
+ <input class="department_id" type="hidden" value="0"
|
|
|
|
|
+ th:name="'distributionList[99].department_id'"/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="icon_font"><i class='Hui-iconfont' onclick='removeLine(this)'> 删除</i>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </table>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<th:block th:each="item,itemStat : ${distDepartmentList}">
|
|
<th:block th:each="item,itemStat : ${distDepartmentList}">
|
|
|
- <div class="row cl">
|
|
|
|
|
|
|
+ <div class="row cl" th:id="'department'+${item.id}">
|
|
|
<label class="form-label col-xs-4 col-sm-2"><span>[[${item.name}]]可见:</span></label>
|
|
<label class="form-label col-xs-4 col-sm-2"><span>[[${item.name}]]可见:</span></label>
|
|
|
<div class="formControls col-xs-8 col-sm-9">
|
|
<div class="formControls col-xs-8 col-sm-9">
|
|
|
- <div class="uploader-thum-container">
|
|
|
|
|
- <input class="uploadFileName btn btn-upload radius" name="uploadFileName" readonly="readonly"
|
|
|
|
|
- type="text" value="上传文件"
|
|
|
|
|
- th:onclick="'javascript:addFileByName(\'/land_supply/addApplyFile'+'\',this);'"/>
|
|
|
|
|
- <input class="uploadFileId" type="hidden"
|
|
|
|
|
- th:name="'distributionList['+${itemStat.index}+'].distribution_file.file_id'"/>
|
|
|
|
|
- <input class="departmentId" type="hidden" th:value="${item.id}"
|
|
|
|
|
- th:name="'distributionList['+${itemStat.index}+'].department_id'"/>
|
|
|
|
|
- <a style="color: #0c80fe;" th:onclick="'javascript:deleteFile(this)'">删除</a>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <!-- <div class="uploader-thum-container">-->
|
|
|
|
|
+ <!-- <input class="uploadFileName btn btn-upload radius" name="uploadFileName" readonly="readonly"-->
|
|
|
|
|
+ <!-- type="text" value="上传文件"-->
|
|
|
|
|
+ <!-- th:onclick="'javascript:addFileByName(\'/land_supply/addApplyFile'+'\',this);'"/>-->
|
|
|
|
|
+ <!-- <input class="uploadFileId" type="hidden"-->
|
|
|
|
|
+ <!-- th:name="'distributionList['+${itemStat.index}+'].distribution_file.file_id'"/>-->
|
|
|
|
|
+ <!-- <input class="departmentId" type="hidden" th:value="${item.id}"-->
|
|
|
|
|
+ <!-- th:name="'distributionList['+${itemStat.index}+'].department_id'"/>-->
|
|
|
|
|
+ <!-- <a style="color: #0c80fe;" th:onclick="'javascript:deleteFile(this)'">删除</a>-->
|
|
|
|
|
+ <!-- </div>-->
|
|
|
|
|
+ <div><i class="Hui-iconfont" style="cursor: pointer;"
|
|
|
|
|
+ th:onclick="'javascript:addFileLine(\''+'department'+${item.id}+'\')'"> 添加</i></div>
|
|
|
|
|
+ <table class="table table-border table-bordered table-bg table-hover ">
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr class="text-c">
|
|
|
|
|
+ <th>文件</th>
|
|
|
|
|
+ <th>操作</th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ <tbody class="add_file_line" th:id="'tbody_department'+${item.id}">
|
|
|
|
|
+ <!-- <tr class="text-c"-->
|
|
|
|
|
+ <!-- th:each="landSupplyCons,landSupplyConsStat: ${industrialLandSupplyConsultationList}"-->
|
|
|
|
|
+ <!-- th:if="*{item.id+''==landSupplyCons.department_id}">-->
|
|
|
|
|
+ <tr class="text-c">
|
|
|
|
|
+ <td class="td_material">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="uploadFileName btn btn-upload radius" name="uploadFileName"
|
|
|
|
|
+ readonly="readonly"
|
|
|
|
|
+ type="text" value="上传文件"
|
|
|
|
|
+ th:onclick="'javascript:addFileByName(\'/land_supply/addApplyFile\',this);'"/>
|
|
|
|
|
+ <input class="uploadFileId distribution" type="hidden"
|
|
|
|
|
+ th:name="'distributionList[10'+${itemStat.index}+'].distribution_file.file_id'"/>
|
|
|
|
|
+ <input class="department_id" type="hidden" th:value="${item.id}"
|
|
|
|
|
+ th:name="'distributionList[10'+${itemStat.index}+'].department_id'"/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="icon_font"><i class='Hui-iconfont' onclick='removeLine(this)'> 删除</i>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </table>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</th:block>
|
|
</th:block>
|
|
@@ -294,6 +381,71 @@
|
|
|
var index = parent.layer.getFrameIndex(window.name);
|
|
var index = parent.layer.getFrameIndex(window.name);
|
|
|
parent.layer.close(index);
|
|
parent.layer.close(index);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ var distDepartmentList = [[${distDepartmentList}]];
|
|
|
|
|
+ var index = distDepartmentList.length;
|
|
|
|
|
+
|
|
|
|
|
+ function addFileLine(divId) {
|
|
|
|
|
+ var length = index;
|
|
|
|
|
+ if ($("#" + divId).find('.add_file_line>tr').length > 0) {
|
|
|
|
|
+ var html = "<i class='Hui-iconfont' onclick='removeLine(this)'> 删除</i>";
|
|
|
|
|
+ $("#" + divId).find(".add_file_line tr:eq(0)").clone().insertAfter($("#" + divId).find('.add_file_line>tr').eq(-1))
|
|
|
|
|
+ .find(".distribution").removeAttr("name").attr("name", "distributionList[" + length + "].distribution_file.file_id").val("").end()
|
|
|
|
|
+ .find(".department_id").removeAttr("name").attr("name", "distributionList[" + length + "].department_id").end()
|
|
|
|
|
+ .find(".uploadFileName").val("上传文件").end()
|
|
|
|
|
+ .find(".icon_font").html(html).end();
|
|
|
|
|
+ } else {
|
|
|
|
|
+ var str = "";
|
|
|
|
|
+ str += "<tr class='text-c'>"
|
|
|
|
|
+ str += "<td class='td_material'>"
|
|
|
|
|
+ str += "<div>"
|
|
|
|
|
+ str += "<input class='uploadFileName btn btn-upload radius' name='uploadFileName' readonly='readonly' type='text' value='上传文件' onclick=\"addFileByName('/land_supply/addApplyFile',this);\"/>"
|
|
|
|
|
+ str += "<input class='uploadFileId distribution' hidden name='distributionList[" + length + "].distribution_file.file_id'/>"
|
|
|
|
|
+ str += "<input class='department_id' hidden value='" + divId.split("department")[1] + "' name='distributionList[" + length + "].department_id' />"
|
|
|
|
|
+ str += "</div>"
|
|
|
|
|
+ str += "</td>"
|
|
|
|
|
+ str += "<td class='icon_font'><i class='Hui-iconfont' onclick='removeLine(this)'> 删除</i>"
|
|
|
|
|
+ str += "</td>"
|
|
|
|
|
+ str += "</tr>"
|
|
|
|
|
+
|
|
|
|
|
+ $("#tbody_" + divId).html(str);
|
|
|
|
|
+ }
|
|
|
|
|
+ $('#layui-layer2').height(48);
|
|
|
|
|
+ index++;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ function addFileLineS(divId) {
|
|
|
|
|
+ var length = index;
|
|
|
|
|
+ if ($("#" + divId).find('.add_file_line>tr').length > 0) {
|
|
|
|
|
+ var html = "<i class='Hui-iconfont' onclick='removeLine(this)'> 删除</i>";
|
|
|
|
|
+ $("#" + divId).find(".add_file_line tr:eq(0)").clone().insertAfter($("#" + divId).find('.add_file_line>tr').eq(-1))
|
|
|
|
|
+ .find(".distribution").removeAttr("name").attr("name", "distributionList[" + length + "].distribution_file.file_id").val("").end()
|
|
|
|
|
+ .find(".department_id").removeAttr("name").attr("name", "distributionList[" + length + "].department_id").end()
|
|
|
|
|
+ .find(".uploadFileName").val("上传文件").end()
|
|
|
|
|
+ .find(".icon_font").html(html).end();
|
|
|
|
|
+ } else {
|
|
|
|
|
+ var str = "";
|
|
|
|
|
+ str += "<tr class='text-c'>"
|
|
|
|
|
+ str += "<td class='td_material'>"
|
|
|
|
|
+ str += "<div>"
|
|
|
|
|
+ str += "<input class='uploadFileName btn btn-upload radius' name='uploadFileName' readonly='readonly' type='text' value='上传文件' onclick=\"addFileByName('/land_supply/addApplyFile',this);\"/>"
|
|
|
|
|
+ str += "<input class='uploadFileId distribution' hidden name='distributionList[" + length + "].distribution_file.file_id'/>"
|
|
|
|
|
+ str += "<input class='department_id' hidden value='0' name='distributionList[" + length + "].department_id' />"
|
|
|
|
|
+ str += "</div>"
|
|
|
|
|
+ str += "</td>"
|
|
|
|
|
+ str += "<td class='icon_font'><i class='Hui-iconfont' onclick='removeLine(this)'> 删除</i>"
|
|
|
|
|
+ str += "</td>"
|
|
|
|
|
+ str += "</tr>"
|
|
|
|
|
+
|
|
|
|
|
+ $("#tbody_" + divId).html(str);
|
|
|
|
|
+ }
|
|
|
|
|
+ $('#layui-layer2').height(48);
|
|
|
|
|
+ index++;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ function removeLine(obj) {
|
|
|
|
|
+ $(obj).parent().parent().remove();
|
|
|
|
|
+ }
|
|
|
</script>
|
|
</script>
|
|
|
</body>
|
|
</body>
|
|
|
</html>
|
|
</html>
|