home.js 522 B

12345678910111213141516171819202122232425262728
  1. import request from '@/utils/request'
  2. // 获取公司首页数据
  3. export function cockpitMonitor(params) {
  4. return request({
  5. url: '/cockpit/monitor',
  6. 'method': 'GET',
  7. params: params
  8. })
  9. }
  10. // 获取场站首页数据
  11. export function stationCaldataApi(params) {
  12. return request({
  13. url: '/station/caldata',
  14. 'method': 'GET',
  15. params: params
  16. })
  17. }
  18. // 获取场站首页数据
  19. export function cockpitProjectplanApi(params) {
  20. return request({
  21. url: '/cockpit/projectplan',
  22. 'method': 'GET',
  23. params: params
  24. })
  25. }