diff --git a/Parking_spaces/Views/Engineering/Engineering_Index.cshtml b/Parking_spaces/Views/Engineering/Engineering_Index.cshtml
index c1087ea..48e0a84 100644
--- a/Parking_spaces/Views/Engineering/Engineering_Index.cshtml
+++ b/Parking_spaces/Views/Engineering/Engineering_Index.cshtml
@@ -84,7 +84,7 @@
工程模式
-
+
@@ -101,10 +101,10 @@
-
+
@@ -184,6 +184,24 @@
+
+
+
@@ -201,35 +219,39 @@
@@ -281,9 +303,9 @@
var token_ckeck //= document.getElementById("token_ckeck_id").value
var position //職位
function get_violation_data_1() {
- console.log("start")
+ //console.log("start")
//token_check = document.getElementById("token_check_id").value
- console.log(token_check)
+ //console.log(token_check)
$.ajax({
type: "GET",
url: "http://140.125.20.183:7700/api/Parking_spaces_violation_total_table",
@@ -301,7 +323,7 @@
if (Model.length > 0) {
for (var i = 0; i < Model.length; i++) {
var name = Model[i].parking_spaces_violation_name
- //console.log(name)
+ ////console.log(name)
$.ajax({
type: "GET",
url: "http://140.125.20.183:7700/api/Violation_car_table/violation_location_name-" + name,
@@ -363,7 +385,7 @@
var timeDifference = endDate - startDate;
var daysDifference = Math.floor(timeDifference / (1000 * 60 * 60 * 24));// 轉換為天數(毫秒 / 1000 / 60 / 60 / 24)
- //console.log(daysDifference)
+ ////console.log(daysDifference)
if (daysDifference > 6) {
break
}
@@ -380,7 +402,7 @@
}
}
- console.log(date_list)
+ //console.log(date_list)
set_violation_data_2(Model)
}
@@ -424,14 +446,14 @@
var timeDifference = endDate - startDate;
var daysDifference = Math.floor(timeDifference / (1000 * 60 * 60 * 24));// 轉換為天數(毫秒 / 1000 / 60 / 60 / 24)
- //console.log(daysDifference)
+ ////console.log(daysDifference)
if (daysDifference > 6) {
break
}
var D_1 = new Date(date);
var MD = D_1.toLocaleDateString('en-US', { month: '2-digit', day: '2-digit' });
var index = date_list.indexOf(MD);
- //console.log(index)
+ ////console.log(index)
violation_car_list[index] = violation_car_list[index] + 1
}
@@ -450,6 +472,90 @@
+
+
+
+
+