|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="system-setting-container">
|
|
|
|
|
|
|
+ <div class="settings-container">
|
|
|
<el-tabs v-model="activeName" class="demo-tabs">
|
|
<el-tabs v-model="activeName" class="demo-tabs">
|
|
|
<el-tab-pane label="Basic Information" name="first">
|
|
<el-tab-pane label="Basic Information" name="first">
|
|
|
<CameraInfo />
|
|
<CameraInfo />
|
|
@@ -23,25 +23,17 @@
|
|
|
Execute
|
|
Execute
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
-
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
- <el-tab-pane label="Time Settings" name="third">
|
|
|
|
|
- <TimeSetting />
|
|
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
- <el-tab-pane label="Volume Settings" name="fourth">
|
|
|
|
|
- <VolumeSetting />
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
|
|
+ <el-tab-pane label="System Update" name="third">
|
|
|
|
|
|
|
|
- <el-tab-pane label="Alarm Settings" name="fifth">
|
|
|
|
|
- <AlarmSetting />
|
|
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
- <el-tab-pane label="Night Vision Mode" name="sixth">
|
|
|
|
|
- <NightVision />
|
|
|
|
|
|
|
+ <el-tab-pane label="Time Settings" name="fourth">
|
|
|
|
|
+ <TimeSetting />
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
- <el-tab-pane label="Security Settings" name="seventh">
|
|
|
|
|
|
|
+ <el-tab-pane label="Password Management" name="fifth">
|
|
|
<UserSecurity />
|
|
<UserSecurity />
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
@@ -54,9 +46,6 @@ import { ElLoading, ElMessage, ElMessageBox, type FormInstance } from 'element-p
|
|
|
import CameraInfo from './components/cameraInfo/index.vue'
|
|
import CameraInfo from './components/cameraInfo/index.vue'
|
|
|
import UserSecurity from './components/user/index.vue'
|
|
import UserSecurity from './components/user/index.vue'
|
|
|
import TimeSetting from './components/time/index.vue'
|
|
import TimeSetting from './components/time/index.vue'
|
|
|
-import VolumeSetting from './components/volume/index.vue'
|
|
|
|
|
-import AlarmSetting from './components/alarm/index.vue'
|
|
|
|
|
-import NightVision from './components/nightVision/index.vue'
|
|
|
|
|
import { cameraReset } from '@/api/setting'
|
|
import { cameraReset } from '@/api/setting'
|
|
|
import {useUserStore} from "@/stores/modules/user";
|
|
import {useUserStore} from "@/stores/modules/user";
|
|
|
import {useRouter} from "vue-router";
|
|
import {useRouter} from "vue-router";
|
|
@@ -164,7 +153,7 @@ function handle() {
|
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
-.system-setting-container {
|
|
|
|
|
|
|
+.settings-container{
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
padding: 20px;
|
|
padding: 20px;
|