constent.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. export const MandateClass = [
  2. {
  3. value: 1,
  4. label: '生产调度类',
  5. MandateType: 1,
  6. OrderType: 1,
  7. },
  8. {
  9. value: 2,
  10. label: '成本节约类',
  11. MandateType: 1,
  12. OrderType: 1,
  13. },
  14. {
  15. value: 3,
  16. label: '设备自检',
  17. MandateType: 2,
  18. OrderType: 2,
  19. },
  20. {
  21. value: 4,
  22. label: '工艺自检',
  23. MandateType: 2,
  24. OrderType: 1,
  25. },
  26. {
  27. value: 5,
  28. label: '电气检测',
  29. MandateType: 2,
  30. OrderType: 2,
  31. },
  32. {
  33. value: 6,
  34. label: '环境检测',
  35. MandateType: 2,
  36. OrderType: 2,
  37. },
  38. {
  39. value: 7,
  40. label: '安防检测',
  41. MandateType: 2,
  42. OrderType: 2,
  43. },
  44. {
  45. value: 8,
  46. label: '密闭空间检测',
  47. MandateType: 2,
  48. OrderType: 2,
  49. },
  50. {
  51. value: 9,
  52. label: '设备保养',
  53. MandateType: 3,
  54. OrderType: 3,
  55. },
  56. {
  57. value: 10,
  58. label: '设备维修',
  59. MandateType: 3,
  60. OrderType: 2,
  61. },
  62. {
  63. value: 11,
  64. label: '故障上报',
  65. MandateType: 3,
  66. OrderType: 2,
  67. },
  68. {
  69. value: 12,
  70. label: '工艺数据',
  71. MandateType: 3,
  72. OrderType: 2,
  73. },
  74. {
  75. value: 13,
  76. label: '设备巡检',
  77. MandateType: 3,
  78. OrderType: 2,
  79. },
  80. {
  81. value: 14,
  82. label: '数据超限',
  83. MandateType: 3,
  84. OrderType: 2,
  85. },
  86. {
  87. value: 15,
  88. label: '备品预警',
  89. MandateType: 3,
  90. OrderType: 2,
  91. },
  92. ];
  93. export const MandateType = [
  94. {
  95. value: 1,
  96. label: '工况任务',
  97. },
  98. {
  99. value: 2,
  100. label: '系统自检任务',
  101. },
  102. {
  103. value: 3,
  104. label: '生产任务',
  105. },
  106. ];
  107. export const MandateStatus = [
  108. {
  109. value: 0,
  110. label: '未处理',
  111. },
  112. {
  113. value: 2,
  114. label: '已完成',
  115. },
  116. {
  117. value: 4,
  118. label: '已忽略',
  119. },
  120. {
  121. value: 5,
  122. label: '已派遣',
  123. },
  124. ];
  125. export const OrderType = [
  126. {
  127. value: 1,
  128. label: '工艺工单',
  129. },
  130. {
  131. value: 2,
  132. label: '维修工单',
  133. },
  134. {
  135. value: 3,
  136. label: '保养工单',
  137. },
  138. ];
  139. export const OrderStatus = [
  140. {
  141. value: 0,
  142. label: '处理中',
  143. },
  144. {
  145. value: 1,
  146. label: '已提交',
  147. },
  148. {
  149. value: 2,
  150. label: '已完成',
  151. },
  152. {
  153. value: 3,
  154. label: '已拒绝',
  155. },
  156. ];
  157. export const RepairOrderStatus =[
  158. {
  159. value: 0,
  160. label: '维修中',
  161. },
  162. {
  163. value: 1,
  164. label: '已提交',
  165. },
  166. {
  167. value: 2,
  168. label: '已维修',
  169. },
  170. ]
  171. export const MaintainOrderStatus =[
  172. {
  173. value: 1,
  174. label: '已提交',
  175. },
  176. {
  177. value: 2,
  178. label: '已保养',
  179. },
  180. ]
  181. export const CraftOrderStatus =[
  182. {
  183. value: 0,
  184. label: '进行中',
  185. },
  186. {
  187. value: 1,
  188. label: '已提交',
  189. },
  190. {
  191. value: 2,
  192. label: '已通过',
  193. },
  194. ]