阅行客电子档案
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

  1. import request from '@/utils/request'
  2. // 获取归档范围列表
  3. export function FetchInitArchivesScope(params) {
  4. return request({
  5. url: 'api/archivesScope/initArchivesScope',
  6. method: 'get',
  7. params
  8. })
  9. }
  10. // 获取子集
  11. export function FetchSonArchivesScope(params) {
  12. return request({
  13. url: 'api/archivesScope/getSonArchivesScope',
  14. method: 'get',
  15. params
  16. })
  17. }
  18. // 获取树
  19. export function FetchArchivesScopeTree(params) {
  20. return request({
  21. url: 'api/archivesScope/getArchivesScopeTree',
  22. method: 'get',
  23. params
  24. })
  25. }
  26. export function add(data) {
  27. return request({
  28. url: 'api/archivesScope/editArchivesScope',
  29. method: 'post',
  30. data
  31. })
  32. }
  33. export function edit(data) {
  34. return request({
  35. url: 'api/archivesScope/editArchivesScope',
  36. method: 'post',
  37. data
  38. })
  39. }
  40. export function del(data) {
  41. return request({
  42. url: 'api/archivesScope/delArchivesClass',
  43. method: 'post',
  44. data
  45. })
  46. }
  47. export default { add, edit, del, FetchInitArchivesScope, FetchSonArchivesScope, FetchArchivesScopeTree }