作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

order

... ... @@ -59,7 +59,7 @@ class AdminStatisticsController extends AdminBaseController{
$this->assign('monthData',json_encode($Month_statistics));
dump($Month);
dump($Month_statistics);
echo strtotime('2018-11-15 10:15:30');
... ...
... ... @@ -116,9 +116,10 @@
"第八周","第九周","第十周","第十一周","第十二周","第十三周","第十四周","第十五周"];
var weekDataY = {$weekData};
var axisData = ["第一周","第二周","第三周","第四周","第五周","第六周", "第七周",
"第八周","第九周","第十周","第十一周","第十二周","第十三周","第十四周","第十五周"];
var myData = {$weekData};
var monthDataX = ["第一月","第二月","第三月","第四月","第五月","第六月", "第七月",
"第八月","第九月","第十月","第十一月","第十二月","第十三月","第十四月","第十五月",
"第十六月","第十七月","第十八月","第十九月","第二十月","第二十一月","第二十二月","第二十三月","第二十四月"];
var monthDataY = {$monthData};
function GetData(){
... ... @@ -255,6 +256,7 @@
]
};
//医院总时长
var option2 = {
title:{
text : '医院总体使用时长',
... ... @@ -326,6 +328,7 @@
]
};
var option4 = {
title:{
text : '昨日订单来源分析',
... ... @@ -398,6 +401,7 @@
}
]
};
//月统计
var option10 = {
backgroundColor : "white",
color : ["#c05050","#59678c"],
... ... @@ -421,7 +425,7 @@
realtime: true,
y : 220,
height: 20,
start : 0,
start : 50,
end : 100
},
calculable : true,
... ... @@ -434,7 +438,7 @@
{
type : 'category',
boundaryGap : true,
data : axisData
data : monthDataX
}
],
yAxis : [
... ... @@ -450,10 +454,11 @@
type:'line',
//stack: '人数',
barWidth : 10,
data:myData
data:monthDataY
}
]
};
//周统计
var option11 = {
backgroundColor : "white",
color : ["#59678c"],
... ...