From 7d580e1a2f4cd52ab74cf2f99fcaa5697a94c5c8 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Thu, 21 Jan 2021 15:04:41 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/route/bossscore/list-bossscore.html | 1 + src/main/resources/static/route/casescore/list-casescore.html | 1 + .../resources/static/route/casesupervise/list-casesupervise.html | 1 + .../resources/static/route/personscore/list-personscore.html | 1 + .../resources/static/route/scoredetail/list-scoredetail.html | 1 + 5 files changed, 5 insertions(+) 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();