dictDataUtil.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // 所有的字典类型typeCode都要在这里面写。
  2. const DictDataUtil = {
  3. request_url:
  4. import.meta.env.VITE_APP_BASE_API + "/api/v1/sys/dictData/queryByType/",
  5. dept_tree_url: import.meta.env.VITE_APP_BASE_API + "/api/v1/sys/dept/orgTree",
  6. dept_list_url:
  7. import.meta.env.VITE_APP_BASE_API + "/api/v1/sys/dept/list",
  8. post_list_url: import.meta.env.VITE_APP_BASE_API + "/api/v1/sys/post/list",
  9. img_url: import.meta.env.VITE_APP_UPLOAD_URL,
  10. TYPE_CODE: {
  11. //计划类型
  12. plan_order_type: "plan_order_type",
  13. //计划优先级
  14. plan_order_priority: "plan_order_priority",
  15. //工单状态
  16. plan_work_order_state: "plan_work_order_state",
  17. //计划状态
  18. plan_order_state: "plan_order_state",
  19. //设备类型
  20. device_type: "device_type",
  21. //设备状态
  22. device_status: "device_status",
  23. //设备运行状态
  24. device_run_status: "device_run_status",
  25. //设备维护频率
  26. device_maintenance_cycle: "device_maintenance_cycle",
  27. // 维修流程类型
  28. routing_type: "routing_type",
  29. //缺陷管理
  30. defect_mana: "defect_mana",
  31. //封装方法
  32. packaging_method: "packaging_method",
  33. //岗位组
  34. post_group: "post_group",
  35. //岗位类别
  36. post_type: "post_type",
  37. //仓库类型
  38. warehouse_type: "warehouse_type",
  39. //仓库出库任务类型
  40. warehouse_out_task_type: "warehouse_out_task_type",
  41. //仓库任务状态
  42. warehouse_task_state: "warehouse_task_state",
  43. //货位类型
  44. storage_location_type: "storage_location_type",
  45. //载具类型
  46. vehicle_type: "vehicle_type",
  47. //载具状态
  48. vehicle_state: "vehicle_state",
  49. //维修准备-设备信息
  50. prepare_device_info: "prepare_device_info",
  51. //维修准备-图纸
  52. prepare_data_file: "prepare_data_file",
  53. //维修准备-维修文件
  54. prepare_craft_file: "prepare_craft_file",
  55. // 维修计划-工位任务状态
  56. station_task_state: "station_task_state",
  57. //领用申请状态
  58. requisition_state: "requisition_state",
  59. //委外状态
  60. outsource_state: "outsource_state",
  61. work_order_seq_state: "work_order_seq_state",
  62. //报故状态
  63. escalation_fault_state: "escalation_fault_state",
  64. //报故追踪状态状态
  65. fault_current_state: "fault_current_state",
  66. //报故追踪状态状态
  67. produce_type: "produce_type",
  68. },
  69. EXPAND_FIELD_TABLE: {
  70. //字段类型
  71. expand_field_type: "expand_field_type",
  72. //映射表列表
  73. expand_table_list: "expand_field_table",
  74. //计划计划表
  75. plan_order_info: "plan_order_info",
  76. //映射字段列表
  77. expand_field_list: "expand_field_list",
  78. },
  79. };
  80. export default DictDataUtil;