Browse Source

合班页面显示修改

娄底高职分支
hwh2023 2 months ago
parent
commit
66426411d8
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlanOfElective/MergeIndex.js

+ 7
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/OpenLessonPlanOfElective/MergeIndex.js View File

@@ -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) + "节";
}
}
},


Loading…
Cancel
Save