hhx 3 years ago
parent
commit
d8c386871b
  1. 2
      04.系统编码/App/Content/scripts/beijing/result-list.js
  2. 4
      04.系统编码/App/Content/scripts/menggu/realtime-panel.js
  3. 2
      04.系统编码/App/Content/scripts/menggu/result-list.js

2
04.系统编码/App/Content/scripts/beijing/result-list.js

@ -72,7 +72,7 @@
list.empty(); list.empty();
points.forEach(function (point) { points.forEach(function (point) {
var time = moment(point[2], "YYYYMMDD_HHmmss"); var time = moment(point[3], "YYYYMMDD_HHmmss");
var label = "<li time='{0}'>{1}</li>".format(point[2], time.format("YYYY-MM-DD HH:mm")); var label = "<li time='{0}'>{1}</li>".format(point[2], time.format("YYYY-MM-DD HH:mm"));
list.append(label); list.append(label);
}); });

4
04.系统编码/App/Content/scripts/menggu/realtime-panel.js

@ -220,7 +220,6 @@
success: function (result) { success: function (result) {
this.TaskStopped(); this.TaskStopped();
this.MessageBox("warning", result.info); this.MessageBox("warning", result.info);
this.Parent.HistoryPanel.ReloadDataGrid();
}.bind(this), }.bind(this),
complete: function () { complete: function () {
$('.param-label').removeClass('label-shade'); $('.param-label').removeClass('label-shade');
@ -251,7 +250,8 @@
url: '/Menggu/AddTask', url: '/Menggu/AddTask',
data: this.GetTaskParams(taskId), data: this.GetTaskParams(taskId),
success: function (result) { success: function (result) {
console.log(result); this.Parent.HistoryPanel.InitDateTimes();
this.Parent.HistoryPanel.ReloadDataGrid();
}.bind(this) }.bind(this)
}); });
}; };

2
04.系统编码/App/Content/scripts/menggu/result-list.js

@ -72,7 +72,7 @@
list.empty(); list.empty();
points.forEach(function (point) { points.forEach(function (point) {
var time = moment(point[2], "YYYYMMDD_HHmmss"); var time = moment(point[3], "YYYYMMDD_HHmmss");
var label = "<li time='{0}'>{1}</li>".format(point[2], time.format("YYYY-MM-DD HH:mm")); var label = "<li time='{0}'>{1}</li>".format(point[2], time.format("YYYY-MM-DD HH:mm"));
list.append(label); list.append(label);
}); });

Loading…
Cancel
Save