From 2d9da090635fb9dac5d28995100202bc56140a94 Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Tue, 23 Sep 2025 20:00:56 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E4=BA=BA=E5=91=98=E7=AE=A1=E7=90=86bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../alarm/setting/carManage/car-manage.vue | 92 +++++++++++++++++++
src/views/alarm/setting/index.vue | 13 +++
src/views/car/carManage/index.vue | 5 +-
src/views/car/carPark/index.vue | 3 +
src/views/door/components/doorTableDialog.vue | 29 ++----
src/views/door/doorAlarm/index.vue | 2 +-
src/views/door/doorReignRecord/index.vue | 8 +-
7 files changed, 125 insertions(+), 27 deletions(-)
create mode 100644 src/views/alarm/setting/carManage/car-manage.vue
diff --git a/src/views/alarm/setting/carManage/car-manage.vue b/src/views/alarm/setting/carManage/car-manage.vue
new file mode 100644
index 0000000..8afb690
--- /dev/null
+++ b/src/views/alarm/setting/carManage/car-manage.vue
@@ -0,0 +1,92 @@
+
+
+
+
+ 军车配置
+
+
+
+ 军车车牌前缀
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/alarm/setting/index.vue b/src/views/alarm/setting/index.vue
index 6a9310a..29375dc 100644
--- a/src/views/alarm/setting/index.vue
+++ b/src/views/alarm/setting/index.vue
@@ -17,6 +17,9 @@
+
+
+
@@ -31,6 +34,7 @@ const CarSetting = defineAsyncComponent(() => import('./car/car-setting.vue'));
const CleaningData = defineAsyncComponent(() => import('./cleaningData/cleaning-data.vue'));
const DoorSetting = defineAsyncComponent(() => import('./door/door-setting.vue'));
const PanelSetting = defineAsyncComponent(() => import('./panel/index.vue'));
+const CarManageSetting = defineAsyncComponent(() => import('./carManage/car-manage.vue'));
const data = {
tabs: [
@@ -49,6 +53,10 @@ const data = {
{
label: "数据清洗",
name: "CLEANING_DATA",
+ },
+ {
+ label: "车辆配置",
+ name: "CAR_MANAGE",
}
]
}
@@ -57,6 +65,7 @@ const doorSetting = ref()
const carSetting = ref()
const panelSetting = ref()
const cleaningDataRef = ref()
+const carManageSettingRef = ref()
const state = reactive
({
currentTab: data.tabs[0].name,
@@ -83,5 +92,9 @@ function onSubmit() {
cleaningDataRef.value.onSubmit()
return
}
+ if (state.currentTab == "CAR_MANAGE") {
+ carManageSettingRef.value.onSubmit()
+ return
+ }
}
\ No newline at end of file
diff --git a/src/views/car/carManage/index.vue b/src/views/car/carManage/index.vue
index 975b336..a3864b6 100644
--- a/src/views/car/carManage/index.vue
+++ b/src/views/car/carManage/index.vue
@@ -6,6 +6,9 @@
+
+
+
@@ -112,7 +115,7 @@ const storesPanel = usePanel()
// 引入组件
const FormDialog = defineAsyncComponent(() => import('./form.vue'));
// 定义查询字典
-const { dh_car_color, dh_car_num_color, dh_car_brand, dh_car_type, dh_car_status, dh_car_list_type } = useDict("dh_car_color", "dh_car_num_color", "dh_car_brand", "dh_car_type", "dh_car_status", "dh_car_list_type")
+const { dh_car_color, dh_car_num_color, dh_car_brand, dh_car_type, dh_car_status, dh_car_list_type, yes_no_type } = useDict("dh_car_color", "dh_car_num_color", "dh_car_brand", "dh_car_type", "dh_car_status", "dh_car_list_type", "yes_no_type")
// 定义变量内容
const formDialogRef = ref()
diff --git a/src/views/car/carPark/index.vue b/src/views/car/carPark/index.vue
index 17f0293..cc3d6c3 100644
--- a/src/views/car/carPark/index.vue
+++ b/src/views/car/carPark/index.vue
@@ -6,6 +6,9 @@
+
+
+
diff --git a/src/views/door/components/doorTableDialog.vue b/src/views/door/components/doorTableDialog.vue
index 73949cf..7194b19 100644
--- a/src/views/door/components/doorTableDialog.vue
+++ b/src/views/door/components/doorTableDialog.vue
@@ -1,12 +1,16 @@
-
+
-
+
+
+
+
@@ -30,6 +34,7 @@
+
@@ -56,20 +61,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -93,7 +84,6 @@
-
import { BasicTableProps, useTable } from "/@/hooks/table";
import { useDict } from '/@/hooks/dict';
+import { parseTime } from "/@/utils/formatTime"
import * as DoorRecordApi from "/@/api/door/doorRecord";
-const { dh_enter_Mode } = useDict("dh_enter_Mode")
-
defineExpose({
openDialog
});
// 定义查询字典
-const { dh_card_status, dh_card_type, dh_enter_or_exit, dh_image_type, dh_door_open_type } = useDict("dh_card_status", "dh_card_type", "dh_enter_or_exit", "dh_image_type", "dh_door_open_type")
+const { dh_card_status, dh_card_type, dh_enter_or_exit, dk_type, dh_door_open_type, door_alarm_type } = useDict("dh_card_status", "dh_card_type", "dh_enter_or_exit", "dk_type", "dh_door_open_type", "door_alarm_type")
// 搜索变量
const queryRef = ref()
diff --git a/src/views/door/doorAlarm/index.vue b/src/views/door/doorAlarm/index.vue
index e8d5448..e5d7dbe 100644
--- a/src/views/door/doorAlarm/index.vue
+++ b/src/views/door/doorAlarm/index.vue
@@ -133,7 +133,6 @@