sbd-npm 1.4.92 → 1.4.93
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.
- package/constant.js +1 -1
- package/package.json +1 -1
- package/status.js +21 -21
- package/stock_basics.js +13 -13
- package/summary_daily.js +5 -5
- package/util.js +23 -23
package/constant.js
CHANGED
@@ -198,11 +198,11 @@ const MenuList = [
|
|
198
198
|
{'key': 'hk_hstech', 'name': '恒生科技指数', 'url': '/0x0c340f1dd3760b1b4b0034dc5a258d4e40c1469a'},
|
199
199
|
{'key': 'hk_hsci', 'name': '恒生综合指数', 'url': '/0x3dd9fec342f81357a01e8b0f4a242e94892d5439'},
|
200
200
|
{'key': 'hk_hsm25', 'name': '恒生中国25指数', 'url': '/0x51c9cebe97e898875fba107e53fad29c79e1a1bb'},
|
201
|
-
{'key': 'hk_hsh35', 'name': '恒生香港35指数', 'url': '/0x5eff66742c612a2423c451e7d112014ecccc6af9'},
|
202
201
|
{'key': 'hk_hsm100', 'name': '恒生中国100指数', 'url': '/0x759fcb84a0a322125df6748dffad66d7b2b44c2d'},
|
203
202
|
{'key': 'hk_biotechnology', 'name': '生物科技', 'url': '/0xa131be85db2beb939e93207d0966c3710c7b761a'},
|
204
203
|
{'key': 'hk_sell_short', 'name': '沽空排行', 'url': '/0x4ecddc987891875a42d206620cd97ca382613485'},
|
205
204
|
{'key': 'hk_mutual', 'name': '港股通持股排行', 'url': '/0x310a47a6abd868f19cd3fdbf2f2566813cb45d57'},
|
205
|
+
{'key': 'hk_institutional_positions', 'name': '机构持仓变化', 'url': '/0xe5606bba43cf85cc3870f3608fe556648ce13084'},
|
206
206
|
]
|
207
207
|
},
|
208
208
|
{
|
package/package.json
CHANGED
package/status.js
CHANGED
@@ -270,7 +270,7 @@ $(function () {
|
|
270
270
|
Util.init_table_skeleton({
|
271
271
|
"element_id": "process_div",
|
272
272
|
"caption": prefix_caption + '共 <span class="label label-info" id="process_num"></span> 进程, <input checked type="checkbox" id="is_py_process"> 只显示 Python 进程 <a href="#" data-toggle="modal" data-target=".machine_instruction_modal" data-type="1" href="#" class="btn btn-warning btn-xs">添加任务</a></caption>',
|
273
|
-
"
|
273
|
+
"head_columns": [
|
274
274
|
{"name": "进程ID", "table_sort": 1},
|
275
275
|
{"name": "进程名", "table_sort": 1},
|
276
276
|
{"name": "用户名", "table_sort": 1},
|
@@ -334,7 +334,7 @@ $(function () {
|
|
334
334
|
Util.init_table_skeleton({
|
335
335
|
"element_id": "block_ip_div",
|
336
336
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="block_ip_num"></caption>',
|
337
|
-
"
|
337
|
+
"head_columns": [
|
338
338
|
{"name": "序号", "table_sort": 1},
|
339
339
|
{"name": "IP", "table_sort": 1, "tooltip": "IP地址(Internet Protocol Address)是指互联网协议地址"},
|
340
340
|
{"name": "地址信息", "table_sort": 1},
|
@@ -362,7 +362,7 @@ $(function () {
|
|
362
362
|
Util.init_table_skeleton({
|
363
363
|
"element_id": "login_log_div",
|
364
364
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="login_log_num"></caption>',
|
365
|
-
"
|
365
|
+
"head_columns": [
|
366
366
|
{"name": "序号", "table_sort": 1},
|
367
367
|
{"name": "用户"},
|
368
368
|
{"name": "终端"},
|
@@ -397,7 +397,7 @@ $(function () {
|
|
397
397
|
Util.init_table_skeleton({
|
398
398
|
"element_id": "database_table_div",
|
399
399
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="table_num"></caption>',
|
400
|
-
"
|
400
|
+
"head_columns": [
|
401
401
|
{"name": "序号", "table_sort": 1},
|
402
402
|
{"name": "表名", "table_sort": 1},
|
403
403
|
{"name": "表引擎", "table_sort": 1},
|
@@ -437,14 +437,14 @@ $(function () {
|
|
437
437
|
handle_database_variable: function () {
|
438
438
|
let is_mobile = Util.is_mobile();
|
439
439
|
if (!document.getElementById("database_variable_div_body")) {
|
440
|
-
let
|
440
|
+
let head_columns = [];
|
441
441
|
if (is_mobile) {
|
442
|
-
|
442
|
+
head_columns = [
|
443
443
|
{"name": "键", "style": "width: 40%;", "table_sort": 1},
|
444
444
|
{"name": "值", "table_sort": 1},
|
445
445
|
];
|
446
446
|
} else {
|
447
|
-
|
447
|
+
head_columns = [
|
448
448
|
{"name": "序号", "style": "width: 100px;", "table_sort": 1},
|
449
449
|
{"name": "键", "table_sort": 1},
|
450
450
|
{"name": "值", "table_sort": 1},
|
@@ -453,7 +453,7 @@ $(function () {
|
|
453
453
|
Util.init_table_skeleton({
|
454
454
|
"element_id": "database_variable_div",
|
455
455
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="database_variable_num"></caption>',
|
456
|
-
"
|
456
|
+
"head_columns": head_columns
|
457
457
|
});
|
458
458
|
}
|
459
459
|
Util.post(location.pathname, {active_div: localStorage[Status.tab_token]}, function (j) {
|
@@ -484,7 +484,7 @@ $(function () {
|
|
484
484
|
Util.init_table_skeleton({
|
485
485
|
"element_id": "request_headers_div",
|
486
486
|
"caption": 'none',
|
487
|
-
"
|
487
|
+
"head_columns": [
|
488
488
|
{"name": "键"},
|
489
489
|
{"name": "值"},
|
490
490
|
]
|
@@ -518,7 +518,7 @@ $(function () {
|
|
518
518
|
Util.init_table_skeleton({
|
519
519
|
"element_id": "environment_div",
|
520
520
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="environment_num"></caption>',
|
521
|
-
"
|
521
|
+
"head_columns": [
|
522
522
|
{"name": "键"},
|
523
523
|
{"name": "值"},
|
524
524
|
]
|
@@ -542,14 +542,14 @@ $(function () {
|
|
542
542
|
handle_system_control: function () {
|
543
543
|
let is_mobile = Util.is_mobile();
|
544
544
|
if (!document.getElementById("sysctl_div_body")) {
|
545
|
-
let
|
545
|
+
let head_columns = [];
|
546
546
|
if (is_mobile) {
|
547
|
-
|
547
|
+
head_columns = [
|
548
548
|
{"name": "键", "style": "width: 40%;", "table_sort": 1},
|
549
549
|
{"name": "值", "table_sort": 1},
|
550
550
|
];
|
551
551
|
} else {
|
552
|
-
|
552
|
+
head_columns = [
|
553
553
|
{"name": "序号", "style": "width: 100px;", "table_sort": 1},
|
554
554
|
{"name": "键", "table_sort": 1},
|
555
555
|
{"name": "值", "table_sort": 1},
|
@@ -558,7 +558,7 @@ $(function () {
|
|
558
558
|
Util.init_table_skeleton({
|
559
559
|
"element_id": "sysctl_div",
|
560
560
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="sysctl_num"></caption>',
|
561
|
-
"
|
561
|
+
"head_columns": head_columns
|
562
562
|
});
|
563
563
|
}
|
564
564
|
Util.post(location.pathname, {active_div: localStorage[Status.tab_token]}, function (j) {
|
@@ -817,7 +817,7 @@ $(function () {
|
|
817
817
|
Util.init_table_skeleton({
|
818
818
|
"element_id": "machine_process_div",
|
819
819
|
"caption": prefix_caption + '</caption>',
|
820
|
-
"
|
820
|
+
"head_columns": [
|
821
821
|
{"name": "进程ID", "table_sort": 1},
|
822
822
|
{"name": "状态", "table_sort": 1},
|
823
823
|
{"name": "启动命令"},
|
@@ -1029,20 +1029,20 @@ $(function () {
|
|
1029
1029
|
html.push('</form>');
|
1030
1030
|
html.push('<div id="word_process_div"></div>');
|
1031
1031
|
$("#word_div").html(html.join(""));
|
1032
|
-
let
|
1032
|
+
let head_columns = [
|
1033
1033
|
{"name": "序号", "table_sort": 1},
|
1034
1034
|
{"name": "单词", "table_sort": 1},
|
1035
1035
|
{"name": "中文"},
|
1036
1036
|
{"name": "时间", "table_sort": 1},
|
1037
1037
|
];
|
1038
1038
|
if ('speechSynthesis' in window) {
|
1039
|
-
|
1039
|
+
head_columns.push({"name": "朗读", "id": "word_recite", "link": "#"});
|
1040
1040
|
}
|
1041
|
-
|
1041
|
+
head_columns.push({"name": "操作"});
|
1042
1042
|
Util.init_table_skeleton({
|
1043
1043
|
"element_id": "word_process_div",
|
1044
1044
|
"caption": '<caption class="' + (is_mobile ? "text-left" : "text-right") + '" id="word_num"></caption>',
|
1045
|
-
"
|
1045
|
+
"head_columns": head_columns
|
1046
1046
|
});
|
1047
1047
|
$("#word_recite").click(function() {
|
1048
1048
|
if (!Util.is_load) {
|
@@ -1644,7 +1644,7 @@ $(function () {
|
|
1644
1644
|
Util.init_table_skeleton({
|
1645
1645
|
"element_id": "mysql_process_modal_body",
|
1646
1646
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="mysql_process_summary"></caption>',
|
1647
|
-
"
|
1647
|
+
"head_columns": [
|
1648
1648
|
{"name": "标识", "table_sort": 1, "tooltip": "Id:线程的唯一标识(线程ID)"},
|
1649
1649
|
{"name": "用户", "table_sort": 1, "tooltip": "User:执行该线程的用户"},
|
1650
1650
|
{"name": "IP:端口号", "table_sort": 1, "tooltip": "Host:发送请求的客户端的IP和端口号"},
|
@@ -1669,7 +1669,7 @@ $(function () {
|
|
1669
1669
|
Util.init_table_skeleton({
|
1670
1670
|
"element_id": "mysql_access_modal_body",
|
1671
1671
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="mysql_access_summary"></caption>',
|
1672
|
-
"
|
1672
|
+
"head_columns": [
|
1673
1673
|
{"name": "", "select_id": "mysql_access_filter", "select_options": [{"key": "0", "val": "全部"},{"key": "1", "val": "正常"},{"key": "2", "val": "屏蔽"}]},
|
1674
1674
|
{"name": "IP", "table_sort": 1, "tooltip": "IP地址(Internet Protocol Address)是指互联网协议地址"},
|
1675
1675
|
{"name": "地址信息", "table_sort": 1},
|
package/stock_basics.js
CHANGED
@@ -109,7 +109,7 @@ let Stock = {
|
|
109
109
|
Util.init_table_skeleton({
|
110
110
|
"element_id": "hist_table",
|
111
111
|
"caption": '<caption class="text-right" id="stock_hist_summary"></caption>',
|
112
|
-
"
|
112
|
+
"head_columns": [
|
113
113
|
{"name": "日期", "sort_type": "date"},
|
114
114
|
{"name": "开盘价"},
|
115
115
|
{"name": "最低价", "sort_type": "low"},
|
@@ -387,7 +387,7 @@ let Stock = {
|
|
387
387
|
let money_inflow_url = Util.get_url("trend_money_inflow");
|
388
388
|
Util.init_table_skeleton({
|
389
389
|
"element_id": "big_deal_summary_table",
|
390
|
-
"
|
390
|
+
"head_columns": [
|
391
391
|
{"name": "主力总净流入", "link": money_inflow_url},
|
392
392
|
{"name": "60日主力净流入"},
|
393
393
|
{"name": "20日主力净流入", "link": money_inflow_url + "?money_inflow_type=5"},
|
@@ -398,7 +398,7 @@ let Stock = {
|
|
398
398
|
});
|
399
399
|
Util.init_table_skeleton({
|
400
400
|
"element_id": "big_deal_table",
|
401
|
-
"
|
401
|
+
"head_columns": [
|
402
402
|
{"name": "时间", "table_sort": 1, "class": "info"},
|
403
403
|
{"name": "收盘价", "table_sort": 1},
|
404
404
|
{"name": "主力净流入", "table_sort": 1, "title": "超大单净流入 + 大单净流入"},
|
@@ -480,7 +480,7 @@ let Stock = {
|
|
480
480
|
Util.show_loading();
|
481
481
|
Util.init_table_skeleton({
|
482
482
|
"element_id": "circulation_holder_table",
|
483
|
-
"
|
483
|
+
"head_columns": [
|
484
484
|
{"name": "排名", "table_sort": 1},
|
485
485
|
{"name": "股东名"},
|
486
486
|
{"name": "持股数"},
|
@@ -491,7 +491,7 @@ let Stock = {
|
|
491
491
|
});
|
492
492
|
Util.init_table_skeleton({
|
493
493
|
"element_id": "main_holder_table",
|
494
|
-
"
|
494
|
+
"head_columns": [
|
495
495
|
{"name": "排名", "table_sort": 1},
|
496
496
|
{"name": "股东名"},
|
497
497
|
{"name": "持股数"},
|
@@ -595,7 +595,7 @@ let Stock = {
|
|
595
595
|
Util.show_loading();
|
596
596
|
Util.init_table_skeleton({
|
597
597
|
"element_id": "cash_flow_table",
|
598
|
-
"
|
598
|
+
"head_columns": [
|
599
599
|
{"name": "年份"},
|
600
600
|
{"name": "经营活动现金流"},
|
601
601
|
{"name": "资本开支"},
|
@@ -608,7 +608,7 @@ let Stock = {
|
|
608
608
|
});
|
609
609
|
Util.init_table_skeleton({
|
610
610
|
"element_id": "assets_liabilities_table",
|
611
|
-
"
|
611
|
+
"head_columns": [
|
612
612
|
{"name": "年份"},
|
613
613
|
{"name": "总资产"},
|
614
614
|
{"name": "总负债"},
|
@@ -632,7 +632,7 @@ let Stock = {
|
|
632
632
|
});
|
633
633
|
Util.init_table_skeleton({
|
634
634
|
"element_id": "profit_table",
|
635
|
-
"
|
635
|
+
"head_columns": [
|
636
636
|
{"name": "年份-季度"},
|
637
637
|
{"name": "净利率"},
|
638
638
|
{"name": "毛利率"},
|
@@ -789,7 +789,7 @@ let Stock = {
|
|
789
789
|
Stock["holder_chart"] = Util.show_chart_loading(Stock["holder_chart"], "holder_data_line_canvas");
|
790
790
|
Util.init_table_skeleton({
|
791
791
|
"element_id": "holder_data_table",
|
792
|
-
"
|
792
|
+
"head_columns": [
|
793
793
|
{"name": "时间", "table_sort": 1},
|
794
794
|
{"name": "人数", "title": "当前股东数", "table_sort": 1},
|
795
795
|
{"name": "股价变动", "title": "同期股价变动幅度", "table_sort": 1},
|
@@ -863,7 +863,7 @@ let Stock = {
|
|
863
863
|
Util.show_loading();
|
864
864
|
Util.init_table_skeleton({
|
865
865
|
"element_id": "notice_table",
|
866
|
-
"
|
866
|
+
"head_columns": [
|
867
867
|
{"name": "序号"},
|
868
868
|
{"name": "标题"},
|
869
869
|
{"name": "日期", "table_sort": 1},
|
@@ -910,7 +910,7 @@ let Stock = {
|
|
910
910
|
Util.show_loading();
|
911
911
|
Util.init_table_skeleton({
|
912
912
|
"element_id": "report_organization_table",
|
913
|
-
"
|
913
|
+
"head_columns": [
|
914
914
|
{"name": "序号"},
|
915
915
|
{"name": "标题"},
|
916
916
|
{"name": "机构"},
|
@@ -1162,7 +1162,7 @@ let Stock = {
|
|
1162
1162
|
Util.init_table_skeleton({
|
1163
1163
|
"element_id": "margin_modal_body",
|
1164
1164
|
"caption": "none",
|
1165
|
-
"
|
1165
|
+
"head_columns": [
|
1166
1166
|
{"name": "日期", "class": "info", "table_sort": 1},
|
1167
1167
|
{"name": "融资余额", "table_sort": 1, "title": "本日融资余额 = 前日融资余额 + 本日融资买入额 - 本日融资偿还额"},
|
1168
1168
|
{"name": "融资买入额", "table_sort": 1},
|
@@ -1282,7 +1282,7 @@ let Stock = {
|
|
1282
1282
|
Util.init_table_skeleton({
|
1283
1283
|
"element_id": "hkex_holding_modal_body",
|
1284
1284
|
"caption": "none",
|
1285
|
-
"
|
1285
|
+
"head_columns": [
|
1286
1286
|
{"name": "日期", "class": "info", "table_sort": 1},
|
1287
1287
|
{"name": "持股量(万股)", "table_sort": 1},
|
1288
1288
|
{"name": "净买入股数", "table_sort": 1},
|
package/summary_daily.js
CHANGED
@@ -664,7 +664,7 @@ $(function () {
|
|
664
664
|
Util.init_table_skeleton({
|
665
665
|
"element_id": "index_hist_modal_body",
|
666
666
|
"caption": '<caption class="text-right" style="margin-top: -10px; padding-bottom: 10px;"><div class="form-inline"><div class="form-group" id="index_hist_modal_start_end_date"></div><button class="btn btn-default" id="index_hist_modal_query">查 询</button></div></caption>',
|
667
|
-
"
|
667
|
+
"head_columns": [
|
668
668
|
{"name": "日期", "class": "info", "table_sort": 1},
|
669
669
|
{"name": "开盘价", "table_sort": 1},
|
670
670
|
{"name": "最低价", "table_sort": 1},
|
@@ -699,7 +699,7 @@ $(function () {
|
|
699
699
|
Util.init_table_skeleton({
|
700
700
|
"element_id": "stock_rate_modal_body",
|
701
701
|
"caption": '<caption class="text-right" id="stock_rate_modal_body_body_tips"></caption>',
|
702
|
-
"
|
702
|
+
"head_columns": [
|
703
703
|
{"name": "序号"},
|
704
704
|
{"name": "代码"},
|
705
705
|
{"name": "名称"},
|
@@ -733,7 +733,7 @@ $(function () {
|
|
733
733
|
Util.init_table_skeleton({
|
734
734
|
"element_id": "news_modal_body",
|
735
735
|
"caption": "none",
|
736
|
-
"
|
736
|
+
"head_columns": [
|
737
737
|
{"name": "标题"},
|
738
738
|
{"name": "时间"},
|
739
739
|
{"name": "内容"},
|
@@ -785,7 +785,7 @@ $(function () {
|
|
785
785
|
"element_id": "hgt_table",
|
786
786
|
"table_class": "table table-hover table-striped",
|
787
787
|
"caption": "ignore",
|
788
|
-
"
|
788
|
+
"head_columns": [
|
789
789
|
{"name": ""},
|
790
790
|
{"name": "价格"},
|
791
791
|
{"name": "买入金额"},
|
@@ -801,7 +801,7 @@ $(function () {
|
|
801
801
|
"element_id": "sgt_table",
|
802
802
|
"table_class": "table table-hover table-striped",
|
803
803
|
"caption": "ignore",
|
804
|
-
"
|
804
|
+
"head_columns": [
|
805
805
|
{"name": ""},
|
806
806
|
{"name": "价格"},
|
807
807
|
{"name": "买入金额"},
|
package/util.js
CHANGED
@@ -908,9 +908,9 @@ const Util = {
|
|
908
908
|
* @param options
|
909
909
|
*/
|
910
910
|
init_table_skeleton: function (options) {
|
911
|
-
if (options["
|
911
|
+
if (options["head_columns"]) {
|
912
912
|
let is_table_sort = 0, is_tooltip = 0, html = [];
|
913
|
-
let head_length = options["
|
913
|
+
let head_length = options["head_columns"].length;
|
914
914
|
if (options["alert"]) {
|
915
915
|
html.push('<div class="alert alert-info" role="alert">');
|
916
916
|
html.push(options["alert"]);
|
@@ -930,7 +930,7 @@ const Util = {
|
|
930
930
|
} else {
|
931
931
|
html.push('<thead><tr>');
|
932
932
|
}
|
933
|
-
options["
|
933
|
+
options["head_columns"].forEach(function (col) {
|
934
934
|
let td_attr = "", td_class = [];
|
935
935
|
if (col["id"]) {
|
936
936
|
td_attr += ' id="' + col["id"] + '"';
|
@@ -1118,7 +1118,7 @@ const Util = {
|
|
1118
1118
|
Util.init_table_skeleton({
|
1119
1119
|
"element_id": "rps_table",
|
1120
1120
|
"caption": "none",
|
1121
|
-
"
|
1121
|
+
"head_columns": [
|
1122
1122
|
{"name": "时间"},
|
1123
1123
|
{"name": "RPS20", "tooltip": "20日股价相对强度,表示过去20个交易日内,该股票的价格涨幅超过了市场上多少的股票,该值为85,表示该股在过去20日内的价格涨幅超过了市场上85%的股票"},
|
1124
1124
|
{"name": "20日涨跌"},
|
@@ -1155,7 +1155,7 @@ const Util = {
|
|
1155
1155
|
Util.show_loading();
|
1156
1156
|
Util.init_table_skeleton({
|
1157
1157
|
"element_id": "public_fund_table",
|
1158
|
-
"
|
1158
|
+
"head_columns": [
|
1159
1159
|
{"name": "序号"},
|
1160
1160
|
{"name": "基金代码"},
|
1161
1161
|
{"name": "基金名"},
|
@@ -1317,7 +1317,7 @@ const Util = {
|
|
1317
1317
|
if ($("#pfc_fund_table_body").length === 0) {
|
1318
1318
|
Util.init_table_skeleton({
|
1319
1319
|
"element_id": "pfc_fund_table",
|
1320
|
-
"
|
1320
|
+
"head_columns": [
|
1321
1321
|
{"name": "季度时间", "class": "info", "table_sort": 1},
|
1322
1322
|
{"name": "当时股价", "table_sort": 1, "title": "当季最后一个交易日的收盘价"},
|
1323
1323
|
{"name": "持股总数", "table_sort": 1},
|
@@ -1413,7 +1413,7 @@ const Util = {
|
|
1413
1413
|
*/
|
1414
1414
|
init_portfolio_data: function (portfolio, table_id, alert_tips = "") {
|
1415
1415
|
Util.show_loading();
|
1416
|
-
let
|
1416
|
+
let head_columns = [
|
1417
1417
|
{"name": "代码"},
|
1418
1418
|
{"name": "名称"},
|
1419
1419
|
{"name": "PE", "title": "市盈率(Price Earnings Ratio)", "table_sort": 1},
|
@@ -1428,18 +1428,18 @@ const Util = {
|
|
1428
1428
|
{"name": "52周最高", "table_sort": 1}
|
1429
1429
|
];
|
1430
1430
|
if (portfolio !== "us") {
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1431
|
+
head_columns.push({"name": "成交额", "table_sort": 1});
|
1432
|
+
head_columns.push({"name": "成交均价", "table_sort": 1});
|
1433
|
+
head_columns.push({"name": "股东数", "table_sort": 1});
|
1434
|
+
head_columns.push({"name": "基金数", "table_sort": 1});
|
1435
|
+
head_columns.push({"name": "备注", "id": "portfolio_remark_title"});
|
1436
1436
|
} else {
|
1437
|
-
|
1437
|
+
head_columns.unshift({"name": ""});
|
1438
1438
|
}
|
1439
1439
|
let table_options = {
|
1440
1440
|
"element_id": table_id,
|
1441
1441
|
"caption": '<caption> <span id="index_data"></span><div class="pull-right" id="' + table_id + '_body_tips"></div></caption>',
|
1442
|
-
"
|
1442
|
+
"head_columns": head_columns
|
1443
1443
|
};
|
1444
1444
|
if (alert_tips.length > 0) {
|
1445
1445
|
table_options["alert"] = alert_tips;
|
@@ -1755,7 +1755,7 @@ const Util = {
|
|
1755
1755
|
Util.init_table_skeleton({
|
1756
1756
|
"element_id": "category_top_modal_body",
|
1757
1757
|
"caption": '<caption class="text-right"><span class="label label-info">次数</span>: 时间期间内每日涨幅第一的上榜次数, <span class="label label-info">间隔</span>: 每两次上榜之间的平均天数间隔, <span class="label label-info">距差</span>: 当前时间距离最近一次涨幅第一的间隔天数</caption>',
|
1758
|
-
"
|
1758
|
+
"head_columns": [
|
1759
1759
|
{"name": "名称"},
|
1760
1760
|
{"name": "次数", "table_sort": 1},
|
1761
1761
|
{"name": "间隔", "table_sort": 1, "class": "info"},
|
@@ -1829,7 +1829,7 @@ const Util = {
|
|
1829
1829
|
Util.init_table_skeleton({
|
1830
1830
|
"element_id": component_id + "_body",
|
1831
1831
|
"caption": '<caption class="text-right" style="margin-top: -10px;"><div class="form-inline"><div class="form-group" id="currency_modal_start_end_date"></div><button class="btn btn-default" id="' + component_id + '_query">查 询</button></div></caption>',
|
1832
|
-
"
|
1832
|
+
"head_columns": [
|
1833
1833
|
{"name": "日期", "class": "info", "table_sort": 1},
|
1834
1834
|
{"name": "价格", "table_sort": 1},
|
1835
1835
|
{"name": "最低价", "table_sort": 1},
|
@@ -1917,7 +1917,7 @@ const Util = {
|
|
1917
1917
|
Util.init_table_skeleton({
|
1918
1918
|
"element_id": component_id + "_body",
|
1919
1919
|
"caption": '<caption class="text-right" style="margin-top: -10px;"><div class="form-inline"><div class="form-group" id="' + component_id + '_start_end_date"></div><button class="btn btn-default" id="' + component_id + '_query">查 询</button></div></caption>',
|
1920
|
-
"
|
1920
|
+
"head_columns": [
|
1921
1921
|
{"name": "日期", "class": "info", "table_sort": 1},
|
1922
1922
|
{"name": "开盘价", "table_sort": 1},
|
1923
1923
|
{"name": "最低价", "table_sort": 1},
|
@@ -2010,7 +2010,7 @@ const Util = {
|
|
2010
2010
|
Util.init_modal_skeleton(component_id);
|
2011
2011
|
Util.init_table_skeleton({
|
2012
2012
|
"element_id": component_id + "_body",
|
2013
|
-
"
|
2013
|
+
"head_columns": [
|
2014
2014
|
{"name": "次数"},
|
2015
2015
|
{"name": "时间", "table_sort": 1},
|
2016
2016
|
{"name": "买入金额(亿)", "table_sort": 1},
|
@@ -3054,13 +3054,13 @@ const Util = {
|
|
3054
3054
|
if ($("#remark_" + code).length) {
|
3055
3055
|
let remark = "";
|
3056
3056
|
if (item["is_bull_trend"]) {
|
3057
|
-
remark += "<b>" + Util.pack_html_link(Util.get_url("trend_bull_trend"), "多头趋势") + "</b><br
|
3057
|
+
remark += "<b>" + Util.pack_html_link(Util.get_url("trend_bull_trend"), "多头趋势") + "</b><br>";
|
3058
3058
|
}
|
3059
3059
|
if (item["is_kdj_cross"]) {
|
3060
|
-
remark += "<b>" + Util.pack_html_link(Util.get_url("trend_kdj"), "KDJ金叉") + "</b><br
|
3060
|
+
remark += "<b>" + Util.pack_html_link(Util.get_url("trend_kdj"), "KDJ金叉") + "</b><br>";
|
3061
3061
|
}
|
3062
3062
|
if (item["is_macd_cross"]) {
|
3063
|
-
remark += "<b>" + Util.pack_html_link(Util.get_url("trend_macd_cross"), "MACD金叉") + "</b><br
|
3063
|
+
remark += "<b>" + Util.pack_html_link(Util.get_url("trend_macd_cross"), "MACD金叉") + "</b><br>";
|
3064
3064
|
}
|
3065
3065
|
if (item["kdj_trend"] && item["kdj_trend"] > 0) {
|
3066
3066
|
let kdj_name = "KDJ金叉";
|
@@ -3071,7 +3071,7 @@ const Util = {
|
|
3071
3071
|
} else {
|
3072
3072
|
kdj_url += "?date_type=2";
|
3073
3073
|
}
|
3074
|
-
remark += "<b>" + Util.pack_html_link(kdj_url, kdj_name) + "</b><br
|
3074
|
+
remark += "<b>" + Util.pack_html_link(kdj_url, kdj_name) + "</b><br>";
|
3075
3075
|
}
|
3076
3076
|
$("#remark_" + code).html(remark);
|
3077
3077
|
}
|
@@ -4566,7 +4566,7 @@ const Util = {
|
|
4566
4566
|
BigDealPie.setOption({
|
4567
4567
|
tooltip: {
|
4568
4568
|
trigger: 'item',
|
4569
|
-
formatter: "{a} <br
|
4569
|
+
formatter: "{a} <br>{b} : {c}亿 ({d}%)"
|
4570
4570
|
},
|
4571
4571
|
color: ['#640003', '#ae0001', '#f83435', '#fe8081', '#77e97a', '#28b729', '#0a8109', '#034601'],
|
4572
4572
|
legend: {
|