You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

261 lines
7.1 KiB

2 weeks ago
  1. export const productList = [
  2. {
  3. "value": "金币产品",
  4. "label": "金币产品",
  5. "children": [
  6. {
  7. "value": "金币充值",
  8. "label": "金币充值"
  9. }
  10. ]
  11. },
  12. {
  13. "value": "软件产品",
  14. "label": "软件产品",
  15. "children": [
  16. {
  17. "value": "软件",
  18. "label": "软件",
  19. "children": [
  20. {
  21. "value": "美股",
  22. "label": "美股",
  23. "children": [
  24. { "value": "美股软件", "label": "美股软件" },
  25. { "value": "美股金卡", "label": "美股金卡" },
  26. { "value": "美股套餐", "label": "美股套餐" }
  27. ]
  28. },
  29. {
  30. "value": "港股",
  31. "label": "港股",
  32. "children": [
  33. { "value": "港股软件", "label": "港股软件" },
  34. { "value": "港股金卡", "label": "港股金卡" },
  35. { "value": "港股套餐", "label": "港股套餐" }
  36. ]
  37. },
  38. {
  39. "value": "A股",
  40. "label": "A股",
  41. "children": [
  42. { "value": "A股软件", "label": "A股软件" },
  43. { "value": "A股金卡", "label": "A股金卡" },
  44. { "value": "A股套餐", "label": "A股套餐" }
  45. ]
  46. },
  47. {
  48. "value": "新加坡股",
  49. "label": "新加坡股",
  50. "children": [
  51. { "value": "新加坡股软件", "label": "新加坡股软件" },
  52. { "value": "新加坡股金卡", "label": "新加坡股金卡" },
  53. { "value": "新加坡股套餐", "label": "新加坡股套餐" }
  54. ]
  55. },
  56. {
  57. "value": "马股",
  58. "label": "马股",
  59. "children": [
  60. { "value": "马股软件", "label": "马股软件" },
  61. { "value": "马股金卡", "label": "马股金卡" },
  62. { "value": "马股套餐", "label": "马股套餐" }
  63. ]
  64. },
  65. {
  66. "value": "日本股",
  67. "label": "日本股",
  68. "children": [
  69. { "value": "日本股软件", "label": "日本股软件" },
  70. { "value": "日本股金卡", "label": "日本股金卡" },
  71. { "value": "日本股套餐", "label": "日本股套餐" }
  72. ]
  73. },
  74. {
  75. "value": "泰股",
  76. "label": "泰股",
  77. "children": [
  78. { "value": "泰股软件", "label": "泰股软件" },
  79. { "value": "泰股金卡", "label": "泰股金卡" },
  80. { "value": "泰股套餐", "label": "泰股套餐" }
  81. ]
  82. },
  83. {
  84. "value": "越南股",
  85. "label": "越南股",
  86. "children": [
  87. { "value": "越南股软件", "label": "越南股软件" },
  88. { "value": "越南股金卡", "label": "越南股金卡" },
  89. { "value": "越南股套餐", "label": "越南股套餐" }
  90. ]
  91. },
  92. {
  93. "value": "印尼股",
  94. "label": "印尼股",
  95. "children": [
  96. { "value": "印尼股软件", "label": "印尼股软件" },
  97. { "value": "印尼股金卡", "label": "印尼股金卡" },
  98. { "value": "印尼股套餐", "label": "印尼股套餐" }
  99. ]
  100. },
  101. {
  102. "value": "韩国股",
  103. "label": "韩国股",
  104. "children": [
  105. { "value": "韩国股软件", "label": "韩国股软件" },
  106. { "value": "韩国股金卡", "label": "韩国股金卡" },
  107. { "value": "韩国股套餐", "label": "韩国股套餐" }
  108. ]
  109. },
  110. {
  111. "value": "台湾股",
  112. "label": "台湾股",
  113. "children": [
  114. { "value": "台湾股软件", "label": "台湾股软件" },
  115. { "value": "台湾股金卡", "label": "台湾股金卡" },
  116. { "value": "台湾股套餐", "label": "台湾股套餐" }
  117. ]
  118. }
  119. ]
  120. },
  121. {
  122. "value": "AI机构探测神器",
  123. "label": "AI机构探测神器",
  124. "children": [
  125. {
  126. "value": "AI机构追踪",
  127. "label": "AI机构追踪"
  128. },
  129. {
  130. "value": "AI机构出击",
  131. "label": "AI机构出击"
  132. },
  133. {
  134. "value": "AI机构资金",
  135. "label": "AI机构资金"
  136. },
  137. {
  138. "value": "AI机构活跃度",
  139. "label": "AI机构活跃度"
  140. },
  141. {
  142. "value": "AI机构探测神器",
  143. "label": "AI机构探测神器"
  144. }
  145. ]
  146. },
  147. {
  148. "value": "超级机构探测神器",
  149. "label": "超级机构探测神器",
  150. "children": [
  151. {
  152. "value": "超级机构透视",
  153. "label": "超级机构透视"
  154. },
  155. {
  156. "value": "超级机构伏击",
  157. "label": "超级机构伏击"
  158. },
  159. {
  160. "value": "超级机构猎杀",
  161. "label": "超级机构猎杀"
  162. },
  163. {
  164. "value": "超级机构脉博",
  165. "label": "超级机构脉博"
  166. },
  167. {
  168. "value": "超级机构罗盘",
  169. "label": "超级机构罗盘"
  170. },
  171. {
  172. "value": "超级机构探测神器",
  173. "label": "超级机构探测神器"
  174. }
  175. ]
  176. },
  177. {
  178. "value": "其他",
  179. "label": "其他",
  180. "children": [
  181. {
  182. "value": "静态信息费",
  183. "label": "静态信息费"
  184. },
  185. {
  186. "value": "博股会员",
  187. "label": "博股会员"
  188. },
  189. {
  190. "value": "Hc信息费",
  191. "label": "Hc信息费"
  192. }
  193. ]
  194. }
  195. ]
  196. }
  197. ]
  198. export const MarketNameForId = (name) => {
  199. if (name == '新加坡') {
  200. return 4
  201. } else if (name == '加拿大') {
  202. return 24016
  203. } else if (name == '马来西亚') {
  204. return 5
  205. } else if (name == '香港') {
  206. return 13
  207. } else if (name == '泰国') {
  208. return 24018
  209. } else if (name == '越南HCM') {
  210. return 24022
  211. } else {
  212. return name
  213. }
  214. }
  215. export const CurrencyForId = (name) => {
  216. if (name == '美元(USD)') {
  217. return 1
  218. } else if (name == '港币(HKD)') {
  219. return 2
  220. } else if (name == '新币(SGD)') {
  221. return 3
  222. } else if (name == '马币(MYR)') {
  223. return 4
  224. } else if (name == '泰铢(THB)') {
  225. return 5
  226. } else if (name == '加币(CAD)') {
  227. return 6
  228. } else if (name == '越南盾(VDN)') {
  229. return 7
  230. } else if (name == '越南盾(VDN)') {
  231. return 8
  232. } else {
  233. return name
  234. }
  235. }
  236. export const marketList = ['马来西亚', '香港', '新加坡', '泰国', '越南HCM', '加拿大']
  237. export const statusList = [
  238. {
  239. name: '待审核',
  240. value: 0
  241. },
  242. {
  243. name: '已通过',
  244. value: 134
  245. },
  246. {
  247. name: '已撤回',
  248. value: 5
  249. }, {
  250. name: '退款',
  251. value: 6
  252. }, {
  253. name: '已驳回',
  254. value: 2
  255. },
  256. ]
  257. export const numUnitList = ['个', '年', '月']