52 lines
941 B
JavaScript
52 lines
941 B
JavaScript
|
import request from '@/utils/request'
|
||
|
import { parseStrEmpty } from "@/utils/ruoyi";
|
||
|
|
||
|
// 查询 列表
|
||
|
export function BAApplyList(data,query) {
|
||
|
return request({
|
||
|
url: '/bussiness/Apply/list',
|
||
|
method: 'post',
|
||
|
params: query,
|
||
|
data: data,
|
||
|
isEncrypt: false
|
||
|
})
|
||
|
}
|
||
|
// 查询详情
|
||
|
export function getBAApplyInfo(query) {
|
||
|
return request({
|
||
|
url: '/bussiness/Apply/info?id=' + query,
|
||
|
method: 'get',
|
||
|
// params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增
|
||
|
|
||
|
export function createBAApply(data) {
|
||
|
return request({
|
||
|
url: '/bussiness/Apply/add',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
isEncrypt: false
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改
|
||
|
export function editBAApply(data) {
|
||
|
return request({
|
||
|
url: '/bussiness/Apply/edit',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
isEncrypt: false
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除
|
||
|
export function deleteBAApply(id) {
|
||
|
return request({
|
||
|
url: '/bussiness/Apply/remove?ids=' + id,
|
||
|
method: 'post',
|
||
|
isEncrypt: false
|
||
|
})
|
||
|
}
|