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

// 查询防汛汛后总结分页
export function pageafterRecord(query) {
  return request({
    url: '/business/afterRecord/page',
    method: 'get',
    params: query
  })
}

// 查询防汛汛后总结列表
export function listafterRecord(query) {
  return request({
    url: '/business/afterRecord/list',
    method: 'get',
    params: query
  })
}

// 查询防汛汛后总结详细
export function getafterRecord(id) {
  return request({
    url: '/business/afterRecord/' + id,
    method: 'get'
  })
}

// 新增防汛汛后总结
export function addafterRecord(data) {
  return request({
    url: '/business/afterRecord/add',
    method: 'post',
    data: data
  })
}

// 修改防汛汛后总结
export function updateafterRecord(data) {
  return request({
    url: '/business/afterRecord/edit',
    method: 'put',
    data: data
  })
}

// 删除防汛汛后总结
export function delafterRecord(id) {
  return request({
    url: '/business/afterRecord/' + id,
    method: 'delete'
  })
}