From b558e72bb85e601161ed035de3802ea80cf8676f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E4=B8=B9ab?= <1421553879@qq.com> Date: Tue, 1 Aug 2023 02:35:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=B5=84=E6=BA=90=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/jlw/handsOnSimulationTasks/add.js | 90 +++++++++++++----- .../js/jlw/teacherOpenCourseChatLog/index.js | 2 +- .../add.js | 92 ++++++++++++++++--- .../jlw/handsOnSimulationTasks/add.html | 2 +- .../jlw/teacherOpenCourseChatLog/index.html | 6 +- 5 files changed, 151 insertions(+), 41 deletions(-) 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 aeef52d7..794a1d8e 100644 --- a/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js +++ b/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js @@ -232,7 +232,7 @@ layui.define([ 'form','laytpl', 'laydate', 'table','element','handsOnSimulationT } }); - $('#manualProblemSetting1').click(function () {//手动出题 + $('#manualProblemSetting').click(function () {//手动出题 layer.open({ type: 1 , title: '选择题库' @@ -329,7 +329,7 @@ layui.define([ 'form','laytpl', 'laydate', 'table','element','handsOnSimulationT }); }); resourcesQuestionTable= function(){ - var isAdmin = '${user.get().isAdmin}' + var isAdmin = '${user.get().isAdmin}'; var addType; if(isAdmin){ addType = 'ADMIN_ADD'; @@ -385,7 +385,7 @@ layui.define([ 'form','laytpl', 'laydate', 'table','element','handsOnSimulationT } }); - } + }; var view = { init:function(){ Lib.initGenrealForm($("#addForm"),form); @@ -431,7 +431,8 @@ layui.define([ 'form','laytpl', 'laydate', 'table','element','handsOnSimulationT fileUrl:$(this).find(".fileUrl").html() }); }); - var resourcesInfoTableData = table.checkStatus("resourcesInfoTable").data; //获取选中行状态 + var resourcesInfoTableData = table.cache["resourcesInfoShowTable"]||[]; //获取showtable数据 视频 + for (var i = 0;i客观题设置:
-
diff --git a/web/src/main/resources/templates/jlw/teacherOpenCourseChatLog/index.html b/web/src/main/resources/templates/jlw/teacherOpenCourseChatLog/index.html index dd22ed1c..72f13c1b 100644 --- a/web/src/main/resources/templates/jlw/teacherOpenCourseChatLog/index.html +++ b/web/src/main/resources/templates/jlw/teacherOpenCourseChatLog/index.html @@ -11,9 +11,9 @@