แก้ select /input
This commit is contained in:
parent
a934497083
commit
97879802b1
45 changed files with 138 additions and 279 deletions
|
|
@ -182,6 +182,7 @@ function fetchListOrg() {
|
|||
*/
|
||||
async function getData() {
|
||||
showLoader();
|
||||
formFilter.keyword = formFilter.keyword.trim();
|
||||
await http
|
||||
.post(config.API.developmentHistoryList("officer"), formFilter)
|
||||
.then((res) => {
|
||||
|
|
@ -384,16 +385,7 @@ onMounted(() => {
|
|||
@keydown.enter.prevent="(formFilter.page = 1), getData()"
|
||||
>
|
||||
<template v-slot:append>
|
||||
<q-icon v-if="formFilter.keyword == ''" name="search" />
|
||||
<q-icon
|
||||
v-if="formFilter.keyword !== ''"
|
||||
name="clear"
|
||||
class="cursor-pointer"
|
||||
@click="
|
||||
formFilter.keyword = '';
|
||||
getData();
|
||||
"
|
||||
/>
|
||||
<q-icon name="search" />
|
||||
</template>
|
||||
</q-input>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue