派生自 wuyushui/SewerAndRainNetwork

ChenZeping
2021-05-10 03e7be1a4fab29968e8750913db40a1373c577df
企业应急
4个文件已修改
36 ■■■■ 已修改文件
src/components/panel/topicSearch/SewersSelect/EnterpriseEmergency/ReportPopup.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/panel/topicSearch/SewersSelect/EnterpriseEmergency/ResourcesQuery.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/conf/Topic.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/conf/layers/LayerEntEmer.js 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/panel/topicSearch/SewersSelect/EnterpriseEmergency/ReportPopup.vue
@@ -1,5 +1,5 @@
<template>
    <div class="report-popup map-background" v-drag>
    <div class="report-popup map-background" v-drag v-show="flags">
        <div class="public-bounced-title panel-title">
            <span>上报事件</span>
            <i class="el-icon-circle-close" @click="closePopup"></i>
@@ -94,6 +94,7 @@
export default {
  name: 'ReportPopup',
  props: ['flags'],
  data () {
    return {
      flag: false,
@@ -184,7 +185,7 @@
      return this.$confirm(`确定移除 ${file.name}?`)
    },
    closePopup () {
      this.flag = false
      this.flags = false
    },
    submitForm (formName) {
      this.$refs[formName].validate((valid) => {
src/components/panel/topicSearch/SewersSelect/EnterpriseEmergency/ResourcesQuery.vue
@@ -40,7 +40,7 @@
            </div>
        </el-form>
        <el-scrollbar style="height:286.22px">
            <div class="environmental-risk-list">
            <div class="environmental-risk-list" @click="showthePopup">
                <!-- v-for="(item,index) in searchDataDisplay" :key="index" @click="setBounced(item)"-->
                <i class="state"></i>
                <div>
@@ -69,14 +69,19 @@
                </div>
            </div>
        </el-scrollbar>
        <ReportPopup :flags="flag"></ReportPopup>
    </div>
</template>
<script>
import { LayerEntEmer } from '../../../../../conf/layers/LayerEntEmer'
import ReportPopup from './ReportPopup'
export default {
  name: 'ResourcesQuery',
  components: {
    ReportPopup
  },
  data () {
    return {
      form: {
@@ -91,10 +96,15 @@
      },
      items: [LayerEntEmer],
      subItems: LayerEntEmer.layers,
      searchDataDisplay: []
      searchDataDisplay: [],
      flag: false
    }
  },
  methods: {
    showthePopup () {
      console.log('item')
      this.flag = !this.flag
    },
    handlePipelineType () {
      console.log('item')
    },
src/conf/Topic.js
@@ -66,7 +66,7 @@
  id: 8,
  checked: false,
  isShow: true,
  icon: 'iconguanxianxuncha',
  icon: 'iconguanxianyanghu',
  comp: ''
}/* {
  name: '管道变更',
src/conf/layers/LayerEntEmer.js
@@ -17,7 +17,7 @@
    {
      code: 'rainline',
      name: '事前阶段',
      sname: '全部资源',
      sname: '管网',
      checked: false,
      type: 0,
      wmsLayers: 'sewer:pipeline_rain',
@@ -32,7 +32,7 @@
    },
    {
      code: 'accidentline',
      name: '应急物资在',
      name: '审批阶段',
      sname: '事故水',
      checked: false,
      // wmsLayers: 'sewer:pipeline_accident',
@@ -42,7 +42,7 @@
    },
    {
      code: 'oilline',
      name: '应急车辆',
      name: '事件完结',
      sname: '含油污水',
      checked: false,
      type: 0,
@@ -54,15 +54,6 @@
        COLOR: '#ffaa00',
        FILL_COLOR: '#ffaa00'
      }
    },
    {
      code: 'saltline',
      name: '应急队伍',
      sname: '含盐污水',
      checked: false,
      type: 0,
      minZoom: 13,
      wfs: WFS_URL + '?TYPENAME=含盐污水'
    }
  ]
}