| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <!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="@{/retreatOpt/index}" th:method="get">
- <div class="page-container">
- <div style="text-align: center;">
- <span class="select-box" style="width:200px; margin-right: 20px;">
- <select class="select" th:name="type" id="type" placeholder="请选择项目来源">
- <option value="">-- 请选择项目来源 --</option>
- <option th:value="1" th:text="每年度初上报材料" th:selected="1==${condition.type}"></option>
- <option th:value="2" th:text="季度进展情况" th:selected="2==${condition.type}"></option>
- <option th:value="3" th:text="项目完成上报材料" th:selected="3==${condition.type}"></option>
- <option th:value="4" th:text="需提交会办材料" th:selected="4==${condition.type}"></option>
- </select>
- </span>
- <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:200px; margin-right: 20px;" th:if="${userType}==0">
- <select class="select" th:name="is_read" id="is_read" placeholder="请选择查看状态">
- <option value="">-- 请选择查看状态 --</option>
- <option th:value="0" th:text="未读" th:selected="0==${condition.is_read}"></option>
- <option th:value="1" th:text="已读" th:selected="1==${condition.is_read}"></option>
- </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>
- </select>
- </span>
- <input style="width:200px;" type="text" class="input-text" placeholder="请输入编号"
- id="no" name="no" th:value="${condition.no}"/>
- <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">
- <a th:onclick="'javascript:add(\'新增\',\'/retreatOpt/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 style="width:135px;">类型</th>
- <th style="width:100px;">板块</th>
- <th style="width:100px;">提交日期</th>
- <th style="width:100px;" th:if="${userType}==0">查看状态</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="*{no}" class="text-overflow" th:title="*{no}"></td>
- <td th:if="*{type==1}">每年度初上报材料</td>
- <td th:if="*{type==2}">季度进展情况</td>
- <td th:if="*{type==3}">项目完成上报材料</td>
- <td th:if="*{type==4}">需提交会办材料</td>
- <td th:text="*{plateName}" class="text-overflow"></td>
- <td th:text="*{commit_time}"></td>
- <td th:if="*{is_read==false} and ${userType}==0">未读</td>
- <td th:if="*{is_read==true} and ${userType}==0">已读</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 class="td-manage">
- <!--<a th:if="${userType}==0" title="查看" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:projectDetail(\'查看\',\'/retreatOpt/detail/'+*{id}+'\');'">查看</a>-->
- <a title="详情" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:projectDetail(\'详情\',\'/retreatOpt/detail/'+*{id}+'\');'">详情</a>
- <a th:if="*{canEdit}==true and *{status}==2" title="编辑" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:editProject(\'编辑\',\'/retreatOpt/edit/'+*{id}+'\');'">编辑</a>
- <a th:if="${userType}==4 and *{canAudit}==true " title="审核" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:editProject(\'审核\',\'/retreatOpt/audit/'+*{id}+'\');'">审核</a>
- <a th:if="${userType}==0 and *{canAudit}==true " title="待确认" href="javascript:;" class="ml-5" style="text-decoration:none"
- th:onclick="'javascript:editProject(\'审核\',\'/retreatOpt/audit/'+*{id}+'\');'">待确认</a>
- </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);
- }
- </script>
- </body>
- </html>
|