update d-none district
All checks were successful
frontend-action / build-image (push) Successful in 7m8s

This commit is contained in:
2024-06-13 16:14:03 +07:00
parent 401fb76f14
commit 4fb3078d58
2 changed files with 18 additions and 17 deletions

View File

@@ -163,9 +163,9 @@ export default {
if (this.province) { if (this.province) {
data.province = this.province; data.province = this.province;
} }
if (this.district) { // if (this.district) {
data.zone = this.district; // data.zone = this.district;
} // }
if (this.group) { if (this.group) {
data.group = this.group.id; data.group = this.group.id;
} }

View File

@@ -113,7 +113,7 @@
hide-details hide-details
></v-autocomplete> ></v-autocomplete>
</v-col> </v-col>
<v-col cols="12" md="4"> <v-col cols="12" md="4" class="d-none">
<!-- <v-text-field <!-- <v-text-field
label="อำเภอ / เขต" label="อำเภอ / เขต"
variant="solo" variant="solo"
@@ -161,7 +161,7 @@
</template> </template>
</v-autocomplete> </v-autocomplete>
</v-col> </v-col>
<v-col cols="12" md="12"> <v-col cols="12" md="4">
<!-- <v-text-field <!-- <v-text-field
label="กลมอาช" label="กลมอาช"
variant="solo" variant="solo"
@@ -202,7 +202,7 @@
searchUserApi(0, ''); searchUserApi(0, '');
showGroup = false; showGroup = false;
" "
:disabled="district == null || group == null || province == null" :disabled="group == null || province == null"
:loading="load || load2" :loading="load || load2"
width="300" width="300"
height="52px" height="52px"
@@ -220,7 +220,7 @@
:loading="load || load2" :loading="load || load2"
height="52px" height="52px"
stack stack
:disabled="district == null || group == null || province == null" :disabled=" group == null || province == null"
> >
<div class="text-sub">ค้นหาต่างกลุ่มอาชีพ</div> <div class="text-sub">ค้นหาต่างกลุ่มอาชีพ</div>
@@ -276,7 +276,7 @@
:check="checkbox1" :check="checkbox1"
:group="groupx" :group="groupx"
:province="province" :province="province"
:district="district"
v-if="showGroup" v-if="showGroup"
@value-sent="handleValueSent" @value-sent="handleValueSent"
/> />
@@ -361,9 +361,10 @@ export default {
// console.log(this.group.id); // console.log(this.group.id);
data.group = this.group.id; data.group = this.group.id;
} }
if (this.district) {
data.zone = this.district; // if (this.district) {
} // data.zone = this.district;
// }
// let param = { input: JSON.stringify({ 0: data }) }; // let param = { input: JSON.stringify({ 0: data }) };
// var axios = require("axios"); // var axios = require("axios");
@@ -417,9 +418,9 @@ export default {
data.group = this.group.id; data.group = this.group.id;
} }
} }
if (this.district) { // if (this.district) {
data.zone = this.district; // data.zone = this.district;
} // }
if (this.nameUser) { if (this.nameUser) {
data.userId = this.nameUser; data.userId = this.nameUser;
} }
@@ -463,9 +464,9 @@ export default {
data.group = this.group.id; data.group = this.group.id;
} }
} }
if (this.district) { // if (this.district) {
data.zone = this.district; // data.zone = this.district;
} // }
if (this.nameUser) { if (this.nameUser) {
data.userId = this.nameUser; data.userId = this.nameUser;