42 lines
950 B
JavaScript
42 lines
950 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询案件列表
|
|
export function caseApplicationList(data) {
|
|
return request({
|
|
url: 'caseApplication/list',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
/** 新增案件 */
|
|
export function caseApplicationInsert(data) {
|
|
return request({
|
|
url: 'caseApplication/insert',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
/** 根据id查询案件信息 */
|
|
export function caseApplicationSelectById(data) {
|
|
return request({
|
|
url: '/caseApplication/selectById',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
/** 案件证据查询 */
|
|
export function getFileList(data) {
|
|
return request({
|
|
url: "/common/fileList",
|
|
method: "get",
|
|
params: data,
|
|
});
|
|
}
|
|
/** 批量上传证据 */
|
|
export function batchUpload(data) {
|
|
return request({
|
|
url: "/caseApplication/batchUpdateAttach",
|
|
method: "post",
|
|
data: data,
|
|
});
|
|
} |