From 79d758af0629ad5e6e16a80222315adc5882bd1d Mon Sep 17 00:00:00 2001 From: b110212000 Date: Thu, 12 Aug 2021 18:37:54 +0800 Subject: [PATCH] =?UTF-8?q?30=E5=A4=A9=E9=A0=90=E9=81=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Views/StationOverview/StationOverviewInfo.cshtml | 4 +++- SolarPower/Views/StationOverview/_Exception.cshtml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml b/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml index fd942ab..6c5d2ae 100644 --- a/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml +++ b/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml @@ -155,6 +155,7 @@ var countOperationRecodeFile = 0; $(function () { + var url = new URL(location.href); stationId = url.searchParams.get('stationId'); @@ -799,7 +800,7 @@ $(this).trigger('change'); }); //#endregion - + //#region 運維作業記錄 DataTable powerids.push(stationId); operationRecodeTable = $("#operation_recode_table").DataTable({ @@ -1069,6 +1070,7 @@ //歷史第一個table getTable(); + $('#to30day').trigger('click'); }); //#region 變更左邊電站Collapse選單箭頭 diff --git a/SolarPower/Views/StationOverview/_Exception.cshtml b/SolarPower/Views/StationOverview/_Exception.cshtml index a931b08..ce9f807 100644 --- a/SolarPower/Views/StationOverview/_Exception.cshtml +++ b/SolarPower/Views/StationOverview/_Exception.cshtml @@ -6,7 +6,7 @@
- +