修复学生历史成绩图片没有数据的问题

This commit is contained in:
强哥 committed 2021-11-24 16:03:51 +08:00
1 parent e2ab2bb9af
commit d7a5524eb6
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -134,8 +134,8 @@ layui.use(['table', 'mytable', 'laydate', 'element', 'form', 'myEchart', 'create
});
// 监听表单提交
form.on('submit(srcsubmit)', function(data) {
options.where = lForm.val("search");
form.on('submit(searchSubmit)', function(data) {
options.where = form.val("search");
table.render(options); //获取数据并渲染
getDefenlv();
return false;
@@ -265,6 +265,7 @@
options.where = form.val("search");
$('#srcmianban').removeClass("layui-show");
table.render(options); //获取数据并渲染
getDefenlv();
return false; //阻止表单跳转。如果需要表单跳转,去掉这段即可。
});