diff --git a/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js b/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js index 794a1d8e..2bc395bf 100644 --- a/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js +++ b/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js @@ -690,7 +690,7 @@ layui.define([ 'form','laytpl', 'laydate', 'table','element','handsOnSimulationT loadResourcesInfo(resourcesInfoType,resourcesInfoTypePlural); $(".search").unbind(); $(".search").click(function () {searchList(resourcesInfoType,resourcesInfoTypePlural);}); //搜索 - table.reload('resourcesInfoTable');//刷新table + //table.reload('resourcesInfoTable');//刷新table }, yes: function (index) { var checkStatus = table.checkStatus("resourcesInfoTable"); //获取选中行状态 var dataNew = checkStatus.data, ids = Common.concatBatchId(dataNew, "resourcesInfoId"); //获取选中行数据 @@ -711,6 +711,7 @@ layui.define([ 'form','laytpl', 'laydate', 'table','element','handsOnSimulationT //资源库表格 function loadResourcesInfo(resourcesInfoType,resourcesInfoTypePlural) { $("#edit_dialog input[name='resourcesInfoName']").val(""); + console.log("进入加载资源") resourcesInfoTable = table.render({ elem: '#resourcesInfoTable', height: Lib.getTableHeight(), diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js index 6cbdc95e..61cc7656 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js @@ -677,7 +677,7 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseHandsOnSimulationTas loadResourcesInfo(resourcesInfoType,resourcesInfoTypePlural); $(".search").unbind(); $(".search").click(function () {searchList(resourcesInfoType,resourcesInfoTypePlural);}); //搜索 - table.reload('resourcesInfoTable');//刷新table + //table.reload('resourcesInfoTable');//刷新table }, yes: function (index) { var checkStatus = table.checkStatus("resourcesInfoTable"); //获取选中行状态 var dataNew = checkStatus.data, ids = Common.concatBatchId(dataNew, "resourcesInfoId"); //获取选中行数据