|
|
@@ -1066,6 +1066,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import {visitZoneAPI} from '@/utils/api'
|
|
|
export default {
|
|
|
components: {},
|
|
|
props: {
|
|
|
@@ -1078,22 +1079,57 @@ export default {
|
|
|
return {
|
|
|
activeInd: null,
|
|
|
data: [
|
|
|
- { id: 1, name: "Speedmaster CX 104-8+LYYL", locId: "" },
|
|
|
- { id: 2, name: "Speedmaster XL 75-7+L", locId: "" },
|
|
|
- { id: 3, name: "Speedmaster SX 102-4-P", locId: "" },
|
|
|
- { id: 4, name: "Digital Factory", locId: "" },
|
|
|
- { id: 5, name: "Prinect Center", locId: "" },
|
|
|
- { id: 6, name: "Polar Cutting System 300", locId: "" },
|
|
|
- { id: 7, name: "Stahlfolder KH 82-P", locId: "" },
|
|
|
- { id: 8, name: "Versafire EP", locId: "" },
|
|
|
- { id: 9, name: "Versafire EV", locId: "" },
|
|
|
- { id: 10, name: "Suprasetter 106", locId: "" },
|
|
|
- { id: 11, name: "Lifecycle", locId: "" },
|
|
|
- { id: 12, name: "Training", locId: "" },
|
|
|
- { id: 13, name: "Consultancy", locId: "" },
|
|
|
- { id: 14, name: "Gallus", locId: "" },
|
|
|
- { id: 15, name: "Financial Service", locId: "" },
|
|
|
- { id: 16, name: "Livestreaming Room", locId: "" },
|
|
|
+ {
|
|
|
+ type: "speedMasterCx",
|
|
|
+ id: 1,
|
|
|
+ name: "Speedmaster CX 104-8+LYYL",
|
|
|
+ locId: "",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "speedMasterXl",
|
|
|
+ id: 2,
|
|
|
+ name: "Speedmaster XL 75-7+L",
|
|
|
+ locId: "",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "speedMasterSx",
|
|
|
+ id: 3,
|
|
|
+ name: "Speedmaster SX 102-4-P",
|
|
|
+ locId: "",
|
|
|
+ },
|
|
|
+ { type: "digitalFactory", id: 4, name: "Digital Factory", locId: "" },
|
|
|
+ { type: "prinectCenter", id: 5, name: "Prinect Center", locId: "" },
|
|
|
+ {
|
|
|
+ type: "polarCuttingSystem",
|
|
|
+ id: 6,
|
|
|
+ name: "Polar Cutting System 300",
|
|
|
+ locId: "",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "stahlfolderKh",
|
|
|
+ id: 7,
|
|
|
+ name: "Stahlfolder KH 82-P",
|
|
|
+ locId: "",
|
|
|
+ },
|
|
|
+ { type: "versafireEp", id: 8, name: "Versafire EP", locId: "" },
|
|
|
+ { type: "versafireEv", id: 9, name: "Versafire EV", locId: "" },
|
|
|
+ { type: "suprasetter", id: 10, name: "Suprasetter 106", locId: "" },
|
|
|
+ { type: "lifecycle", id: 11, name: "Lifecycle", locId: "" },
|
|
|
+ { type: "training", id: 12, name: "Training", locId: "" },
|
|
|
+ { type: "consultancy", id: 13, name: "Consultancy", locId: "" },
|
|
|
+ { type: "gallus", id: 14, name: "Gallus", locId: "" },
|
|
|
+ {
|
|
|
+ type: "financialService",
|
|
|
+ id: 15,
|
|
|
+ name: "Financial Service",
|
|
|
+ locId: "",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "livestreamingRoom",
|
|
|
+ id: 16,
|
|
|
+ name: "Livestreaming Room",
|
|
|
+ locId: "",
|
|
|
+ },
|
|
|
],
|
|
|
};
|
|
|
},
|
|
|
@@ -1104,7 +1140,7 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
- moveFu(id) {
|
|
|
+ async moveFu(id) {
|
|
|
// "ce13067e8cc247b983405502dc2577ae"
|
|
|
// 移动到点位
|
|
|
window.player.flyToPano({
|
|
|
@@ -1113,6 +1149,10 @@ export default {
|
|
|
],
|
|
|
});
|
|
|
this.activeInd = id;
|
|
|
+ // 通过id拿到type发送请求
|
|
|
+ const type =this.data.find(v=>v.id===id).type
|
|
|
+ // console.log('-------',type);
|
|
|
+ await visitZoneAPI(type)
|
|
|
},
|
|
|
},
|
|
|
created() {},
|