สอบคัดเลือกเพิ่มฟิวรหัสตำแหน่ง

This commit is contained in:
Kittapath 2023-10-04 15:03:17 +07:00
parent 32ec4bdcd9
commit fd6510b49e
4 changed files with 70 additions and 25 deletions

View file

@ -446,6 +446,7 @@ onMounted(async () => {
const calDate = async () => {
let _startDate = new Date(startDate.value.toISOString().substr(0, 10));
let _endDate = new Date(endDate.value.toISOString().substr(0, 10));
_endDate.setDate(_endDate.getDate() + 1);
if (_startDate > _endDate) {
const swap = _startDate;
_startDate = _endDate;