| | |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="renderer" content="webkit"> |
| | | <th:block th:include="include :: header('智能抓拍')"/> |
| | | <link rel="stylesheet" type="text/css" th:href="@{/ajax/libs/layui-ruoyi/css/layui.css}"/> |
| | | <link rel="stylesheet" type="text/css" th:href="@{/ajax/libs/layui/css/layui.css}"/> |
| | | <link rel="stylesheet" th:href="@{/security/snap/snapRecord-style.css}"> |
| | | <th:block th:include="include :: select2-css"/> |
| | | </head> |
| | | <body class="gray-bg"> |
| | | <div class="container-div"> |
| | |
| | | <form id="snapRecord-form"> |
| | | <div class="select-list"> |
| | | <ul> |
| | | <li class="select-time"> |
| | | <label style="width: 100px">抓拍时间: </label> |
| | | <input type="text" class="time-input" id="start" placeholder="开始时间" name="start"/> |
| | | <span>-</span> |
| | | <input type="text" class="time-input" id="end" placeholder="结束时间" name="end"/> |
| | | <li> |
| | | 收储公司:<select class="form-control" name="key"> |
| | | <option value="">所有</option> |
| | | <option th:each="company : ${companyList}" th:value="${company.id}" |
| | | th:text="${company.dwmc}"> |
| | | </option> |
| | | </select> |
| | | </li> |
| | | <li> |
| | | 标签:<input type="text" name="key"/> |
| | | 所选库区:<select class="form-control" name="deptId"> |
| | | <option value="">所有</option> |
| | | <option th:each="dept : ${deptList}" th:value="${dept.id}" th:text="${dept.kqmc}"> |
| | | </option> |
| | | </select> |
| | | </li> |
| | | <li th:if="${viewType == '1'}"> |
| | | 标签:<input type="text" name="name" placeholder="请输入标签"> |
| | | </li> |
| | | <li class="select-time"> |
| | | <label style="width: 100px">抓拍时间:</label> |
| | | <input type="text" class="time-input" style="width: 120px;" id="start" |
| | | placeholder="开始时间" name="start"/> |
| | | <span>-</span> |
| | | <input type="text" class="time-input" style="width: 120px;" id="end" placeholder="结束时间" |
| | | name="end"/> |
| | | </li> |
| | | <li> |
| | | <a class="btn btn-primary btn-rounded btn-sm" onclick="searchRecord()"><i |
| | |
| | | </form> |
| | | <div class="btn-group-sm" role="group"> |
| | | <a class="btn btn-success" onclick="openConf()"> |
| | | <i class="fa fa-plus"></i> 抓拍配置 |
| | | <i class="fa fa-plus"></i> 库区配置 |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="col-sm-12 " style="padding-top: 10px;"> |
| | | <div class="col-sm-12 " style="padding-top: 10px;background: #FFFFFF;margin-top: 10px;"> |
| | | <!-- 图片网格 --> |
| | | <div class="gallery-grid" id="gallery-container"> |
| | | <!-- 图片为空时显示 --> |
| | |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | <div class="meta-item" style="width: 50%"> |
| | | <i class="layui-icon layui-icon-date"></i> |
| | | <span th:text="${snapRecord.snapTime != null ? #dates.format(snapRecord.snapTime, 'yyyy-MM-dd HH:mm') : '无时间'}"></span> </div> |
| | | <span th:text="${snapRecord.snapTime != null ? #dates.format(snapRecord.snapTime, 'yyyy-MM-dd HH:mm') : '无时间'}"></span> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="meta-item">--> |
| | | <!-- <i class="layui-icon layui-icon-home"></i>--> |
| | | <!-- <span th:text="${snapRecord.deptId}"></span>--> |
| | | <!-- </div>--> |
| | | <div class="meta-item"> |
| | | <i class="layui-icon layui-icon-home"></i> |
| | | <!-- <span th:text="${snapRecord.deptId}"></span>--> |
| | | <th:block th:with="matchedDept=${deptList.?[id == #root.snapRecord.deptId]}"> |
| | | <!-- 如果有匹配项,显示第一个匹配的摄像头名称 --> |
| | | <th:block th:if="${!#lists.isEmpty(matchedDept)}"> |
| | | <span th:text="${matchedDept[0].kqmc}"></span> |
| | | </th:block> |
| | | <!-- 如果没有匹配项,显示原始ID --> |
| | | <th:block th:if="${#lists.isEmpty(matchedDept)}"> |
| | | <span th:text="${snapRecord.deptId}"></span> |
| | | </th:block> |
| | | </th:block> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <th:block th:include="include :: footer"/> |
| | | <script th:src="@{/ajax/libs/layui-ruoyi/layui.js}"></script> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <th:block th:include="include :: select2-js"/> |
| | | <script th:src="@{/security/snap/snapRecord.js}"></script> |
| | | <script th:inline="javascript"> |
| | | var viewType = [[${viewType}]]; |
| | | var cameraList = [[${cameraList}]]; |
| | | var deptList = [[${deptList}]]; |
| | | var companyList = [[${companyList}]]; |
| | | var currentPage = [[${currentPage}]]; |
| | | var totalItems = [[${totalItems}]]; |
| | | var pageSize = [[${pageSize}]]; |