no message
This commit is contained in:
parent
cdf697e761
commit
77f64a343b
1 changed files with 4 additions and 24 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue