diff --git a/admin-core/src/main/resources/templates/teacherIndex.html b/admin-core/src/main/resources/templates/teacherIndex.html index b49caf04..1bfba741 100644 --- a/admin-core/src/main/resources/templates/teacherIndex.html +++ b/admin-core/src/main/resources/templates/teacherIndex.html @@ -291,10 +291,10 @@ , range: true , value: [Common.getNowDate(-30) +' - '+Common.getNowDate(1)] , done: function (value, date) { - if ($.isEmpty(value)) { + /*if ($.isEmpty(value)) { Common.info("请选择时间!!"); return; - } + }*/ var sTime = value.split(" - ")[0]; var eTime = value.split(" - ")[1]; locadInfo(sTime, eTime); @@ -388,7 +388,7 @@ localTB() } - }, 200); + }, 20); } 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 14f42c0c..f64e289b 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js @@ -75,10 +75,11 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseHandsOnSimulationTas '\n' + '\n' + '
\n' + - '
\n' + + '
\n' + '
\n' + 'X\n' + ''); + element.init(); }, before: function(obj) { obj.preview(function(index, file, result) { diff --git a/web/src/main/resources/templates/jlw/courseInfo/courseConfigureNew.html b/web/src/main/resources/templates/jlw/courseInfo/courseConfigureNew.html index 384b7670..6e85f76f 100644 --- a/web/src/main/resources/templates/jlw/courseInfo/courseConfigureNew.html +++ b/web/src/main/resources/templates/jlw/courseInfo/courseConfigureNew.html @@ -249,15 +249,17 @@ type="course_info.course_info_name.course_info_status!=3,course_info_type=1,find element.progress('progressBar',n + '%'); } ,choose: function(obj){ + $(".progressCss_mp4").remove(); $("#fildInfo").append('
\n' + '\n' + '\n' + '\n' + '
\n' + - '
\n' + + '
\n' + '
\n' + 'X\n' + '
'); + element.init(); } , before: function(obj){ /* element.progress('demo', '0%'); //进度条复位 @@ -268,6 +270,7 @@ type="course_info.course_info_name.course_info_status!=3,course_info_type=1,find var size = (file.size/1014).toFixed(1)+'kb'; $('.progressCss_mp4:last .mv_m').html(size); }); + } ,done: function(res){ if(res.code == 0){ @@ -679,6 +682,7 @@ type="course_info.course_info_name.course_info_status!=3,course_info_type=1,find updataResourcesOpenLocal({},data.courseInfoId); } }else { + console.log(data.resourcesInfoType) if (!$.isEmpty(data.resourcesInfoType)) { updataResourcesOpenRe(data,1); } else {