修改班级成绩折线错误 KevinZou

This commit is contained in:
巴掌 committed 2023-05-22 21:19:57 +08:00
1 parent 7ae4f8b3a4
commit 4e9437b67b
3 files changed
+8 -4

No files matched your search

+7 -3
View File
@@ -159,10 +159,14 @@ layui.use(['table', 'mytable', 'laydate', 'myEchart', 'createInput'], function()
// 条形统计图--平均分
function getDefenlv() {
val = form.val('search');
console.log(xk)
// 添加图表中内容
for (x in xk) {
echart.zhexian(xk[x].lieming, '/teach/banjicj/datatx', val, xk[x].title);
}
xk.forEach(element => {
console.log(element)
val.subject_id = element.id
console.log(val)
echart.zhexian(element.lieming, '/teach/banjicj/datatx', val, element.title);
});
}
// 监听筛选
View File
Whitespace-only changes.
+1 -1
View File
@@ -3,4 +3,4 @@ location / {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
}