import request from '@/utils/request' // 查询收入分类列表 export function listIncomeCategory(query) { return request({ url: '/incomeCategory/list', method: 'get', params: query }) } // 查询收入分类详细 export function getIncomeCategory(id) { return request({ url: '/incomeCategory/' + id, method: 'get' }) } // 新增收入分类 export function addIncomeCategory(data) { return request({ url: '/incomeCategory', method: 'post', data: data }) } // 修改收入分类 export function updateIncomeCategory(data) { return request({ url: '/incomeCategory', method: 'put', data: data }) } // 删除收入分类 export function delIncomeCategory(id) { return request({ url: '/incomeCategory/' + id, method: 'delete' }) } // 查询收入分类表列表 export function queryIncomeCategory() { return request({ url: '/incomeCategory/queryList', method: 'get', }) }