|
|
@@ -25,12 +25,12 @@ var bootstrap = function ($, learun) { |
|
|
|
initChart: function () { |
|
|
|
var myChart1 = echarts.init(document.getElementById('main')); |
|
|
|
var queryJson = { year: year }; |
|
|
|
learun.httpAsyncPost(top.$.rootUrl + "/LR_NewWorkFlow/NWFProcess/GetStatisticCountData", { queryJson: JSON.stringify(queryJson)}, function (res) { |
|
|
|
learun.httpAsyncPost(top.$.rootUrl + "/LR_NewWorkFlow/NWFProcess/GetStatisticCountData", { queryJson: JSON.stringify(queryJson) }, function (res) { |
|
|
|
if (res.code == 200) { |
|
|
|
var option1 = { |
|
|
|
title: { |
|
|
|
text: year + '年流程审批次数分析图', |
|
|
|
x: 'center' |
|
|
|
right: '20%' |
|
|
|
}, |
|
|
|
tooltip: { |
|
|
|
trigger: 'item', |
|
|
@@ -46,7 +46,7 @@ var bootstrap = function ($, learun) { |
|
|
|
name: '审批人', |
|
|
|
type: 'pie', |
|
|
|
radius: '55%', |
|
|
|
center: ['50%', '60%'], |
|
|
|
center: ['70%', '60%'], |
|
|
|
data: res.data.seriesData, |
|
|
|
itemStyle: { |
|
|
|
emphasis: { |
|
|
@@ -68,7 +68,7 @@ var bootstrap = function ($, learun) { |
|
|
|
param.year = year; |
|
|
|
page.initChart(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
page.init(); |
|
|
|
} |
|
|
|