he wei
2025-06-06 33d2b1b6b82b65561943b06b617b134d4ec20888
src/api/station.js
@@ -123,7 +123,7 @@
 */
export function getDevList(data) {
  return request({
    url: 'condition/getInfo',
    url: 'info/getInfo',
    method: 'POST',
    data
  });
@@ -200,6 +200,16 @@
}
/**
 * 获取标称容量(下拉)
 */
export function getMonCapByUid() {
  return request({
    url: 'condition/getMonCapByUid',
    method: 'GET'
  });
}
/**
 * 获取标称单体电压(下拉)
 */
export function getMonVol() {
@@ -214,7 +224,7 @@
 */
export function addDev(data) {
  return request({
    url: 'condition/addInfo',
    url: 'info/addInfo',
    method: 'POST',
    data
  });
@@ -225,7 +235,7 @@
 */
export function updateDev(data) {
  return request({
    url: 'condition/updateInfo',
    url: 'info/updateInfo',
    method: 'POST',
    data
  });
@@ -237,7 +247,7 @@
 */
export function delBatt(stationId, powerId, battgroupId) {
  return request({
    url: 'condition/delBatt',
    url: 'info/delBatt',
    method: 'GET',
    params: { stationId, powerId, battgroupId }
  });
@@ -248,7 +258,7 @@
 */
export function addBatt(data) {
  return request({
    url: 'condition/addBatt',
    url: 'info/addBatt',
    method: 'POST',
    data
  });
@@ -262,4 +272,66 @@
    url: 'stationInf/getLeftStation',
    method: 'GET'
  });
}
// ===================2025-06-04=====================
/**
 * 获取电池告警类型(下拉)
 */
export function getBattAlarmIdType() {
  return request({
    url: 'condition/getAlarmIdType',
    method: 'GET',
  });
}
/**
 * 获取电池组工作状态类型(下拉)
 */
export function getBattState() {
  return request({
    url: 'condition/getBattState',
    method: 'GET',
  });
}
/**
 * 获取设备告警类型(下拉)
 */
export function getDevAlmIdType() {
  return request({
    url: 'condition/getDevAlmIdType',
    method: 'GET',
  });
}
/**
 * 获取设备工作类型(下拉)
 */
export function getDevState() {
  return request({
    url: 'condition/getDevState',
    method: 'GET',
  });
}
/**
 * 获取电源告警类型(下拉)
 */
export function getPowerAlmIdType() {
  return request({
    url: 'condition/getPwrAlmIdType',
    method: 'GET',
  });
}
/**
 * 电池性能下拉
 */
export function getBattPerformance() {
  return request({
    url: 'condition/getCapperformance',
    method: 'GET',
  });
}