| | |
| | | <div style="height: 100%"> |
| | | <div class="topChart"> |
| | | <div class="chart-item"> |
| | | <dv-border-box10 v-if="isFull==true" class="item-bg" :color="['rgba(8, 109, 209, 0.2)']"></dv-border-box10> |
| | | <div class="chart-tit"> |
| | | <span class="tit">年度巡检异常趋势</span> |
| | | </div> |
| | | <div class="chart" :id="xjLine"></div> |
| | | </div> |
| | | <div class="chart-item"> |
| | | <dv-border-box10 v-if="isFull==true" class="item-bg"></dv-border-box10> |
| | | <div class="chart-tit"> |
| | | <span class="tit">异常区域设备统计</span> |
| | | <div class="filter-part"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="midChart"> |
| | | <dv-border-box10 v-if="isFull==true" class="item-bg"></dv-border-box10> |
| | | <div class="chart-item"> |
| | | <div class="chart-tit"> |
| | | <div style="display: flex;align-items: center"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="midChart"> |
| | | <dv-border-box10 v-if="isFull==true" class="item-bg"></dv-border-box10> |
| | | <div class="chart-item"> |
| | | <div class="chart-tit"> |
| | | <span class="tit">巡检异常清单</span> |
| | |
| | | <div style="margin-bottom: 20px"> |
| | | <div style="margin-bottom: 10px">处置前:</div> |
| | | <div v-if="beImgs && beImgs.length>0"> |
| | | <el-image v-for="(item,index) in beImgs" :key="index" style="width: 100px; height: 100px" :src="item" fit="fill" /> |
| | | <el-image v-for="(item,index) in beImgs" :key="index" style="width: 200px; height: 200px;margin-right: 10px" :src="item" fit="fill" /> |
| | | </div> |
| | | <div v-else> |
| | | 无照片信息 |
| | |
| | | <div> |
| | | <div style="margin-bottom: 10px">处置后</div> |
| | | <div v-if="afImgs && beImgs.length>0"> |
| | | <el-image v-for="(item,index) in afImgs" :key="index" style="width: 100px; height: 100px" :src="item" fit="fill" /> |
| | | <el-image v-for="(item,index) in afImgs" :key="index" style="width: 200px; height: 200px;margin-right: 10px" :src="item" fit="fill" /> |
| | | </div> |
| | | <div v-else> |
| | | 无照片信息 |
| | |
| | | import unusualList from './components/unusualList.vue'; |
| | | import { departmentApi } from '/@/api/systemManage/department'; |
| | | import screenfull from "screenfull"; |
| | | import { BorderBox10 as DvBorderBox10 } from '@kjgl77/datav-vue3' |
| | | // 定义接口来定义对象的类型 |
| | | interface stateType { |
| | | tableData: Array<string>; |
| | |
| | | padding:[1,1,1,0], |
| | | textStyle: { |
| | | // 设置默认的文字颜色 |
| | | color: state.themeColor, |
| | | fontSize: 12 |
| | | color: state.themeColor |
| | | }, |
| | | }, |
| | | grid: { |
| | |
| | | } |
| | | }, |
| | | yAxis: { |
| | | type: 'value' |
| | | splitLine: { |
| | | show: true, |
| | | lineStyle: { |
| | | color: '#fafafa', |
| | | width: 1, |
| | | type: 'dashed' |
| | | } |
| | | }, |
| | | axisLabel:{ |
| | | color: '#ccc' |
| | | } |
| | | }, |
| | | series: [ |
| | | { |
| | |
| | | textStyle: { |
| | | // 设置默认的文字颜色 |
| | | color: state.themeColor, |
| | | fontSize: 12 |
| | | // fontSize: 12 |
| | | }, |
| | | itemStyle: { |
| | | borderWidth: 0 // 设置图例边框宽度为0 |
| | |
| | | itemStyle: { |
| | | borderRadius: 1, |
| | | borderColor: '#fff', |
| | | borderWidth: 2 |
| | | borderWidth: 1 |
| | | }, |
| | | label: { |
| | | show: false, |
| | | position: 'center' |
| | | }, |
| | | emphasis: { |
| | | label: { |
| | | show: true, |
| | | fontSize: 40, |
| | | fontWeight: 'bold' |
| | | } |
| | | show: true, |
| | | position: 'outside', |
| | | overflow: 'truncate', |
| | | borderWidth: 0, |
| | | color: state.themeColor |
| | | }, |
| | | labelLine: { |
| | | show: true |
| | | show: true, // 显示指示线 |
| | | lineStyle: { |
| | | color: '#ccc', |
| | | width: 1, |
| | | type: 'solid' |
| | | } |
| | | }, |
| | | emphasis: { |
| | | itemStyle: { |
| | | shadowBlur: 10, |
| | | shadowOffsetX: 0, |
| | | shadowColor: 'rgba(0, 0, 0, 0.5)' |
| | | }, |
| | | }, |
| | | data: [ |
| | | { value: 1048, name: '区域1' }, |
| | |
| | | line-height: 34px; |
| | | top: 80px; |
| | | right: 20px; |
| | | z-index: 99999; |
| | | z-index: 9; |
| | | } |
| | | .topChart{ |
| | | width: 100%; |
| | |
| | | |
| | | .full{ |
| | | position:fixed; |
| | | background: #fff; |
| | | border-radius: 17px; |
| | | background: rgba(0,0,0,.2); |
| | | border: 1px solid rgba(54, 252, 252, .6); |
| | | border-radius: 17px 1px 1px 17px; |
| | | box-shadow: 3px 3px 12px rgba(0,0,0,.2); |
| | | height: 34px; |
| | | line-height: 34px; |
| | | top: 0; |
| | | right: 20px; |
| | | height: 32px; |
| | | line-height: 30px; |
| | | top: 10px; |
| | | right: 2px; |
| | | display: flex; |
| | | justify-content: center; |
| | | backdrop-filter: blur(2px); |
| | | z-index: 99999; |
| | | } |
| | | .topChart{ |
| | | .chart-item{ |
| | | border-radius: 4px; |
| | | background: rgba(8, 109, 209, 0.2); |
| | | border: 1px solid rgba(54, 252, 252, .6); |
| | | background: rgba(0, 61, 121, 0.2); |
| | | backdrop-filter: blur(5px); |
| | | position: relative; |
| | | z-index: 2; |
| | | &:last-of-type{ |
| | | position: relative; |
| | | z-index: 1; |
| | | } |
| | | .item-bg{ |
| | | width: 100%; |
| | | height: 100%; |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | z-index: -1; |
| | | } |
| | | .el-radio.is-bordered.is-checked{ |
| | | border-color: #11FEEE !important; |
| | |
| | | } |
| | | .midChart{ |
| | | border-radius: 4px; |
| | | background: rgba(8, 109, 209, 0.2); |
| | | border: 1px solid rgba(54, 252, 252, .6); |
| | | background: rgba(0, 61, 121, 0.2); |
| | | backdrop-filter: blur(5px); |
| | | position: relative; |
| | | z-index: 3; |
| | | .item-bg { |
| | | width: 100%; |
| | | height: 100%; |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | z-index: -1; |
| | | } |
| | | .tit{ |
| | | color: #11FEEE; |
| | | } |