| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <!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>
-
- .conditionInput {
- width:250px;
- }
- .conditionDate {
- width:150px;
- }
- </style>
- </head>
- <body layout:fragment="content">
- <nav class="breadcrumb" th:action="@{/projectApplication/declaration/list}" th:method="post">
- <i class="Hui-iconfont"></i>
- 首页
- <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="@{/projectApplication/declaration/list}" th:method="get" >
- <div class="page-container">
- <div class="clearfix">
- <label>项目名称:</label>
- <input type="text" class="input-text conditionInput" placeholder="请输入项目名称查询" id="projectName" name="projectName" th:value="${projectName}"/>
- <label >申报开始日期:</label>
- <input type="text" class="input-text conditionDate" id="startTime1" name="startTime1" th:value="${startTime1}"/>
- <label> - </label>
- <input type="text" class="input-text conditionDate" th:id="startTime2" th:name="startTime2" th:value="${startTime2}"/>
- <label>申报截止日期:</label>
- <input type="text" class="input-text conditionDate" th:id="endTime1" th:name="endTime1" th:value="${endTime1}"/>
- <label> - </label>
- <input type="text" class="input-text conditionDate" th:id="endTime2" th:name="endTime2" th:value="${endTime2}"/>
- <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="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="width:0px;"></th>-->
- <!-- <th style="width:150px;">项目来源</th>
- <th style="width:150px;">项目大类</th> -->
- <th style="width:150px;">项目名称</th>
- <th style="width:150px;">申报开始日期</th>
- <th style="width:150px;">申报截止日期</th>
- <th style="width:150px;">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
-
- <!-- <td th:text="*{project_source_name}"></td>
- <td th:text="*{project_super_type_name}"></td> -->
- <td th:text="*{project_name}" class="text-overflow" th:title="*{project_name}"></td>
- <td th:text="*{apply_startdate}"></td>
- <td th:text="*{apply_enddate}"></td>
- <td class="td-manage">
- <a title="详情"
- th:onclick="'javascript:open_dialog(\'详情\',\'/projectDeclaration/detail/'+*{id}+'\');'"
- class="ml-5" style="text-decoration:none">详情</a>
- <a title="项目申报" th:if="*{canApply==true}"
- th:onclick="'javascript:open_dialog(\'项目申报\',\'/projectApplication/add/'+*{id}+'\');'"
- class="ml-5" style="text-decoration:none">项目申报</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">
- laydate.render({
- elem: '#startTime1', //指定元素
- //min: 0,
- format: 'yyyy-MM-dd',
- type: 'date'
- });
- laydate.render({
- elem: '#startTime2', //指定元素
- //min: 0,
- format: 'yyyy-MM-dd',
- type: 'date'
- });
- laydate.render({
- elem: '#endTime1', //指定元素
- //min: 0,
- format: 'yyyy-MM-dd',
- type: 'date'
- });
- laydate.render({
- elem: '#endTime2', //指定元素
- //min: 0,
- format: 'yyyy-MM-dd',
- type: 'date'
- });
-
- function open_dialog(title, url, w, h) {
- var index = layer_show(title, pagePath+url, w, h);
- //默认全屏
- layer.full(index);
- }
- </script>
- </body>
- </html>
|