ค้นหาผู้แสดงตนเป็นผู้สมัคร สว.
- ค้นหาผู้แสดงตนเป็นผู้สมัคร สว. ใน จังหวัด/เขต
- ที่ตัวเองเป็นผู้แสดงตน
+ ค้นหาผู้แสดงตนเป็นผู้สมัคร สว. ใน จังหวัด/อำเภอ ที่ตัวเองเป็นผู้แสดงตน
-
กลุ่มที่
+
กลุ่มที่
-
หมายเลขผู้สมัคร
+
หมายเลขผู้สมัคร
{{ item.registerno }}
@@ -426,3 +426,10 @@ export default {
}
}
+
diff --git a/src/components/search/CardUserGroup.vue b/src/components/search/CardUserGroup.vue
index b99ff22..4a5c089 100644
--- a/src/components/search/CardUserGroup.vue
+++ b/src/components/search/CardUserGroup.vue
@@ -13,13 +13,13 @@
>
- {{ group.id }}
-
- {{ group.name }}
+
+ {{ group.id }}
+
+ {{ group.name }}
-
-
@@ -238,6 +238,8 @@ export default {
};
},
mounted() {
+ this.$emit("valueSent", true);
+ // this.load2 = true;
let data = {};
if (this.province && this.province.id) {
data.province = this.province.id;
@@ -248,6 +250,7 @@ export default {
if (this.group) {
data.group = this.group.id;
}
+ data.limit = 5;
if (data) {
client.user.getAllUser
.query(data)
@@ -293,7 +296,8 @@ export default {
if (rs.length == 0) {
this.show = true;
}
-
+ this.$emit("valueSent", false);
+ // this.load2 = false;
// this.districtItems = rs;
})
.catch((error) => {
@@ -378,6 +382,7 @@ div.v-window__container
width: -webkit-fill-available;
/* width: fit-content; */
}
+
@media only screen and (min-width: 0px) and (max-width: 700px) {
div.v-window__container
> div.v-window-item.v-window-item--active.v-carousel-item
@@ -400,7 +405,7 @@ div.v-window__container
}
div.font-weight-bold.my-2.text-md-left > div.text-sub2.text-left.mt-5 {
margin-top: 0px !important;
- line-height: 21px;
+ line-height: 24px;
}
div.v-window__container
> div.v-window-item.v-window-item--active.v-carousel-item
@@ -432,7 +437,7 @@ div.v-window__container
border-radius: 10px;
width: -webkit-fill-available;
/* width: fit-content; */
- min-width: 100%;
+ /* min-width: 90%; */
padding: 5px 0px;
height: 85px;
line-height: 37px;
diff --git a/src/components/search/SearchMain.vue b/src/components/search/SearchMain.vue
index a5b55e5..791fee6 100644
--- a/src/components/search/SearchMain.vue
+++ b/src/components/search/SearchMain.vue
@@ -95,6 +95,7 @@
@@ -111,13 +112,14 @@
ค้นหาทุกกลุ่มอาชีพ
@@ -148,19 +150,25 @@
-
+
-
+
+
@@ -187,6 +196,7 @@ export default {
},
data() {
return {
+ load2: false,
checkbox1: true,
showGroup: false,
apiGroup: [],
@@ -207,6 +217,11 @@ export default {
};
},
methods: {
+ handleValueSent(value) {
+ this.load2 = value;
+ console.log("Received value from child:", value);
+ // ทำงานกับค่าที่ได้รับ
+ },
searchUser(offset) {
this.show = false;
this.load = true;