From c30848bd6eadbd6ef48e9f97b63bf1b1ed495705 Mon Sep 17 00:00:00 2001 From: ndbs Date: Tue, 27 Sep 2022 10:58:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E8=AF=BE=E8=A1=A8and?= =?UTF-8?q?=E6=95=99=E5=B8=88=E8=AF=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ArrangeLessonTerm/IndexLessonTermStu.cshtml | 9 +++++++-- .../Views/ArrangeLessonTerm/IndexLessonTermStu.js | 11 ++++++++--- .../ArrangeLessonTerm/IndexLessonTermTeach.cshtml | 9 +++++++-- .../ArrangeLessonTerm/IndexLessonTermTeach.js | 14 +++++++------- 4 files changed, 29 insertions(+), 14 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermStu.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermStu.cshtml index b716be16b..628f7bde0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermStu.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermStu.cshtml @@ -82,7 +82,7 @@ border-left: 1px solid #333; border-top: 1px solid #333; padding: 1px; - width: 9%; + width: 6.6%; font-size: 12px; } @@ -132,7 +132,7 @@ .perFestivalsBox td { padding: 1px; - width: 9%; + width: 6.6%; } .WeekTimes { @@ -146,6 +146,11 @@
+
+
+ +
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermStu.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermStu.js index 7631078c0..3ee2030b3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermStu.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermStu.js @@ -8,12 +8,13 @@ var bootstrap = function ($, learun) { page.bind(); //page.bindSelect(); }, + loadData: function (param) { $.lrSetFormWithParam(top.$.rootUrl + '/EducationalAdministration/ArrangeLessonTerm/GetDataInEducation', param, function (data) { //console.log('res', data); // 数据处理 - var html = '节次/星期星期一星期二星期三星期四星期五星期六星期日星期八星期九星期十'; + var html = '节次/第几天第1天第2天第3天第4天第5天第6天第7天第8天第9天第10天第11天第12天第13天第14天'; var weekLists = data.weekList; //十节课 for (var i = 1; i < 12; i++) { @@ -60,7 +61,7 @@ var bootstrap = function ($, learun) { //某节课空 function tdHandle() { var html = ''; - for (var j = 0; j < 11; j++) { + for (var j = 0; j < 15; j++) { html += '
'; } return html; @@ -69,7 +70,7 @@ var bootstrap = function ($, learun) { //某节课不空 function tdHandles(lists) { var html = ''; - for (var k = 1; k < 12; k++) { + for (var k = 1; k < 16; k++) { (function (arg) { var args = arg - 1; var datas = flogs2(arg, lists, 'day'); @@ -114,6 +115,10 @@ var bootstrap = function ($, learun) { }); }, bind: function () { + // 刷新 + $('#lr_refresh').on('click', function () { + location.reload(); + }); //获取周次 learun.httpAsyncGet(top.$.rootUrl + '/EducationalAdministration/ArrangeLessonTerm/GetWeekTime', function (res) { if (res.code == 200) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermTeach.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermTeach.cshtml index 4ab6317c3..394b14024 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermTeach.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermTeach.cshtml @@ -82,7 +82,7 @@ border-left: 1px solid #333; border-top: 1px solid #333; padding: 1px; - width: 9%; + width: 6.6%; font-size: 12px; } @@ -132,7 +132,7 @@ .perFestivalsBox td { padding: 1px; - width: 9%; + width: 6.6%; } .WeekTimes { @@ -146,6 +146,11 @@
+
+
+ +
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermTeach.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermTeach.js index 2fcab6769..bcb0f4185 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermTeach.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTerm/IndexLessonTermTeach.js @@ -13,7 +13,7 @@ var bootstrap = function ($, learun) { function (data) { //console.log('res', data); // 数据处理 - var html = '节次/星期星期一星期二星期三星期四星期五星期六星期日星期八星期九星期十'; + var html = '节次/第几天第1天第2天第3天第4天第5天第6天第7天第8天第9天第10天第11天第12天第13天第14天'; var weekLists = data.weekList; //十节课 for (var i = 1; i < 12; i++) { @@ -60,7 +60,7 @@ var bootstrap = function ($, learun) { //某节课空 function tdHandle() { var html = ''; - for (var j = 0; j < 11; j++) { + for (var j = 0; j < 15; j++) { html += '
'; } return html; @@ -69,7 +69,7 @@ var bootstrap = function ($, learun) { //某节课不空 function tdHandles(lists) { var html = ''; - for (var k = 1; k < 12; k++) { + for (var k = 1; k < 16; k++) { (function (arg) { var args = arg - 1; var datas = flogs2(arg, lists, 'day'); @@ -150,10 +150,10 @@ var bootstrap = function ($, learun) { curWeek = $('#WeekTimes input[name="WeekTimes"]:checked ').val(); page.search(); }); - // 刷新 - //$('#lr_refresh').on('click', function () { - // location.reload(); - //}); + //刷新 + $('#lr_refresh').on('click', function () { + location.reload(); + }); //查询 $('#lr_search').on('click', function () { var p = {};