| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <!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/list}" th:method="post">
- <i class="Hui-iconfont"></i>
- 首页
- <span th:unless="${is_label}" class="c-gray en">> 我的申报项目</span>
- <input type="hidden" id="project_year_date"th:value="${searchCondition.project_year}"/>
- <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/list}" th:method="get" >
- <div class="page-container">
- <div class="clearfix">
- <span class="select-box" style="width:140px;">
- <select class="select" th:name="project_year" id="project_year" onchange="changeProjectByYear()">
- <option value="">-- 请选择年份 --</option>
- </select>
- </span>
- <span class="select-box conditionInput" >
- <select class="select" th:name="project_type" id="project_type" >
- <option value="" >-- 请选择项目类别 --</option>
- <option th:each="item : ${projectTypeList}" th:value="${item.id}"
- th:text="${item.type_name}" th:selected = "${searchCondition.project_type}==${item.id}">
- </option>
- </select>
- </span>
- <label>项目名称:</label>
- <input type="text" class="input-text conditionInput" placeholder="请输入项目名称查询" id="project_name" name="project_name" th:value="${searchCondition.project_name}"/>
- <label>申请日期:</label>
- <input type="text" class="input-text conditionDate" id="startTime" name="startTime" th:value="${searchCondition.startTime}"/>
- <label> - </label>
- <input type="text" class="input-text conditionDate" th:id="endTime" th:name="endTime" th:value="${searchCondition.endTime}"/>
- <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">
- <a th:onclick="'javascript:open_dialog(\'项目申报\',\'/projectApplication/add/0'+'\');'"
- class="btn btn-primary radius"><i class="Hui-iconfont"></i> 项目申报</a>
- </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="width:0px;"></th>-->
- <th>申请单号</th>
- <th>申报项目</th>
- <th>项目来源</th>
- <th>项目大类</th>
- <th>项目类别</th>
- <th>申请日期</th>
- <th>单据状态</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
- <td th:text="*{apply_no}"></td>
- <td th:text="*{project_name}"></td>
- <td th:text="*{project_source_name}"></td>
- <td th:text="*{project_super_type_name}"></td>
- <td th:text="*{project_type_name}"></td>
- <td th:text="*{apply_date}"></td>
- <td th:text="*{apply_status_name}"></td>
- <td class="td-manage">
- <a title="查看"
- th:onclick="'javascript:open_dialog(\'查看\',\'/projectApplication/check/'+*{id}+'\',\'800\',\'400\');'"
- class="ml-5" style="text-decoration:none">查看</a>
- <a th:if="*{canEdit}" title="编辑"
- th:onclick="'javascript:open_dialog(\'编辑\',\'/projectApplication/edit/'+*{id}+'\',\'800\',\'400\');'"
- class="ml-5" style="text-decoration:none">编辑</a>
- <a th:if="*{canDelete}" title="删除"
- th:onclick="'javascript:apply_delete(\'/projectApplication/delete/'+*{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/company/project_application/apply_list.js}"></script>
- <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
- <script th:inline="javascript">
- /*laydate.render({
- elem: '#startTime', //指定元素
- //min: 0,
- format: 'yyyy-MM-dd',
- type: 'date',
- //showBottom: false
- });
- laydate.render({
- elem: '#endTime', //指定元素
- //min: 0,
- format: 'yyyy-MM-dd',
- type: 'date',
- //showBottom: false
- });
- */
- </script>
- </body>
- </html>
|