调整按钮顺序:查当周移到统计加班时间和查当月之间
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
4
main.js
4
main.js
@@ -22207,11 +22207,11 @@ const workDayData = {
|
|||||||
get_work_time();
|
get_work_time();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
const button4 = createQueryButton('查当周', getCurrentWeekRange);
|
||||||
const button0 = createQueryButton('查当月', () => getCustomMonthRange(0));
|
const button0 = createQueryButton('查当月', () => getCustomMonthRange(0));
|
||||||
const button1 = createQueryButton('查上月', () => getCustomMonthRange(1));
|
const button1 = createQueryButton('查上月', () => getCustomMonthRange(1));
|
||||||
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
|
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
|
||||||
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
|
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
|
||||||
const button4 = createQueryButton('查当周', getCurrentWeekRange);
|
|
||||||
|
|
||||||
// 获取要将按钮添加到其中的容器
|
// 获取要将按钮添加到其中的容器
|
||||||
let container = document.getElementById('seclevelmenu');
|
let container = document.getElementById('seclevelmenu');
|
||||||
@@ -22219,11 +22219,11 @@ const workDayData = {
|
|||||||
container = document.body;
|
container = document.body;
|
||||||
}
|
}
|
||||||
container.appendChild(button);
|
container.appendChild(button);
|
||||||
|
container.appendChild(button4);
|
||||||
container.appendChild(button0);
|
container.appendChild(button0);
|
||||||
container.appendChild(button1);
|
container.appendChild(button1);
|
||||||
container.appendChild(button2);
|
container.appendChild(button2);
|
||||||
container.appendChild(button3);
|
container.appendChild(button3);
|
||||||
container.appendChild(button4);
|
|
||||||
console.log("复旦微加班时间统计脚本已加载");
|
console.log("复旦微加班时间统计脚本已加载");
|
||||||
console.log("点击按钮后会统计加班时间");
|
console.log("点击按钮后会统计加班时间");
|
||||||
})()
|
})()
|
||||||
@@ -284,11 +284,11 @@
|
|||||||
get_work_time();
|
get_work_time();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
const button4 = createQueryButton('查当周', getCurrentWeekRange);
|
||||||
const button0 = createQueryButton('查当月', () => getCustomMonthRange(0));
|
const button0 = createQueryButton('查当月', () => getCustomMonthRange(0));
|
||||||
const button1 = createQueryButton('查上月', () => getCustomMonthRange(1));
|
const button1 = createQueryButton('查上月', () => getCustomMonthRange(1));
|
||||||
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
|
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
|
||||||
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
|
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
|
||||||
const button4 = createQueryButton('查当周', getCurrentWeekRange);
|
|
||||||
|
|
||||||
// 获取要将按钮添加到其中的容器
|
// 获取要将按钮添加到其中的容器
|
||||||
let container = document.getElementById('seclevelmenu');
|
let container = document.getElementById('seclevelmenu');
|
||||||
@@ -296,11 +296,11 @@
|
|||||||
container = document.body;
|
container = document.body;
|
||||||
}
|
}
|
||||||
container.appendChild(button);
|
container.appendChild(button);
|
||||||
|
container.appendChild(button4);
|
||||||
container.appendChild(button0);
|
container.appendChild(button0);
|
||||||
container.appendChild(button1);
|
container.appendChild(button1);
|
||||||
container.appendChild(button2);
|
container.appendChild(button2);
|
||||||
container.appendChild(button3);
|
container.appendChild(button3);
|
||||||
container.appendChild(button4);
|
|
||||||
console.log("复旦微加班时间统计脚本已加载");
|
console.log("复旦微加班时间统计脚本已加载");
|
||||||
console.log("点击按钮后会统计加班时间");
|
console.log("点击按钮后会统计加班时间");
|
||||||
})()
|
})()
|
||||||
Reference in New Issue
Block a user