派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-03-18 0b91314e2af52c3218db74cd2bdbb53a711116bd
Merge branch 'master' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into master
4个文件已修改
30 ■■■■ 已修改文件
src/components/panel/ToolBoxPanel.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/plugin/MeaSure.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/WasteWater.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/summarySheets.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/panel/ToolBoxPanel.vue
@@ -393,6 +393,7 @@
    },
    changeSelectMouse () {
      this.selectGroup = true
      this.checked = false
    }
  }
}
src/components/plugin/MeaSure.js
@@ -150,10 +150,12 @@
}
const startMeasureArea = function (map, L) {
  areaMeasure.destory()
  areaMeasure.init(map, L)
}
const startMeasureLen = function (map, L) {
  distanceMeasure.destory()
  distanceMeasure.init(map, L)
}
src/components/table/components/WasteWater.vue
@@ -12,21 +12,18 @@
                       width="30px"
                        label=""
               >
                 <template>
                 <template slot-scope="{row,$index}">
<!--                   <i class="el-icon-caret-right" v-if="$index ===1"></i>-->
                 <el-popover
                         placement="bottom"
                         trigger="click"
                         :disabled="!isShowIcon"
                             popper-class="popovers"
                        >
                   <ChemicalWastewater></ChemicalWastewater>
                   <i class="el-icon-caret-right"  slot="reference" v-if="!isShowIcon" @click="doIcon"></i>
<!--                   <i class="el-icon-caret-bottom" slot="reference" v-else-if="isShowIcon&&$index===1"></i>-->
<!--                       <i class="el-icon-caret-bottom" v-else-if="isShowIcon&&scope.row.index===1"></i>-->
<!--                       <i v-if="isShowIcon" class="el-icon-caret-bottom" slot="reference" @click="isbtn"></i>-->
<!--                   <i v-else class="el-icon-caret-right" slot="reference" @click="isbtn"></i>-->
                   <ChemicalWastewater v-show="$index ===1"></ChemicalWastewater>
                   <i class="el-icon-caret-right"  slot="reference" v-if="!isShowIcon" @click="doIcon($index)"></i>
                   <i class="el-icon-caret-bottom"  slot="reference" v-else @click="doIcon($index)"></i>
                     </el-popover>
<!--                       <i class="el-icon-caret-right" v-if="!isShowIcon"></i>-->
<!--                       <i class="el-icon-caret-bottom" v-else-if="isShowIcon&&scope.row.index===1"></i>-->
                   </template>
               </el-table-column>
               <el-table-column
@@ -43,7 +40,7 @@
                   <div v-else-if="scope.row.UserName==='天津石化'" style="color: #00ffff">{{scope.row.UserName}}</div>
                   <div v-else >{{scope.row.UserName}}</div>
                 </template>
               </el-table-column>v-
               </el-table-column>
               <el-table-column
                       prop="WasteWaters"
                       label="外排废水量(m³)"
@@ -149,7 +146,6 @@
  },
  data () {
    return {
      show: false,
      isShowIcon: false,
      tableData: [{
        UserName: '集团名称',
@@ -214,9 +210,12 @@
    handle (row, column, event, cell) {
      console.log(row.UserName)
    },
    doIcon () {
      console.log(1)
    doIcon (index) {
      if (index === 1) {
      this.isShowIcon = !this.isShowIcon
      } else {
        this.isShowIcon = false
      }
    }
  }
}
src/components/table/summarySheets.vue
@@ -38,7 +38,7 @@
        left: 1px;
        /*width: 850px;*/
        /*height: 265px;*/
        z-index:2000;
        z-index:500;
        /*color: #fff;*/
       .el-icon-c-scale-to-original {
         width: 30px;