index.js 961 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import request from '@/utils/request'
  2. // 查询轮播图列表
  3. export function getBannerlist(data) {
  4. return request({
  5. url: '/system/rotograph/list',
  6. method: 'get',
  7. data:data
  8. })
  9. }
  10. //消息通知未读消息条数
  11. export function getNoticenumber(data) {
  12. return request({
  13. url: '/system/notice/number',
  14. method: 'get',
  15. data:data,
  16. })
  17. }
  18. //查看消息通知列表
  19. export function getNoticelist(data) {
  20. return request({
  21. url: '/system/notice/list',
  22. method: 'get',
  23. data:data
  24. })
  25. }
  26. //
  27. export function getdbdnumber(data) {
  28. return request({
  29. url: '/projectV2/dbd/number',
  30. method: 'get',
  31. data:data
  32. })
  33. }
  34. //首页统计
  35. export function getCommonCensus(data) {
  36. return request({
  37. url: '/projectV2/common/census',
  38. method: 'post',
  39. data:data,
  40. type:true
  41. })
  42. }
  43. // 字典值yzdqId
  44. export function getDictionaryFn(data) {
  45. return request({
  46. url: '/system/dict/data/type/'+data,
  47. method: 'get',
  48. type:true
  49. })
  50. }