提交 2004de57 编写于 作者: X xqz

update:修改查找章节的的接口,修改搜索框状态

上级 5103f0ba
......@@ -24,8 +24,8 @@ layui.config({
table.render({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: sysMainMation.schoolBasePath + 'queryChapterList',
method: 'get',
url: sysMainMation.schoolBasePath + 'queryChapterListBySubjectClassesId',
where: getTableParams(),
even: true,
page: true,
......@@ -47,7 +47,7 @@ layui.config({
]],
done: function(json) {
matchingLanguage();
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入名称", function () {
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "暂不支持搜索", function () {
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
});
}
......@@ -122,7 +122,7 @@ layui.config({
}
function getTableParams() {
return $.extend(true, {objectId: subjectClassesId}, initTableSearchUtil.getSearchValue("messageTable"));
return $.extend(true, {objectId: subjectClassesId,subjectClassesId: subjectClassesId}, initTableSearchUtil.getSearchValue("messageTable"));
}
exports('chapterList', {});
......
......@@ -43,7 +43,7 @@ layui.config({
]],
done: function(json) {
matchingLanguage();
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入名称", function () {
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "暂不支持搜索", function () {
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册