wangzhibo
2026-07-16 dca2b8e04123ed6bd9055433090511ba4cfc1bb3
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("客户端ID"),
         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(
   {