Przeglądaj źródła

合班页面显示修改

娄底高职分支
hwh2023 2 miesięcy temu
rodzic
commit
66426411d8
1 zmienionych plików z 7 dodań i 1 usunięć
  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 Wyświetl plik

@@ -237,7 +237,13 @@ var bootstrap = function ($, learun) {
if (cellvalue.indexOf(',') == -1) if (cellvalue.indexOf(',') == -1)
return "星期" + weekChina[cellvalue.slice(0, 1) - 1] + "第" + cellvalue.slice(1) + "节"; return "星期" + weekChina[cellvalue.slice(0, 1) - 1] + "第" + cellvalue.slice(1) + "节";
else { 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) + "节";
} }
} }
}, },


Ładowanie…
Anuluj
Zapisz