dictDataUtil.ts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. TYPE_CODE: {
  7. //订单类型
  8. plan_order_type: "plan_order_type",
  9. //订单优先级
  10. plan_order_priority: "plan_order_priority",
  11. //工单状态
  12. plan_work_order_state: "plan_work_order_state",
  13. //订单状态
  14. plan_order_state: "plan_order_state",
  15. //设备类型
  16. device_type: "device_type",
  17. //设备状态
  18. device_status: "device_status",
  19. //设备运行状态
  20. device_run_status: "device_run_status",
  21. //设备维护频率
  22. device_maintenance_cycle: "device_maintenance_cycle",
  23. // 工艺路线类型
  24. routing_type: "routing_type",
  25. //缺陷管理
  26. defect_mana: "defect_mana",
  27. //封装方法
  28. packaging_method: "packaging_method",
  29. //岗位组
  30. post_group: "post_group",
  31. //岗位类别
  32. post_type: "post_type",
  33. //仓库类型
  34. warehouse_type: "warehouse_type",
  35. //仓库出库任务类型
  36. warehouse_out_task_type: "warehouse_out_task_type",
  37. //仓库任务状态
  38. warehouse_task_state: "warehouse_task_state",
  39. //货位类型
  40. storage_location_type: "storage_location_type",
  41. //载具类型
  42. vehicle_type: "vehicle_type",
  43. //载具状态
  44. vehicle_state: "vehicle_state",
  45. //生产准备-设备信息
  46. prepare_device_info: "prepare_device_info",
  47. //生产准备-图纸
  48. prepare_data_file: "prepare_data_file",
  49. //生产准备-工艺文件
  50. prepare_craft_file: "prepare_craft_file",
  51. },
  52. EXPAND_FIELD_TABLE: {
  53. //字段类型
  54. expand_field_type: "expand_field_type",
  55. //映射表列表
  56. expand_table_list: "expand_field_table",
  57. //订单计划表
  58. plan_order_info: "plan_order_info",
  59. //映射字段列表
  60. expand_field_list: "expand_field_list",
  61. },
  62. };
  63. export default DictDataUtil;