|
@@ -389,20 +389,12 @@
|
|
|
|
|
|
import {
|
|
|
getLogoInfo,
|
|
|
- getYearControlInfo,
|
|
|
- groupGetList,
|
|
|
- indexCollegeListCheck,
|
|
|
indexListRelease,
|
|
|
- listCollegeApplyColumn,
|
|
|
- listCollegeJh,
|
|
|
- listCollegeTz,
|
|
|
- mySub, newStatistics,
|
|
|
+ mySub,
|
|
|
onlineSumByBigView,
|
|
|
- optionCharts,
|
|
|
queryHazardColumnar,
|
|
|
- workInfo,
|
|
|
getUrlConfig,
|
|
|
- requestUrl, getTypeCount, getFiedCount, safetyInspectTitle
|
|
|
+ requestUrl, getTypeCount, getFiedCount
|
|
|
} from "../../api/http"
|
|
|
import {
|
|
|
systemNotifyList,
|
|
@@ -554,7 +546,7 @@ export default {
|
|
|
let dataCount=[];
|
|
|
self.dangerCount=response.data.count
|
|
|
response.data.list.forEach(function (item,index) {
|
|
|
- if(index<2){
|
|
|
+ if(index<3){
|
|
|
dataX.push(item.optionName)
|
|
|
dataCount.push(item.count)
|
|
|
}
|
|
@@ -787,27 +779,6 @@ export default {
|
|
|
|
|
|
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- //安全隐患统计
|
|
|
- optionCharts({type:localStorage.getItem('deptLevel'),remark:'index'}).then((res) =>{
|
|
|
- if(res.code==200){
|
|
|
- let dataX=[];
|
|
|
- let dataCount=[];
|
|
|
- let data=res.data.list;
|
|
|
- self.dangerCount=res.data.count
|
|
|
- for (var i = 0; i < 3; i++) {
|
|
|
- dataX.push( data[i].optionName)
|
|
|
- dataCount.push(data[i].count)
|
|
|
- }
|
|
|
- dataX.reverse()
|
|
|
- dataCount.reverse()
|
|
|
-
|
|
|
- this.safetyFun(dataX,dataCount)
|
|
|
-
|
|
|
- }
|
|
|
- })
|
|
|
//危险源统计
|
|
|
queryHazardColumnar({}).then((res) =>{
|
|
|
if(res.code==200){
|