From 1fdfbf546f16ed346ebde4d3a25619f089f217da Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期四, 26 二月 2026 11:07:38 +0800
Subject: [PATCH] 出入库报表,时间检索生效字段调整;AI事件查询条件调整
---
fzzy-igdss-web/src/main/resources/templates/security/eventInfo.html | 47 ++++++++++++++++++++++-------------------------
1 files changed, 22 insertions(+), 25 deletions(-)
diff --git a/fzzy-igdss-web/src/main/resources/templates/security/eventInfo.html b/fzzy-igdss-web/src/main/resources/templates/security/eventInfo.html
index 2b8b546..85ddda1 100644
--- a/fzzy-igdss-web/src/main/resources/templates/security/eventInfo.html
+++ b/fzzy-igdss-web/src/main/resources/templates/security/eventInfo.html
@@ -8,7 +8,13 @@
<th:block th:include="include :: header('AI浜嬩欢绠$悊')"/>
<link rel="stylesheet" type="text/css" th:href="@{/ajax/libs/layui/css/layui.css}"/>
<link rel="stylesheet" th:href="@{/security/eventInfo/eventInfo-style.css}">
- <th:block th:include="include :: select2-css" />
+ <th:block th:include="include :: select2-css"/>
+ <style>
+ .select-list .select2-container--bootstrap {
+ width: 280px !important;
+ display: inline-block;
+ }
+ </style>
</head>
<body class="gray-bg">
<div class="container-div">
@@ -19,7 +25,7 @@
<div class="select-list">
<ul>
<li>
- 鏀跺偍鍏徃锛�<select class="form-control" name="key">
+ 鏀跺偍鍏徃锛�<select class="form-control" name="key">
<option th:each="company : ${companyList}" th:value="${company.id}"
th:text="${company.dwmc}"
th:selected="${company.id == defaultCompany}">
@@ -27,21 +33,23 @@
</select>
</li>
<li>
- 鎵�閫夊簱鍖猴細<select class="form-control" name="deptId">
- <option value="">鎵�鏈�</option>
- <option th:each="dept : ${deptList}" th:value="${dept.id}" th:text="${dept.kqmc}">
+ 鎵�閫夊簱鍖猴細<select class="form-control" name="deptId" >
+ <option th:each="dept : ${deptList}" th:value="${dept.id}" th:text="${dept.kqmc}"
+ th:selected="${dept.id == defaultDeptId}">
</option>
</select>
</li>
<li th:if="${viewType == '1'}" style="display: flex">
- <label>浜嬩欢鍚嶇О锛�</label>
- <input class="form-control" type="text" name="name" placeholder="璇疯緭鍏ヤ簨浠跺悕绉�">
+ <label>浜嬩欢鏍囩锛�</label>
+ <input class="form-control" type="text" name="name" placeholder="璇疯緭鍏ヤ簨浠舵爣绛�">
</li>
<li class="select-time">
- <label>浜嬩欢鏃堕棿锛� </label>
- <input type="text" class="time-input" style="width: 120px;" id="start" placeholder="寮�濮嬫椂闂�" name="start"/>
+ <label style="width: 100px">浜嬩欢鏃堕棿锛� </label>
+ <input type="text" class="time-input" style="width: 140px;" 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: 140px;" id="end" placeholder="缁撴潫鏃堕棿"
+ name="end"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="searchRecord()"><i
@@ -81,20 +89,11 @@
<div class="gallery-meta">
<div style="display: flex; align-items: center; gap: 15px;width: 100%">
- <div class="meta-item" style="width: 50%">
+ <div class="meta-item" style="min-width: 60%">
<i class="layui-icon layui-icon-video"></i>
- <th:block th:with="matchedCameras=${cameraList.?[id == #root.eventInfo.serId]}">
- <!-- 濡傛灉鏈夊尮閰嶉」锛屾樉绀虹涓�涓尮閰嶇殑鎽勫儚澶村悕绉� -->
- <th:block th:if="${!#lists.isEmpty(matchedCameras)}">
- <span th:text="${matchedCameras[0].name}"></span>
- </th:block>
- <!-- 濡傛灉娌℃湁鍖归厤椤癸紝鏄剧ず鍘熷ID -->
- <th:block th:if="${#lists.isEmpty(matchedCameras)}">
- <span th:text="${eventInfo.serId}"></span>
- </th:block>
- </th:block>
+ <span th:text="${eventInfo.serId}"></span>
</div>
- <div class="meta-item" style="width: 50%">
+ <div class="meta-item" style="min-width: 40%">
<i class="layui-icon layui-icon-date"></i>
<span th:text="${eventInfo.time != null ? #dates.format(eventInfo.time, 'yyyy-MM-dd HH:mm') : '鏃犳椂闂�'}"></span>
</div>
@@ -102,11 +101,9 @@
<div class="meta-item">
<i class="layui-icon layui-icon-component"></i>
<th:block th:with="matchedTypes=${bizTypeList.?[code == #root.eventInfo.bizType]}">
- <!-- 濡傛灉鏈夊尮閰嶉」锛屾樉绀虹涓�涓尮閰嶇殑鎽勫儚澶村悕绉� -->
<th:block th:if="${!#lists.isEmpty(matchedTypes)}">
<span th:text="${matchedTypes[0].msg}"></span>
</th:block>
- <!-- 濡傛灉娌℃湁鍖归厤椤癸紝鏄剧ず鍘熷ID -->
<th:block th:if="${#lists.isEmpty(matchedTypes)}">
<span th:text="${eventInfo.bizType}"></span>
</th:block>
@@ -135,7 +132,7 @@
</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/eventInfo/eventInfo.js}"></script>
<script th:inline="javascript">
var cameraList = [[${cameraList}]];
--
Gitblit v1.9.3