From ecc2ca745d1e8973d4a2cc8e702b577164184393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A8=81=E5=8B=9D=20=E5=BC=B5?= Date: Wed, 14 Feb 2024 21:39:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E8=BA=AB=E5=88=86=E9=A9=97?= =?UTF-8?q?=E8=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Engineering/Engineering_CAM.cshtml | 32 +++++---- .../Engineering/Engineering_CAM_detail.cshtml | 66 +++++++++++-------- .../Engineering/Engineering_Index.cshtml | 38 +++++++---- .../Engineering/Engineering_Index_.cshtml | 15 +++-- .../Views/Engineering/Engineering_LED.cshtml | 11 ++-- .../Engineering/Engineering_LED_detail.cshtml | 19 +++--- .../Views/Engineering/Engineering_RTSP.cshtml | 11 ++-- .../Engineering/Engineering_Violation.cshtml | 29 +++++--- .../Engineering_total_table.cshtml | 36 +++++++--- .../Views/Engineering/Map_RTSP.cshtml | 15 +++-- .../Single_violation_detail.cshtml | 44 +++++++++---- .../Views/Engineering/Yuntech_in_car.cshtml | 29 +++++--- Parking_spaces/Views/Home/Login.cshtml | 2 +- .../Views/Manager/Manager_Index.cshtml | 24 +++++-- .../Views/Manager/Manager_Violation.cshtml | 29 +++++--- .../Manager/Single_violation_detail.cshtml | 44 +++++++++---- .../Views/Manager/Yuntech_in_car.cshtml | 29 +++++--- .../Park_spaces/Parking_spaces_history.cshtml | 25 +++++-- .../Parking_spaces_total_table.cshtml | 36 +++++++--- .../Single_parking_spaces_detail.cshtml | 30 +++++++-- .../Single_parking_spaces_map.cshtml | 8 ++- .../Views/Shared/_Layout_Engineering.cshtml | 3 +- 22 files changed, 391 insertions(+), 184 deletions(-) diff --git a/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml b/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml index 7dc9c1d..42351f7 100644 --- a/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml +++ b/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml @@ -83,12 +83,15 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://140.125.20.183:7700/api/Parking_spaces_cam", + url: "http://localhost:5174/api/Parking_spaces_cam", data: {}, headers: { 'Authorization': token }, contentType: "application/json", + headers: { + 'Authorization': token + }, success: function (Model) { console.log(Model) set_data(Model) @@ -102,12 +105,15 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://140.125.20.183:7700/api/Parking_spaces_total_table", + url: "http://localhost:5174/api/Parking_spaces_total_table", data: {}, headers: { 'Authorization': token }, contentType: "application/json", + headers: { + 'Authorization': token + }, success: function (Model) { console.log(Model) set_data_2(Model) @@ -121,12 +127,15 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://140.125.20.183:7700/api/Parking_spaces_violation_total_table", + url: "http://localhost:5174/api/Parking_spaces_violation_total_table", data: {}, headers: { 'Authorization': token }, contentType: "application/json", + headers: { + 'Authorization': token + }, success: function (Model) { console.log(Model) set_data_3(Model) @@ -229,7 +238,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://140.125.20.183:7700/api/Parking_spaces_cam", + url: "http://localhost:5174/api/Parking_spaces_cam", //data: {test_id: test_id, test_date: test_date, test_time: test_time, test_analyst: test_analyst, img: img, data_creat_time: "2022-10-04T18:47:40.887014" }, data: stringify_obj, contentType: "application/json", @@ -283,7 +292,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://140.125.20.183:7700/api/Parking_spaces_roi_pass", + url: "http://localhost:5174/api/Parking_spaces_roi_pass", //data: {test_id: test_id, test_date: test_date, test_time: test_time, test_analyst: test_analyst, img: img, data_creat_time: "2022-10-04T18:47:40.887014" }, data: stringify_obj, contentType: "application/json", @@ -341,7 +350,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://140.125.20.183:7700/api/Parking_spaces_cam_ptz_pass", + url: "http://localhost:5174/api/Parking_spaces_cam_ptz_pass", //data: {test_id: test_id, test_date: test_date, test_time: test_time, test_analyst: test_analyst, img: img, data_creat_time: "2022-10-04T18:47:40.887014" }, data: stringify_obj, contentType: "application/json", @@ -374,7 +383,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://140.125.20.183:7700/api/Parking_spaces_cam_ptz_violation", + url: "http://localhost:5174/api/Parking_spaces_cam_ptz_violation", //data: {test_id: test_id, test_date: test_date, test_time: test_time, test_analyst: test_analyst, img: img, data_creat_time: "2022-10-04T18:47:40.887014" }, data: stringify_obj, contentType: "application/json", @@ -415,13 +424,14 @@