diff --git a/bin/abbott_2024_event.dll b/bin/abbott_2024_event.dll index 3cd7a46..299a696 100644 Binary files a/bin/abbott_2024_event.dll and b/bin/abbott_2024_event.dll differ diff --git a/bin/app.publish/BackEnd/api/exportRawExcel.ashx b/bin/app.publish/BackEnd/api/exportRawExcel.ashx new file mode 100644 index 0000000..aead1d6 --- /dev/null +++ b/bin/app.publish/BackEnd/api/exportRawExcel.ashx @@ -0,0 +1 @@ +<%@ WebHandler Language="C#" CodeBehind="exportRawExcel.ashx.cs" Class="abbott_2024_event.BackEnd.api.exportRawExcel" %> diff --git a/bin/app.publish/BackEnd/assets/javascript/custom/userList.js b/bin/app.publish/BackEnd/assets/javascript/custom/userList.js index b1d53e6..c9e423d 100644 --- a/bin/app.publish/BackEnd/assets/javascript/custom/userList.js +++ b/bin/app.publish/BackEnd/assets/javascript/custom/userList.js @@ -47,6 +47,21 @@ $(document).ready(function () { window.open(url); }); + $('#raw_btn').click(function () { + if (confirm("注意事項:Raw Data因為資料龐大,會依據選擇的時間範圍,下載等待時間可能會好幾分鐘以上!")) { + + var start = $("#startDate").val(); + var end = $("#endDate").val(); + var gender = $("#gender_select").val(); + var min_age = $("#age_start").val(); + var max_age = $("#age_end").val(); + + var url = "api/exportRawExcel.ashx?start=" + start + "&end=" + end + "&gender=" + gender + "&min_age=" + min_age + "&max_age=" + max_age; + window.open(url); + + } + }); + $('#delBabyBtn').click(function () { if (confirm('確定要刪除此筆寶寶的所有資料?')) { diff --git a/bin/app.publish/BackEnd/userList.aspx b/bin/app.publish/BackEnd/userList.aspx index 1846a41..49eb99b 100644 --- a/bin/app.publish/BackEnd/userList.aspx +++ b/bin/app.publish/BackEnd/userList.aspx @@ -66,7 +66,7 @@ -