From 2004de57b9e6bc72bceccb968d5683b3b7140097 Mon Sep 17 00:00:00 2001 From: xqz <2995480165@qq.com> Date: Fri, 5 Jul 2024 21:26:34 +0800 Subject: [PATCH] =?UTF-8?q?update:=E4=BF=AE=E6=94=B9=E6=9F=A5=E6=89=BE?= =?UTF-8?q?=E7=AB=A0=E8=8A=82=E7=9A=84=E7=9A=84=E6=8E=A5=E5=8F=A3=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2=E6=A1=86=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/template/js/chapter/chapterList.js | 8 ++++---- .../src/main/resources/template/js/subjectClass/list.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/school/src/main/resources/template/js/chapter/chapterList.js b/school/src/main/resources/template/js/chapter/chapterList.js index e1c9b92f0..f01159875 100644 --- a/school/src/main/resources/template/js/chapter/chapterList.js +++ b/school/src/main/resources/template/js/chapter/chapterList.js @@ -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', {}); diff --git a/school/src/main/resources/template/js/subjectClass/list.js b/school/src/main/resources/template/js/subjectClass/list.js index ac23e92b7..4ad6c449f 100644 --- a/school/src/main/resources/template/js/subjectClass/list.js +++ b/school/src/main/resources/template/js/subjectClass/list.js @@ -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()}); }); } -- GitLab