- แก้รอบเครื่องราช

- ผูก flow จัดการคำขอ
This commit is contained in:
Warunee Tamkoo 2023-08-23 22:23:09 +07:00
parent 8d45efa921
commit 7894e7a715
5 changed files with 82 additions and 26 deletions

View file

@ -225,8 +225,8 @@ const fileDocDataUpload = ref<File[]>([]);
const roundInsig = ref<any>();
const datelast = ref<number>(1);
const options = ref([
{ label: "รอบที่ 1", value: 1 },
{ label: "รอบที่ 2", value: 2 },
{ label: "รอบการเสนอขอพระราชทานเครื่องราชรอบที่ 1", value: 1 },
{ label: "รอบการเสนอขอพระราชทานเครื่องราชรอบที่ 2", value: 2 },
]);
onMounted(async () => {
await fetchData();
@ -236,7 +236,7 @@ const fetchData = async () => {
if (route.params.id) {
edit.value = true;
showLoader();
console.log(id.value);
// console.log(id.value);
await http
.get(config.API.getRoundInsignia(id.value))