You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.3 KiB
63 lines
1.3 KiB
import request from '@/utils/request'
|
|
|
|
// 获取归档范围列表
|
|
export function FetchInitArchivesScope(params) {
|
|
return request({
|
|
url: 'api/archivesScope/initArchivesScope',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 获取子集
|
|
export function FetchSonArchivesScope(params) {
|
|
return request({
|
|
url: 'api/archivesScope/getSonArchivesScope',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 获取树
|
|
export function FetchArchivesScopeTree(params) {
|
|
return request({
|
|
url: 'api/archivesScope/getArchivesScopeTree',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
export function add(data) {
|
|
return request({
|
|
url: 'api/archivesScope/editArchivesScope',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function edit(data) {
|
|
return request({
|
|
url: 'api/archivesScope/editArchivesScope',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function del(data) {
|
|
return request({
|
|
url: 'api/archivesScope/delArchivesClass',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 根据子门类id获取档案归档范围
|
|
export function FetchArchivesScopeByCategoryId(params) {
|
|
return request({
|
|
url: 'api/archivesScope/getArchivesScopeByCategoryId',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
export default { add, edit, del, FetchInitArchivesScope, FetchSonArchivesScope, FetchArchivesScopeTree, FetchArchivesScopeByCategoryId }
|