派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-04-15 30ddfcd5409a9342ef79039eb139c07d80b5719d
弹框修改
4个文件已删除
3个文件已添加
1个文件已修改
2 文件已重命名
535 ■■■■ 已修改文件
src/components/BaseNav/SolidWaste/directive/dir.js 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/SolidWaste/directive/directive.js 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/SolidWaste/directive/index.js 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/WasteGas/flueGas.js 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/WasteSolid/PublicTable.vue 166 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/WasteSolid/PublicTabs.vue 134 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/WasteSolid/PublicVideo.vue 80 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/WasteSolid/SolidWaste.js 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/WireSurface/index.js 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/summarySheets.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/SolidWaste/directive/dir.js
File was deleted
src/components/BaseNav/SolidWaste/directive/directive.js
File was deleted
src/components/BaseNav/SolidWaste/directive/index.js
File was deleted
src/components/BaseNav/WasteGas/flueGas.js
src/components/BaseNav/WasteSolid/PublicTable.vue
New file
@@ -0,0 +1,166 @@
<template>
  <!--  <div class="react">-->
  <!--    <div class="main-table">-->
  <!--      <el-table :data="listData" style="width: 100%" height="255px" :row-class-name="tableRowClassName">-->
  <!--        <el-table-column v-for="(item, index) in listLabel" :key="index" :prop="item.prop"-->
  <!--                         :label="item.label" :show-overflow-tooltip="true"></el-table-column>-->
  <!--      </el-table>-->
  <!--    </div>-->
  <!--  </div>-->
  <div class="main">
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <div class="main-table">
      <el-table :data="listData" style="width: 100%" height="325px" :row-class-name="tableRowClassName">
        <el-table-column v-for="(item, index) in listLabel" :key="index" :prop="item.prop"
                         :label="item.label" :show-overflow-tooltip="true"></el-table-column>
      </el-table>
    </div>
  </div>
</template>
<script>
export default {
  name: 'PublicTable',
  props: ['displayContentTable'],
  data () {
    return {
      listData: [],
      listLabel: [
        {
          label: '序号',
          prop: 'StoragePlaceId'
        },
        {
          label: '类别',
          prop: 'StoragePlaceTypeName'
        },
        {
          label: '固废名称',
          prop: 'StoragePlaceName'
        },
        {
          label: '代码',
          prop: 'StorageZDMJ'
        },
        {
          label: '产生量(t)',
          prop: 'StorageZCL'
        },
        {
          label: '贮存量(t)',
          prop: 'StorageZCNL'
        },
        {
          label: '产生装置',
          prop: 'StorageType'
        }
      ]
    }
  },
  mounted () {
    this.$nextTick(() => {
      this.listData.push(this.displayContentTable[0], {}, {}, {}, {}, {}, {})
    })
  },
  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>
//.react {
//  position: relative;
//  background: rgba(33, 41, 69, 0.9);
//  background: linear-gradient(to left, #02a6b5, #02a6b5) left top no-repeat,
//  linear-gradient(to bottom, #02a6b5, #02a6b5) left top no-repeat,
//  linear-gradient(to left, #02a6b5, #02a6b5) right top no-repeat,
//  linear-gradient(to bottom, #02a6b5, #02a6b5) right top no-repeat,
//  linear-gradient(to left, #02a6b5, #02a6b5) left bottom no-repeat,
//  linear-gradient(to bottom, #02a6b5, #02a6b5) left bottom no-repeat,
//  linear-gradient(to left, #02a6b5, #02a6b5) right bottom no-repeat,
//  linear-gradient(to left, #02a6b5, #02a6b5) right bottom no-repeat;
//  background-size: 2px 20px, 20px 2px, 2px 20px, 20px 2px;
//
//  .main-table {
//    //border: 1px red solid;
//  }
//}
/deep/ .el-table td {
  border-bottom: none !important;
}
/deep/ .el-table th.is-leaf {
  border-bottom: none !important;
}
/deep/ .el-table td {
  height: 45px !important;
  line-height: 45px !important;
}
/deep/ .el-table tbody tr:hover > td {
  background: none !important
}
.main {
  position: relative;
  background: rgba(33, 41, 69, 0.9);
  //border: 1px solid red;
}
.main span:nth-child(1) {
  position: absolute;
  left: -1px;
  top: -1px;
  padding: 10px;
  border-style: solid;
  border-color: #02a6b5;
  border-width: 1px 0 0 1px;
}
.main span:nth-child(2) {
  position: absolute;
  right: -1px;
  top: -1px;
  padding: 10px;
  border-style: solid;
  border-color: #02a6b5;
  border-width: 1px 1px 0 0;
}
.main span:nth-child(3) {
  position: absolute;
  right: -1px;
  bottom: -1px;
  padding: 10px;
  border-style: solid;
  border-color: #02a6b5;
  border-width: 0 1px 1px 0;
}
.main span:nth-child(4) {
  position: absolute;
  left: -1px;
  bottom: -1px;
  padding: 10px;
  border-style: solid;
  border-color: #02a6b5;
  border-width: 0 0 1px 1px;
}
</style>
src/components/BaseNav/WasteSolid/PublicTabs.vue
New file
@@ -0,0 +1,134 @@
<template>
  <!-- 框 -->
  <div class="win">
    <!-- 四个角的边框效果 -->
    <div class="border_corner border_corner_left_top"></div>
    <div class="border_corner border_corner_right_top"></div>
    <div class="border_corner border_corner_left_bottom"></div>
    <div class="border_corner border_corner_right_bottom"></div>
    <div class="main">
      <div class="main-matter">
        <div v-if="value === 'feiqi'">
          <ul>
            <li>监测点名称:{{ setWasteGasdata.Name }}</li>
            <li>生产单位:{{ setWasteGasdata.porltName }}</li>
            <li>排放类型名称:{{ setWasteGasdata.MonTypeName }}</li>
            <li>排放去向:{{ setWasteGasdata.EmissDirecti }}</li>
            <li>控制级别名称:{{ setWasteGasdata.ContrLevelShowName }}</li>
            <li>内/外排口:{{ setWasteGasdata.OrOutPortName }}</li>
          </ul>
        </div>
        <div v-if="value === 'gufei'">
          <ul>
            <li>场所名称:{{ setSolidWaste.StoragePlaceName }}</li>
            <li>贮存能力:{{ setSolidWaste.StorageQty }}(吨)</li>
            <li>剩余贮存能力:{{ setSolidWaste.SurplusFloorArea }}(吨)</li>
            <li>占地面积(㎡):{{ setSolidWaste.DesignFloorArea }}(㎡)</li>
            <li>最近贮存日期:{{ setSolidWaste.StorageDate }}</li>
            <li class="lastli"></li>
          </ul>
        </div>
        <div v-else-if="value === 'feishui'">
          <ul>
            <li>监测点名称:{{ setWasteWaterdata.Name }}</li>
            <li>生产单位:{{ setWasteWaterdata.porltName }}</li>
            <li>排放类型名称:{{ setWasteWaterdata.MonTypeName }}</li>
            <li>排放去向:{{ setWasteWaterdata.EmissDirecti }}</li>
            <li>控制级别名称:{{ setWasteWaterdata.ContrLevelShowName }}</li>
            <li>内/外排口:{{ setWasteWaterdata.OrOutPortName }}</li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'GasTable',
  props: ['setSolidWaste', 'value', 'setWasteGasdata', 'setWasteWaterdata']
}
</script>
<style scoped lang="less">
.win {
  position: relative;
  margin-bottom: 0.04rem;
  background-color: @background-color;
  //width: 6rem;
  //height: 0.5rem;
}
.main {
  //width: 100%;
  //height: 100%;
  .main-matter {
    font-size: 0.06rem;
    font-weight: normal;
    padding: 0.04rem 0;
    border: 1px solid #396d83;
    ul {
      //width: 100%;
      //height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-around;
      flex-wrap: wrap;
      margin-bottom: -0.04rem;
      li {
        margin-bottom: 0.04rem;
        text-align: center;
        min-width: 31%;
        background-color: #243a55;
        color: #00d0f9;
        border-radius: 0.02rem;
        font-size: 0.08rem;
        line-height: 0.09rem;
        padding: 0.03rem .5%;
      }
      .lastli {
        visibility: hidden
      }
    }
  }
}
.border_corner {
  z-index: 999;
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0);
  border: 1px solid #47d5ea;
}
.border_corner_left_top {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.border_corner_right_top {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}
.border_corner_left_bottom {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}
.border_corner_right_bottom {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}
</style>
src/components/BaseNav/WasteSolid/PublicVideo.vue
New file
@@ -0,0 +1,80 @@
<template>
  <div class="win">
    <!-- 四个角的边框效果 -->
    <div class="border_corner border_corner_left_top"></div>
    <div class="border_corner border_corner_right_top"></div>
    <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">-->
      <video controls>
        <source src="movie.mp4" type="video/mp4">
        <source src="movie.ogg" type="video/ogg">
      </video>
      <!--      </div>-->
    </div>
  </div>
</template>
<script>
export default {
  name: 'GasVideo'
}
</script>
<style scoped lang="less">
.win {
  position: relative;
  background-color: rgba(33, 41, 69, 0.9);
  //height: 2rem;
}
.main {
  border: 1px solid #396d83;
  width: 2.5rem;
  height: 2.5rem;
  video {
    width: 100%;
    height: 100%;
    outline: none;
  }
}
.border_corner {
  z-index: 999;
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgba(0, 0, 0, 0);
  border: 1px solid #47d5ea;
}
.border_corner_left_top {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.border_corner_right_top {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}
.border_corner_left_bottom {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}
.border_corner_right_bottom {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}
</style>
src/components/BaseNav/WasteSolid/SolidWaste.js
src/components/BaseNav/WireSurface/index.js
File was deleted
src/components/table/summarySheets.vue
@@ -46,7 +46,9 @@
import Warn from './components/Warn'
import IndexStatistics from './components/IndexStatistics'
import '@/components/BaseNav/SolidWaste/directive/dir'
// import '@/components/BaseNav/SolidWaste/directive/dir'
// import '@/components/plugin/DialogDrag'
import bus from '@/eventBus'
export default {
  name: 'summary-sheet.vue',