Merge branch 'nice' into develop
This commit is contained in:
commit
dea45644d0
1 changed files with 1 additions and 2 deletions
|
|
@ -220,7 +220,6 @@ const isEdit = ref<boolean>(false); // สถานะการแก้ไข
|
|||
const insigniaReclaimId = ref<string>(""); // ID รายการเรียกคืนเครื่องราชฯ
|
||||
const insigniaReclaimData = ref<DataReclaim>(); //ข้อมูลรายการเรียกคืนเครื่องราชฯ
|
||||
|
||||
|
||||
const yearRound = ref<number>(); //รอบการเสนอขอ
|
||||
const insigniaType = ref<string>("all"); //ประเภทเครื่องราช
|
||||
const employeeType = ref<string>("all"); //ตำแหน่งประเภม
|
||||
|
|
@ -234,8 +233,8 @@ async function fetchInsigniaRound() {
|
|||
let data = res.data.result;
|
||||
roundData.value.push(...data);
|
||||
roundOps.value = roundData.value;
|
||||
yearRound.value = data[0].year;
|
||||
if (data.length > 0) {
|
||||
yearRound.value = data[0].year;
|
||||
isInsigniaRound.value = true;
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue