|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <VRModelList :params="params">
|
|
|
+ <VRModelList :params="params" :options="headOptions">
|
|
|
<template v-slot:header>
|
|
|
<el-form-item label="标题:" style="grid-area: 1 / 1 / 2 / 4">
|
|
|
<el-input v-model="params.keyword" placeholder="请输入" />
|
|
@@ -30,7 +30,7 @@
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
import VRModelList from "@/view/vrmodel/list.vue";
|
|
|
-import { Scene } from "@/store/scene";
|
|
|
+import { Scene, SceneType } from "@/store/scene";
|
|
|
import { CaseScenes } from "@/store/case";
|
|
|
import { useScenePaggingParams } from "@/view/vrmodel/pagging";
|
|
|
import { onMounted, ref, watch, watchEffect } from "vue";
|
|
@@ -42,7 +42,17 @@ import {
|
|
|
} from "@/store/case";
|
|
|
import { QuiskExpose } from "@/helper/mount";
|
|
|
import { ElTable } from "element-plus";
|
|
|
+import { SceneTypeDesc } from "@/constant/scene";
|
|
|
|
|
|
+const headOptions = [
|
|
|
+ { value: SceneType.SWKK, name: SceneTypeDesc[SceneType.SWKK] },
|
|
|
+ { value: SceneType.SWKJ, name: SceneTypeDesc[SceneType.SWKJ] },
|
|
|
+ { value: SceneType.SWSS, name: SceneTypeDesc[SceneType.SWSS] },
|
|
|
+ { value: SceneType.SWSSMX, name: SceneTypeDesc[SceneType.SWSSMX] },
|
|
|
+ { value: SceneType.SWYDSS, name: SceneTypeDesc[SceneType.SWYDSS] },
|
|
|
+ { value: SceneType.SWYDMX, name: SceneTypeDesc[SceneType.SWYDMX] },
|
|
|
+ { value: SceneType.SWMX, name: SceneTypeDesc[SceneType.SWMX] },
|
|
|
+];
|
|
|
const props = defineProps<{ caseId: number }>();
|
|
|
const params = useScenePaggingParams();
|
|
|
const caseScenes = ref<CaseScenes>(getCaseScenes([]));
|