import {
  getAction,
  deleteAction,
  putAction,
  postAction
} from '@/api/manageForWarn'
const baseApi = '/warning/comprehensiveRealLog/';

const baseApi2 = '/warning/comprehensiveLog/';
const queryPage = (params) => getAction(baseApi + 'queryPage', params)

const queryRealList = (params) => getAction(baseApi + 'queryRealList', params)

const getRiskCount = (params) => getAction(baseApi + 'getRiskCount', params)

const getWarnCountByJhAndDate = (params) => getAction(baseApi2 + 'getWarnCountByJhAndDate', params)

const getLogByJh = (params) => getAction(baseApi2 + 'getLogByJh', params)

const getRealDataByJh = (params) => getAction(baseApi + 'getRealDataByJh', params)


export default {
  queryPage,
  queryRealList,
  getRiskCount,
  getWarnCountByJhAndDate,
  getLogByJh,
  getRealDataByJh
}