update filter group
All checks were successful
frontend-action / build-image (push) Successful in 3m47s

This commit is contained in:
2024-06-07 13:12:30 +07:00
parent 12461d2c7a
commit 401fb76f14
2 changed files with 11 additions and 7 deletions

View File

@@ -61,14 +61,19 @@
background: white; background: white;
border-radius: 10px; border-radius: 10px;
min-height: 180px; min-height: 180px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
" "
class="py-5" class="py-5"
> >
<div v-for="(item, j) in chunk" :key="j" cols="12" md="4"> <div v-for="(item, j) in chunk" :key="j" cols="12" md="4">
<div class="font-weight-bold my-2"> <div class="font-weight-bold my-2">
<div <div
class="mt-3 mb-2 mx-auto txt-subtitle" class="mx-auto txt-subtitle my-auto"
style="width: 90%; margin: auto" style="margin: auto"
v-if="item.firstName" v-if="item.firstName"
> >
<span>{{ item.firstName }}</span> <span>{{ item.firstName }}</span>
@@ -218,7 +223,7 @@ export default {
this.load = false; this.load = false;
console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error); console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error);
}); });
// let param = { input: JSON.stringify({ 0: data }) }; // let param = { input: JSON.stringify({ 0: data }) };
// var axios = require("axios"); // var axios = require("axios");
@@ -278,7 +283,6 @@ export default {
// this.load = false; // this.load = false;
// console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error); // console.error("เกิดข้อผิดพลาดในการโหลดข้อมูล:", error);
// }); // });
} }
}, },
}; };

View File

@@ -593,9 +593,9 @@ export default {
.query({}) .query({})
.then((data) => { .then((data) => {
this.provinceItems = data; this.provinceItems = data;
if (this.getUsername) { // if (this.getUsername) {
this.getUser(data); // this.getUser(data);
} // }
}) })
.catch((error) => { .catch((error) => {
// alert("ไม่สามารถโหลดข้อมูลได้"); // alert("ไม่สามารถโหลดข้อมูลได้");