import request from '@/utils/request'
|
|
// 查询【请填写功能名称】列表
|
export function listArchiverecordstouser(query) {
|
return request({
|
url: '/system/archiverecordstouser/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询【请填写功能名称】详细
|
export function getArchiverecordstouser(id) {
|
return request({
|
url: '/system/archiverecordstouser/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增【请填写功能名称】
|
export function addArchiverecordstouser(data) {
|
return request({
|
url: '/system/archiverecordstouser',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改【请填写功能名称】
|
export function updateArchiverecordstouser(data) {
|
return request({
|
url: '/system/archiverecordstouser',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除【请填写功能名称】
|
export function delArchiverecordstouser(id) {
|
return request({
|
url: '/system/archiverecordstouser/' + id,
|
method: 'delete'
|
})
|
}
|
// 授权用户与案卷目录绑定选择
|
export function authRecordToUser(data) {
|
return request({
|
url: '/system/archiverecordstouser/authUserToArchive',
|
method: 'put',
|
params: data
|
})
|
}
|
// 删除【请填写功能名称】
|
export function delArchiverecordstouserByReIdAndUid(data) {
|
return request({
|
url: '/system/archiverecordstouser/deleteByRidUid',
|
method: 'delete',
|
params: data
|
})
|
}
|
//判断是否已经授权
|
export function getArchiverecordstouserByReIdAndUid(data) {
|
return request({
|
url: '/system/archiverecordstouser/getByRidUid',
|
method: 'get',
|
params: data
|
})
|
}
|