Newer
Older
urbanLifeline_YanAn / src / api / RQWarning.js
@鲁yixuan 鲁yixuan on 18 Oct 958 bytes updata
import request from '@/utils/request';

// 列表查询预警等级响应
export function warningLevelResposeList(params) {
  return request({
    url: `/business/warningLevelRespose/list`,
    method: 'get',
    params,
  });
}

// 分页查询部门人员表
export function personnelPage(params) {
  return request({
    url: `/business/personnel/page`,
    method: 'get',
    params,
  });
}

// 新增预警发布明细
export const warningReleaseDatailAdd = data => {
  return request({
    url: '/business/warningReleaseDatail/add',
    method: 'POST',
    data: data,
  });
};
// 查询预警发布明细
export function warningReleaseDatailPage(params) {
  return request({
    url: `/business/warningReleaseDatail/page`,
    method: 'get',
    params,
  });
}

// 发布-解除接口
export function warningReleaseDatailEditfb(data) {
  return request({
    url: `/business/warningReleaseDatail/editfb`,
    method: 'POST',
    data: data,
  });
}