Constant.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. export const UserUrl = 'http://www.baidu.com';
  2. export const H5Url = 'http://127.0.0.1:3000';
  3. export const WechatAppId = 'wxbee75af2ece94ed7';
  4. export const QuestionDifficult = [{ label: 'easy', value: 'easy' }, { label: 'medium', value: 'medium' }, { label: 'hard', value: 'hard' }];
  5. 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' }];
  6. export const TextbookType = [{ label: 'PS/数学', value: 'ps' }, { label: 'DS/数学', value: 'ds' }];
  7. export const ChannelModule = [{ label: '', value: '' }];
  8. 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 }];
  9. 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' }];
  10. export const PreviewStatus = [{ label: '全部', value: 0 }, { label: '未开始', value: 1 }, { label: '进行中', value: 2 }, { label: '已结束', value: 3 }];
  11. export const PreviewMode = [{ label: '指定作业', value: 0 }, { label: '系统作业', value: 1 }];
  12. export const ServiceKey = [{ label: 'VIP', value: 'vip' }, { label: '机经', value: 'textbook' }, { label: '千行CAT', value: 'qx_cat' }];
  13. export const ServiceParamMap = {
  14. vip: [{ label: '1个月', value: '1month' }, { label: '3个月', value: '3month' }, { label: '6个月', value: '6month' }],
  15. };
  16. export const ServiceSource = [{ label: '线下支付', value: 'offline' }, { label: '线上支付', value: 'online' }, { label: '实名认证', value: 'real' }, { label: '邀请好友', value: 'invite' }, { label: '课程赠送', value: 'gift_course' }, { label: '活动赠送', value: 'gift_activity' }];
  17. export const CourseSource = [{ label: '线下报名', value: 'offline' }, { label: '线上报名', value: 'online' }];
  18. export const SwitchSelect = [{ value: 0, label: '否' }, { value: 1, label: '是' }];
  19. export const AskStatus = [{ value: 0, label: '新增' }, { value: 1, label: '已回答' }, { value: 2, label: '忽略' }];
  20. export const FeedbackStatus = [{ value: 0, label: '新增' }, { value: 1, label: '已处理' }, { value: 2, label: '忽略' }, { value: 3, label: '无需修改' }];
  21. export const FeedbackModule = [{ value: 'question', label: '题目' }, { value: 'data', label: '资料' }];
  22. 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' }];
  23. export const PrepareExaminationTime = [{ label: '近1个月', value: 'one_month' }, { label: '近2个月', value: 'two_month' }, { label: '近3个月', value: 'three_month' }, { label: '半年内', value: 'six_month' }];
  24. export const PayModule = [{ label: '服务', value: 'service' }, { label: '课程', value: 'class' }, { label: '资料', value: 'data' }];
  25. export const QuestionStyleType = [{ label: '单选', value: 'single' }, { label: '横纵向单选', value: 'double' }, { label: '题目内选择', value: 'inline' }];
  26. export const QuestionRadioDirection = [{ label: '横向', value: 'landscape' }, { label: '纵向', value: 'portrait' }];
  27. export const SentenceOption = [{ label: '平行', value: 'parallel' }, { label: '修饰', value: 'embellish' }, { label: '转折', value: 'transition' }, { label: '比较', value: 'compare' }, { label: '因果', value: 'cause' }, { label: '递进', value: 'progressively' }];
  28. 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' }];
  29. export const ExaminationOrder = [{ list: ['awa', 'ir', 'quant', 'verbal'] }, { list: ['quant', 'verbal', 'ir', 'awa'] }, { list: ['verbal', 'quant', 'ir', 'awa'] }];
  30. export const DataType = [{ label: '电子', value: 'electron' }, { label: '纸质', value: 'paper' }];
  31. export const ExperienceScore = [{ label: '650+', value: '_650' }, { label: '700+', value: '_700' }, { label: '750+', value: '_750' }];
  32. export const ExperiencePercent = [{ label: '50+', value: '_50' }, { label: '100+', value: '_100' }, { label: '150+', value: '_150' }, { label: '200+', value: '_200' }];
  33. export const CourseModule = [{ label: '视频课程', value: 'video' }, { label: '小班课程', value: 'online' }, { label: '1v1课程', value: 'vs' }];
  34. export const CourseVsType = [{ label: '新手辅导', value: 'novice' }, { label: '诊断辅导', value: 'coach' }, { label: '系统授课', value: 'system' }, { label: '答疑课', value: 'answer' }];
  35. export const CourseVideoType = [{ label: '基础刷题', value: 'base' }, { label: '系统授课', value: 'system' }, { label: '思维提升', value: 'thinking' }];
  36. export const CrowdList = [{ label: '新手', value: 'novice' }, { label: '非新手', value: 'veteran' }];
  37. export const CourseStatus = [{ label: '未开通', value: 0 }, { label: '学习中', value: 1 }, { label: '已到期', value: 2 }];
  38. export const InvoiceType = [{ label: '个人', value: 'personal' }, { label: '企业', value: 'enterprise' }];
  39. export const TextbookQuality = [{ label: '残缺', value: 'incomplete' }, { label: '较完整', value: 'morecomplete' }, { label: '完整', value: 'complete' }];
  40. export const TextbookSubject = [{ label: '数学', value: 'quant' }, { label: '语文', value: 'verbal' }, { label: '逻辑', value: 'rc' }];
  41. export const MobileArea = ['+86', '+1'].map(row => {
  42. return { label: row, value: row };
  43. });
  44. // const content = {
  45. // steps: [{
  46. // title: '',
  47. // stem: '',
  48. // }],
  49. // questions: [{
  50. // description: '', // type!=inline
  51. // select: [],
  52. // direction: '', // type=double
  53. // first: '', // type=double
  54. // second: '', // type=double
  55. // }],
  56. // table: {
  57. // row: 3,
  58. // col: 3,
  59. // header: [],
  60. // data: [[], []],
  61. // },
  62. // type: '',
  63. // number: '',
  64. // typeset: 'one|two',
  65. // };
  66. // const answer = {
  67. // questions: [{
  68. // single: [true, false],
  69. // double: [[true, false], [false, true]],
  70. // }],
  71. // // aws作文内容
  72. // aws: '',
  73. // // sentence
  74. // subject: [[{ text: '', uuid: '' }, { text: '', uuid: '' }], [{ text: '', uuid: '' }]],
  75. // predicate: [],
  76. // object: [],
  77. // options: [],
  78. // };
  79. // 答案分布
  80. // const answerDistributed = {
  81. // questions: [{
  82. // single: [0, 1],
  83. // double: [[0, 1], [11, 22]],
  84. // }],
  85. // };
  86. // 备考统计字段格式
  87. // const PrepareStat = {
  88. // status: [{ key: '', value: '' }],
  89. // goal: [{ key: '', value: '' }],
  90. // examinationTime: [{ key: '', value: '' }],
  91. // scoreTime: [{ key: '', value: '' }],
  92. // };
  93. // 练习报告
  94. // const exerciseReportDetail = {
  95. // pace: [{ no: '', time: '', userTime: '' }],
  96. // difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
  97. // place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
  98. // limit: { userNumber: '', userCorrect: '' },
  99. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '', totalTime: '', correctTime: '', incorrectTime: '' },
  100. // };
  101. // 长难句做题结果
  102. // const sentenceQuestionDetail = {
  103. // subject: true,
  104. // predicate: true,
  105. // object: true,
  106. // options: true,
  107. // };
  108. // 长难句报告
  109. // const sentenceReportDetail = {
  110. // ability: { score: '', struct: '', logic: '', spped: '' },
  111. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '', totalTime: '', correctTime: '', incorrectTime: '' },
  112. // };
  113. // 模考题目数:/base/examination/number返回
  114. // const examinationNumber = { verbal: { number: '36', time: '65' }, ir: { number: '12', time: '30' }, awa: { number: '1', time: '30' }, quant: { number: '31', time: '62' } };
  115. // 模考设置
  116. // const examinationSetting = {
  117. // order: [],
  118. // disorder: true,
  119. // stage: '', // 当前阶段
  120. // time: { verbal: 0 }, // 每个阶段时间
  121. // number: { verbal: 0 }, // 每个阶段做题数
  122. // verbal: { steps: [{ ids: [], level: 0 }] }, // 语文出题逻辑
  123. // quant: { steps: [{ ids: [], level: 0 }] }, // 数学出题逻辑
  124. // rc: { 5: 8 }, // 随机出题时,rc题的对应序号
  125. // };
  126. // 模考卷子分数
  127. // const examinationScore = {
  128. // total: 123, totalRank:12, quant: 123, quantRank: 123, verbal: 123, verbalRank: 123, ir: 123, irRank: 123,
  129. // };
  130. // 模考卷子报告
  131. // const examinationReportDetail = {
  132. // subject: {
  133. // [key]: {
  134. // key: '',
  135. // pace: [{ no: '', time: '', userTime: '' }],
  136. // accumulation: [{ no: '', time: '', userTime: '' }],
  137. // info: { questionNumber: '', time: '', userNumber: '', userTime: '' },
  138. // },
  139. // },
  140. // type: {
  141. // [key]: {
  142. // key: '',
  143. // place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
  144. // difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
  145. // info: { userNumber: '', userTime: '', userCorrect: '', correctTime: '', incorrectTime: '' },
  146. // },
  147. // },
  148. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '' },
  149. // };
  150. // 每日统计
  151. // 首页设置:
  152. // const index = {
  153. // class: [{
  154. // title: '',
  155. // image: '',
  156. // link: '',
  157. // }],
  158. // activity: [{
  159. // image: '',
  160. // link: '',
  161. // }],
  162. // evaluation: [{
  163. // nickname: '',
  164. // avatar: '',
  165. // content: '',
  166. // }],
  167. // prepare: {
  168. // first: '',
  169. // continue: '',
  170. // classJunior: '',
  171. // classMiddle: '',
  172. // classSenior: '',
  173. // },
  174. // user: {
  175. // numberOffline: 0,
  176. // number700: 0,
  177. // numberScore: 0,
  178. // },
  179. // contact: {
  180. // phone: '',
  181. // email: '',
  182. // wechat: '',
  183. // wechatImage: '',
  184. // weiboImage: '',
  185. // },
  186. // };
  187. // service信息
  188. // const service = {
  189. // price: 0,
  190. // title: '',
  191. // description: '',
  192. // expire_info: '',
  193. // refund_policy: '',
  194. // copyright_notes: '',
  195. // }
  196. // 心经配置
  197. // const exerienceInfo = {
  198. // score: [],
  199. // percent: [],
  200. // period: 0,
  201. // };