import {
  getAction,
  deleteAction,
  putAction,
  postAction
} from '@/api/manageForWarn'
const baseApi = '/wellInfo/';
const baseApi2 = '/newWarn/warnLog/';
const baseApi3 = '/userFocusJh/';
const pageByUserDw = (params) => getAction(baseApi + 'pageByUserDw', params)

const getMaxTimeWarnDataByJh = (data) => postAction(baseApi2 + 'getMaxTimeWarnDataByJh', data)

const updateAFocushJhIsWarn = (params) => getAction(baseApi3 + 'updateAFocushJhIsWarn', params)

const updateWarnLogStatusById = (params) => getAction(baseApi2 + 'updateWarnLogStatusById', params)
const saveWarnOperateLog = (params) => getAction(baseApi2 + 'saveWarnOperateLog', params)
export default {
  pageByUserDw,
  getMaxTimeWarnDataByJh,
  updateAFocushJhIsWarn,
  updateWarnLogStatusById,
  saveWarnOperateLog
}