st-comp 0.0.47 → 0.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,649 @@
1
+ export const getConfig = () => {
2
+ return [
3
+ {
4
+ label: '总市值',
5
+ key: 'marketCapital',
6
+ type: 'default',
7
+ startUnit: "亿",
8
+ endUnit: "亿",
9
+ unitOptions: [
10
+ { value: "元", label: "元" },
11
+ { value: "千万", label: "千万" },
12
+ { value: "亿", label: "亿" },
13
+ ],
14
+ options: [
15
+ {
16
+ start: null,
17
+ startUnit: "亿",
18
+ end: 10,
19
+ endUnit: "亿",
20
+ btnText: "≤10亿",
21
+ style: 'width: 140px; margin-right: 25px;',
22
+ },
23
+ {
24
+ start: null,
25
+ startUnit: "亿",
26
+ end: 25,
27
+ endUnit: "亿",
28
+ btnText: "≤25亿",
29
+ style: 'width: 140px; margin-right: 25px;',
30
+ },
31
+ {
32
+ start: null,
33
+ startUnit: "亿",
34
+ end: 50,
35
+ endUnit: "亿",
36
+ btnText: "≤50亿",
37
+ style: 'width: 140px',
38
+ },
39
+ {
40
+ start: 20,
41
+ startUnit: "亿",
42
+ end: 50,
43
+ endUnit: "亿",
44
+ btnText: "20亿~50亿",
45
+ style: 'width: 140px; margin-right: 25px;',
46
+ },
47
+ {
48
+ start: 100,
49
+ startUnit: "亿",
50
+ end: null,
51
+ endUnit: "亿",
52
+ btnText: "≥100亿",
53
+ style: 'width: 140px; margin-right: 25px;',
54
+ },
55
+ {
56
+ start: 200,
57
+ startUnit: "亿",
58
+ end: null,
59
+ endUnit: "亿",
60
+ btnText: "≥200亿",
61
+ style: 'width: 140px',
62
+ },
63
+ {
64
+ start: 500,
65
+ startUnit: "亿",
66
+ end: null,
67
+ endUnit: "亿",
68
+ btnText: "≥500亿",
69
+ style: 'width: 140px; margin-right: 25px;',
70
+ },
71
+ {
72
+ start: 1000,
73
+ startUnit: "亿",
74
+ end: null,
75
+ endUnit: "亿",
76
+ btnText: "≥1000亿",
77
+ style: 'width: 140px; margin-right: 25px;',
78
+ },
79
+ ]
80
+ },
81
+ {
82
+ label: '流通市值',
83
+ key: 'floatMarketCapital',
84
+ type: 'default',
85
+ startUnit: "亿",
86
+ endUnit: "亿",
87
+ unitOptions: [
88
+ { value: "元", label: "元" },
89
+ { value: "千万", label: "千万" },
90
+ { value: "亿", label: "亿" },
91
+ ],
92
+ options: [
93
+ {
94
+ start: null,
95
+ startUnit: "亿",
96
+ end: 5,
97
+ endUnit: "亿",
98
+ btnText: "≤5亿",
99
+ style: 'width: 140px; margin-right: 25px;',
100
+ },
101
+ {
102
+ start: null,
103
+ startUnit: "亿",
104
+ end: 20,
105
+ endUnit: "亿",
106
+ btnText: "≤20亿",
107
+ style: 'width: 140px; margin-right: 25px;',
108
+ },
109
+ {
110
+ start: null,
111
+ startUnit: "亿",
112
+ end: 50,
113
+ endUnit: "亿",
114
+ btnText: "≤50亿",
115
+ style: 'width: 140px;',
116
+ },
117
+ {
118
+ start: null,
119
+ startUnit: "亿",
120
+ end: 100,
121
+ endUnit: "亿",
122
+ btnText: "≤100亿",
123
+ style: 'width: 140px; margin-right: 25px;',
124
+ },
125
+ {
126
+ start: 100,
127
+ startUnit: "亿",
128
+ end: null,
129
+ endUnit: "亿",
130
+ btnText: "≥100亿",
131
+ style: 'width: 140px; margin-right: 25px;',
132
+ },
133
+ {
134
+ start: 200,
135
+ startUnit: "亿",
136
+ end: null,
137
+ endUnit: "亿",
138
+ btnText: "≥200亿",
139
+ style: 'width: 140px',
140
+ },
141
+ {
142
+ start: 500,
143
+ startUnit: "亿",
144
+ end: null,
145
+ endUnit: "亿",
146
+ btnText: "≥500亿",
147
+ style: 'width: 140px; margin-right: 25px;',
148
+ },
149
+ {
150
+ start: 1000,
151
+ startUnit: "亿",
152
+ end: null,
153
+ endUnit: "亿",
154
+ btnText: "≥1000亿",
155
+ style: 'width: 140px; margin-right: 25px;',
156
+ },
157
+ ],
158
+ },
159
+ {
160
+ label: '总股本',
161
+ key: 'totalShares',
162
+ type: 'default',
163
+ startUnit: "亿",
164
+ endUnit: "亿",
165
+ unitOptions: [
166
+ { value: "元", label: "元" },
167
+ { value: "千万", label: "千万" },
168
+ { value: "亿", label: "亿" },
169
+ ],
170
+ options: [
171
+ {
172
+ start: null,
173
+ startUnit: "亿",
174
+ end: 5,
175
+ endUnit: "亿",
176
+ btnText: "≤5亿",
177
+ style: 'width: 140px; margin-right: 25px;',
178
+ },
179
+ {
180
+ start: null,
181
+ startUnit: "亿",
182
+ end: 10,
183
+ endUnit: "亿",
184
+ btnText: "≤10亿",
185
+ style: 'width: 140px; margin-right: 25px;',
186
+ },
187
+ {
188
+ start: null,
189
+ startUnit: "亿",
190
+ end: 75,
191
+ endUnit: "亿",
192
+ btnText: "≤75亿",
193
+ style: 'width: 140px',
194
+ },
195
+ {
196
+ start: 10,
197
+ startUnit: "亿",
198
+ end: 75,
199
+ endUnit: "亿",
200
+ btnText: "10亿~75亿",
201
+ style: 'width: 140px; margin-right: 25px;',
202
+ },
203
+ {
204
+ start: 100,
205
+ startUnit: "亿",
206
+ end: null,
207
+ endUnit: "亿",
208
+ btnText: "≥100亿",
209
+ style: 'width: 140px; margin-right: 25px;',
210
+ },
211
+ ],
212
+ },
213
+ {
214
+ label: '流通股本',
215
+ key: 'freeFloatShares',
216
+ type: 'default',
217
+ startUnit: "亿",
218
+ endUnit: "亿",
219
+ unitOptions: [
220
+ { value: "元", label: "元" },
221
+ { value: "千万", label: "千万" },
222
+ { value: "亿", label: "亿" },
223
+ ],
224
+ options: [
225
+ {
226
+ start: null,
227
+ startUnit: "亿",
228
+ end: 5,
229
+ endUnit: "千万",
230
+ btnText: "≤5千万",
231
+ style: 'width: 140px; margin-right: 25px;',
232
+ },
233
+ {
234
+ start: 5,
235
+ startUnit: "千万",
236
+ end: 3,
237
+ endUnit: "亿",
238
+ btnText: "5千万~3亿",
239
+ style: 'width: 140px; margin-right: 25px;',
240
+ },
241
+ {
242
+ start: null,
243
+ startUnit: "亿",
244
+ end: 5,
245
+ endUnit: "亿",
246
+ btnText: "≤5亿",
247
+ style: 'width: 140px;',
248
+ },
249
+ {
250
+ start: null,
251
+ startUnit: "亿",
252
+ end: 10,
253
+ endUnit: "亿",
254
+ btnText: "≤10亿",
255
+ style: 'width: 140px; margin-right: 25px;',
256
+ },
257
+ {
258
+ start: 8,
259
+ startUnit: "亿",
260
+ end: 30,
261
+ endUnit: "亿",
262
+ btnText: "8亿~30亿",
263
+ style: 'width: 140px; margin-right: 25px;',
264
+ },
265
+ {
266
+ start: 30,
267
+ startUnit: "亿",
268
+ end: null,
269
+ endUnit: "亿",
270
+ btnText: "≥30亿",
271
+ style: 'width: 140px;',
272
+ },
273
+ ],
274
+ },
275
+ {
276
+ label: '换手率(实)',
277
+ key: 'turnoverRate',
278
+ type: 'default',
279
+ unitOptions: '%',
280
+ options: [
281
+ {
282
+ start: null,
283
+ startUnit: "%",
284
+ end: 1,
285
+ endUnit: "%",
286
+ btnText: "≤1%",
287
+ style: 'width: 220px; margin-right: 30px;',
288
+ },
289
+ {
290
+ start: 1,
291
+ startUnit: "%",
292
+ end: 5,
293
+ endUnit: "%",
294
+ btnText: "1%~5%",
295
+ style: 'width: 220px;',
296
+ },
297
+ {
298
+ start: 5,
299
+ startUnit: "%",
300
+ end: 10,
301
+ endUnit: "%",
302
+ btnText: "5%~10%",
303
+ style: 'width: 220px; margin-right: 30px;',
304
+ },
305
+ {
306
+ start: 10,
307
+ startUnit: "%",
308
+ end: null,
309
+ endUnit: "%",
310
+ btnText: "≥10%",
311
+ style: 'width: 220px;',
312
+ },
313
+ ],
314
+ },
315
+ {
316
+ label: '市盈率',
317
+ key: 'peTtm',
318
+ type: 'default',
319
+ options: [
320
+ {
321
+ start: '0',
322
+ startUnit: "",
323
+ end: '0',
324
+ endUnit: "",
325
+ btnText: "亏损",
326
+ style: 'width: 140px; margin-right: 25px;',
327
+ },
328
+ {
329
+ start: '0',
330
+ startUnit: "",
331
+ end: null,
332
+ endUnit: "",
333
+ btnText: "≥0",
334
+ style: 'width: 140px; margin-right: 25px;',
335
+ },
336
+ {
337
+ start: '0',
338
+ startUnit: "",
339
+ end: 20,
340
+ endUnit: "",
341
+ btnText: "0~20",
342
+ style: 'width: 140px',
343
+ },
344
+ {
345
+ start: 20,
346
+ startUnit: "",
347
+ end: 40,
348
+ endUnit: "",
349
+ btnText: "20~40",
350
+ style: 'width: 140px; margin-right: 25px;',
351
+ },
352
+ {
353
+ start: 40,
354
+ startUnit: "",
355
+ end: 100,
356
+ endUnit: "",
357
+ btnText: "40~100",
358
+ style: 'width: 140px; margin-right: 25px;',
359
+ },
360
+ {
361
+ start: 100,
362
+ startUnit: "",
363
+ end: null,
364
+ endUnit: "",
365
+ btnText: "≥100",
366
+ style: 'width: 140px;',
367
+ },
368
+ ],
369
+ },
370
+ {
371
+ label: '每股净收益',
372
+ key: 'eps',
373
+ type: 'default',
374
+ unitOptions: '元',
375
+ options: [
376
+ {
377
+ start: null,
378
+ startUnit: "元",
379
+ end: '0',
380
+ endUnit: "元",
381
+ btnText: "≤0",
382
+ style: 'width: 140px; margin-right: 25px;',
383
+ },
384
+ {
385
+ start: '0',
386
+ startUnit: "元",
387
+ end: null,
388
+ endUnit: "元",
389
+ btnText: "≥0",
390
+ style: 'width: 140px; margin-right: 25px;',
391
+ },
392
+ {
393
+ start: 0.2,
394
+ startUnit: "元",
395
+ end: null,
396
+ endUnit: "元",
397
+ btnText: "≥0.2元",
398
+ style: 'width: 140px;',
399
+ },
400
+ {
401
+ start: 0.5,
402
+ startUnit: "元",
403
+ end: null,
404
+ endUnit: "元",
405
+ btnText: "≥0.5元",
406
+ style: 'width: 140px; margin-right: 25px;',
407
+ },
408
+ {
409
+ start: 1,
410
+ startUnit: "元",
411
+ end: null,
412
+ endUnit: "元",
413
+ btnText: "≥1元",
414
+ style: 'width: 140px; margin-right: 25px;',
415
+ },
416
+ {
417
+ start: 2,
418
+ startUnit: "元",
419
+ end: null,
420
+ endUnit: "元",
421
+ btnText: "≥2元",
422
+ style: 'width: 140px;',
423
+ },
424
+ ],
425
+ },
426
+ {
427
+ label: '是否ST',
428
+ key: 'st',
429
+ type: 'radio',
430
+ options: [
431
+ { label: '是', value: 1 },
432
+ { label: '否', value: 0 },
433
+ ],
434
+ },
435
+ {
436
+ label: '市净率',
437
+ key: 'pb',
438
+ type: 'default',
439
+ options: [
440
+ {
441
+ start: '0',
442
+ startUnit: "",
443
+ end: null,
444
+ endUnit: "",
445
+ btnText: "≥0",
446
+ style: 'width: 140px; margin-right: 25px;',
447
+ },
448
+ {
449
+ start: '0',
450
+ startUnit: "",
451
+ end: 1,
452
+ endUnit: "",
453
+ btnText: "0~1",
454
+ style: 'width: 140px; margin-right: 25px;',
455
+ },
456
+ {
457
+ start: 1,
458
+ startUnit: "",
459
+ end: 2,
460
+ endUnit: "",
461
+ btnText: "1~2",
462
+ style: 'width: 140px;',
463
+ },
464
+ {
465
+ start: '0',
466
+ startUnit: "",
467
+ end: 3,
468
+ endUnit: "",
469
+ btnText: "0~3",
470
+ style: 'width: 140px; margin-right: 25px;',
471
+ },
472
+ {
473
+ start: 3,
474
+ startUnit: "",
475
+ end: null,
476
+ endUnit: "",
477
+ btnText: "≥3",
478
+ style: 'width: 140px; margin-right: 25px;',
479
+ },
480
+ ],
481
+ },
482
+ {
483
+ label: '成交额',
484
+ key: 'mnShr',
485
+ type: 'default',
486
+ startUnit: "亿",
487
+ endUnit: "亿",
488
+ unitOptions: [
489
+ { value: "元", label: "元" },
490
+ { value: "千万", label: "千万" },
491
+ { value: "亿", label: "亿" },
492
+ ],
493
+ options: [
494
+ {
495
+ start: '0',
496
+ startUnit: "亿",
497
+ end: 1,
498
+ endUnit: "亿",
499
+ btnText: "0~1亿",
500
+ style: 'width: 140px; margin-right: 25px;',
501
+ },
502
+ {
503
+ start: '0',
504
+ startUnit: "亿",
505
+ end: 5,
506
+ endUnit: "亿",
507
+ btnText: "0~5亿",
508
+ style: 'width: 140px; margin-right: 25px;',
509
+ },
510
+ {
511
+ start: '0',
512
+ startUnit: "亿",
513
+ end: 10,
514
+ endUnit: "亿",
515
+ btnText: "0~10亿",
516
+ style: 'width: 140px;',
517
+ },
518
+ {
519
+ start: 10,
520
+ startUnit: "亿",
521
+ end: null,
522
+ endUnit: "亿",
523
+ btnText: "≥10亿",
524
+ style: 'width: 140px; margin-right: 25px;',
525
+ },
526
+ {
527
+ start: 50,
528
+ startUnit: "亿",
529
+ end: null,
530
+ endUnit: "亿",
531
+ btnText: "≥50亿",
532
+ style: 'width: 140px; margin-right: 25px;',
533
+ },
534
+ {
535
+ start: 100,
536
+ startUnit: "亿",
537
+ end: null,
538
+ endUnit: "亿",
539
+ btnText: "≥100亿",
540
+ style: 'width: 140px;',
541
+ },
542
+ ],
543
+ },
544
+ {
545
+ label: '净资产收益率roe',
546
+ key: 'roe',
547
+ type: 'default',
548
+ unitOptions: '%',
549
+ options: [
550
+ {
551
+ start: null,
552
+ startUnit: "%",
553
+ end: '0',
554
+ endUnit: "%",
555
+ btnText: "<0",
556
+ style: 'width: 140px; margin-right: 25px;',
557
+ },
558
+ {
559
+ start: '0',
560
+ startUnit: "%",
561
+ end: null,
562
+ endUnit: "%",
563
+ btnText: ">0",
564
+ style: 'width: 140px; margin-right: 25px;',
565
+ },
566
+ {
567
+ start: 10,
568
+ startUnit: "%",
569
+ end: null,
570
+ endUnit: "%",
571
+ btnText: ">10%",
572
+ style: 'width: 140px;',
573
+ },
574
+ {
575
+ start: 15,
576
+ startUnit: "%",
577
+ end: null,
578
+ endUnit: "%",
579
+ btnText: ">15%",
580
+ style: 'width: 140px; margin-right: 25px;',
581
+ },
582
+ {
583
+ start: 20,
584
+ startUnit: "%",
585
+ end: null,
586
+ endUnit: "%",
587
+ btnText: ">20%",
588
+ style: 'width: 140px; margin-right: 25px;',
589
+ },
590
+ {
591
+ start: 30,
592
+ startUnit: "%",
593
+ end: null,
594
+ endUnit: "%",
595
+ btnText: ">30%",
596
+ style: 'width: 140px;',
597
+ },
598
+ ],
599
+ },
600
+ {
601
+ label: '净利润',
602
+ key: 'tFeaturelncomes',
603
+ type: 'tFeaturelncomes',
604
+ rule: 1,
605
+ options: [
606
+ {
607
+ yearsCount: 1,
608
+ rule: 2,
609
+ netProfit: '0',
610
+ withFewYears: 1,
611
+ btnText: "≤0",
612
+ style: 'width: 85px; margin-right: 25px;',
613
+ },
614
+ {
615
+ yearsCount: 1,
616
+ rule: 1,
617
+ netProfit: '0',
618
+ withFewYears: 1,
619
+ btnText: "≥0",
620
+ style: 'width: 85px; margin-right: 25px;',
621
+ },
622
+ {
623
+ yearsCount: 4,
624
+ rule: 1,
625
+ netProfit: 0.5,
626
+ withFewYears: 5,
627
+ btnText: "五年内有四年以上盈利超过5千万",
628
+ style: 'width: 250px;',
629
+ },
630
+ {
631
+ yearsCount: 1,
632
+ rule: 1,
633
+ netProfit: 10,
634
+ withFewYears: 1,
635
+ btnText: "≥10亿",
636
+ style: 'width: 85px; margin-right: 25px;',
637
+ },
638
+ {
639
+ yearsCount: 1,
640
+ rule: 1,
641
+ netProfit: 20,
642
+ withFewYears: 1,
643
+ btnText: "≥20亿",
644
+ style: 'width: 85px;',
645
+ },
646
+ ],
647
+ },
648
+ ]
649
+ }