case.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import request from '@/utils/request'
  2. // 提案信息-新增 proposalInfo:info:add
  3. export function getCaseAddFn(data) {
  4. return request({
  5. 'url': '/proposalInfo/info',
  6. 'method': 'post',
  7. 'data':data
  8. })
  9. }
  10. // 提案信息-列表 proposalInfo:info:add
  11. export function getCaseListFn(data) {
  12. return request({
  13. 'url': '/proposalInfo/info/list',
  14. 'method': 'get',
  15. 'data':data
  16. })
  17. }
  18. // 提案信息-详情 proposalInfo:info:query
  19. export function getCaseDetailFn(data) {
  20. return request({
  21. 'url': '/proposalInfo/info/'+data,
  22. 'method': 'get',
  23. })
  24. }
  25. // 提案信息-修改 proposalInfo:info:edit
  26. export function getCaseEditFn(data) {
  27. return request({
  28. 'url': '/proposalInfo/info/put',
  29. 'method': 'post',
  30. 'data':data
  31. })
  32. }
  33. // 提案信息-删除 proposalInfo:info:query
  34. export function getCasDelFn(data) {
  35. return request({
  36. 'url': '/proposalInfo/info/delete/'+data,
  37. 'method': 'get',
  38. })
  39. }
  40. // 提案信息-类别
  41. export function getCasetalbFn(data) {
  42. return request({
  43. 'url': '/category/proposal/categoryTree',
  44. 'method': 'get',
  45. 'data':data
  46. })
  47. }
  48. // 提案人员 委员信息-列表不分页member:info:listNoPage
  49. export function getInfoListFn(data) {
  50. return request({
  51. 'url': '/member/info/listNoPage',
  52. 'method': 'get',
  53. 'data':data
  54. })
  55. }