From 5eff686e04c7395c2ff75b0861507d3ec15b0c3e Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期三, 24 十二月 2025 10:58:20 +0800
Subject: [PATCH] ai事件、智能抓拍修改
---
fzzy-igdss-web/src/main/resources/templates/security/snap/snapRecord/snapRecord.html | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/fzzy-igdss-web/src/main/resources/templates/security/snap/snapRecord/snapRecord.html b/fzzy-igdss-web/src/main/resources/templates/security/snap/snapRecord/snapRecord.html
index 318cc3d..7d31c5e 100644
--- a/fzzy-igdss-web/src/main/resources/templates/security/snap/snapRecord/snapRecord.html
+++ b/fzzy-igdss-web/src/main/resources/templates/security/snap/snapRecord/snapRecord.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
@@ -8,7 +8,7 @@
<th:block th:include="include :: header('鏅鸿兘鎶撴媿')"/>
<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" />
+ <th:block th:include="include :: select2-css"/>
</head>
<body class="gray-bg">
<div class="container-div">
@@ -19,9 +19,10 @@
<div class="select-list">
<ul>
<li>
- 鏀跺偍鍏徃锛�<select class="form-control" name="key">
+ 鏀跺偍鍏徃锛�<select class="form-control" name="key">
<option value="">鎵�鏈�</option>
- <option th:each="company : ${companyList}" th:value="${company.id}" th:text="${company.dwmc}">
+ <option th:each="company : ${companyList}" th:value="${company.id}"
+ th:text="${company.dwmc}">
</option>
</select>
</li>
@@ -32,11 +33,16 @@
</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"/>
+ <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"/>
+ <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
@@ -101,11 +107,12 @@
<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>-->
+ <!-- <span th:text="${snapRecord.deptId}"></span>-->
<th:block th:with="matchedDept=${deptList.?[id == #root.snapRecord.deptId]}">
<!-- 濡傛灉鏈夊尮閰嶉」锛屾樉绀虹涓�涓尮閰嶇殑鎽勫儚澶村悕绉� -->
<th:block th:if="${!#lists.isEmpty(matchedDept)}">
@@ -141,9 +148,10 @@
</div>
<th:block th:include="include :: footer"/>
<script th:src="@{/ajax/libs/layui/layui.js}"></script>
-<th:block th:include="include :: select2-js" />
+<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}]];
--
Gitblit v1.9.3