port.js 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. export default {
  2. manage: {
  3. login: '/user/login', // 登录
  4. regist: '/user/regist', //注册
  5. },
  6. pwd: {
  7. resetPwd: '/system/updatePwd' // 重置密码
  8. },
  9. user: {
  10. list: '/user/list', // 人员列表
  11. },
  12. label: {
  13. list: '/goodstags/list', // 标签列表
  14. add: '/goodstags/addOrUpdate', // 添加标签
  15. del: '/goodstags/delTags', // 删除标签
  16. },
  17. assets: {
  18. list: '/goods/list', // 资产列表
  19. detail: '/goods/detail', // 资产详情
  20. add: '/goods/add', // 添加资产
  21. update: '/goods/update', // 更新资产
  22. upload: '/goods/uploadFile', // 上传图片
  23. detailNo: '/goods/goodsNoDetail', // 资产编号详情
  24. addNo: '/goods/goodsNoAdd', // 资产编号添加
  25. delNo: '/goods/delNo', // 删除资产编号
  26. distribute: '/goods/distribute', // 修改资产编号
  27. upMold: '/goodsno/update', // 上下架设备
  28. openDoor: '/rackdata/update', // 机柜开门
  29. rackList: '/goods/rackList', // 机架列表
  30. handle: '/goods/handle', // 处置资产
  31. maintainList: '/goods/isMaintainList', // 待维护资产列表
  32. maintain: '/goods/maintain', // 维护资产
  33. disposalRecord: '/goods/operateList', // 处置记录
  34. exportDis: '/goods/handelRecordExcel', // 导出处置记录
  35. maintainRecord: '/goods/isMaintainRecord', // 维护记录
  36. exportMain: '/goods/isMaintainRecordExcel', // 导出维护记录
  37. },
  38. task: {
  39. list: '/task/list', // 任务列表
  40. add: '/task/addOrUpdate', // 新增、修改任务
  41. detail: '/task/detail', // 任务详情
  42. del: '/task/del', // 删除任务
  43. accept: '/task/acceptTask', // 接收任务
  44. dynaList: '/taskdynamic/list', // 动态列表
  45. examList: '/taskexamine/list', // 审核列表
  46. addExam: '/taskexamine/addOrUpdate', // 提交、审核
  47. fileList: '/taskfile/list', // 资料列表
  48. upload: '/taskfile/uploadFile', // 上传资料
  49. delFile: '/taskfile/delFile', // 删除资料
  50. label: '/task-tags/list', // 任务标签列表
  51. addLabel: '/task-tags/addOrUpdate', // 添加任务标签
  52. delLabel: '/task-tags/delTags', // 删除任务标签
  53. },
  54. my: {
  55. newList: '/newsnotice/getNewsList', // 我的消息
  56. noReadNum: '/newsnotice/getNoReadNewsCount', // 未读消息
  57. list: '/goods/myList', // 我的资产
  58. scoreList: '/score/myList', // 我的评分
  59. scoreDetail: '/score/detail', // 我的评分详情
  60. ideaList: '/idea/ideaList', // 我的建议
  61. ideaAoU: '/idea/addOrUpdate', // 建议新增修改
  62. draft: '/idea/getDraft', // 获取草稿
  63. addressList: '/user/list', // 通讯录
  64. scoreDetail: '/score/getDetailByTimeAndUid', // 个人分数详情
  65. ideaScore: '/idea/ideaListByTime', // TA的建议
  66. addOrUpdate: '/score/addOrUpdate', // 分数新增修改
  67. leaderScore: '/ideacomment/addOrUpdate', // 添加/修改回复建议
  68. delScore: '/ideacomment/del', // 删除回复建议
  69. insList: '/institution/list', // 管理制度列表
  70. insDetail: '/institution/detail', // 管理制度详情
  71. },
  72. }