refactor(Analyse): remove console.log

This commit is contained in:
Argo Zhang 2019-05-26 19:06:55 +08:00
parent d32d415092
commit f7aea58873
2 changed files with 9 additions and 11 deletions

View File

@ -12,6 +12,7 @@
<link href="~/lib/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
</environment>
<style>
.card .card-body {
padding-bottom: 15px;
}
@ -79,11 +80,11 @@
</div>
<div class="card">
<div class="card-header">
操作日志
访问日志
</div>
<div class="card-body">
<div id="log" class="spark"></div>
<div id="logChart" style="height: 200px"></div>
<div id="trace" class="spark"></div>
<div id="traceChart" style="height: 178px"></div>
</div>
</div>
<div class="card">
@ -92,15 +93,15 @@
</div>
<div class="card-body">
<div id="login" class="spark"></div>
<div id="loginChart" style="height: 200px"></div>
<div id="loginChart" style="height: 178px"></div>
</div>
</div>
<div class="card">
<div class="card-header">
访问日志
操作日志
</div>
<div class="card-body">
<div id="trace" class="spark"></div>
<div id="traceChart" style="height: 200px"></div>
<div id="log" class="spark"></div>
<div id="logChart" style="height: 178px"></div>
</div>
</div>
</div>

View File

@ -73,7 +73,6 @@ $(function () {
$.bc({
url: "api/Analyse?logType=LoginUsers",
callback: function (result) {
console.log(result);
$('#login').lgbSparkline('val', result.Polylines.join(' '));
var op = $.extend(true, {}, option, {
legend: { data: ["登录数量"] },
@ -103,7 +102,6 @@ $(function () {
$.bc({
url: "api/Analyse?logType=log",
callback: function (result) {
console.log(result);
$('#log').lgbSparkline('val', result.Polylines.join(' '));
var op = $.extend(true, {}, option, {
legend: { data: ["操作数量"] },
@ -130,7 +128,6 @@ $(function () {
$.bc({
url: "api/Analyse?logType=trace",
callback: function (result) {
console.log(result);
$('#trace').lgbSparkline('val', result.Polylines.join(' '));
var op = $.extend(true, {}, option, {
legend: { data: ["访问数量"] },