rentalMan.js 1.3 KB
import request from '@/utils/request'
// 出租管理
export function rentalGetAll(data) {
  return request({
    url: '/cereLeasingInformation/queryByPage',
    method: 'post',
    data
  })
}

export function rentalDel(data) {
  return request({
    url: '/cereLeasingInformation/deleteById',
    method: 'post',
    data
  })
}

export function rentalAdd(data) {
  return request({
    url: '/cereLeasingInformation/add',
    method: 'post',
    data
  })
}

//导出出租管理
export function excelRentOutQueryByPage(data) {
  return request({
    url: '/cereLeasingInformation/excelRentOutQueryByPage',
    method: 'post',
    data,
    responseType: 'blob'
  })
}
//导出决算管理
export function excelManagementOfFinalAccountsForRentals(data) {
  return request({
    url: '/cereLeasingInformation/excelManagementOfFinalAccountsForRentals',
    method: 'post',
    data,
    responseType: 'blob'
  })
}
//导出续租管理
export function excelLeaseRenewalManagement(data) {
  return request({
    url: '/cereLeasingInformation/excelLeaseRenewalManagement',
    method: 'post',
    data,
    responseType: 'blob'
  })
}

// PDF打印
export function pdfRentOutQueryByPage(data) {
  return request({
    url: '/cereLeasingInformation/pdfRentOutQueryByPage',
    method: 'post',
    data,
    responseType: 'blob'
  })
}