zmc
2023-11-24 e7ce285475a1355eeaeaba1855e3cd615eafa13b
src/api/exceptionApi.js
@@ -18,6 +18,7 @@
      }
    })
  },
  // 根据月份和类型查找分析数据
  analysisdataByType(month,type) {
    return $http.get('/dust/analysisdataByType', {
@@ -27,6 +28,7 @@
      }
    })
  },
  // 根据时段和类型查找分析数据
  analysisdataByTimeAndType(beginTime,endTime,type) {
    return $http.get('/dust/analysisdataByTimeAndType', {
@@ -37,6 +39,12 @@
      }
    })
  },
  /**
   *
@@ -59,10 +67,11 @@
  },
  
/**
 * 获取所有的点位名称和对应的设备编号
 * @param:
 * @returns:
 */
  getSitesNum() {
    return $http.get('/dust/sitename')
  },
@@ -78,5 +87,15 @@
      params.exceptionType = temp
    }
    return $http.get('/dust/exceptionsSiteName', { params: params })
  }
  },
  /**
   * 查询不同的异常类型
   * @param:
   * @returns:
   */
  queryExceptionType(){
    return $http.get('/dust/exceptiontype')
  },
}