screen.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. import request from '@/utils/request'
  2. //放芯查登录
  3. export function loginByPwd(data) {
  4. return request({
  5. url: '/fxc/login/username',
  6. method: 'post',
  7. headers:{isToken:false},
  8. data: data
  9. })
  10. }
  11. export function getFxcToken() {
  12. return request({
  13. url: '/fxc/login/username',
  14. method: 'post',
  15. headers:{isToken:false},
  16. data: {
  17. "username": "13153864796",//"admin",
  18. "password": "123456",//"t8D!CyUCGlKD",
  19. }
  20. })
  21. }
  22. //获取冷链的温度监控数据
  23. export function getFxcChainTemperature(data) {
  24. return request({
  25. url: '/fxc/index/listChainTemperature',
  26. method: 'post',
  27. data,
  28. })
  29. }
  30. //冷链详细信息查询
  31. export function getFxcChainInfo(data) {
  32. return request({
  33. url: '/fxc/index/getChainInfo',
  34. method: 'post',
  35. data,
  36. })
  37. }
  38. //放芯查冷链位置查询
  39. export function getFxclistChainLocal() {
  40. return request({
  41. url: '/fxc/index/listChainLocal',
  42. method: 'post',
  43. })
  44. }
  45. //标签在不同产品中用量统计
  46. export function getFxcProductChipState() {
  47. return request({
  48. url: '/fxc/index/productChipState',
  49. method: 'post',
  50. })
  51. }
  52. //产品标签使用量总和统计
  53. export function getFxcProductTypeChipCount() {
  54. return request({
  55. url: '/fxc/index/productTypeChipCount',
  56. method: 'post',
  57. })
  58. }
  59. //冷链运输状态查询,以及预警状态数量
  60. export function getFxcChainStatus() {
  61. return request({
  62. url: '/fxc/index/getChainStatus',
  63. method: 'post',
  64. })
  65. }