Newer
Older
xc-metering-front / src / api / laboratory / overView.ts
/**
 * 运行总览
 */
import request from '../requestLab'
const prefix = 'overview'

// 查询各个参数
export function getOverviewAlarmDetail(labName: string) {
  return request({
    url: `${prefix}/alarmCount?labName=${labName}`,
    method: 'get',
  })
}

// 查询各个实验室数据
export function getLocationDetail(labName: string) {
  return request({
    url: `${prefix}/workshop/environment?labName=${labName}`,
    method: 'get',
  })
}