other.js 852 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import request from '@/utils/request'
  2. // 查询其他参数配置列表
  3. export function listOther(query) {
  4. return request({
  5. url: '/biz/other/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询其他参数配置详细
  11. export function getOther(cfgId) {
  12. return request({
  13. url: '/biz/other/' + cfgId,
  14. method: 'get'
  15. })
  16. }
  17. // 新增其他参数配置
  18. export function addOther(data) {
  19. return request({
  20. url: '/biz/other',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改其他参数配置
  26. export function updateOther(data) {
  27. return request({
  28. url: '/biz/other',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 删除其他参数配置
  34. export function delOther(cfgId) {
  35. return request({
  36. url: '/biz/other/' + cfgId,
  37. method: 'delete'
  38. })
  39. }