|
@@ -1,6 +1,14 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="container">
|
|
<div class="container">
|
|
|
<a-card class="general-card">
|
|
<a-card class="general-card">
|
|
|
|
|
+ <a-button
|
|
|
|
|
+ class="action-button"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ @click="() => router.push({ name: 'Camera' })"
|
|
|
|
|
+ >
|
|
|
|
|
+ <icon-left />
|
|
|
|
|
+ {{ t('searchTable.form.back') }}
|
|
|
|
|
+ </a-button>
|
|
|
<a-tree
|
|
<a-tree
|
|
|
v-if="!loading"
|
|
v-if="!loading"
|
|
|
:blockNode="true"
|
|
:blockNode="true"
|
|
@@ -39,6 +47,11 @@
|
|
|
>
|
|
>
|
|
|
</template>
|
|
</template>
|
|
|
</a-tree>
|
|
</a-tree>
|
|
|
|
|
+ <a-skeleton v-else>
|
|
|
|
|
+ <a-space direction="vertical" :style="{ width: '100%' }" size="large">
|
|
|
|
|
+ <a-skeleton-line :rows="18" />
|
|
|
|
|
+ </a-space>
|
|
|
|
|
+ </a-skeleton>
|
|
|
<CameraDialog
|
|
<CameraDialog
|
|
|
v-model="showCameraDialog"
|
|
v-model="showCameraDialog"
|
|
|
:id="cameraId"
|
|
:id="cameraId"
|
|
@@ -63,6 +76,7 @@ import useLoading from '@/hooks/loading';
|
|
|
import { useI18n } from 'vue-i18n';
|
|
import { useI18n } from 'vue-i18n';
|
|
|
import { Modal } from '@arco-design/web-vue';
|
|
import { Modal } from '@arco-design/web-vue';
|
|
|
import CameraDialog from './component/CameraDialog.vue';
|
|
import CameraDialog from './component/CameraDialog.vue';
|
|
|
|
|
+import router from '@/router';
|
|
|
|
|
|
|
|
const this_ = getCurrentInstance()?.appContext.config.globalProperties;
|
|
const this_ = getCurrentInstance()?.appContext.config.globalProperties;
|
|
|
|
|
|
|
@@ -175,11 +189,12 @@ function updateFun() {
|
|
|
|
|
|
|
|
// 注意这里的空行是重要的
|
|
// 注意这里的空行是重要的
|
|
|
.general-card {
|
|
.general-card {
|
|
|
- padding-top: 20px;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ padding: 0 20px;
|
|
|
|
|
|
|
|
- .action-button {
|
|
|
|
|
- margin-right: 10px;
|
|
|
|
|
|
|
+ .action-button {
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|