แก้ประเมินบุคคล
This commit is contained in:
parent
2eda92a693
commit
2399c9dcf0
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ function getDate() {
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
const data = res.data.result;
|
const data = res.data.result;
|
||||||
AnnouncementStartDate.value = date2Thai(data.dateStartAnnounce);
|
AnnouncementStartDate.value = date2Thai(data.dateStartAnnounce);
|
||||||
const endDate = new Date(data.dateEndAnnounce);
|
const endDate = new Date(data.dateStartAnnounce);
|
||||||
endDate.setDate(endDate.getDate() + 30);
|
endDate.setDate(endDate.getDate() + 30);
|
||||||
AnnouncementEndDate.value = date2Thai(endDate);
|
AnnouncementEndDate.value = date2Thai(endDate);
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue