| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564 |
- <!DOCTYPE HTML>
- <html xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorate="~{admin/common/common}">
- <head>
- <title>存量用地审核</title>
- <style>
- .line {
- display: block;
- text-align: left;
- background-color: #fff;
- color: #333;
- border-bottom: 1px solid #0a6999;
- border-color: #fff;
- border-bottom: 1px solid #0a6999;
- margin-top: 10px;
- vertical-align: middle;
- padding: 4px 12px;
- height: 31px;
- line-height: 31px;
- font-size: 14px;
- font-weight: bold;
- }
- </style>
- </head>
- <body layout:fragment="content">
- <article class="page-container">
- <form class="form form-horizontal" id="form-land-approve">
- <input type="hidden" th:id="apply_type" th:name="apply_type" th:value="${landApply.apply_type}"/>
- <input type="hidden" th:id="apply_id" th:name="apply_id" th:value="${landApply.id}"/>
- <input type="hidden" th:id="statu" th:name="statu" th:value="${landApply.approve_status}"/>
- <input type="hidden" th:id="buttonStatus" th:name="buttonStatus" th:value="${landApply.button_status}"/>
- <div class="line">基本信息</div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"> 企业名称:</label>
- <div class="formControls col-xs-8 col-sm-4">
- [[${companyInfo.company_name}]]
- </div>
- <label class="form-label col-xs-4 col-sm-2"> 统一社会信用代码:</label>
- <div class="formControls col-xs-8 col-sm-4">
- [[${companyInfo.uscc}]]
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"> 组织机构代码:</label>
- <div class="formControls col-xs-8 col-sm-4">
- [[${companyInfo.organization_code}]]
- </div>
- <label class="form-label col-xs-4 col-sm-2"> 所属行业:</label>
- <div class="formControls col-xs-8 col-sm-4">
- [[${companyInfo.industry_code}]]
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"> 地址:</label>
- <div class="formControls col-xs-8 col-sm-4">
- [[${companyInfo.registration_address}]]
- </div>
- <label class="form-label col-xs-4 col-sm-2"> 联系人:</label>
- <div class="formControls col-xs-8 col-sm-4">
- [[${companyInfo.contact}]]
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"> 联系人职位:</label>
- <div class="formControls col-xs-8 col-sm-4">
- [[${companyInfo.contact_position}]]
- </div>
- <label class="form-label col-xs-4 col-sm-2"> 联系人手机:</label>
- <div class="formControls col-xs-8 col-sm-4">
- [[${companyInfo.contact_phone}]]
- </div>
- </div>
- <div class="line">存量用地申请</div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"> 申请类别:</label>
- <div class="formControls col-xs-8 col-sm-9">
- [[${landApply.apply_type_str}]]
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">厂房所在属地:</label>
- <div class="formControls col-xs-8 col-sm-9">
- [[${landApply.building_street_name}]]
- </div>
- </div>
- <div class="line">申请材料</div>
- <div class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <table class="table table-border table-bordered table-bg table-hover">
- <thead>
- <tr class="text-c">
- <th>编号</th>
- <th>内容</th>
- <th>上传材料</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${applyMaterials}" th:object="${model}">
- <td th:text="${iterStat.index+1}"></td>
- <td th:text="*{content}"></td>
- <td class="td_material">
- <div th:if="*{fileDown}">
- <a th:href="${fileUrl} + *{fileDown.file_url}" target="_blank" style="color: #5b98dd;">[[*{fileDown.file_name}]]</a>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div th:if="${landApply.summary_procedure}" class="line">简易程序材料</div>
- <div th:if="${landApply.summary_procedure}" class="row cl" id="summaryMaterials">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <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">
- <tr class="text-c" th:each="model,iterStat:${summaryMaterials}" th:object="${model}">
- <td th:text="${iterStat.index+1}"></td>
- <td class="td_material">
- <div th:if="*{fileDown}">
- <a th:href="${fileUrl} + *{fileDown.file_url}" target="_blank" style="color: #5b98dd;">[[*{fileDown.file_name}]]</a>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="line">其他材料</div>
- <div class="row cl" id="otherMaterials">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <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">
- <tr class="text-c" th:each="model,iterStat:${otherMaterials}" th:object="${model}">
- <td th:text="${iterStat.index+1}"></td>
- <td class="td_material">
- <div th:if="*{fileDown}">
- <a th:href="${fileUrl} + *{fileDown.file_url}" target="_blank" style="color: #5b98dd;">[[*{fileDown.file_name}]]</a>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <input type="hidden" th:id="is_zdxm" th:name="is_zdxm"/>
- <div th:if="${landApply.is_zdxm}">
- <div class="line">重大项目审核意见</div>
- <div class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <textarea class="textarea" id="zdxm_comment" name="zdxm_comment" disabled="disabled">[[${landApply.zdxm_comment}]]</textarea>
- </div>
- </div>
- <div class="line">重大投资项目材料</div>
- <div class="row cl" id="mipMaterials1">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <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">
- <tr class="text-c" th:each="model,iterStat:${mipMaterials}" th:object="${model}">
- <td th:text="${iterStat.index+1}"></td>
- <td class="td_material">
- <div th:if="*{fileDown}">
- <a th:href="${fileUrl} + *{fileDown.file_url}" target="_blank"
- style="color: #5b98dd;">[[*{fileDown.file_name}]]</a>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="line">流程信息</div>
- <div class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <table class="table table-border table-bordered table-bg table-hover processTb">
- <thead>
- <tr class="text-c">
- <th style="width:15%;">时间</th>
- <th style="width:15%;">审核状态</th>
- <th style="width:10%;">部门</th>
- <th style="width:10%;">操作人</th>
- <th style="width:10%;">操作</th>
- <th style="width:15%;">材料</th>
- <th style="width:25%;">审核意见</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${approvalList}" th:object="${model}">
- <td th:text="*{create_time}"></td>
- <td th:text="*{before_approvalstatus_str}"></td>
- <td th:text="*{department}"></td>
- <td th:text="*{create_name}"></td>
- <td th:text="*{oper_type}"></td>
- <td class="td_material">
- <div th:if="*{fileDowns}">
- <a th:each="filedown,iterStat:*{fileDowns}" th:object="${filedown}"
- th:href="${fileUrl} + *{file_url}" target="_blank" style="color: #5b98dd;">[[*{file_name}]]<br/></a>
- </div>
- </td>
- <td class="viewComment" th:data="*{approval_comment}" th:text="*{approval_comment}"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div th:if="${feedbackList}" class="line">进程反馈</div>
- <div th:if="${feedbackList}" class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <table class="table table-border table-bordered table-bg table-hover">
- <thead>
- <tr class="text-c">
- <th>日期</th>
- <th>线下办理状态</th>
- <th>文件</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${feedbackList}" th:object="${model}">
- <td th:text="*{create_time}"></td>
- <td th:text="*{process_status_str}"></td>
- <td class="td_material">
- <div th:if="*{fileDowns}">
- <a th:each="filedown,iterStat:*{fileDowns}" th:object="${filedown}"
- th:href="${fileUrl} + *{file_url}" target="_blank" style="color: #5b98dd;">[[*{file_name}]]<br/></a>
- </div>
- </td>
- <td class="td-manage">
- <a title="详情"
- th:onclick="'javascript:open_dialog(\'详情\',\'/stockLand/checkFeedback/'+*{id}+'\',\'800\',\'400\');'"
- class="ml-5" style="text-decoration:none">详情</a>
- <a title="编辑"
- th:onclick="'javascript:open_dialog(\'编辑\',\'/stockLand/editFeedback/'+*{id}+'\');'"
- class="ml-5" style="text-decoration:none">编辑</a>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <!--<div class="line">流程节点</div>
- <div class="row cl">
- <ul class="steps" id="phaseGraph">
- <li data-step="1" class="active">
- <span class="step">1</span>
- <span class="title">Validation states</span>
- </li>
- </ul>
- </div>-->
- <!-- 审核意见 -->
- <div class="line">审核意见</div>
- <div class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <textarea class="textarea" id="approval_comment" name="approval_comment" placeholder="审核意见"></textarea>
- </div>
- </div>
- <div class="line">审核材料上传</div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">上传材料:</label>
- <div class="formControls col-xs-8 col-sm-9">
- <div class="uploader-thum-container">
- <div id="fileListPre" class="uploader-list">
- </div>
- <div id="filePicker">选择文件</div>
- </div>
- </div>
- </div>
- <div id="sfzdtz" style="display: none">
- <div class="line">是否重大投资项目:</div>
- <div class="row cl" style="width: 500px; padding-left: 80px;">
- <label class="form-label" style="width: 150px; line-height: 30px; float: left;">是否重大投资项目:</label>
- <div class="formControls">
- <span class="select-box" style="width:250px">
- <select th:id="IsShow" class="select" th:name="IsShow" onChange="isShow()">
- <option value="">--请选择--</option>
- <option th:value="1" th:text="是">
- <option th:value="0" th:text="否">
- </option>
- </select>
- </span>
- </div>
- </div>
- </div>
- <div id="zdtzxm" style="display: none">
- <div class="line">重大项目审核意见</div>
- <div class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-2 col-sm-offset-1">
- <textarea class="textarea" id="zdxm_comment" name="zdxm_comment">[[${zdxm_comment}]]</textarea>
- </div>
- </div>
- <div class="line">审核材料上传</div>
- <div class="row cl" id="mipMaterials">
- <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
- <div><i class="Hui-iconfont" style="cursor: pointer;" onclick="addFileLine('mipMaterials')">
- 添加</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">
- <tr class="text-c">
- <td class="td_material">
- <input class="uploadFileName input-text" name="uploadFileName" readonly="readonly"
- type="text"
- th:onclick="'javascript:addFileByName(\'/stockLand/addApplyFile/4/0'+'\',this);'"/>
- <input class="uploadFileId" type="hidden" th:name="mipMaterials[0].fileDown.file_id"/>
- </td>
- <td class="icon_font"><i class='Hui-iconfont' onclick='deleteFile(this)'> 删除</i>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <input type="hidden" id="departmentIds" name="departmentIds"/>
- <div class="row cl">
- <input id="status" type="hidden" name="status"/>
- <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
- <a class="btn btn-primary radius" id="jylctg" onClick="audit(1);" style="display:none"> 简易流程通过 </a>
- <a class="btn btn-primary radius" id="fsgbm"
- onClick="select_department('查找部门','/admin/department/departmentList?type=1','600','450');"
- style="display:none"> 常规流程分送各部门 </a>
- <a class="btn btn-primary radius" id="fsgbm1" onClick="audit(2);" style="display:none"> 常规流程分送各部门 </a>
- <a class="btn btn-primary radius" id="hgxsctg" onClick="audit(5);" style="display:none"> 提交审核意见 </a>
- <a class="btn btn-primary radius" id="hgxscbh" onClick="audit(6);" style="display:none"> 合规性审查退回 </a>
- <a class="btn btn-primary radius" id="hgxscbf"
- onClick="select_department('查找部门','/admin/department/departmentList?type=2','500','600');"
- style="display:none"> 合规性审查补发 </a>
- <a class="btn btn-primary radius" id="jrlhpy" onClick="audit(7);" style="display:none"> 进入联合评议 </a>
- <a class="btn btn-primary radius" id="jrqzfsp" onClick="audit(8);" style="display:none"> 进入区政府审核 </a>
- <a class="btn btn-primary radius" id="lhpytj" onClick="audit(10);" style="display:none"> 联合评议提交 </a>
- <a class="btn btn-primary radius" id="zftg" onClick="audit(9);" style="display:none"> 政府通过 </a>
- <a class="btn btn-primary radius" id="bh" onClick="audit(4);" style="display:none"> 退回 </a>
- <a class="btn btn-primary radius" id="btg" onClick="audit(4);" style="display:none"> 不通过 </a>
- <!-- 简易流程新增会签 -->
- <a class="btn btn-primary radius" id="jylcff" onClick="audit(13);" style="display:none"> 简易流程办理 </a>
- <!-- <a class="btn btn-primary radius" id="tyqyjylc" onClick="audit(14);" style="display:none"> 同意启用简易流程 </a>-->
- <!-- <a class="btn btn-primary radius" id="jjqyjylc" onClick="audit(15);" style="display:none"> 拒绝启用简易流程 </a>-->
- <!-- <a class="btn btn-primary radius" id="tyqyjylc" onClick="audit(4);" style="display:none"> 退回 </a>-->
- <!-- 简易流程通过-->
- <a class="btn btn-primary radius" id="easy_process_approved" onClick="audit(80);" style="display:none"> 通过 </a>
- <!-- 简易流程不通过-->
- <a class="btn btn-primary radius" id="easy_process_deny" onClick="audit(90);" style="display:none"> 不通过 </a>
- <a onClick="cancle();" class="btn btn-default radius" type="button"> 取消 </a>
- </div>
- </div>
- </form>
- </article>
- <script type="text/javascript" th:src="@{/js/government/areaManager/areaManager_list.js}"></script>
- <script th:inline="javascript">
- /**
- * 初始化上传控件
- */
- var options = {
- uploadBtnId: '#filePicker',
- picturePreId: 'fileListPre',
- hiddenPictureUrl: 'img',
- hiddenPictureName: 'imgName',
- /*accept : {
- title : 'Images',
- extensions : 'gif,jpg,jpeg,bmp,png,txt',
- mimeTypes : 'image/gif,image/jpg,image/jpeg,image/bmp,image/png,image/txt'
- },*/
- width: 81,
- height: 81,
- fileSizeLimit: 100 * 1024 * 1024,
- fileSingleSizeLimit: 100 * 1024 * 1024,
- // fileNumLimit: 1,
- append: true
- };
- var webUploadDoc = new $WebUploadDoc(options);
- webUploadDoc.init();
- //修改上传文件的name域,改成数组形式
- function setDocNames() {
- $("#fileListPre").find("input[id$='DocUrl']").each(function (i, item) {
- $(this).attr("name", "fileDowns[" + i + "].file_id");
- });
- }
- function audit(status) {
- $("#status").val(status);
- //5:合规性审查,审核意见必填
- //所有审核意见必填-2018-06-04
- //if(status == 4 || status == 6 || status == 5){
- //退回、不通过审核意见必填
- if ($.trim($("#approval_comment").val()) == "") {
- errorMessage('请填写审核意见!');
- return false;
- }
- //}
- if ($('#IsShow option:selected').val() == '' && $("#statu").val() == 4) {
- errorMessage('请选择是否重大项目!');
- return false;
- }
- $("#form-land-approve").submit();
- }
- $(function () {
- $("#form-land-approve").validate({
- rules: {},
- messages: {},
- onkeyup: false,
- focusCleanup: true,
- success: "valid",
- submitHandler: function (form) {
- // $(form).find(":submit").attr("disabled", true);
- setDocNames();
- $(form).ajaxSubmit({
- type: 'post',
- url: pagePath + "/areaManager/submit",
- dataType: "json",
- success: function (data) {
- if (data.success) {
- succeedMessage(data.message);
- setTimeClose();
- } else {
- // $(form).find(":submit").attr("disabled", false);
- errorMessage(data.message);
- }
- },
- error: function () {
- errorMessage('系统错误!');
- }
- });
- return false; // 非常重要,如果是false,则表明是不跳转,在本页上处理,也就是ajax,如果是非false,则传统的form跳转。
- }
- });
- });
- function addFileLine(divId) {
- var length = $("#" + divId).find(".add_file_line tr").length;
- 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(".uploadFileName").val("").end()
- .find(".uploadFileId").removeAttr("name").attr("name", divId + "[" + length + "].fileDown.file_id").val("").end()
- .find(".icon_font").html(html).end();
- $('#layui-layer2').height(48);
- }
- function removeLine(obj) {
- $(obj).parent().parent().remove();
- setDocName1();//重新设一下fileId域名称,不然顺序会乱掉,或出现两个相同的name
- }
- function deleteFile(obj) {
- $(obj).parent().parent()
- .find(".uploadFileName").val("").end()
- .find(".uploadFileId").val("").end();
- }
- //修改上传文件的fileId域名称
- function setDocName1() {
- $("#mipMaterials").find(".uploadFileId").each(function (i, item) {
- $(this).attr("name", "otherMaterials[" + i + "].fileDown.file_id");
- });
- }
- //添加相应name的文件
- function addFileByName(url, obj) {
- var name = $(obj).next().attr("name");
- url += "?fileIdName=" + name;
- layer_show('添加文件', pagePath + url, 800, 350);
- }
- function isShow() {
- var s = $('#IsShow option:selected').val();
- $("#is_zdxm").val(s);
- if (s == 1) {
- $("#zdtzxm").css({"display": "inline"});
- } else {
- $("#zdtzxm").css({"display": "none"});
- }
- }
- $(function () {
- //initPhaseProgressGraph();
- //查看完整意见
- $(".viewComment").on("click", function () {
- layer.alert(
- $(this).attr('data'),
- {area: ['800px', '500px']}
- )
- });
- });
- function initPhaseProgressGraph() {
- var list = [[${processNodesList}]]
- var is_reject = false;
- var html = '';
- var index = 0;
- for (var i = 0; i < list.length; i++) {
- index += 1;
- html += '<li data-step="1" class="' + (list[i].is_reject ? 'red' : '') + '"><span class="step">' + index + '</span><span class="title">' + list[i].node_item.name + '</span></li>';
- }
- $("#phaseGraph").html(html);
- if ($(".steps li").length == 1) {
- $(".steps li").addClass("one");
- } else {
- $(".steps li").eq($(".steps li").length - 1).addClass("end");
- }
- }
- </script>
- </body>
- </html>
|