| | |
| | | <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> |
| | |
| | | |
| | | export default { |
| | | name: 'ReportPopup', |
| | | props: ['flags'], |
| | | data () { |
| | | return { |
| | | flag: false, |
| | |
| | | return this.$confirm(`确定移除 ${file.name}?`) |
| | | }, |
| | | closePopup () { |
| | | this.flag = false |
| | | this.flags = false |
| | | }, |
| | | submitForm (formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | |
| | | </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> |
| | |
| | | </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: { |
| | |
| | | }, |
| | | items: [LayerEntEmer], |
| | | subItems: LayerEntEmer.layers, |
| | | searchDataDisplay: [] |
| | | searchDataDisplay: [], |
| | | flag: false |
| | | } |
| | | }, |
| | | methods: { |
| | | showthePopup () { |
| | | console.log('item') |
| | | this.flag = !this.flag |
| | | }, |
| | | handlePipelineType () { |
| | | console.log('item') |
| | | }, |
| | |
| | | id: 8, |
| | | checked: false, |
| | | isShow: true, |
| | | icon: 'iconguanxianxuncha', |
| | | icon: 'iconguanxianyanghu', |
| | | comp: '' |
| | | }/* { |
| | | name: '管道变更', |
| | |
| | | { |
| | | code: 'rainline', |
| | | name: '事前阶段', |
| | | sname: '全部资源', |
| | | sname: '管网', |
| | | checked: false, |
| | | type: 0, |
| | | wmsLayers: 'sewer:pipeline_rain', |
| | |
| | | }, |
| | | { |
| | | code: 'accidentline', |
| | | name: '应急物资在', |
| | | name: '审批阶段', |
| | | sname: '事故水', |
| | | checked: false, |
| | | // wmsLayers: 'sewer:pipeline_accident', |
| | |
| | | }, |
| | | { |
| | | code: 'oilline', |
| | | name: '应急车辆', |
| | | name: '事件完结', |
| | | sname: '含油污水', |
| | | checked: false, |
| | | type: 0, |
| | |
| | | COLOR: '#ffaa00', |
| | | FILL_COLOR: '#ffaa00' |
| | | } |
| | | }, |
| | | { |
| | | code: 'saltline', |
| | | name: '应急队伍', |
| | | sname: '含盐污水', |
| | | checked: false, |
| | | type: 0, |
| | | minZoom: 13, |
| | | wfs: WFS_URL + '?TYPENAME=含盐污水' |
| | | } |
| | | ] |
| | | } |