whyczyk
2022-02-23 88a45dda10916e6cb8a67fa9d8621b0474b01b90
src/pages/monitoring/js/api.js
@@ -119,6 +119,19 @@
}
/**
 * 查询LD9测试数据列表
 * Ld9testdata_infAction_ld9action_searchInfList
 * 参数:json={"BattGroupId":1005129}
 */
export const getLD9TestList = (data) => {
    return axios({
        method: "post",
        url: "Ld9testdata_infAction_ld9action_searchInfList",
        data: 'json=' + JSON.stringify(data)
    });
}
/**
 * 获取顶部电池组信息
 * 参数:btds.BattGroupId=1005129&btds.test_record_count=7 
 */
@@ -142,3 +155,42 @@
        data: "json=" + JSON.stringify(params)
    })
}
/**
 * 查询LD9 单体测试数据
 * Ld9testdataAction_ld9action_serchByCondition
 * 参数:json={"BattGroupId":1000061,"test_record_count":39,"record_num":3,"test_monnum":1}
 */
export const getLD9Testdata = (data) => {
    return axios({
        method: "post",
        url: "Ld9testdataAction_ld9action_serchByCondition",
        data: 'json=' + JSON.stringify(data)
    });
}
/**
* 查询LD9测试组端数据
* Ld9testdatastopAction_ld9action_serchByInfo
* 参数:json={"BattGroupId":1000061,"test_record_count":39,"record_num":3,"test_monnum":1}
*/
export const getLD9GrpTestdata = (data) => {
    return axios({
        method: "post",
        url: "Ld9testdatastopAction_ld9action_serchByInfo",
        data: 'json=' + JSON.stringify(data)
    });
}
/**
* 查询LD9 一次测试中所有单体的实际容量
* Ld9testdatastopAction_ld9action_serchByCondition
* 参数:json={"BattGroupId":1000061,"test_record_count":39}
*/
export const getLD9MonCaps = (data) => {
    return axios({
        method: "post",
        url: "Ld9testdatastopAction_ld9action_serchByCondition",
        data: 'json=' + JSON.stringify(data)
    });
}