| | |
| | | <div class="border_corner border_corner_left_bottom"></div> |
| | | <div class="border_corner border_corner_right_bottom"></div> |
| | | <div class="main"> |
| | | <div class="main-video"> |
| | | <el-table |
| | | tooltip-effect="dark" |
| | | :data="displayContentTable2" |
| | | > |
| | | <el-table-column prop="StoragePlaceId" label="序号"></el-table-column> |
| | | <el-table-column prop="StoragePlaceTypeName" label="类别"></el-table-column> |
| | | <el-table-column prop="StoragePlaceName" label="固废名称"></el-table-column> |
| | | <el-table-column prop="StorageZDMJ" label="代码"></el-table-column> |
| | | <el-table-column prop="StorageZCNL" label="产生量"></el-table-column> |
| | | <el-table-column prop="StorageZCL" label="储存量"></el-table-column> |
| | | <el-table-column prop="StorageType" label="产生装置"></el-table-column> |
| | | <div class="main-table"> |
| | | <el-table :data="listData" style="width: 100%" height="200px" :row-class-name="tableRowClassName"> |
| | | <el-table-column v-for="(item, index) in listLabel" :key="index" :prop="item.prop" |
| | | :label="item.label"></el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | |
| | | props: ['displayContentTable'], |
| | | data () { |
| | | return { |
| | | displayContentTable2: [ |
| | | listData: [], |
| | | listLabel: [ |
| | | { |
| | | CompanyName: '中韩石化', |
| | | StoragePlaceId: 3, |
| | | StoragePlaceName: '灰渣场', |
| | | StoragePlaceTypeName: '一般固废填埋场', |
| | | StorageType: '粉煤灰、灰渣', |
| | | StorageZCL: '38', |
| | | StorageZCNL: '40.7', |
| | | StorageZDMJ: '10.60798' |
| | | label: '序号', |
| | | prop: 'StoragePlaceId' |
| | | }, |
| | | { |
| | | label: '类别', |
| | | prop: 'StoragePlaceTypeName' |
| | | }, |
| | | { |
| | | label: '固废名称', |
| | | prop: 'StoragePlaceName' |
| | | }, |
| | | { |
| | | label: '代码', |
| | | prop: 'StorageZDMJ' |
| | | }, |
| | | { |
| | | label: '产生量(t)', |
| | | prop: 'StorageZCL' |
| | | }, |
| | | { |
| | | label: '贮存量(t)', |
| | | prop: 'StorageZCNL' |
| | | }, |
| | | { |
| | | label: '产生装置', |
| | | prop: 'StorageType' |
| | | } |
| | | ], |
| | | displayContentTable3: [] |
| | | ] |
| | | } |
| | | }, |
| | | mounted () { |
| | | this.$nextTick(() => { |
| | | this.displayContentTable.forEach(item => { |
| | | this.listData = item |
| | | }) |
| | | }) |
| | | }, |
| | | methods: { |
| | | tableRowClassName ({ |
| | | row, |
| | | rowIndex |
| | | }) { |
| | | if (rowIndex % 2 === 0) { |
| | | return 'warning-row' |
| | | } else if (rowIndex % 2 === 1) { |
| | | return 'success-row' |
| | | } |
| | | return '' |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | |
| | | .win { |
| | | position: relative; |
| | | background-color: rgba(33, 41, 69, 0.9); |
| | | } |
| | | |
| | | .main { |
| | | width: 100%; |
| | | height: 100%; |
| | | |
| | | .main-video { |
| | | .main-table { |
| | | width: 100%; |
| | | min-height: 164px; |
| | | |
| | | video { |
| | | width: 100%; |
| | | height: 100%; |
| | | outline: none; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | width: 14px; |
| | | height: 14px; |
| | | background: rgba(0, 0, 0, 0); |
| | | border: 1.5px solid #47d5ea; |
| | | border: 1px solid #47d5ea; |
| | | } |
| | | |
| | | .border_corner_left_top { |