diff --git a/src/components/search/CardUser copy.vue b/src/components/search/CardUser copy.vue new file mode 100644 index 0000000..b908536 --- /dev/null +++ b/src/components/search/CardUser copy.vue @@ -0,0 +1,438 @@ + + + + diff --git a/src/components/search/CardUser.vue b/src/components/search/CardUser.vue index b908536..cb74acc 100644 --- a/src/components/search/CardUser.vue +++ b/src/components/search/CardUser.vue @@ -12,11 +12,9 @@ - - - - - - - - - - - -
-
กลุ่มที่
-
- {{ item.group.id }} -
-
-
- -
-
หมายเลขผู้สมัคร
-
-
- {{ item.registerno }} -
-
-
-
-
-
-
-
- {{ item.zone.province.name }} | - {{ - item.zone.name - }} -
-
-
-
+
กลุ่มที่ {{ groupData.id }}
+
{{ groupData.name }}
+
+
+
{{ item.firstName }} {{ item.lastName }} -
- -
- {{ item.group.name }} -
- -
-
- อายุ : - - {{ item.age }} ปี -
-
- อาชีพ : - {{ item.job }} -
-
- การศึกษา : - {{ item.education }} -
+
- - - - -
-
ช่องทางติดต่อ
- - -
- - {{ item.facebook }} - -
-
- - {{ item.twitter }} - -
- -
- - - {{ item.tiktok }} - -
+ @@ -184,6 +52,9 @@ export default { dataProfile: { type: Array, }, + groupData:{ + type:Object + } }, data() { return { diff --git a/src/components/search/CardUserGroup copy.vue b/src/components/search/CardUserGroup copy.vue new file mode 100644 index 0000000..beb9f9e --- /dev/null +++ b/src/components/search/CardUserGroup copy.vue @@ -0,0 +1,464 @@ + + + + diff --git a/src/components/search/CardUserGroup.vue b/src/components/search/CardUserGroup.vue index beb9f9e..0f13077 100644 --- a/src/components/search/CardUserGroup.vue +++ b/src/components/search/CardUserGroup.vue @@ -129,7 +129,7 @@ export default { }, computed: { chunkedResults() { - const chunkSize = 3; + const chunkSize = 10; let chunks = []; for (let i = 0; i < this.result.length; i += chunkSize) { chunks.push(this.result.slice(i, i + chunkSize)); @@ -160,16 +160,16 @@ export default { this.$emit("valueSent", true); // this.load2 = true; let data = {}; - if (this.province) { - data.province = this.province; - } + // if (this.province) { + // data.province = this.province; + // } // if (this.district) { // data.zone = this.district; // } if (this.group) { data.group = this.group.id; } - data.limit = 30; + data.limit = 50; if (data) { client.user.getAllUser .query(data) diff --git a/src/components/search/SearchMain.vue b/src/components/search/SearchMain.vue index cc8d404..624bd01 100644 --- a/src/components/search/SearchMain.vue +++ b/src/components/search/SearchMain.vue @@ -92,7 +92,7 @@ - +