sbd-npm 1.4.68 → 1.4.69

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/status.js +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.4.68",
3
+ "version": "1.4.69",
4
4
  "description": "Stock Big Data",
5
5
  "author": "DHQ <dhq314@gmail.com>",
6
6
  "license": "ISC",
package/status.js CHANGED
@@ -796,7 +796,11 @@ $(function () {
796
796
  if (is_screen === 1) {
797
797
  let screen_html = "";
798
798
  if (screen_pid === item["pid"]) {
799
- screen_html = "<a data-screen='1' class='process_screen' href='#'><span class='label label-success'>会话</span></a>";
799
+ if (j["screen_pid_status"] && j["screen_pid_status"] === 1) {
800
+ screen_html = "<a data-screen='1' class='process_screen' href='#'><span title='会话数据已成功获取' class='label label-success'>会话</span></a>";
801
+ } else {
802
+ screen_html = "<a class='process_screen' href='#'><span title='会话数据获取中...' class='label label-info'>会话</span></a>";
803
+ }
800
804
  } else {
801
805
  screen_html = "<a class='process_screen' href='#'>会话</a>";
802
806
  }
@@ -875,7 +879,7 @@ $(function () {
875
879
  }
876
880
  }
877
881
  });
878
- this_obj.html("<span class='label label-info'>会话</span>");
882
+ this_obj.html("<span title='会话数据获取中...' class='label label-info'>会话</span>");
879
883
  Util.show_tips("进程 [" + pid + "(" + action + ")] 已加到会话队列中", 4567, "alert-success");
880
884
  } else if (j["code"] === 2) {
881
885
  Util.show_tips("Machine 不存在!", 4567, "alert-danger");