| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <!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>
- .dateform {
- float: left;
- width: 120px;
- }
- .datelabel {
- float: left;
- width: 120px;
- }
- </style>
- </head>
- <body layout:fragment="content">
- <nav class="breadcrumb" th:action="@{/government/projectProvinces/index}" th:method="post">
- <i class="Hui-iconfont"></i>
- 政府服务管理
- <span th:unless="${is_label}" class="c-gray en">> 产业用地预审管理</span>
- <span th:unless="${is_label}" class="c-gray en">> 列表</span>
- <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
- href="javascript:location.replace(location.href);" title="刷新">
- <i class="Hui-iconfont"></i>
- </a>
- </nav>
- <form id="myForm" th:action="@{'/industrialLand/index/'+${pageType}}" th:method="get">
- <div class="page-container">
- <div style="text-align: center;">
- <span class="select-box" style="width:200px; margin-right: 20px;" th:if="${userType}==0">
- <select class="select" th:name="street_id" id="street_id" placeholder="请选择板块">
- <option value="">-- 请选择板块 --</option>
- <option th:each="item : ${streetList}" th:value="${item.id}" th:text="${item.name}"
- th:selected="${condition.street_id==item.id}">
- </select>
- </span>
- <span class="select-box" style="width:150px; margin-right: 20px;">
- <select class="select" th:name="status" id="status" placeholder="请选择状态">
- <option value="">-- 请选择状态 --</option>
- <option th:value="1" th:text="材料申报" th:selected="1==${condition.status}"></option>
- <option th:value="2" th:text="项目评审" th:selected="2==${condition.status}"></option>
- <option th:value="3" th:text="项目认定" th:selected="3==${condition.status}"></option>
- <option th:value="4" th:text="退回" th:selected="4==${condition.status}"></option>
- <option th:value="5" th:text="不通过" th:selected="5==${condition.status}"></option>
- <option th:value="6" th:text="通过" th:selected="6==${condition.status}"></option>
- </select>
- </span>
- <input style="width:200px;" type="text" class="input-text" placeholder="请输入投资主体名称"
- id="investment_subject" name="investment_subject" th:value="${condition.investment_subject}"/>
- <input style="width:200px;" type="text" class="input-text" placeholder="请输入法人姓名"
- id="legal_representative" name="legal_representative" th:value="${condition.legal_representative}"/>
- <input style="width:200px;" type="text" class="input-text" placeholder="请输入联系人姓名"
- id="contact" name="contact" th:value="${condition.contact}"/>
- <input type="button" value="搜索" class="btn btn-primary" onclick="$('#myForm').submit();">
- </div>
- <div class="cl pd-5 bg-1 bk-gray mt-20">
- <span class="l" th:if="${userType}==4 and ${pageType} == apply">
- <a th:onclick="'javascript:add(\'新增\',\'/industrialLand/add\',\'1000\',\'500\');'"
- class="btn btn-primary radius"><i class="Hui-iconfont"></i> 新增</a>
- </span>
- <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">0</strong> 条</span>
- </div>
- <!-- 表格 -->
- <table id="index" class="table table-border table-bordered table-bg table-hover"
- style="table-layout: fixed;width:100%;">
- <thead>
- <tr class="text-c">
- <th style="width:135px;">编号</th>
- <th th:if="${userType}==0" style="width:100px;">所属板块</th>
- <th style="width:100px;">投资主体名称</th>
- <th style="width:100px;">法人姓名</th>
- <th style="width:100px;">联系人姓名</th>
- <th style="width:100px;">状态</th>
- <th style="width:100px;">提交日期</th>
- <th style="width:200px;">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
- <td th:text="*{apply_no}" class="text-overflow" th:title="*{apply_no}"></td>
- <td th:if="${userType}==0" th:text="*{streetName}" class="text-overflow"></td>
- <td th:text="*{investment_subject}" class="text-overflow" th:title="*{investment_subject}"></td>
- <td th:text="*{legal_representative}" class="text-overflow" th:title="*{legal_representative}"></td>
- <td th:text="*{contact}" class="text-overflow" th:title="*{contact}"></td>
- <td th:if="*{status==1}">材料申报</td>
- <td th:if="*{status==2}">项目评审</td>
- <td th:if="*{status==3}">项目认定</td>
- <td th:if="*{status==4}">退回</td>
- <td th:if="*{status==5}">不通过</td>
- <td th:if="*{status==6}">通过</td>
- <td th:if="*{status==7}">待分发</td>
- <td th:text="*{create_time}"></td>
- <td class="td-manage">
- <a title="详情" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:projectDetail(\'详情\',\'/industrialLand/detail/'+*{id}+'\');'">详情</a>
- <th:block th:if="${pageType}=='apply'">
- <a th:if="${userType}==4 and *{status}==4" title="编辑" href="javascript:;" class="ml-5"
- style="text-decoration:none"
- th:onclick="'javascript:editProject(\'编辑\',\'/industrialLand/edit/'+*{id}+'\');'">编辑</a>
- </th:block>
- <th:block th:if="${pageType}=='audit'">
- <a th:if="*{canAudit}==true" title="审核" href="javascript:;" class="ml-5"
- style="text-decoration:none"
- th:onclick="'javascript:editProject(\'审核\',\'/industrialLand/audit/'+*{id}+'\');'">审核</a>
- <!--<a th:if=" *{canAudit}==true " title="审核" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:editProject(\'审核\',\'/industrialLand/audit/'+*{id}+'\');'">审核(带草稿)</a>-->
- <a th:if=" *{status}==7" title="待分发" href="javascript:;" class="ml-5"
- style="text-decoration:none"
- th:onclick="'javascript:editProject(\'分发\',\'/industrialLand/audit/'+*{id}+'\');'">分发</a>
- </th:block>
- <th:block th:if="${pageType}=='done'">
- <a th:if=" *{canWithdraw}==1" title="撤回" href="javascript:;" class="ml-5"
- style="text-decoration:none"
- th:onclick="'javascript:withdraw(\''+*{id}+'\');'">撤回</a>
- </th:block>
- </td>
- </tr>
- </tbody>
- </table>
- <div th:replace="admin/common/page :: page"></div>
- </div>
- </form>
- <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
- <script th:inline="javascript">
- //添加
- function add(title, url, w, h) {
- sessionStorage.removeItem("hidden_array");
- var index = layer_show(title, pagePath + url, w, h);
- layer.full(index);
- }
- /*详情*/
- function projectDetail(title, url, w, h) {
- var index = layer_show(title, pagePath + url, w, h);
- layer.full(index);
- }
- /*编辑*/
- function editProject(title, url, w, h) {
- sessionStorage.removeItem("hidden_array");
- var index = layer_show(title, pagePath + url, w, h);
- layer.full(index);
- }
- /*撤回*/
- function withdraw(id) {
- layer.confirm('确认要撤回吗?', function (index) {
- $.ajax({
- type: "GET",
- dataType: "json",
- url: pagePath + "/industrialLand/withdraw/" + id,
- success: function (result) {
- if (result.success) {
- smileMessage(result.message)
- setTime();
- } else {
- errorMessage(result.message);
- }
- },
- error: function () {
- errorMessage('系统错误!');
- }
- });
- });
- }
- </script>
- </body>
- </html>
|