From 6c955bced91e431cb6dbd255257d3dafd1dc6cf2 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期四, 26 二月 2026 09:59:20 +0800
Subject: [PATCH] 地磅抓拍页面修改

---
 fzzy-igdss-web/src/main/resources/templates/security/eventInfo.html |   45 +++++++++++++++++++++------------------------
 1 files changed, 21 insertions(+), 24 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..68f7f7e 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="璇疯緭鍏ヤ簨浠跺悕绉�">
+                            <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