正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
@@ -86,16 +86,16 @@ | @@ -86,16 +86,16 @@ | ||
86 | }); | 86 | }); |
87 | 87 | ||
88 | //医院总体时长横坐标数据 | 88 | //医院总体时长横坐标数据 |
89 | - var totalDateX = Number('{$hospital}'); | 89 | + var totalDateX = JSON.parse('{$hospital}'); |
90 | //医院总体时长纵坐标数据 | 90 | //医院总体时长纵坐标数据 |
91 | - var totalDateY = Number('{$num}'); | 91 | + var totalDateY = JSON.parse('{$num}'); |
92 | 92 | ||
93 | 93 | ||
94 | 94 | ||
95 | //时间段统计数据 | 95 | //时间段统计数据 |
96 | var dateX = ['21点-7点','7点-12点','12点-17点','17点-21点']; | 96 | var dateX = ['21点-7点','7点-12点','12点-17点','17点-21点']; |
97 | 97 | ||
98 | - var dateY = Number('{$interval}'); | 98 | + var dateY = JSON.parse('{$interval}'); |
99 | 99 | ||
100 | var num=0; | 100 | var num=0; |
101 | 101 | ||
@@ -108,13 +108,13 @@ | @@ -108,13 +108,13 @@ | ||
108 | //周统计数据 | 108 | //周统计数据 |
109 | var weekDataX = ["第一周","第二周","第三周","第四周","第五周","第六周", "第七周", | 109 | var weekDataX = ["第一周","第二周","第三周","第四周","第五周","第六周", "第七周", |
110 | "第八周","第九周","第十周","第十一周","第十二周","第十三周","第十四周","第十五周"]; | 110 | "第八周","第九周","第十周","第十一周","第十二周","第十三周","第十四周","第十五周"]; |
111 | - var weekDataY = Number('{$weekData}'); | 111 | + var weekDataY = JSON.parse('{$weekData}'); |
112 | 112 | ||
113 | //月统计数据 | 113 | //月统计数据 |
114 | var monthDataX = ["第一月","第二月","第三月","第四月","第五月","第六月", "第七月", | 114 | var monthDataX = ["第一月","第二月","第三月","第四月","第五月","第六月", "第七月", |
115 | "第八月","第九月","第十月","第十一月","第十二月","第十三月","第十四月","第十五月", | 115 | "第八月","第九月","第十月","第十一月","第十二月","第十三月","第十四月","第十五月", |
116 | "第十六月","第十七月","第十八月","第十九月","第二十月","第二十一月","第二十二月","第二十三月","第二十四月"]; | 116 | "第十六月","第十七月","第十八月","第十九月","第二十月","第二十一月","第二十二月","第二十三月","第二十四月"]; |
117 | - var monthDataY = Number('{$monthData}'); | 117 | + var monthDataY = JSON.parse('{$monthData}'); |
118 | 118 | ||
119 | 119 | ||
120 | 120 |
-
请 注册 或 登录 后发表评论