diff --git a/src/assets/images/map_tools/icon1.png b/src/assets/images/map_tools/icon1.png new file mode 100644 index 0000000..02d8bbc Binary files /dev/null and b/src/assets/images/map_tools/icon1.png differ diff --git a/src/assets/images/map_tools/icon2.png b/src/assets/images/map_tools/icon2.png new file mode 100644 index 0000000..adb8225 Binary files /dev/null and b/src/assets/images/map_tools/icon2.png differ diff --git a/src/assets/images/map_tools/icon3.png b/src/assets/images/map_tools/icon3.png new file mode 100644 index 0000000..b907b29 Binary files /dev/null and b/src/assets/images/map_tools/icon3.png differ diff --git a/src/components/map_tools/index.vue b/src/components/map_tools/index.vue index 1ab30e0..ddb9ea2 100644 --- a/src/components/map_tools/index.vue +++ b/src/components/map_tools/index.vue @@ -1,16 +1,29 @@ @@ -32,22 +45,18 @@ import { getEnterpriseInfo } from "@/request/enterprise_management.js"; const props = defineProps({ type: { type: Number, - required: true, default: 1, }, positions: { type: Array, - required: true, default: () => [], }, position: { type: Array, - required: true, default: () => [], }, modUuid: { type: String, - required: true, default: "", }, }); @@ -88,17 +97,48 @@ onBeforeUnmount(() => { window.$carmer = null; }); + diff --git a/src/views/alarm_configuration/other_alarm_configurations/index.vue b/src/views/alarm_configuration/other_alarm_configurations/index.vue index c0c2b65..fd2044b 100644 --- a/src/views/alarm_configuration/other_alarm_configurations/index.vue +++ b/src/views/alarm_configuration/other_alarm_configurations/index.vue @@ -111,7 +111,6 @@ import { nextTick, reactive } from "vue"; const props = defineProps({ isGatheringAlarm: { type: String, - required: true, default: "0", }, }); diff --git a/src/views/map_settings/assignment_ticket_area_settings/components/selecting_points.vue b/src/views/map_settings/assignment_ticket_area_settings/components/selecting_points.vue index 7373fd4..a0b6a9d 100644 --- a/src/views/map_settings/assignment_ticket_area_settings/components/selecting_points.vue +++ b/src/views/map_settings/assignment_ticket_area_settings/components/selecting_points.vue @@ -1,6 +1,6 @@