| | |
| | | <div class="statistics-container"> |
| | | <div class="DrawLine-content"> |
| | | <!-- <div style="width: 100%; height: 100%" ref="myDrawLine"></div> --> |
| | | <lineChart :workOrderRegion = workOrderRegion></lineChart> |
| | | <lineChart :workOrderRegion=workOrderRegion></lineChart> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | |
| | | <div class="map-container" ref="isMap"> |
| | | <mapApp></mapApp> |
| | | <mapApp @clickMap="getDeptId" :geoCoordinates=scoreData></mapApp> |
| | | <div class="btn-container"> |
| | | <img src="@/assets/images/btn-bg.png" class="bg-img"/> |
| | | <div class="btn-list" v-model="activerBtnType"> |
| | |
| | | getNormalRate, |
| | | checkFace, |
| | | checkCar, |
| | | checkVideo |
| | | checkVideo, |
| | | checkScore |
| | | } from "@/api/newpage"; |
| | | |
| | | export default { |
| | |
| | | faceList: [], |
| | | workOrderData: [], |
| | | workOrderRegion: [], |
| | | scoreData: { |
| | | 自流井区: [ |
| | | { |
| | | value: 0, |
| | | name: '得分' |
| | | } |
| | | ], |
| | | 高新区: [ |
| | | { |
| | | value: 0, |
| | | name: '得分' |
| | | } |
| | | ], |
| | | 大安区: [ |
| | | { |
| | | value: 0, |
| | | name: '得分' |
| | | } |
| | | ], |
| | | 沿滩区: [ |
| | | { |
| | | value: 0, |
| | | name: '得分' |
| | | } |
| | | ], |
| | | 贡井区: [ |
| | | { |
| | | value: 0, |
| | | name: '得分' |
| | | } |
| | | ], |
| | | 荣县: [ |
| | | { |
| | | value: 0, |
| | | name: '得分' |
| | | } |
| | | ], |
| | | 富顺县: [ |
| | | { |
| | | value: 0, |
| | | name: '得分' |
| | | } |
| | | ] |
| | | }, |
| | | // 设备数据 |
| | | facilityData: { |
| | | video: [], |
| | |
| | | }) |
| | | .catch((err) => { |
| | | }); |
| | | checkScore(this.activerBtnType, this.deptId) |
| | | .then((res) => { |
| | | if(res.data && Object.keys(res.data).length > 0){ |
| | | this.scoreData = res.data; |
| | | } |
| | | }) |
| | | .catch((err) => { |
| | | }); |
| | | }, |
| | | returnPath() { |
| | | this.$router.push("/index"); |
| | |
| | | item2.color = '#ff7b72' |
| | | item2.title = '未处理工单数' |
| | | this.statistics.push(item2) |
| | | console.log( this.statistics) |
| | | }, |
| | | |
| | | videoData() { |