|
@@ -28,6 +28,7 @@
|
|
|
<span :class="{ disable: data.disable }" class="title">
|
|
|
<el-icon>
|
|
|
<Grid />
|
|
|
+
|
|
|
</el-icon>
|
|
|
{{ data.raw.sceneName }}
|
|
|
|
|
@@ -38,7 +39,8 @@
|
|
|
<div class="title-box">
|
|
|
<span :class="{ disable: data.disable }" class="title">
|
|
|
<el-icon>
|
|
|
- <LocationInformation v-if="!data.disable" />
|
|
|
+
|
|
|
+ <StateGpsIcon v-if="!data.disable" />
|
|
|
<DeleteLocation v-else />
|
|
|
</el-icon>
|
|
|
{{ node.label }}
|
|
@@ -64,11 +66,23 @@
|
|
|
</el-icon>
|
|
|
</template>
|
|
|
<el-icon color="#409efc" style="margin-left: 8px">
|
|
|
- <Link v-if="!data.run" @click.stop="
|
|
|
- data.type === 'scene'
|
|
|
- ? gotoScene(data.raw)
|
|
|
- : emit('gotoPoint', data.raw)
|
|
|
- " />
|
|
|
+ <!-- root -->
|
|
|
+ <template v-if="data.raw.scenePos">
|
|
|
+ <FrameIcon v-if="!data.run" @click.stop="
|
|
|
+ data.type === 'scene'
|
|
|
+ ? gotoScene(data.raw)
|
|
|
+ : emit('gotoPoint', data.raw)
|
|
|
+ " />
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+
|
|
|
+ <PanoramaIcon v-if="!data.run" @click.stop="
|
|
|
+ data.type === 'scene'
|
|
|
+ ? gotoScene(data.raw)
|
|
|
+ : emit('gotoPoint', data.raw)
|
|
|
+ " />
|
|
|
+ </template>
|
|
|
+
|
|
|
</el-icon>
|
|
|
</span>
|
|
|
</div>
|
|
@@ -103,7 +117,7 @@ import {
|
|
|
Delete,
|
|
|
Grid,
|
|
|
Download,
|
|
|
- LocationInformation,
|
|
|
+ // LocationInformation,
|
|
|
DeleteLocation,
|
|
|
Edit,
|
|
|
Link,
|
|
@@ -125,7 +139,10 @@ import { selectScenes } from "../quisk";
|
|
|
import { addRelicsScenesFetch, delRelicsScenesFetch } from "@/request";
|
|
|
import { exportFile, exportImage } from "./pc4Helper";
|
|
|
import { SceneStatus } from "@/store/scene";
|
|
|
-
|
|
|
+import StateGpsIcon from '@/assets/state_gps.svg';
|
|
|
+import PanoramaIcon from '@/assets/panorama.svg';
|
|
|
+import FrameIcon from '@/assets/frame.svg';
|
|
|
+// import StateGpsIcon from '@/assets/state_gps.svg';
|
|
|
const emit = defineEmits<{
|
|
|
(e: "flyScene", data: Scene): void;
|
|
|
(e: "flyPoint", data: ScenePoint): void;
|
|
@@ -217,16 +234,25 @@ const handlerExport = (type: number, name: string) => {
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-:deep(.el-tree) {
|
|
|
+:deep(.el-tree-node__content) {
|
|
|
+ --el-tree-node-content-height: 26px;
|
|
|
+ line-height: 26px;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-tree-node__children .el-tree-node__content) {
|
|
|
--el-tree-node-content-height: 52px;
|
|
|
|
|
|
- // .el-tree-node__content>label.el-checkbox {
|
|
|
- // // padding-top: 10px;
|
|
|
- // // align-items: flex-start;
|
|
|
- // }
|
|
|
+ &>label.el-checkbox {
|
|
|
+ padding-top: 6px;
|
|
|
+ align-items: flex-start;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+:deep(.el-tree .tree-item) {}
|
|
|
+
|
|
|
.tree-item {
|
|
|
+
|
|
|
display: flex;
|
|
|
width: calc(100% - 50px);
|
|
|
align-items: flex-start;
|
|
@@ -257,6 +283,7 @@ const handlerExport = (type: number, name: string) => {
|
|
|
|
|
|
.oper {
|
|
|
flex: none;
|
|
|
+ line-height: 26px;
|
|
|
}
|
|
|
}
|
|
|
|