| | |
| | | <div class="row"> |
| | | <div class="col-sm-12 search-collapse"> |
| | | <form id="formId"> |
| | | <div class="select-list"> |
| | | |
| | | <!-- 条件表达式 --> |
| | | <div th:if="${type}=='3'" class="select-list"> |
| | | <ul> |
| | | <li> |
| | | <p>资料名称:</p> |
| | | <input type="text" name="name"/> |
| | | </li> |
| | | <li> |
| | | <p>资料类型:</p> |
| | | <select name="dataType" th:with="type=${@dict.getType('project_data_type')}"> |
| | | <option value="">所有</option> |
| | | <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
| | | </select> |
| | | </li> |
| | | <li> |
| | | <p>文件类型:</p> |
| | | <p>业务类型:</p> |
| | | <select name="fileType" th:with="type=${@dict.getType('project_data_file_type')}"> |
| | | <option value="">所有</option> |
| | | <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
| | |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | <!-- 条件表达式 --> |
| | | <div th:if="${type}!='3'" class="select-list"> |
| | | <ul> |
| | | <li> |
| | | <p>资料名称:</p> |
| | | <input type="text" name="name"/> |
| | | </li> |
| | | <li> |
| | | <p>标签:</p> |
| | | <input type="text" name="labels"/> |
| | | </li> |
| | | <li> |
| | | <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a> |
| | | <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | |
| | | </form> |
| | | </div> |
| | | |
| | |
| | | { |
| | | field : 'name', |
| | | title : '资料名称' |
| | | }, |
| | | { |
| | | field : 'dataType', |
| | | title : '资料类型', |
| | | formatter: function(value, row, index) { |
| | | return $.table.selectDictLabel(dataTypeDatas, value); |
| | | } |
| | | }, |
| | | { |
| | | field : 'fileType', |