| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-button type="primary" size="mini">分析</el-button> |
| | | </div> |
| | | <div> |
| | | <div class="panel-title">搜索</div> |
| | | <div> |
| | | <ul> |
| | | <li> |
| | | <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox> |
| | | <div style="margin: 15px 0;"></div> |
| | | <el-checkbox-group v-model="checkedCities" @change="handleCheckedCitiesChange"> |
| | | <el-checkbox v-for="city in cities" :label="city" :key="city">{{city}}</el-checkbox> |
| | | </el-checkbox-group> |
| | | </li> |
| | | </ul> |
| | | <!-- <div> |
| | | <div class="panel-title">处置分析</div> |
| | | <div class="area-selected"> |
| | | <el-button type="primary" class="el-icon-location" size="mini"></el-button> |
| | | <el-button type="primary" class="el-icon-location" size="mini"></el-button> |
| | | <el-select v-model="value" filterable placeholder="请选择" size="mini"> |
| | | <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"></el-option> |
| | | </el-select> |
| | | <el-button type="primary" class="el-icon-search" size="mini"></el-button> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div class="analysis-btn"> |
| | | <div> |
| | | <el-button type="primary" size="mini" >重置分析条件</el-button> |
| | | <el-button type="primary" size="mini" >开始分析</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | | </el-dialog> |
| | | </template> |
| | |
| | | data () { |
| | | return { |
| | | tit: '事件处置', |
| | | showSchedule: true, |
| | | showSchedule: false, |
| | | tableData: [ |
| | | { name: '预案A', define: '综合预案', hierarchy: '二级单位', classification: '环保' }, |
| | | { name: '预案B', define: '专项预案', hierarchy: '直属企业', classification: '环保' }, |
| | |
| | | checkAll: false, |
| | | checkedCities: ['上海', '北京'], |
| | | cities: cityOptions, |
| | | isIndeterminate: true |
| | | isIndeterminate: true, |
| | | value: '', |
| | | options: [{ value: '500', label: '500m' }, { value: '1000', label: '1km' }, { value: '2000', label: '2km' }, { value: '5000', label: '5km' }, { value: '10000', label: '10km' }] |
| | | } |
| | | }, |
| | | methods: { |
| | | handleCheckAllChange (val) { |
| | | this.checkedCities = val ? cityOptions : [] |
| | | this.isIndeterminate = false |
| | | }, |
| | | handleCheckedCitiesChange (value) { |
| | | const checkedCount = value.length |
| | | this.checkAll = checkedCount === this.cities.length |
| | | this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length |
| | | } |
| | | |
| | | }, |
| | | mounted () { |
| | | |
| | | } |
| | | } |
| | | </script> |
| | |
| | | <style scoped lang="less"> |
| | | .emergency{ |
| | | /deep/ .el-dialog{ |
| | | width: 750px; |
| | | width: 450px; |
| | | } |
| | | .panel-title{ |
| | | text-align: left; |
| | | padding: 5px 0 0 0; |
| | | } |
| | | .basicInformation{ |
| | | display: flex; |
| | | .area-selected{ |
| | | display: flex; |
| | | justify-content:flex-end; |
| | | align-items : center; |
| | | } |
| | | .analysis-btn{ |
| | | display: flex; |
| | | justify-content:space-between; |
| | | align-items : center; |
| | | } |
| | | } |
| | | } |
| | | </style> |