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
39
40
41
42
| <template>
| <div class="securityPapers">
|
| <iframe :src="url" style="width: 100%; height: 100%" frameborder="0"></iframe>
| </div>
| <!-- <iframe src="http://124.71.113.22/map/index.html?openid=PatrolManagement" style="width: 100%;height: 100%" frameborder="0"></iframe> -->
| </template>
|
| <script>
| export default {
| data() {
| return {
| url: "/securityPrint.html",
| };
| },
| created(){
| var d = this.$route.query;
| this.url += "?data=" + JSON.stringify(d);
| console.log(d,11);
| },
| 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>
|
|