no message

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-08-25 14:36:57 +07:00
parent cdf697e761
commit 77f64a343b

View file

@ -45,11 +45,11 @@ const fecthRound = async () => {
.get(config.API.noteround())
.then((res) => {
let data = res.data.result;
// console.log(data);
selectRoundOption.value = data;
selectRoundOption.value = data.map((e: any) => ({
name: "รอบการเสนอพระราชทานเครื่องราชปี" + " " + (e.year + 543),
id: e.id,
}));
selectRound.value = data[0].id;
// console.log(selectRound.value);
})
.catch((err) => {
console.log(err);
@ -250,26 +250,6 @@ const fecthlistInsignia = async () => {
let data = res.data.result;
console.log(data);
DataStore.fetchlistinsignia(data);
// rows.value = [];
// rows.value = data.map((e: any) => ({
// id: e.id,
// citizenId: e.citizenId,
// prefix: e.prefix,
// position: e.position,
// status: DataStore.status(e.status),
// dateReceive: date2Thai(e.dateReceive),
// name: e.fullName,
// type: e.requestInsignia,
// employeeType: DataStore.profileType(e.profileType),
// profileType: e.profileType,
// page: e.page,
// number: e.no,
// vatnumber: e.number,
// datepay: date2Thai(e.datePayment),
// typepay: e.typePayment,
// address: e.address,
// }));
})
.catch((err) => {
console.log(err);