'commit'
This commit is contained in:
@@ -98,8 +98,8 @@
|
||||
|
||||
// 根据当前类型加载不同数据
|
||||
var url = currentType === 'enroll' ?
|
||||
'/bigscreen/school/preschool/chart' :
|
||||
'/bigscreen/school/preschool/inschool/chart';
|
||||
'/RuYuanZaiYuan/school/preschool/chart' :
|
||||
'/RuYuanZaiYuan/school/preschool/inschool/chart';
|
||||
|
||||
$.getJSON(url)
|
||||
.done(function(data) {
|
||||
|
@@ -22,7 +22,7 @@ function showError(messageElement, message) {
|
||||
function loadPopulationChartData() {
|
||||
showLoading(populationChart, $('#populationMessage')[0]);
|
||||
var year = $('#yearSelect').val();
|
||||
$.getJSON('/bigscreen/population/chart/' + year)
|
||||
$.getJSON('/RuYanZaiYuan/population/chart/' + year)
|
||||
.done(function(data) {
|
||||
populationChart.setOption(data);
|
||||
})
|
||||
@@ -37,7 +37,7 @@ function loadPopulationChartData() {
|
||||
// 加载城镇化率图表
|
||||
function loadUrbanizationRateChartData() {
|
||||
showLoading(urbanizationChart, $('#urbanizationMessage')[0]);
|
||||
$.getJSON('/bigscreen/population/urbanization')
|
||||
$.getJSON('/RuYanZaiYuan/population/urbanization')
|
||||
.done(function(data) {
|
||||
urbanizationChart.setOption(data);
|
||||
})
|
Reference in New Issue
Block a user