Constant.js 13 KB

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