workbench.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. export const tabList = [
  2. {
  3. label: '待办事宜',
  4. key: 'wait',
  5. icon: 'el-icon-edit'
  6. },
  7. {
  8. label: '已办事宜',
  9. key: 'over',
  10. icon: 'el-icon-document-remove'
  11. },
  12. {
  13. label: '办结事宜',
  14. key: 'finish',
  15. icon: 'el-icon-paperclip'
  16. },
  17. {
  18. label: '暂存事宜',
  19. key: 'save',
  20. icon: 'el-icon-receiving'
  21. },
  22. {
  23. label: '通知公告',
  24. key: 'news',
  25. icon: 'el-icon-message'
  26. },
  27. {
  28. label: '系统指引',
  29. key: 'guide',
  30. icon: 'el-icon-guide'
  31. }
  32. ]
  33. export const taskState = {
  34. running: '已发起',
  35. end: '已结束',
  36. manualend: '人工结束'
  37. }
  38. export const stateOption = {
  39. wait: {
  40. label: '待办理',
  41. type: ''
  42. },
  43. soon: {
  44. label: '即将超时',
  45. type: 'warning'
  46. },
  47. overtime: {
  48. label: '已超时',
  49. type: 'danger'
  50. }
  51. }
  52. export const taskTypeOptions = [
  53. {
  54. key: '临时事务',
  55. value: '临时事务',
  56. type: 'info'
  57. },
  58. {
  59. key: '周期事务',
  60. value: '周期事务',
  61. type: 'success'
  62. },
  63. {
  64. key: '定时事务',
  65. value: '定时事务',
  66. type: 'warning'
  67. }
  68. ]