src/api/screen/index.js
@@ -10,4 +10,26 @@ method: 'post', data }) } /** * 获取泵房报警信息 */ export const getPumpWarning = (data) => { return publicRequest({ url: '/alarmHistory/search', method: 'post', data }) } /** * 获取报警code */ export const getWarningCode = () => { return publicRequest({ url: '/heartbeatData/getByCode', method: 'get' }) }