派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-21 bb588bddeaee7ea617f8ad019ba9f5e1825d9e27
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<template>
    <div class="sewers-analysis-tab">
        <el-tabs v-model="activeName" type="border-card" @tab-click="handleClick">
            <el-tab-pane label="连通性" name="first">
                <Connectivity></Connectivity>
            </el-tab-pane>
            <el-tab-pane label="爆管" style="color: #cccccc" name="second">
                <Tube></Tube>
            </el-tab-pane>
            <el-tab-pane label="流向" name="third">
                <Flow></Flow>
            </el-tab-pane>
            <el-tab-pane label="横断面" name="fourth">
                <CrossSectional></CrossSectional>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>
 
<script>
import Connectivity from './AnalysisChoose/Connectivity'
import Tube from './AnalysisChoose/Tube'
import Flow from './AnalysisChoose/Flow'
import CrossSectional from './AnalysisChoose/CrossSectional'
import eventBus from '../../../../eventBus'
 
export default {
  name: 'SewersAnalysis',
  components: {
    Connectivity,
    Tube,
    Flow,
    CrossSectional
  },
  data () {
    return {
      // 地图点击类型 first连通性点击  second爆管点击  third流向点击 fourth横断面
      activeName: 'first',
      tableData: false
    }
  },
  methods: {
    // tab切换
    handleClick () {
      eventBus.$emit('tabData-change', true)
    }
  }
}
</script>
 
<style lang="less" scoped>
    /deep/ .el-tabs .el-tabs__item {
        height: 20px;
        line-height: 20px;
    }
 
    /deep/ .el-tabs--border-card > .el-tabs__content {
        padding: 5px;
    }
 
    /deep/ .el-table .has-gutter tr th {
        border: none !important;
    }
 
    /deep/ .el-table tbody tr:hover > td {
        background: none !important
    }
 
    /deep/ .el-tabs__header {
        background: none !important;
    }
 
    /deep/ .fixed-style {
        /*margin: 15px;*/
        font-size: 12px;
        display: inline-block;
        color: #00fff6;
    }
 
    /deep/ th.is-leaf {
        border: none !important;
    }
 
    /deep/ .el-table__fixed-right::before, .el-table__fixed::before {
        background: none;
    }
 
    /deep/ .el-table__empty-text {
        line-height: 170px;
    }
 
    /deep/ .el-table__body .el-table__row.hover-row td {
        background: none !important;
        color: yellow;
    }
 
    /deep/ .el-table__body tr.current-row > td {
        background: rgba(0, 16, 30, 1) !important;
    }
 
    /deep/ .fixed-table {
        background: rgba(0, 16, 30, 1) !important;
    }
 
    /*scroll右侧占位*/
    /deep/ .el-table__fixed-right-patch {
        display: none;
    }
 
    /deep/ .el-tab-pane {
        min-height: 506.19px;
    }
 
    /*/deep/ .el-tabs--top .el-tabs__item.is-top:nth-child(2) {*/
    /*    padding-left: 20px;*/
    /*}*/
 
    /*/deep/ .el-tabs--border-card {*/
    /*    background: none;*/
    /*    border: none;*/
    /*    box-shadow: none;*/
    /*}*/
 
    /*/deep/ .el-tabs--border-card > .el-tabs__header {*/
    /*    background: none;*/
    /*    border-bottom: none;*/
    /*    margin: 0;*/
    /*}*/
 
    /*/deep/ .el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {*/
    /*    color: #409EFF;*/
    /*    background: none;*/
    /*    border: none;*/
    /*}*/
 
    /*/deep/ .el-tabs--border-card > .el-tabs__header .el-tabs__item {*/
    /*    border: none;*/
    /*}*/
 
    /*/deep/ .panel-right ::-webkit-scrollbar-thumb {*/
    /*    background: none;*/
    /*    border: none;*/
    /*}*/
 
    /*/deep/ .el-card__body {*/
    /*    padding: 0;*/
    /*}*/
    /*/deep/ .el-table__fixed-right {*/
    /*    bottom: 0;*/
    /*    padding: 0;*/
    /*    margin: 0;*/
    /*}*/
</style>