Newer
Older
KaiFengPC / src / api / longoPeration / BasicRiver.js
@鲁yixuan 鲁yixuan on 14 Aug 946 bytes updata
import request from '@/utils/request';
// 河道信息
export function riverInfoNewpage(query) {
  return request({
    url: '/business/riverInfoNew/page',
    method: 'get',
    params: query,
  });
}

//
export function riverInfoNewlist(query) {
  return request({
    url: '/business/riverInfoNew/list',
    method: 'get',
    params: query,
  });
}

// 新增
export function riverInfoNewadd(data) {
  return request({
    url: '/business/riverInfoNew/add',
    method: 'post',
    data: data,
  });
}

// 修改
export function riverInfoNewedit(data) {
  return request({
    url: '/business/riverInfoNew/edit',
    method: 'put',
    data: data,
  });
}

// 删除
export function riverInfoNewdelete(id) {
  return request({
    url: '/business/riverInfoNew/' + id,
    method: 'delete',
  });
}

// // 详情接口
export function riverInfoNewID(id) {
  return request({
    url: '/business/riverInfoNew/' + id,
    method: 'get',
  });
}