From dca2b8e04123ed6bd9055433090511ba4cfc1bb3 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期四, 16 七月 2026 22:59:21 +0800
Subject: [PATCH] bug fix
---
src/modules/push/views/auditlog.vue | 27 ++++++++++++++++++++++++---
1 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/src/modules/push/views/auditlog.vue b/src/modules/push/views/auditlog.vue
index ac42f3a..089b90b 100644
--- a/src/modules/push/views/auditlog.vue
+++ b/src/modules/push/views/auditlog.vue
@@ -46,7 +46,7 @@
pushType: [
{ label: t("weight"), value: "weight" },
{ label: t("health_gps"), value: "health_gps" },
- { label: t("vehicle_gps"), value: "vehicle_gps" },
+ { label: t("camera_gps"), value: "camera_gps" },
{ label: t("driver_anomaly"), value: "driver_anomaly" },
{ label: t("others"), value: "others" },
],
@@ -68,7 +68,7 @@
label: t("鎺ㄩ�佺被鍨�"),
prop: "pushType",
component: { name: "el-radio-group", options: options.pushType },
- value: 0,
+ value: "weight",
required: true,
},
{
@@ -146,8 +146,29 @@
});
// cl-search
-const Search = useSearch();
+const Search = useSearch({
+ items: [
+ {
+ label: t("瀹㈡埛绔疘D"),
+ prop: "deviceNo",
+ component: { name: "el-input", props: { clearable: true } },
+ span: 12,
+ },
+ {
+ label: t("鎺ㄩ�佺被鍨�"),
+ prop: "pushType",
+ component: {
+ name: "el-select", // 浣跨敤涓嬫媺妗嗘悳绱�
+ options: options.pushType,
+ props: {
+ clearable: true, // 鍏佽娓呯┖鎼滅储鏉′欢
+ placeholder: t("璇烽�夋嫨鎺ㄩ�佺被鍨�")
+ }
+ }
+ }
+ ]
+});
// cl-crud
const Crud = useCrud(
{
--
Gitblit v1.9.1