Browse Source

Update

master
fanwensheng 3 years ago
parent
commit
85b5378628
  1. 9
      04.系统编码/App/Content/scripts/beijing/realtime-panel.js
  2. 2
      04.系统编码/Model/Point.cs

9
04.系统编码/App/Content/scripts/beijing/realtime-panel.js

@ -330,13 +330,8 @@
this.TaskInfo.Id = taskId; this.TaskInfo.Id = taskId;
this.TaskInfo.Result = result; this.TaskInfo.Result = result;
if (result.code === 200) { this.Parent.Map.CenterMap(lat, lon);
this.Parent.Map.CenterMap(lat, lon); this.LoadData(result);
this.LoadData(result);
}
else if (this.IsTaskTimeout()) {
this.Reboot("error", "任务计算已超时,请重新提交计算。");
}
}.bind(this) }.bind(this)
}); });
}; };

2
04.系统编码/Model/Point.cs

@ -14,7 +14,7 @@ namespace Pingchuan.BeijingSafeguard.Model
public int UserId { get; set; } public int UserId { get; set; }
[Column("region")] [Column("region")]
public string region { get; set; } public string Region { get; set; }
[Column("title")] [Column("title")]
public string Title { get; set; } public string Title { get; set; }

Loading…
Cancel
Save