|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
<div class="toolbarWrapper">
|
|
<div class="toolbarWrapper">
|
|
|
- <ViewWindowSetting v-model="viewType" @update:model-value="handleUpdateViewType" />
|
|
|
|
|
|
|
+ <!-- <ViewWindowSetting v-model="viewType" @update:model-value="handleUpdateViewType" /> -->
|
|
|
<el-tooltip content="全屏">
|
|
<el-tooltip content="全屏">
|
|
|
<el-icon class="el-input__icon" :size="18" style="margin-left: 10px; margin-right: 10px">
|
|
<el-icon class="el-input__icon" :size="18" style="margin-left: 10px; margin-right: 10px">
|
|
|
<FullscreenExitOutlined role="full" @click="enterFullscreen" />
|
|
<FullscreenExitOutlined role="full" @click="enterFullscreen" />
|
|
@@ -63,7 +63,7 @@
|
|
|
import FenceEditor from '../FenceEditorV2/FenceEditor.vue';
|
|
import FenceEditor from '../FenceEditorV2/FenceEditor.vue';
|
|
|
import CameraLiveVideo from '../CameraLiveVideo/CameraLiveVideo.vue';
|
|
import CameraLiveVideo from '../CameraLiveVideo/CameraLiveVideo.vue';
|
|
|
import PresetSelect from '../PresetSelect/PresetSelect.vue';
|
|
import PresetSelect from '../PresetSelect/PresetSelect.vue';
|
|
|
- import { ViewType } from '../ViewWindowSetting/types';
|
|
|
|
|
|
|
+ // import { ViewType } from '../ViewWindowSetting/types';
|
|
|
import useFenceStore from '../../store/useFenceStore';
|
|
import useFenceStore from '../../store/useFenceStore';
|
|
|
import AddPresetModal from '../AddPresetModal/AddPresetModal.vue';
|
|
import AddPresetModal from '../AddPresetModal/AddPresetModal.vue';
|
|
|
import usePresetListStore from '../../store/usePresetListStore';
|
|
import usePresetListStore from '../../store/usePresetListStore';
|
|
@@ -87,7 +87,7 @@
|
|
|
const cameraDetailStore = useCameraDetailStore();
|
|
const cameraDetailStore = useCameraDetailStore();
|
|
|
const cameraAlgoStore = useCameraAlgoStore();
|
|
const cameraAlgoStore = useCameraAlgoStore();
|
|
|
|
|
|
|
|
- const viewType = ref<ViewType>(ViewType.window1);
|
|
|
|
|
|
|
+ // const viewType = ref<ViewType>(ViewType.window1);
|
|
|
|
|
|
|
|
const addPresetModalVisible = ref(false);
|
|
const addPresetModalVisible = ref(false);
|
|
|
|
|
|
|
@@ -147,9 +147,9 @@
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- const handleUpdateViewType = (t: ViewType) => {
|
|
|
|
|
- console.log('viewType', t);
|
|
|
|
|
- };
|
|
|
|
|
|
|
+ // const handleUpdateViewType = (t: ViewType) => {
|
|
|
|
|
+ // console.log('viewType', t);
|
|
|
|
|
+ // };
|
|
|
|
|
|
|
|
const drawable = computed(() => {
|
|
const drawable = computed(() => {
|
|
|
if (!presetStore.currentPresetToken) return false;
|
|
if (!presetStore.currentPresetToken) return false;
|