depotGrainInfoWarnApi.js 859 B

1234567891011121314151617181920212223242526272829303132
  1. import { baseRequest } from '@/utils/request'
  2. const request = (url, ...arg) => baseRequest(`/biz/depotGrainInfoWarn/` + url, ...arg)
  3. /**
  4. * 客户预警处理Api接口管理器
  5. *
  6. * @author xiang
  7. * @date 2023/09/14 16:20
  8. **/
  9. export default {
  10. // 获取客户预警处理分页
  11. depotGrainInfoWarnPage(data) {
  12. return request('page', data, 'get')
  13. },
  14. // 获取客户预警处理列表
  15. depotGrainInfoWarnList(data) {
  16. return request('list', data, 'get')
  17. },
  18. // 提交客户预警处理表单 edit为true时为编辑,默认为新增
  19. depotGrainInfoWarnSubmitForm(data, edit = false) {
  20. return request(edit ? 'add' : 'edit', data)
  21. },
  22. // 删除客户预警处理
  23. depotGrainInfoWarnDelete(data) {
  24. return request('delete', data)
  25. },
  26. // 获取客户预警处理详情
  27. depotGrainInfoWarnDetail(data) {
  28. return request('detail', data, 'get')
  29. }
  30. }