From dc5a8a456fd0d146cc362ac1efd518a4388c6108 Mon Sep 17 00:00:00 2001 From: B10912128 Date: Wed, 14 Aug 2024 16:11:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E6=8E=A5=E7=A7=89=E6=A3=8B=5Fv1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/EngineeringController.cs | 4 + .../Controllers/ManagerController.cs | 5 + .../Controllers/Park_spacesController.cs | 2 +- Parking_spaces/Parking_spaces.csproj | 2 +- .../Engineering/Engineering_EL125_car.cshtml | 257 +++++++++++++++ .../Engineering/Engineering_Index.cshtml | 102 ++++++ ...Engineering_parking_user_list_index.cshtml | 42 ++- .../Views/Engineering/Yuntech_in_car.cshtml | 201 ++++++++++-- .../Views/Manager/Manager_Index.cshtml | 99 ++++++ .../Manager_parking_user_list_index.cshtml | 310 ++++++++++++++++++ .../Views/Manager/Yuntech_in_car.cshtml | 178 ++++++++-- .../Views/Shared/_Layout_Engineering.cshtml | 3 +- .../Views/Shared/_Layout_Manager.cshtml | 3 + .../wwwroot/bootstrap_1/img/maxresdefault.jpg | Bin 0 -> 44251 bytes 14 files changed, 1156 insertions(+), 52 deletions(-) create mode 100644 Parking_spaces/Views/Engineering/Engineering_EL125_car.cshtml create mode 100644 Parking_spaces/Views/Manager/Manager_parking_user_list_index.cshtml create mode 100644 Parking_spaces/wwwroot/bootstrap_1/img/maxresdefault.jpg diff --git a/Parking_spaces/Controllers/EngineeringController.cs b/Parking_spaces/Controllers/EngineeringController.cs index faf6cf9..a97a7d5 100644 --- a/Parking_spaces/Controllers/EngineeringController.cs +++ b/Parking_spaces/Controllers/EngineeringController.cs @@ -104,6 +104,10 @@ namespace Parking_spaces.Controllers { return View(); } + public IActionResult Engineering_EL125_car() + { + return View(); + } } diff --git a/Parking_spaces/Controllers/ManagerController.cs b/Parking_spaces/Controllers/ManagerController.cs index a652b2f..903d138 100644 --- a/Parking_spaces/Controllers/ManagerController.cs +++ b/Parking_spaces/Controllers/ManagerController.cs @@ -27,5 +27,10 @@ namespace Parking_spaces.Controllers { return View(); } + + public IActionResult Manager_parking_user_list_index() + { + return View(); + } } } diff --git a/Parking_spaces/Controllers/Park_spacesController.cs b/Parking_spaces/Controllers/Park_spacesController.cs index 3c49b7d..03c4547 100644 --- a/Parking_spaces/Controllers/Park_spacesController.cs +++ b/Parking_spaces/Controllers/Park_spacesController.cs @@ -29,7 +29,7 @@ namespace Parking_spaces.Controllers _httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(token); // 构建 API 请求的 URL - string apiUrl = "http://140.125.20.183:7710/Users/token"; + string apiUrl = "http://140.125.20.183:7700/Users/token"; // 调用需要身份验证的 API HttpResponseMessage response = await _httpClient.GetAsync(apiUrl); diff --git a/Parking_spaces/Parking_spaces.csproj b/Parking_spaces/Parking_spaces.csproj index 5f38f5f..b13f4b0 100644 --- a/Parking_spaces/Parking_spaces.csproj +++ b/Parking_spaces/Parking_spaces.csproj @@ -13,7 +13,7 @@ - + diff --git a/Parking_spaces/Views/Engineering/Engineering_EL125_car.cshtml b/Parking_spaces/Views/Engineering/Engineering_EL125_car.cshtml new file mode 100644 index 0000000..e4989f2 --- /dev/null +++ b/Parking_spaces/Views/Engineering/Engineering_EL125_car.cshtml @@ -0,0 +1,257 @@ + +@{ + ViewData["Title"] = "Engineering_EL125_car"; + Layout = "~/Views/Shared/_Layout_Engineering.cshtml"; +} + +

Engineering_EL125_car

+ + + +
+ + + + + + + + + + + + + +
+ 車牌號碼 +
+
+ + + +
+ +
+
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+ +
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parking_spaces/Views/Engineering/Engineering_Index.cshtml b/Parking_spaces/Views/Engineering/Engineering_Index.cshtml index 9f027f3..4d0cf6e 100644 --- a/Parking_spaces/Views/Engineering/Engineering_Index.cshtml +++ b/Parking_spaces/Views/Engineering/Engineering_Index.cshtml @@ -235,8 +235,37 @@ + +
+
+ +
+
+ +
+
+ 校園當前車流量 + +
+
+ +
+ + + + + + + + + +
類別數量
+
+
+
+
@@ -626,6 +655,78 @@ } + + + + + + + + + + + + + @@ -141,8 +177,8 @@ else { table += "" + "Not ok" + "" }*/ - table += "" + '' - table += '' + "" + table += "" + '' + "" + /*table += ''*/ table += "" table += "" diff --git a/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml b/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml index f17768c..2082073 100644 --- a/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml +++ b/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml @@ -7,11 +7,34 @@

進入車輛

+
起始時間 : 結束時間 : + + 時間段內進入車輛 : + + + + + + + 總進入車輛 : + + + + + + +
@@ -44,8 +67,9 @@
- +
+
@@ -53,7 +77,7 @@
- +
@@ -310,10 +334,10 @@ + @@ -437,6 +493,103 @@ + + + + + + + + + + + + +
+ +
+
+ +
+
+ 校園當前車流量 + +
+
+ +
+ + + + + + + + + +
類別數量
+
+
+
+
+ @@ -392,6 +421,76 @@ } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml b/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml index da60017..1e8689d 100644 --- a/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml +++ b/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml @@ -12,6 +12,24 @@ 結束時間 : + + 時間段內進入車輛 : + + + + + + 總進入車輛 : + + + +
@@ -46,7 +64,7 @@
- +
@@ -54,7 +72,7 @@
- +
@@ -309,10 +327,10 @@ + + + + + + +