manage.js 1.62 KB
import request from '@/utils/request'
// import request from '@/api/map'
// 合同查询
export function contractGetAll (data) {
  return request({
    url: '/cereContractInformation/queryByPage',
    method: 'post',
    data
  })
}
// 合同删除
export function contractDel (data) {
  return request({
    url: '/cereContractInformation/deleteById',
    method: 'post',
    data
  })
}

// 合同新增
export function contractAdd (data) {
  return request({
    url: '/cereContractInformation/add',
    method: 'post',
    data
  })
}

// 合同更新
export function updateList (data) {
  return request({
    url: '/cereContractInformation/updateById',
    method: 'post',
    data
  })
}

// 合同单条查询
export function queryById (data) {
  return request({
    url: '/cereContractInformation/queryById',
    method: 'post',
    data
  })
}

// 租赁信息查询
export function cereLeasingByPage (data) {
  return request({
    url: '/cereLeasingInformation/queryByPage',
    method: 'post',
    data
  })
}
// 租赁信息新增
export function cereLeasingAdd (data) {
  return request({
    url: '/cereLeasingInformation/add',
    method: 'post',
    data
  })
}
// 租赁信息修改
export function cereLeasingEdit (data) {
  return request({
    url: '/cereLeasingInformation/edit',
    method: 'post',
    data
  })
}
// 租赁信息删除
export function cereLeasingDel (data) {
  return request({
    url: '/cereLeasingInformation/deleteById',
    method: 'post',
    data
  })
}
// 到期预警

export function daoqi (data) {
  return request({
    url: '/cereContractInformation/expirationWarning',
    method: 'post',
    data
  })
}