diff --git a/com/fjy/spring/Application.html b/com/fjy/spring/Application.html new file mode 100644 index 0000000..8d0d4bf --- /dev/null +++ b/com/fjy/spring/Application.html @@ -0,0 +1,271 @@ + + + + + + +Application + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring
+

类 Application

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/ApplicationTests.html b/com/fjy/spring/ApplicationTests.html new file mode 100644 index 0000000..a03a54b --- /dev/null +++ b/com/fjy/spring/ApplicationTests.html @@ -0,0 +1,271 @@ + + + + + + +ApplicationTests + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring
+

类 ApplicationTests

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/constant/GlobalConstant.html b/com/fjy/spring/constant/GlobalConstant.html new file mode 100644 index 0000000..4194cef --- /dev/null +++ b/com/fjy/spring/constant/GlobalConstant.html @@ -0,0 +1,277 @@ + + + + + + +GlobalConstant + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.constant
+

类 GlobalConstant

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/enums/RegisteredEnum.html b/com/fjy/spring/enums/RegisteredEnum.html new file mode 100644 index 0000000..b221451 --- /dev/null +++ b/com/fjy/spring/enums/RegisteredEnum.html @@ -0,0 +1,352 @@ + + + + + + +RegisteredEnum + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.enums
+

枚举 RegisteredEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/enums/ResultEnum.html b/com/fjy/spring/enums/ResultEnum.html new file mode 100644 index 0000000..97edb2a --- /dev/null +++ b/com/fjy/spring/enums/ResultEnum.html @@ -0,0 +1,524 @@ + + + + + + +ResultEnum + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.enums
+

枚举 ResultEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/handle/ExceptionHandle.html b/com/fjy/spring/handle/ExceptionHandle.html new file mode 100644 index 0000000..2e7f1ac --- /dev/null +++ b/com/fjy/spring/handle/ExceptionHandle.html @@ -0,0 +1,273 @@ + + + + + + +ExceptionHandle + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.handle
+

类 ExceptionHandle

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/properties/ServerProperties.html b/com/fjy/spring/properties/ServerProperties.html new file mode 100644 index 0000000..a454d38 --- /dev/null +++ b/com/fjy/spring/properties/ServerProperties.html @@ -0,0 +1,311 @@ + + + + + + +ServerProperties + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.properties
+

类 ServerProperties

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/HomeworkRepository.html b/com/fjy/spring/repository/HomeworkRepository.html new file mode 100644 index 0000000..65e3ea9 --- /dev/null +++ b/com/fjy/spring/repository/HomeworkRepository.html @@ -0,0 +1,213 @@ + + + + + + +HomeworkRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 HomeworkRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbAdminRepository.html b/com/fjy/spring/repository/TbAdminRepository.html new file mode 100644 index 0000000..a881e19 --- /dev/null +++ b/com/fjy/spring/repository/TbAdminRepository.html @@ -0,0 +1,253 @@ + + + + + + +TbAdminRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbAdminRepository

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbCourseRepository.html b/com/fjy/spring/repository/TbCourseRepository.html new file mode 100644 index 0000000..b3d100d --- /dev/null +++ b/com/fjy/spring/repository/TbCourseRepository.html @@ -0,0 +1,213 @@ + + + + + + +TbCourseRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbCourseRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbFeedBackRepository.html b/com/fjy/spring/repository/TbFeedBackRepository.html new file mode 100644 index 0000000..216f241 --- /dev/null +++ b/com/fjy/spring/repository/TbFeedBackRepository.html @@ -0,0 +1,213 @@ + + + + + + +TbFeedBackRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbFeedBackRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbFileRepository.html b/com/fjy/spring/repository/TbFileRepository.html new file mode 100644 index 0000000..4c05763 --- /dev/null +++ b/com/fjy/spring/repository/TbFileRepository.html @@ -0,0 +1,294 @@ + + + + + + +TbFileRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbFileRepository

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbLogRepository.html b/com/fjy/spring/repository/TbLogRepository.html new file mode 100644 index 0000000..a738d32 --- /dev/null +++ b/com/fjy/spring/repository/TbLogRepository.html @@ -0,0 +1,213 @@ + + + + + + +TbLogRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbLogRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbNoticeRepository.html b/com/fjy/spring/repository/TbNoticeRepository.html new file mode 100644 index 0000000..eb017b9 --- /dev/null +++ b/com/fjy/spring/repository/TbNoticeRepository.html @@ -0,0 +1,213 @@ + + + + + + +TbNoticeRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbNoticeRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbStudentListRepository.html b/com/fjy/spring/repository/TbStudentListRepository.html new file mode 100644 index 0000000..9b1c904 --- /dev/null +++ b/com/fjy/spring/repository/TbStudentListRepository.html @@ -0,0 +1,268 @@ + + + + + + +TbStudentListRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbStudentListRepository

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbStudentRepository.html b/com/fjy/spring/repository/TbStudentRepository.html new file mode 100644 index 0000000..82e8f0f --- /dev/null +++ b/com/fjy/spring/repository/TbStudentRepository.html @@ -0,0 +1,213 @@ + + + + + + +TbStudentRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbStudentRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbTeacherRepository.html b/com/fjy/spring/repository/TbTeacherRepository.html new file mode 100644 index 0000000..79b3ca1 --- /dev/null +++ b/com/fjy/spring/repository/TbTeacherRepository.html @@ -0,0 +1,213 @@ + + + + + + +TbTeacherRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbTeacherRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbUserRepository.html b/com/fjy/spring/repository/TbUserRepository.html new file mode 100644 index 0000000..11c58bb --- /dev/null +++ b/com/fjy/spring/repository/TbUserRepository.html @@ -0,0 +1,270 @@ + + + + + + +TbUserRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbUserRepository

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbUserqueRepository.html b/com/fjy/spring/repository/TbUserqueRepository.html new file mode 100644 index 0000000..d4e1537 --- /dev/null +++ b/com/fjy/spring/repository/TbUserqueRepository.html @@ -0,0 +1,213 @@ + + + + + + +TbUserqueRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbUserqueRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/TbVersionRepository.html b/com/fjy/spring/repository/TbVersionRepository.html new file mode 100644 index 0000000..3c044e7 --- /dev/null +++ b/com/fjy/spring/repository/TbVersionRepository.html @@ -0,0 +1,213 @@ + + + + + + +TbVersionRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 TbVersionRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/VAdminRepository.html b/com/fjy/spring/repository/VAdminRepository.html new file mode 100644 index 0000000..f33467a --- /dev/null +++ b/com/fjy/spring/repository/VAdminRepository.html @@ -0,0 +1,213 @@ + + + + + + +VAdminRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 VAdminRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/VCourseRepository.html b/com/fjy/spring/repository/VCourseRepository.html new file mode 100644 index 0000000..2186491 --- /dev/null +++ b/com/fjy/spring/repository/VCourseRepository.html @@ -0,0 +1,213 @@ + + + + + + +VCourseRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 VCourseRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/VFeedBackRepository.html b/com/fjy/spring/repository/VFeedBackRepository.html new file mode 100644 index 0000000..d8bb3bc --- /dev/null +++ b/com/fjy/spring/repository/VFeedBackRepository.html @@ -0,0 +1,213 @@ + + + + + + +VFeedBackRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 VFeedBackRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/VHomeworkRepository.html b/com/fjy/spring/repository/VHomeworkRepository.html new file mode 100644 index 0000000..5687417 --- /dev/null +++ b/com/fjy/spring/repository/VHomeworkRepository.html @@ -0,0 +1,213 @@ + + + + + + +VHomeworkRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 VHomeworkRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/VLogRepository.html b/com/fjy/spring/repository/VLogRepository.html new file mode 100644 index 0000000..3479b03 --- /dev/null +++ b/com/fjy/spring/repository/VLogRepository.html @@ -0,0 +1,213 @@ + + + + + + +VLogRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 VLogRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/VUserfileRepository.html b/com/fjy/spring/repository/VUserfileRepository.html new file mode 100644 index 0000000..b5a8ef6 --- /dev/null +++ b/com/fjy/spring/repository/VUserfileRepository.html @@ -0,0 +1,271 @@ + + + + + + +VUserfileRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 VUserfileRepository

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/VUserinfoRepository.html b/com/fjy/spring/repository/VUserinfoRepository.html new file mode 100644 index 0000000..8027c9f --- /dev/null +++ b/com/fjy/spring/repository/VUserinfoRepository.html @@ -0,0 +1,213 @@ + + + + + + +VUserinfoRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 VUserinfoRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/VUserqueRepository.html b/com/fjy/spring/repository/VUserqueRepository.html new file mode 100644 index 0000000..f11458e --- /dev/null +++ b/com/fjy/spring/repository/VUserqueRepository.html @@ -0,0 +1,253 @@ + + + + + + +VUserqueRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 VUserqueRepository

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/WorkDetailRepository.html b/com/fjy/spring/repository/WorkDetailRepository.html new file mode 100644 index 0000000..f0e5b71 --- /dev/null +++ b/com/fjy/spring/repository/WorkDetailRepository.html @@ -0,0 +1,213 @@ + + + + + + +WorkDetailRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 WorkDetailRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/repository/WorkstatusRepository.html b/com/fjy/spring/repository/WorkstatusRepository.html new file mode 100644 index 0000000..a66c744 --- /dev/null +++ b/com/fjy/spring/repository/WorkstatusRepository.html @@ -0,0 +1,213 @@ + + + + + + +WorkstatusRepository + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.repository
+

接口 WorkstatusRepository

+
+
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/service/AdminService.html b/com/fjy/spring/service/AdminService.html new file mode 100644 index 0000000..92eb159 --- /dev/null +++ b/com/fjy/spring/service/AdminService.html @@ -0,0 +1,284 @@ + + + + + + +AdminService + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.service
+

类 AdminService

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/service/CourseService.html b/com/fjy/spring/service/CourseService.html new file mode 100644 index 0000000..d4e6c59 --- /dev/null +++ b/com/fjy/spring/service/CourseService.html @@ -0,0 +1,271 @@ + + + + + + +CourseService + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.service
+

类 CourseService

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/service/FeedBackService.html b/com/fjy/spring/service/FeedBackService.html new file mode 100644 index 0000000..b2f8020 --- /dev/null +++ b/com/fjy/spring/service/FeedBackService.html @@ -0,0 +1,284 @@ + + + + + + +FeedBackService + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.service
+

类 FeedBackService

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/service/FileService.html b/com/fjy/spring/service/FileService.html new file mode 100644 index 0000000..d810755 --- /dev/null +++ b/com/fjy/spring/service/FileService.html @@ -0,0 +1,377 @@ + + + + + + +FileService + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.service
+

类 FileService

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/service/HomeworkService.html b/com/fjy/spring/service/HomeworkService.html new file mode 100644 index 0000000..e4f4705 --- /dev/null +++ b/com/fjy/spring/service/HomeworkService.html @@ -0,0 +1,284 @@ + + + + + + +HomeworkService + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.service
+

类 HomeworkService

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/service/LogService.html b/com/fjy/spring/service/LogService.html new file mode 100644 index 0000000..49674a3 --- /dev/null +++ b/com/fjy/spring/service/LogService.html @@ -0,0 +1,284 @@ + + + + + + +LogService + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.service
+

类 LogService

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/service/NoticeService.html b/com/fjy/spring/service/NoticeService.html new file mode 100644 index 0000000..4c3d497 --- /dev/null +++ b/com/fjy/spring/service/NoticeService.html @@ -0,0 +1,284 @@ + + + + + + +NoticeService + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.service
+

类 NoticeService

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/com/fjy/spring/service/StudentService.html b/com/fjy/spring/service/StudentService.html new file mode 100644 index 0000000..bc2c8ef --- /dev/null +++ b/com/fjy/spring/service/StudentService.html @@ -0,0 +1,303 @@ + + + + + + +StudentService + + + + + + + + +
+ + +
跳过导航链接
+ + + + +
+ + + +
+
com.fjy.spring.service
+

类 StudentService

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
跳过导航链接
+ + + + +
+ + + + diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7ef289a..9efaa1c 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,4 +1,4 @@ #控制配置文件调用 spring: profiles: - active: prod \ No newline at end of file + active: dev \ No newline at end of file diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 272ad8e..9530fc7 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -25,8 +25,8 @@ - - /www/cmsfile/%d/info.%d.log + F:\JAVA Workspace\Temp\log\%d\info.%d.log + @@ -44,8 +44,8 @@ - - /www/cmsfile/%d/error.%d.log + F:\JAVA Workspace\Temp\log\error.%d.log + diff --git a/src/main/resources/static/js/homepage.js b/src/main/resources/static/js/homepage.js index 086f38d..d490a1f 100644 --- a/src/main/resources/static/js/homepage.js +++ b/src/main/resources/static/js/homepage.js @@ -5,13 +5,18 @@ var year = dt.getFullYear(); var cur = year + '-' + month + '-' + day; function DateDiff(sDate1, sDate2) { //sDate1和sDate2是2002-12-18格式 - var aDate, oDate1, oDate2, iDays - aDate = sDate1.split("-") - oDate1 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]) //转换为12-18-2002格式 - aDate = sDate2.split("-") - oDate2 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]) - iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24) //把相差的毫秒数转换为天数 - return iDays + let aDate, oDate1, oDate2, iDays; + if (compareTime(sDate1, sDate2)) { + return "已截止"; + } + else { + aDate = sDate1.split("-"); + oDate1 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]); //转换为12-18-2002格式 + aDate = sDate2.split("-"); + oDate2 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]); + iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数 + return iDays + } } function displayStyle(id, type) { diff --git a/src/main/resources/templates/dist/thymeleaf/layout.html b/src/main/resources/templates/dist/thymeleaf/layout.html index 9141b28..b49d581 100644 --- a/src/main/resources/templates/dist/thymeleaf/layout.html +++ b/src/main/resources/templates/dist/thymeleaf/layout.html @@ -82,14 +82,14 @@
作业提交倒计时 - 功能未完成 +
+ :default-sort="{prop: 'time', order: 'descending'}"> - +