sgj
13 小时以前 3a5e49666af1da441633b0a9bae4c3c2b18974b3
fzzy-igdss-web/src/main/resources/templates/security/eventInfo.html
@@ -40,8 +40,8 @@
                        </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 style="width: 100px">事件时间: </label>
@@ -89,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>
@@ -110,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>
@@ -126,7 +115,7 @@
            </div>
            <!-- 分页控件 -->
            <div class="pagination-container" th:if="${not #lists.isEmpty(eventInfoList)}">
            <div class="pagination-container" id="paginationContainer">
                <div id="pagination"></div>
            </div>
        </div>