report-dict.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // 指标报表字典
  2. import request from '../../utils/request'
  3. // 查询指标报表字典树数据
  4. export function selectReportDictTree(data) {
  5. return request({
  6. url: '/targetManagement/selectReportDictTree',
  7. method: 'post',
  8. data,
  9. })
  10. }
  11. // 根据id删除指标报表字典数据(比较重要的指标信息,因此作物理删除,改为弃用)
  12. export function deleteReportDictById(data) {
  13. return request({
  14. url: '/targetManagement/deleteReportDictById',
  15. method: 'post',
  16. data,
  17. })
  18. }
  19. // 查询指标报表字典数据
  20. export function selectReportDict(data) {
  21. return request({
  22. url: '/targetManagement/selectReportDict',
  23. method: 'post',
  24. data,
  25. })
  26. }
  27. // 查询指标报表类型字典数据
  28. export function selectReportType() {
  29. return request({
  30. url: '/targetManagement/selectReportType',
  31. method: 'get',
  32. })
  33. }
  34. // 查询指标报表计算结果
  35. export function reportSqlExecute(data) {
  36. return request({
  37. url: '/targetManagement/reportSqlExecute',
  38. method: 'post',
  39. data,
  40. })
  41. }
  42. // 查询指标报表分组类型
  43. export function selectReportLevel(data) {
  44. return request({
  45. url: '/targetManagement/selectReportLevel',
  46. method: 'post',
  47. data,
  48. })
  49. }