1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
| <script>
| import rightPublic from "@/components/svg/rightPublic/index.vue";
| import rightSwitch from "@/components/svg/rightSwitch/index.vue";
| import tenToTwelve from "@/components/svg/tenToTwelve/index.vue";
| import sevenToNine from "@/components/svg/sevenToNine/index.vue";
| export default {
| name: "stationSvg",
| components: {rightPublic, rightSwitch, tenToTwelve, sevenToNine},
| props: {
| type: {
| type: Number,
| default: 1
| }
| },
| data() {
| return {};
| },
| methods: {},
| mounted() {
|
| }
| }
| </script>
|
| <template>
| <right-switch v-if="type === 4"></right-switch>
| <right-public v-else-if="type === 3"></right-public>
| <ten-to-twelve v-else-if="type === 2"></ten-to-twelve>
| <seven-to-nine v-else-if="1"></seven-to-nine>
| <div v-else>未知拓扑图,联系管理员新增!!!</div>
| </template>
|
| <style scoped lang="less">
|
| </style>
|
|