columns.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { useDictionaryStore } from "../../../store/index";
  2. const { dicts } = useDictionaryStore();
  3. export const columns = [
  4. {
  5. label: "审理单号",
  6. prop: "trackingNumber",
  7. overHidden: true,
  8. width:120,
  9. search: true,
  10. },
  11. {
  12. label: "工单号",
  13. prop: "workOrderCode",
  14. overHidden: true,
  15. width:120,
  16. search: true,
  17. },
  18. {
  19. label: "订单号",
  20. prop: "orderCode",
  21. overHidden: true,
  22. width:120,
  23. search: true,
  24. },
  25. {
  26. label: "不合格数量",
  27. overHidden: true,
  28. width:100,
  29. prop: "unqualifiedNum",
  30. },
  31. {
  32. label: "序列号", prop: "seqNo", overHidden: true,
  33. },
  34. {
  35. label: "状态", prop: "state", overHidden: true,
  36. width:120,
  37. dicData:dicts.escalation_fault_state,
  38. props: { label: "dictLabel", value: "dictValue" },
  39. },
  40. {
  41. label: "跟踪状态", prop: "currentState", overHidden: true,
  42. width:100,
  43. dicData:dicts.fault_current_state,
  44. props: { label: "dictLabel", value: "dictValue" },
  45. },
  46. {
  47. label: "报故人", prop: "creator",
  48. overHidden: true,
  49. width:100,
  50. search: true,
  51. },
  52. ];