From 66426411d8566961ac5089661f79534725ac76d8 Mon Sep 17 00:00:00 2001 From: hwh2023 <598694955@qq.com> Date: Sun, 8 Sep 2024 14:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E7=8F=AD=E9=A1=B5=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/OpenLessonPlanOfElective/MergeIndex.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlanOfElective/MergeIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlanOfElective/MergeIndex.js index 7bc826a3b..814e92846 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlanOfElective/MergeIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlanOfElective/MergeIndex.js @@ -237,7 +237,13 @@ var bootstrap = function ($, learun) { if (cellvalue.indexOf(',') == -1) return "星期" + weekChina[cellvalue.slice(0, 1) - 1] + "第" + cellvalue.slice(1) + "节"; else { - return "星期" + weekChina[cellvalue.slice(0, 1) - 1] + "第" + cellvalue.slice(1, 2) + "、" + cellvalue.slice(4) + "节"; + var ddd = cellvalue.split(',') + var str = "星期" + weekChina[cellvalue.slice(0, 1) - 1] + "第" + for (var i = 0; i < ddd.length; i++) { + str += ddd[i].slice(1, ddd[i].length) + } + str +="节" + return str;//"星期" + weekChina[cellvalue.slice(0, 1) - 1] + "第" + cellvalue.slice(1, 2) + "、" + cellvalue.slice(4) + "节"; } } },