Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #167

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
fix: csv导出失败
putianyi889 committed Nov 23, 2024
commit 1a96b68e3f5a182e415eedbce1b744b213c12950
2 changes: 1 addition & 1 deletion front_end/src/components/widgets/UserArbiterCSV.vue
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ function generateArbiterCSV(data: any) {
if (!data) return "";
let csvdata = ['Day,Month,Year,Hour,Min,Sec,mode,Time,BBBV,BBBVs,style,cell0,cell1,cell2,cell3,cell4,cell5,cell6,cell7,cell8,Lcl,Rcl,Dcl,Leff,Reff,Deff,Openings,Islands,Path,GZiNi,HZiNi']
for (let v of data) {
if (v.mode != 'std' && v.mode != 'nf') continue;
if (v.mode != '00' && v.mode != '12') continue;
let date = new Date(v.upload_time);
let row: any[] = [date.getUTCDate(), date.getUTCMonth() + 1, date.getUTCFullYear(), date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds()];
switch (v.level) {