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 @@