执法车辆、制式服装等功能完善

This commit is contained in:
hanqi 2025-08-08 19:21:26 +08:00
parent 3b8251fecf
commit c4fc83bc93
4 changed files with 7 additions and 9 deletions

View File

@ -673,7 +673,7 @@ const baseRoutes = [
name: '_tztggl', name: '_tztggl',
component: () => import('@views/tztggl/NoticeManager.vue'), component: () => import('@views/tztggl/NoticeManager.vue'),
meta: { meta: {
title: '装备管理' title: '执法装备管理'
} }
} }
], ],

View File

@ -126,7 +126,7 @@
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="top_title">
<div class="bg"></div> <div class="bg"></div>
<div class="label">执法装备概览</div> <div class="label">执法装备概览</div>
</div> </div>
@ -1169,7 +1169,7 @@ function closeLawEnforceVehiclePage() {
} }
// //
let zfjlyzs = ref(0)
let zfdjjzs = ref(0) let zfdjjzs = ref(0)
let gtfhs = ref(0) let gtfhs = ref(0)
let zfbzs = ref(0) let zfbzs = ref(0)

View File

@ -39,6 +39,10 @@ public class ZfclglController {
/** /**
* 根据ID查询 * 根据ID查询
*/ */
@GetMapping("/{zfclglid}")
public Result<Zfclgl> getZfclglById(@PathVariable String zfclglid) {
return zfclglService.findOne(zfclglid).map(e -> ((Result<Zfclgl>) Ok.of(e))).orElse(Fail.of("执法装备不存在"));
}
/** /**
* 分页查询 * 分页查询

View File

@ -67,12 +67,6 @@ public class EquipmentHistoryVideoScheduleService {
@Scheduled(cron = "0 * * * * ?") @Scheduled(cron = "0 * * * * ?")
public void scheduleTask() { public void scheduleTask() {
log.info("获取装备历史视频开始。。。。"); log.info("获取装备历史视频开始。。。。");
try {
HttpCookie sessionCookie = login();
if (sessionCookie != null) {
fetchAllMediaPages(sessionCookie);
}
} catch (Exception e) {
log.error("任务异常", e); log.error("任务异常", e);
} }
log.info("获取装备历史视频结束。。。。"); log.info("获取装备历史视频结束。。。。");