From ae7c4266892b1017ac5cb8a1c937c78fc9a7a6cd Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期二, 20 一月 2026 17:50:31 +0800
Subject: [PATCH] ai事件,智能抓拍,根据登录用户获取公司和库区搜索数据

---
 fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html b/fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html
index e21c52c..d0f430b 100644
--- a/fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html
+++ b/fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html
@@ -9,6 +9,12 @@
     <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"/>
+    <style>
+        .select-list .select2-container--bootstrap {
+            width: 280px !important;
+            display: inline-block;
+        }
+    </style>
 </head>
 <body class="gray-bg">
 <div class="container-div">
@@ -28,8 +34,8 @@
                         </li>
                         <li>
                             鎵�閫夊簱鍖猴細<select class="form-control" name="deptId">
-                            <option value="">鎵�鏈�</option>
-                            <option th:each="dept : ${deptList}" th:value="${dept.id}" th:text="${dept.kqmc}">
+                            <option th:each="dept : ${deptList}" th:value="${dept.id}" th:text="${dept.kqmc}"
+                                    th:selected="${dept.id == defaultDeptId}">
                             </option>
                         </select>
                         </li>
@@ -38,10 +44,10 @@
                         </li>
                         <li class="select-time">
                             <label style="width: 100px">鎶撴媿鏃堕棿锛�</label>
-                            <input type="text" class="time-input" style="width: 120px;" id="start"
+                            <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="缁撴潫鏃堕棿"
+                            <input type="text" class="time-input" style="width: 140px;" id="end" placeholder="缁撴潫鏃堕棿"
                                    name="end"/>
                         </li>
                         <li>

--
Gitblit v1.9.3