diff --git a/src/main/resources/static/route/bossscore/list-bossscore.html b/src/main/resources/static/route/bossscore/list-bossscore.html index e603565..fd82d90 100644 --- a/src/main/resources/static/route/bossscore/list-bossscore.html +++ b/src/main/resources/static/route/bossscore/list-bossscore.html @@ -57,6 +57,7 @@ var common = layui.common; var resizeTimeout = null; var tableUrl = 'api/bossscore/worknoteforscore'; + var yearDate = new Date().getFullYear(); $(document).on('click', '#excel', function() { diff --git a/src/main/resources/static/route/casescore/list-casescore.html b/src/main/resources/static/route/casescore/list-casescore.html index bbede4f..d220ff0 100644 --- a/src/main/resources/static/route/casescore/list-casescore.html +++ b/src/main/resources/static/route/casescore/list-casescore.html @@ -71,6 +71,7 @@ var common = layui.common; var resizeTimeout = null; var tableUrl = 'api/casescore/getcasescore'; + var yearDate = new Date().getFullYear(); // 初始化表格 function initTable() { diff --git a/src/main/resources/static/route/casesupervise/list-casesupervise.html b/src/main/resources/static/route/casesupervise/list-casesupervise.html index d613b7e..fd64409 100644 --- a/src/main/resources/static/route/casesupervise/list-casesupervise.html +++ b/src/main/resources/static/route/casesupervise/list-casesupervise.html @@ -56,6 +56,7 @@ var common = layui.common; var resizeTimeout = null; var tableUrl = 'api/casesupervise/listpagecasesupervise'; + var yearDate = new Date().getFullYear(); function quarterFun(value){ $("#quarter").empty(); diff --git a/src/main/resources/static/route/personscore/list-personscore.html b/src/main/resources/static/route/personscore/list-personscore.html index 89cc6ad..c0700b3 100644 --- a/src/main/resources/static/route/personscore/list-personscore.html +++ b/src/main/resources/static/route/personscore/list-personscore.html @@ -56,6 +56,7 @@ var resizeTimeout = null; var tableUrl = 'api/bossscore/personscore?dictId={dictId}'; var dictId = '9d179f05-3ea0-48f7-853c-d3b7124b791c'; + var yearDate = new Date().getFullYear(); $(document).on('click', '#excel', function() { var year = $('#year').val(); diff --git a/src/main/resources/static/route/scoredetail/list-scoredetail.html b/src/main/resources/static/route/scoredetail/list-scoredetail.html index eae160d..731da13 100644 --- a/src/main/resources/static/route/scoredetail/list-scoredetail.html +++ b/src/main/resources/static/route/scoredetail/list-scoredetail.html @@ -58,6 +58,7 @@ var laydate = layui.laydate; var resizeTimeout = null; var tableUrl = 'api/scoredetail/listpagescoredetail'; + var yearDate = new Date().getFullYear(); $(document).on('click', '#excel', function() { var year = $('#year').val();