constants.js 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. export const paperTypeOptions = [
  2. {
  3. label: '专业组考试',
  4. value: '专业组考试'
  5. },
  6. {
  7. label: '职能岗位考题',
  8. value: '职能岗位考题'
  9. },
  10. {
  11. label: 'ISO15189相关考试',
  12. value: 'ISO15189相关考试'
  13. },
  14. // {
  15. // label: '数学题库',
  16. // value: '数学题库'
  17. // }
  18. ]
  19. export const examTypeOptions = [
  20. {
  21. label: '培训考试',
  22. value: '培训考试'
  23. },
  24. {
  25. label: '自主考核',
  26. value: '自主考核'
  27. },
  28. {
  29. label: '常规',
  30. value: '常规'
  31. }
  32. ]
  33. export const scoringType = [
  34. {
  35. label: '平均分',
  36. value: '平均分'
  37. },
  38. {
  39. label: '最高分',
  40. value: '最高分'
  41. },
  42. {
  43. label: '最近得分',
  44. value: '最近得分'
  45. }
  46. ]
  47. export const questionType = [
  48. {
  49. label: '单选题',
  50. value: '单选题'
  51. },
  52. {
  53. label: '多选题',
  54. value: '多选题'
  55. },
  56. {
  57. label: '判断题',
  58. value: '判断题'
  59. },
  60. {
  61. label: '填空题',
  62. value: '填空题'
  63. },
  64. {
  65. label: '简答题',
  66. value: '简答题'
  67. }
  68. ]
  69. export const rateType = {
  70. '单选题': '自动',
  71. '多选题': '自动',
  72. '判断题': '自动',
  73. '填空题': '手动',
  74. '简答题': '手动'
  75. }
  76. export const defaultOptions = [
  77. {
  78. value: 'A',
  79. radio: 'A',
  80. checkbox: [],
  81. content: ''
  82. },
  83. {
  84. value: 'B',
  85. radio: '',
  86. checkbox: [],
  87. content: ''
  88. },
  89. {
  90. value: 'C',
  91. radio: '',
  92. checkbox: [],
  93. content: ''
  94. },
  95. {
  96. value: 'D',
  97. radio: '',
  98. checkbox: [],
  99. content: ''
  100. }
  101. ]
  102. export const statusOption = [
  103. {
  104. label: '未发布',
  105. value: '未发布',
  106. type: 'info'
  107. },
  108. {
  109. label: '已取消',
  110. value: '已取消',
  111. type: 'warning'
  112. },
  113. {
  114. label: '已发布',
  115. value: '已发布',
  116. type: 'primary'
  117. },
  118. {
  119. label: '已结束',
  120. value: '已结束',
  121. type: 'success'
  122. }
  123. ]
  124. const qualifiedType = [
  125. {
  126. label: '达标',
  127. value: '达标',
  128. type: 'success'
  129. },
  130. {
  131. label: '未达标',
  132. value: '未达标',
  133. type: 'danger'
  134. },
  135. {
  136. label: '考试未结束',
  137. value: '考试未结束',
  138. type: 'warning'
  139. }
  140. ]
  141. export const basicColumn = [
  142. { prop: 'examName', label: '考试名称', minWidth: 200 },
  143. { prop: 'examType', label: '考试类型', width: 90 },
  144. { prop: 'bankName', label: '考试题库', width: 160 },
  145. { prop: 'examState', label: '状态', width: 80, tags: statusOption },
  146. { prop: 'totalScore', label: '总分', width: 65 }
  147. ]
  148. export const infoColumn = [
  149. { prop: 'questionCount', label: '题数', width: 65 },
  150. { prop: 'duration', label: '考试时长', width: 100 },
  151. { prop: 'limitCount', label: '限考次数', width: 85 },
  152. { prop: 'limitDate', label: '限考时间', width: 120 },
  153. { prop: 'isRand', label: '是否随机', slotName: 'isRand', width: 65 }
  154. ]
  155. export const resultColumn = [
  156. { prop: 'qualifiedRadio', label: '达标分值占比', width: 75 },
  157. { prop: 'scoringType', label: '计分方式', width: 85 },
  158. { prop: 'examineeCount', label: '考试人数', width: 65 },
  159. { prop: 'examFinishCount', label: '完考人数', width: 65 },
  160. { prop: 'maxScore', label: '最高分 ', width: 70 },
  161. { prop: 'minScore', label: '最低分', width: 70 },
  162. { prop: 'avgScore', label: '平均分', width: 70 },
  163. { prop: 'passRate', label: '达标率', width: 70 }
  164. ]