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
36
37
38
| <template>
| <iframe :src="url" style="width: 100%; height: 100%" frameborder="0"></iframe>
| </template>
|
| <script>
| //占位路由 巡逻管理
| export default {
| data() {
| return {
| url: "traceablityInfos.html",
| };
| },
| created(){
| var d = this.$route.query.code;
| this.url += "?code=" + d;
| },
| mounted() {
| var flag = false,
| i = 0,
| ind = null;
| this.$store.state.tags.tagList.forEach((item, index) => {
| if (item.label == "溯源详情信息") {
| if (flag == false) {
| ind = index;
| flag = true;
| }
| i++;
| }
| });
| if (i > 1) {
| this.$store.state.tags.tagList.splice(ind, 1);
| }
| },
| };
| </script>
|
| <style>
| </style>
|
|