| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 |
- <!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>
- .select-box, input, label {
- float: left;
- margin-bottom: 10px;
- height: 30px;
- margin-right: 10px;
- }
- label {
- line-height: 30px;
- }
- .dateform {
- float: left;
- width: 120px;
- }
- .datelabel {
- float: left;
- width: 85px;
- margin-left: 10px;
- }
- </style>
- </head>
- <body layout:fragment="content">
- <nav class="breadcrumb" th:action="@{/land_supply/list/{type}(type=${type})}" 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="@{/land_supply/list/{type}(type=${type})}" th:method="post">
- <div class="page-container">
- <div class="text-c">
- <div class="row clearfix">
- <div>
- <label class="datelabel">项目标题:</label>
- <input style="width:200px;" type="text" class="input-text dateform" placeholder="请输入项目标题"
- id="title"
- name="title" th:value="${param.title}"/>
- </div>
- <div>
- <label class="datelabel">项目用地:</label>
- <input style="width:200px;" type="text" class="input-text dateform" placeholder="请输入项目用地"
- id="location"
- name="location" th:value="${param.location}"/>
- </div>
- <span class="select-box" style="width:190px;">
- <select class="select" th:name="approve_status" id="approve_status">
- <option value="">-- 请选择项目状态 --</option>
- <option th:each="item : ${statusList}" th:value="${item.value}" th:text="${item.name}"
- th:selected="${item.value} == ${approve_status}">
- </option>
- </select>
- </span>
- <span class="select-box" style="width:190px;">
- <select class="select" th:name="process_stage" id="process_stage">
- <option value="">-- 请选择项目阶段 --</option>
- <option th:each="item : ${stageList}" th:value="${item.value}" th:text="${item.name}"
- th:selected="${process_stage eq item.value}">
- </option>
- </select>
- </span>
- <input type="button" value="搜索" class="btn btn-primary" onclick="$('#myForm').submit();">
- </div>
- </div>
- <div class="cl pd-5 bg-1 bk-gray mt-20">
- <span class="l">
- <th:block th:if="${type=='1'}">
- <a th:onclick="'javascript:jump_to(\'新增\',\'/land_supply/add\',\'1000\',\'500\');'"
- th:if="*{canAdd}"
- class="btn btn-primary radius"><i class="Hui-iconfont"></i> 新增</a>
- </th:block>
- </span>
- <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">54</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="">编号</th>
- <th style="">项目标题</th>
- <th style="">项目用地</th>
- <th style="">受理日期</th>
- <th style="">项目阶段</th>
- <th style="">项目状态</th>
- <th style="">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
- <td th:text="*{no}"></td>
- <td th:text="*{title}" class="text-overflow" th:title="*{title}"></td>
- <td th:text="*{location}" class="text-overflow" th:title="*{location}"></td>
- <td th:text="*{accept_date}"></td>
- <td th:text="*{process_stage_desc}"></td>
- <td th:text="*{approve_status_desc}"></td>
- <td class="td-manage">
- <a title="详情" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'详情\',\'/land_supply/detail/'+*{id}+'\');'">详情</a>
- <th:block th:if="${type=='1'}">
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'0')}">
- <a title="编辑" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'编辑\',\'/land_supply/edit/'+*{id}+'\');'"
- th:if="*{approve_status=='1' || approve_status=='3' || approve_status=='4' || approve_status=='5' || approve_status=='9'}">编辑</a>
- </th:block>
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'1')}">
- <th:block th:if="*{user_type=='0'}">
- <a title="编辑" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'编辑\',\'/land_supply/edit/'+*{id}+'\');'"
- th:if="*{approve_status=='1' || approve_status=='3' || approve_status=='4' || approve_status=='5' || approve_status=='9' || approve_status=='12'}">编辑</a>
- </th:block>
- <th:block th:if="*{user_type=='4'}">
- <a title="编辑" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'编辑\',\'/land_supply/commerce_approve/'+*{id}+'\');'"
- th:if="*{approve_status=='1' || approve_status=='3' || approve_status=='4' || approve_status=='5' || approve_status=='9' || approve_status=='12'}">编辑</a>
- </th:block>
- <a title="审核" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'审核\',\'/land_supply/commerce_approve/'+*{id}+'\');'"
- th:if="*{approve_status=='2'}">审核</a>
- <a title="撤回咨询" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'撤回咨询\',\'/land_supply/feedback_withdraw/'+*{id}+'\');'"
- th:if="*{approve_status=='6'}">撤回咨询</a>
- <a title="咨询汇总" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'咨询汇总\',\'/land_supply/summary/'+*{id}+'\');'"
- th:if="*{approve_status=='7'}">咨询汇总</a>
- <a title="追加咨询" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'追加咨询\',\'/land_supply/feedback_append/'+*{id}+'\');'"
- th:if="*{approve_status=='6' || approve_status=='7'}">追加咨询</a>
- <a title="查看行政审批局反馈" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'查看行政审批局反馈\',\'/land_supply/xingzheng_feedback_view/'+*{id}+'\');'"
- th:if="*{gs_feedback=='0'}">查看行政审批局反馈</a>
- </th:block>
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'3')}">
- <a title="预审审批" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'预审审批\',\'/land_supply/pre_approve/'+*{id}+'\');'"
- th:if="*{approve_status=='8'}">预审审批</a>
- </th:block>
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'2')}">
- <a title="咨询反馈" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'咨询反馈\',\'/land_supply/feedback/'+*{id}+'\');'"
- th:if="*{approve_status=='6'}">咨询反馈</a>
- </th:block>
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'4')}">
- <a title="预审审批" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'预审审批\',\'/land_supply/pre_approve/'+*{id}+'\');'"
- th:if="*{approve_status=='11'}">预审审批</a>
- <a title="供地审批" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'供地审批\',\'/land_supply/land_approve/'+*{id}+'\');'"
- th:if="*{approve_status=='17'}">供地审批</a>
- </th:block>
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'5')}">
- <a title="分发反馈" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'分发反馈\',\'/land_supply/distribute_feedback/'+*{id}+'\');'"
- th:if="*{approve_status=='15'}">分发反馈</a>
- </th:block>
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'6')}">
- <a title="反馈商务局" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'反馈商务局\',\'/land_supply/xingzheng_feedback/'+*{id}+'\');'"
- th:if="*{process_stage=='2' && (approve_status!='18'||approve_status!='19')}">反馈商务局</a>
- </th:block>
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'7')}">
- <a title="分发" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'分发\',\'/land_supply/distribute/'+*{id}+'\');'"
- th:if="*{approve_status=='14'}">分发</a>
- <a title="编辑" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'编辑\',\'/land_supply/distribute/'+*{id}+'\');'"
- th:if="*{approve_status=='20'}">编辑</a>
- <a title="分发汇总" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'分发汇总\',\'/land_supply/distribute_summary/'+*{id}+'\');'"
- th:if="*{approve_status=='16'}">分发汇总</a>
- <a title="最终信息" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'最终信息\',\'/land_supply/land_approve/'+*{id}+'\');'"
- th:if="*{approve_status=='18'}">最终信息</a>
- </th:block>
- <th:block th:if="${userType}==*{user_type}">
- <a title="删除" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:deleteProject(\''+*{id}+'\');'"
- th:if="*{approve_status=='1' || approve_status=='3' || approve_status=='4' || approve_status=='5'}">删除</a>
- </th:block>
- </th:block>
- <th:block th:if="${type=='2'}">
- <a title="撤回" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:if="*{approve_status=='2'}"
- th:onclick="'javascript:withdrawApply(\''+*{id}+'\');'">撤回</a>
- <th:block th:if="${#strings.containsIgnoreCase(userGroupType,'1')}">
- <a title="查看行政审批局反馈" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:jump_to(\'查看行政审批局反馈\',\'/land_supply/xingzheng_feedback_view/'+*{id}+'\');'"
- th:if="*{gs_feedback=='0'}">查看行政审批局反馈</a>
- </th:block>
- </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 jump_to(title, url, w, h) {
- var index = layer_show(title, pagePath + url, w, h);
- layer.full(index);
- }
- /*删除*/
- function deleteProject(id) {
- layer.confirm('确认要删除吗?', function (index) {
- $.ajax({
- type: "GET",
- dataType: "json",
- url: pagePath + "/land_supply/delete/" + id,
- success: function (result) {
- if (result.success) {
- smileMessage(result.message)
- setTime();
- } else {
- errorMessage(result.message);
- }
- },
- error: function () {
- errorMessage('系统错误!');
- }
- });
- });
- }
- /*撤回*/
- function withdrawApply(id) {
- layer.confirm('确认要撤回吗?', function (index) {
- $.ajax({
- type: "GET",
- dataType: "json",
- url: pagePath + "/land_supply/withdraw_apply/" + id,
- success: function (result) {
- if (result.success) {
- smileMessage(result.message)
- setTime();
- } else {
- errorMessage(result.message);
- }
- },
- error: function () {
- errorMessage('系统错误!');
- }
- });
- });
- }
- </script>
- </body>
- </html>
|