variableList.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. import request from '@/utils/request'
  2. // 变量列表查询
  3. export function variableList(params) {
  4. return request({
  5. url: '/deviceAnalogVariableList/variableListone',
  6. method: 'POST',
  7. data: params,
  8. })
  9. }
  10. // 通信设备下拉
  11. export function deviceList(params) {
  12. return request({
  13. url: '/device/deviceList',
  14. method: 'GET',
  15. params,
  16. })
  17. }
  18. // 监控设备下拉
  19. export function deviceNewsListBox(params) {
  20. return request({
  21. url: '/deviceAttribute/deviceNewsListBox',
  22. method: 'GET',
  23. params,
  24. })
  25. }
  26. //变量列表-新增
  27. export function variableAdd(params) {
  28. return request({
  29. url: '/deviceAnalogVariableList/variableListAdd',
  30. method: 'POST',
  31. data: params,
  32. })
  33. }
  34. //变量列表-修改
  35. export function variableListUpdate(params) {
  36. return request({
  37. url: '/deviceAnalogVariableList/variableListUpdate',
  38. method: 'POST',
  39. data: params,
  40. })
  41. }
  42. // 变量列表-删除
  43. export function variableListDel(params) {
  44. return request({
  45. url: '/deviceAnalogVariableList/variableListDel',
  46. method: 'GET',
  47. params,
  48. })
  49. }
  50. //站点管理-变量列表-导出
  51. export function variableListExport(params) {
  52. return request({
  53. url: '/deviceAnalogVariableList/variableListExport',
  54. method: 'GET',
  55. params,
  56. })
  57. }