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.
54 lines
1.1 KiB
54 lines
1.1 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
|
|
})
|
|
}
|
|
|
|
export default { add, edit, del, FetchInitArchivesScope, FetchSonArchivesScope, FetchArchivesScopeTree }
|