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..f8008aa4 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"); //获取选中行数据 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..fcee6757 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"); //获取选中行数据 @@ -696,7 +696,7 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseHandsOnSimulationTas } //资源库表格 - function loadResourcesInfo(resourcesInfoType) { + function loadResourcesInfo(resourcesInfoType,resourcesInfoTypePlural) { $("#edit_dialog input[name='resourcesInfoName']").val(""); resourcesInfoTable = table.render({ elem: '#resourcesInfoTable', @@ -706,7 +706,7 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseHandsOnSimulationTas even: true, //url: Common.ctxPath + '/jlw/resourcesInfo/list.json' // 数据接口 url: Common.ctxPath + '/jlw/resourcesInfo/resourcesList.json' // 数据接口 - , where: getParamRe(resourcesInfoType) + , where: getParamRe(resourcesInfoType,resourcesInfoTypePlural) , page: Lib.tablePage // 开启分页 , limit: 10, cols: [[ // 表头 diff --git a/web/src/main/resources/templates/jlw/handsOn/add.html b/web/src/main/resources/templates/jlw/handsOn/add.html index f820801a..95cd6a1f 100644 --- a/web/src/main/resources/templates/jlw/handsOn/add.html +++ b/web/src/main/resources/templates/jlw/handsOn/add.html @@ -119,7 +119,7 @@ - + @@ -181,13 +181,13 @@ {{item.taskScore}} 编辑 - 删除 + 删除 {{# }); }} - + ${item.taskOrder} diff --git a/web/src/main/resources/templates/jlw/teacherOpenCourseHandsOn/edit.html b/web/src/main/resources/templates/jlw/teacherOpenCourseHandsOn/edit.html index 6f603914..53a3f774 100644 --- a/web/src/main/resources/templates/jlw/teacherOpenCourseHandsOn/edit.html +++ b/web/src/main/resources/templates/jlw/teacherOpenCourseHandsOn/edit.html @@ -91,7 +91,10 @@ - +
+ @@ -105,7 +108,7 @@ title="Cancel upload"> - + @@ -146,7 +149,7 @@ - + ${item.taskOrder} @@ -155,8 +158,10 @@ '3'?'理论测评':item.taskType == '4'?'实训操作步骤':item.taskType == '5'?'报告撰写':'其他'} ${item.taskScore} - 编辑 删除 + + 编辑 + 删除 diff --git a/web/src/main/resources/templates/jlw/teacherOpenCourseHandsOnSimulationTasks/add.html b/web/src/main/resources/templates/jlw/teacherOpenCourseHandsOnSimulationTasks/add.html index d587401c..c57de55a 100644 --- a/web/src/main/resources/templates/jlw/teacherOpenCourseHandsOnSimulationTasks/add.html +++ b/web/src/main/resources/templates/jlw/teacherOpenCourseHandsOnSimulationTasks/add.html @@ -699,11 +699,8 @@
-
- +
+