lanan-system-vue/src/api/knowledge/monthlyProjectPurchase/monthlyProjectPurchase.js
愉快的大福 9fd23ae016 知识模块
2024-08-12 18:49:20 +08:00

55 lines
1005 B
JavaScript

import request from '@/axios';
import download from '@/axios';
// 查询角色列表
export function findAll(query) {
return request({
url: '/knowledge/tMonthlyProjectPurchase/findAll',
method: 'post',
data: query
})
}
export function findOne(query) {
return request({
url: '/knowledge/tMonthlyProjectPurchase/findOne',
method: 'get',
params: query
})
}
export function addNew(query) {
return request({
url: '/knowledge/tMonthlyProjectPurchase/insert',
method: 'post',
data: query
})
}
export function updateData(query) {
return request({
url: '/knowledge/tMonthlyProjectPurchase/update',
method: 'post',
data: query
})
}
export function deleteData(ids) {
return request({
url: '/knowledge/tMonthlyProjectPurchase/delete',
method: 'post',
params:ids
})
}
export function exportData(url, params, filename, config) {
return download({
url:url,
params:null,
filename:filename,
config:null
})
}