diff --git a/src/main/resources/views/platform/zhghh5/enrollmentRegistration/mine/index.html b/src/main/resources/views/platform/zhghh5/enrollmentRegistration/mine/index.html index ef708d08..b108156a 100644 --- a/src/main/resources/views/platform/zhghh5/enrollmentRegistration/mine/index.html +++ b/src/main/resources/views/platform/zhghh5/enrollmentRegistration/mine/index.html @@ -8,7 +8,7 @@ layout("/layouts/platform_h5.html"){ - + @@ -62,7 +62,7 @@ layout("/layouts/platform_h5.html"){ pageNumber: 1, pageSize: 10, totalCount: 0, - year: "", + year: new Date().getFullYear(), }, } }, @@ -111,16 +111,9 @@ layout("/layouts/platform_h5.html"){ this.pageForm.totalCount = 0 this.$refs.tableListRef.doSearch() }, - initData() { - for (let i = new Date().getFullYear() - 10; i <= new Date().getFullYear(); i++) { - this.yearList.unshift({value: i, text: i + "年"}) - } - this.$set(this.pageForm, "year", this.yearList[0].value) - }, + }, created() { - this.initData() - } })