sbd-npm 1.5.12 → 1.5.15

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 CHANGED
@@ -162,6 +162,7 @@ const MenuList = [
162
162
  {'key': 'portfolio_recommend', 'name': '关注', 'url': '/0x2da99e58e28de94b670c4200657ac7e26dd8dceb'},
163
163
  {'key': 'portfolio_gao', 'name': '高大侠', 'url': '/0x44fe5ef98b6802a9e7a893a1dcc231031ef8683d'},
164
164
  {'key': 'portfolio_uestc', 'name': '独钓寒江雪', 'url': '/0x7cbaee9df4ea09cc2ad0d001f4b948109b75f39f'},
165
+ {'key': 'portfolio_two', 'name': '两瓢(彭波)', 'url': '/0x376350389c657c5153d59959b6351935c9357651'},
165
166
  {'key': 'portfolio_chen', 'name': '陈营长极品投资', 'url': '/0x3f8cbeeeb38138a626e935017a4cc25f47ce3dbe'},
166
167
  {'key': 'portfolio_stratagem', 'name': '上兵伐谋zgz', 'url': '/0x622a4a04d7a04e3b28c85a36500371ba28edea83'},
167
168
  {'key': 'portfolio_zeng', 'name': '老曾阿牛', 'url': '/0x2cf53b473b916e1d8b9998de00bb782171bb2630'},
@@ -170,13 +171,10 @@ const MenuList = [
170
171
  {'key': 'portfolio_star50', 'name': '科创50', 'url': '/0x378b2601d83c467f81f1d4e323c8bfbc72f6cc0d'},
171
172
  {'key': 'portfolio_bellwether', 'name': '龙头股', 'url': '/0x7cdfb14131c3693c439a90333790eeb5fce70a12'},
172
173
  {'key': 'portfolio_market_situation', 'name': '市值风云', 'url': '/0x3720c6de05378152ef0e758b56199bfcbc15274b'},
173
- {'key': 'portfolio_huawei', 'name': '华为产业链', 'url': '/0xb0705c802705f225d8a4a8d726ad5eeb42c7c22d'},
174
174
  {'key': 'portfolio_chip', 'name': '芯片半导体', 'url': '/0x05ad16cc1cc6b9ee1f3bb134e798a83037878de3'},
175
- {'key': 'portfolio_auto_intelligent', 'name': '智能电动车', 'url': '/0xa4dd0bd98c5924bf4c9f944ea97a93cbb0a6cb35'},
176
175
  {'key': 'portfolio_hk', 'name': '港股', 'url': '/0x64616c9e7d2445c983368baebc4a19eb71b551d8'},
177
176
  {'key': 'portfolio_us', 'name': '美股', 'url': '/0x86b284830e66126ffe8713f74a80e200fbc0b3e8'},
178
177
  {'key': 'portfolio_military', 'name': '军工', 'url': '/0xb6fbf84b36bd30980b1e500fb0ace21fc71ca6cb'},
179
- {'key': 'portfolio_ten', 'name': '十倍股', 'url': '/0x63d3bc4bf21f568a6e490d87be5e09b557e274d9'},
180
178
  ]
181
179
  },
182
180
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.5.12",
3
+ "version": "1.5.15",
4
4
  "description": "Stock Big Data",
5
5
  "author": "DHQ <dhq314@gmail.com>",
6
6
  "license": "ISC",
package/status.js CHANGED
@@ -75,13 +75,12 @@ $(function () {
75
75
  handle_status: function () {
76
76
  Util.post(location.pathname, {active_div: localStorage[Status.tab_token], date: $("#ip_date").val()}, function (j) {
77
77
  let html = [];
78
- if (!$("#start_time").length) {
79
- html.push("<tr><th width='25%'>系统时区</th><td>", Status.map_url(j.timezone), "</td>");
78
+ if (!document.getElementById("start_time")) {
79
+ let error_tips = j.error_num > 0 ? ("class='danger' title='" + j.error_num + "' ") : "";
80
+ html.push("<tr><th ", error_tips, "width='25%'>系统时区</th><td>", Status.map_url(j.timezone), "</td>");
80
81
  html.push("<th id='start_time' width='25%'>服务器运行时间</th><td colspan='3'>", Util.seconds_to_format(j.start_time), "(" + j.up_time + ")</td></tr>");
81
82
  html.push("<tr><th>数据库最后同步时间</th><td>", Util.seconds_to_format(j.sync_end_time), "</td>");
82
83
  html.push("<th>数据库句柄更新时间</th><td colspan='3'>", Util.seconds_to_format(j.db_time), "</td></tr>");
83
- html.push("<tr><th>成交量最后同步时间</th><td>", Util.seconds_to_format(j.sync_amount_time), "</td>");
84
- html.push("<th>位置数据最后同步时间</th><td colspan='3'>", Util.seconds_to_format(j.location_time), "</td></tr>");
85
84
  // 数据库
86
85
  html.push("<tr><th>数据库版本</th><td>", j.db_version, "</td>");
87
86
  let mysql_connections = "<a data-toggle='modal' data-target='.mysql_process_modal'><b>" + j.mysql_process_num + "</b></a> / " + j.max_connections;