Newer
Older
Nanping_sponge_SJJC / src / api / business / floodControl.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 数据检测
import request from '@/utils/request'

// 查询防汛启动申请分页
export function pagefloodControl (query) {
  return request({
    url: '/business/floodControl/selectAppr',
    method: 'get',
    params: query
  })
}

// 查询防汛启动申请列表
export function listfloodControl (query) {
  return request({
    url: '/business/floodControl/list',
    method: 'get',
    params: query
  })
}

// 查询防汛启动申请详细
export function getfloodControl (id) {
  return request({
    url: '/business/floodControl/' + id,
    method: 'get'
  })
}

// 新增防汛启动申请
export function addfloodControl (data) {
  return request({
    url: '/business/floodControl/add',
    method: 'post',
    data: data
  })
}

// 修改防汛启动申请
export function updatefloodControl (data) {
  return request({
    url: '/business/floodControl/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛启动申请
export function delfloodControl (id) {
  return request({
    url: '/business/floodControl/' + id,
    method: 'delete'
  })
}

// 审核接口
export function selectAppr () {
  return request({
    url: '/business/floodControl/selectAppr',
    method: 'post',
    data: data
  })
}


// 通过
export function apprPass (data) {
  return request({
    url: '/business/floodControl/apprPass',
    method: 'post',
    params: data
  })
}

// 不通过
export function apprNoPass (data) {
  return request({
    url: '/business/floodControl/apprNoPass',
    method: 'post',
    params: data
  })
}