config.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. define(function() {
  2. //基础配置
  3. return {
  4. //基本url
  5. baseUrl: 'http://192.168.1.136:8080',
  6. //基础数据管理
  7. baseData: {
  8. //获取列表数据
  9. listPage: '/dic/dicType/listPage',
  10. //查询所有类型
  11. listAllType: '/dic/dicType/listAll',
  12. //添加新的类型
  13. insert: '/dic/dicType/insert',
  14. //发送更新的内容
  15. update: '/dic/dicType/update',
  16. //删除
  17. delete: '/dic/dicType/delete'
  18. },
  19. //保管员信息
  20. storeman: {
  21. //获取所有保管员信息
  22. listPage: '/responsible/responsibleUser/listPage',
  23. //添加保管员
  24. insert: '/responsible/responsibleUser/insert',
  25. //更新保管员
  26. update: '/responsible/responsibleUser/update',
  27. //删除保管员
  28. delete: '/responsible/responsibleUser/delete',
  29. //按照id查找
  30. findById: '/responsible/responsibleUser/findById'
  31. },
  32. //保管员移交记录
  33. storemanTransfer: {
  34. listPage: '/daily/dailyRecordTransfer/listPage',
  35. findById: '/daily/dailyRecordTransfer/findById',
  36. insert: '/daily/dailyRecordTransfer/insert'
  37. }
  38. };
  39. });