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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
| <template>
| <div class="SettingBox" :class="{ large: activeTab === 2 }">
| <div class="title">事件推送配置</div>
| <div class="close iconfont" @click="$emit('close')"></div>
| <div class="content">
| <FormArea :id="id" @close="$emit('close')" v-if="activeTab === 0"></FormArea>
| </div>
| </div>
| </template>
|
| <script>
| import FormArea from "@/views/report/components/FormArea"
|
| export default {
| components: {
| FormArea
| },
| props: {
| id: {},
| nodeList: {}
| },
| data() {
| return {
| activeTab: 0
| }
| }
| }
| </script>
|
| <style lang="scss" scoped>
| .SettingBox {
| position: fixed;
| top: 50%;
| left: 50%;
| margin-top: -354px;
| margin-left: -500px;
| width: 1000px;
| height: 708px;
| background-color: #fff;
| box-shadow: 0px 2px 16px 0px rgba(0, 43, 106, 0.25);
| z-index: 2;
|
| &.large {
| margin-top: -477px;
| margin-left: -719px;
| width: 1438px;
| height: 953px;
| }
|
| .title {
| box-sizing: border-box;
| padding: 20px;
| height: 64px;
| border-bottom: 1px solid #e9ebee;
| font-size: 18px;
| font-weight: 700;
| }
|
| .close {
| position: absolute;
| top: 20px;
| right: 20px;
| font-size: 12px;
| color: #666;
| cursor: pointer;
| }
|
| .content {
| padding: 20px;
|
| .tabs {
| display: flex;
| border-bottom: 1px solid #e9ebee;
|
| .tab {
| transform: translateY(1px);
| padding: 16px 24px;
| cursor: pointer;
| border-bottom: 2px solid rgba(255, 255, 255, 0);
|
| &.active {
| border-color: #0065ff;
| color: #0065ff;
| }
| }
| }
| }
| }
| </style>
|
|