Constant.js 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. export const UserUrl = 'http://www.baidu.com/';
  2. export const QuestionDifficult = [{ label: 'easy', value: 'easy' }, { label: 'medium', value: 'medium' }, { label: 'hard', value: 'hard' }];
  3. export const QuestionType = [{ label: 'SC/语法', value: 'sc', long: 'Sentence Correnction' }, { label: 'RC/阅读', value: 'rc', long: 'Reading Comprehension' }, { label: 'CR/逻辑', value: 'cr', long: 'Critical Reasoning' }, { label: 'PS/数学', value: 'ps', long: 'Problem solving' }, { label: 'DS/数学', value: 'ds', long: 'Data Sufficiency' }, { label: 'IR/综合推理', value: 'ir', long: 'Integrated Reasoning' }, { label: 'AWA/作文', value: 'awa', long: 'Analytical Writing Assessment' }];
  4. export const TextbookType = [{ label: 'PS/数学', value: 'ps' }, { label: 'DS/数学', value: 'ds' }];
  5. export const ChannelModule = [{ label: '', value: '' }];
  6. export const MoneyRange = [{ label: '0', value: 0 }, { label: '1-1000', value: 1 }, { label: '1000-5000', value: 2 }, { label: '5000-10000', value: 3 }, { label: '10000以上', value: 4 }];
  7. export const AskTarget = [{ label: '题目', value: 'question', title: '题目', key: 'question' }, { label: '官方解析', value: 'official', title: '官方解析', key: 'official' }, { label: '千行解析', value: 'qx', title: '千行解析', key: 'qx' }, { label: '题源联想', value: 'association', title: '题源联想', key: 'association' }, { label: '相关问答', value: 'qa', title: '相关问答', key: 'qa' }];
  8. export const PreviewStatus = [{ label: '全部', value: 0 }, { label: '未开始', value: 1 }, { label: '进行中', value: 2 }, { label: '已结束', value: 3 }];
  9. export const PreviewMode = [{ label: '指定作业', value: 0 }, { label: '系统作业', value: 1 }];
  10. export const ServiceKey = [{ label: 'VIP', value: 'vip' }, { label: '机经', value: 'textbook' }, { label: '千行CAT', value: 'qx_cat' }];
  11. export const ServiceParamMap = {
  12. vip: [{ label: '1个月', value: '1month' }, { label: '3个月', value: '3month' }, { label: '6个月', value: '6month' }],
  13. };
  14. export const ServiceSource = [{ label: '线下支付', value: 'offline' }, { label: '线上支付', value: 'online' }, { label: '实名认证', value: 'real' }, { label: '邀请好友', value: 'invite' }];
  15. export const SwitchSelect = [{ value: 0, label: '否' }, { value: 1, label: '是' }];
  16. export const AskStatus = [{ value: 0, label: '新增' }, { value: 1, label: '已回答' }, { value: 2, label: '忽略' }];
  17. export const FeedbackStatus = [{ value: 0, label: '新增' }, { value: 1, label: '已处理' }, { value: 2, label: '忽略' }];
  18. export const FeedbackModule = [{ value: 'question', label: '题目' }, { value: 'data', label: '资料' }];
  19. export const PrepareStatus = [{ label: '学生-Domestic', value: 'student_domestic' }, { label: '学生-Overseas', value: 'student_overseas' }, { label: '在职-Domestic', value: 'worker_domestic' }, { label: '在职-Overseas', value: 'worker_overseas' }, { label: 'Gap Year', value: 'gap_year' }];
  20. export const PrepareExaminationTime = [{ label: '近1个月', value: 'one_month' }, { label: '近2个月', value: 'two_month' }, { label: '近3个月', value: 'three_month' }, { label: '半年内', value: 'six_month' }];
  21. export const PayModule = [{ label: '服务', value: 'service' }, { label: '课程', value: 'class' }, { label: '资料', value: 'data' }];
  22. export const QuestionStyleType = [{ label: '单选', value: 'single' }, { label: '横纵向单选', value: 'double' }, { label: '题目内选择', value: 'inline' }];
  23. export const QuestionRadioDirection = [{ label: '横向', value: 'landscape' }, { label: '纵向', value: 'portrait' }];
  24. export const SentenceOption = [{ label: '平行', value: 'parallel' }, { label: '修饰', value: 'embellish' }, { label: '转折', value: 'transition' }, { label: '比较', value: 'compare' }, { label: '因果', value: 'cause' }, { label: '递进', value: 'progressively' }];
  25. export const ExaminationSubject = [{ short: 'V', value: 'verbal', label: '语文', english: 'Verbal' }, { short: 'Q', value: 'quant', label: '数学', english: 'Quant' }, { short: 'IR', value: 'ir', label: '综合推理', english: 'LR' }, { short: 'AWA', value: 'awa', label: '作文', english: 'AWA' }];
  26. export const ExaminationOrder = [{ list: ['awa', 'ir', 'quant', 'verbal'] }, { list: ['quant', 'verbal', 'ir', 'awa'] }, { list: ['verbal', 'quant', 'ir', 'awa'] }];
  27. // const content = {
  28. // steps: [{
  29. // title: '',
  30. // stem: '',
  31. // }],
  32. // questions: [{
  33. // description: '', // type!=inline
  34. // select: [],
  35. // direction: '', // type=double
  36. // first: '', // type=double
  37. // second: '', // type=double
  38. // }],
  39. // table: {
  40. // row: 3,
  41. // col: 3,
  42. // header: [],
  43. // data: [[], []],
  44. // },
  45. // type: '',
  46. // number: '',
  47. // typeset: 'one|two',
  48. // };
  49. // const answer = {
  50. // questions: [{
  51. // single: [true, false],
  52. // double: [[true, false], [false, true]],
  53. // }],
  54. // // aws作文内容
  55. // aws: '',
  56. // // sentence
  57. // subject: [[{ text: '', uuid: '' }, { text: '', uuid: '' }], [{ text: '', uuid: '' }]],
  58. // predicate: [],
  59. // object: [],
  60. // options: [],
  61. // };
  62. // 答案分布
  63. // const answerDistributed = {
  64. // questions: [{
  65. // single: [0, 1],
  66. // double: [[0, 1], [11, 22]],
  67. // }],
  68. // };
  69. // 备考统计字段格式
  70. // const PrepareStat = {
  71. // status: [{ key: '', value: '' }],
  72. // goal: [{ key: '', value: '' }],
  73. // examinationTime: [{ key: '', value: '' }],
  74. // scoreTime: [{ key: '', value: '' }],
  75. // };
  76. // 练习报告
  77. // const exerciseReportDetail = {
  78. // pace: [{ no: '', time: '', userTime: '' }],
  79. // difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
  80. // place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
  81. // limit: { userNumber: '', userCorrect: '' },
  82. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '', totalTime: '', correctTime: '', incorrectTime: '' },
  83. // };
  84. // 长难句做题结果
  85. // const sentenceQuestionDetail = {
  86. // subject: true,
  87. // predicate: true,
  88. // object: true,
  89. // options: true,
  90. // };
  91. // 长难句报告
  92. // const sentenceReportDetail = {
  93. // ability: { score: '', struct: '', logic: '', spped: '' },
  94. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '', totalTime: '', correctTime: '', incorrectTime: '' },
  95. // };
  96. // 模考题目数:/base/examination/number返回
  97. // const examinationNumber = { verbal: { number: '36', time: '65' }, ir: { number: '12', time: '30' }, awa: { number: '1', time: '30' }, quant: { number: '31', time: '62' } };
  98. // 模考设置
  99. // const examinationSetting = {
  100. // order: [],
  101. // disorder: true,
  102. // stage: '', // 当前阶段
  103. // time: { verbal: 0 }, // 每个阶段时间
  104. // number: { verbal: 0 }, // 每个阶段做题数
  105. // verbal: { steps: [{ ids: [], level: 0 }] }, // 语文出题逻辑
  106. // quant: { steps: [{ ids: [], level: 0 }] }, // 数学出题逻辑
  107. // rc: { 5: 8 }, // 随机出题时,rc题的对应序号
  108. // };
  109. // 模考卷子分数
  110. // const examinationScore = {
  111. // total: 123, totalRank:12, quant: 123, quantRank: 123, verbal: 123, verbalRank: 123, ir: 123, irRank: 123,
  112. // };
  113. // 模考卷子报告
  114. // const examinationReportDetail = {
  115. // subject: {
  116. // [key]: {
  117. // key: '',
  118. // pace: [{ no: '', time: '', userTime: '' }],
  119. // accumulation: [{ no: '', time: '', userTime: '' }],
  120. // info: { questionNumber: '', time: '', userNumber: '', userTime: '' },
  121. // },
  122. // },
  123. // type: {
  124. // [key]: {
  125. // key: '',
  126. // place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
  127. // difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
  128. // info: { userNumber: '', userTime: '', userCorrect: '', correctTime: '', incorrectTime: '' },
  129. // },
  130. // },
  131. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '' },
  132. // };
  133. // 每日统计
  134. // 首页设置:
  135. // const index = {
  136. // class: [{
  137. // title: '',
  138. // image: '',
  139. // link: '',
  140. // }],
  141. // activity: [{
  142. // image: '',
  143. // link: '',
  144. // }],
  145. // evaluation: [{
  146. // nickname: '',
  147. // avatar: '',
  148. // content: '',
  149. // }],
  150. // prepare: {
  151. // first: '',
  152. // continue: '',
  153. // classJunior: '',
  154. // classMiddle: '',
  155. // classSenior: '',
  156. // },
  157. // user: {
  158. // numberOffline: 0,
  159. // number700: 0,
  160. // numberScore: 0,
  161. // },
  162. // contact: {
  163. // phone: '',
  164. // email: '',
  165. // wechat: '',
  166. // wechatImage: '',
  167. // weiboImage: '',
  168. // },
  169. // };