feat: เพิ่ม flowStore.rotate()
This commit is contained in:
parent
9e28d51d21
commit
557924ad6c
2 changed files with 18 additions and 3 deletions
|
|
@ -224,7 +224,12 @@ watch(currentStatus, async () => {
|
||||||
<PaginationComponent
|
<PaginationComponent
|
||||||
v-model:current-page="currentPageBranch"
|
v-model:current-page="currentPageBranch"
|
||||||
v-model:max-page="maxPageBranch"
|
v-model:max-page="maxPageBranch"
|
||||||
:fetch-data="async () => await fetchList()"
|
:fetch-data="
|
||||||
|
async () => {
|
||||||
|
await fetchList();
|
||||||
|
flowStore.rotate();
|
||||||
|
}
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</AppBox>
|
</AppBox>
|
||||||
|
|
|
||||||
|
|
@ -1553,7 +1553,12 @@ watch([inputSearch, currentStatus], async () => {
|
||||||
<PaginationComponent
|
<PaginationComponent
|
||||||
v-model:current-page="currentPageCustomer"
|
v-model:current-page="currentPageCustomer"
|
||||||
v-model:max-page="maxPageCustomer"
|
v-model:max-page="maxPageCustomer"
|
||||||
:fetch-data="async () => await fetchListCustomer()"
|
:fetch-data="
|
||||||
|
async () => {
|
||||||
|
await fetchListCustomer();
|
||||||
|
flowStore.rotate();
|
||||||
|
}
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -1617,7 +1622,12 @@ watch([inputSearch, currentStatus], async () => {
|
||||||
<PaginationComponent
|
<PaginationComponent
|
||||||
v-model:current-page="currentPageEmployee"
|
v-model:current-page="currentPageEmployee"
|
||||||
v-model:max-page="maxPageEmployee"
|
v-model:max-page="maxPageEmployee"
|
||||||
:fetch-data="async () => await fetchListEmployee()"
|
:fetch-data="
|
||||||
|
async () => {
|
||||||
|
await fetchListEmployee();
|
||||||
|
flowStore.rotate();
|
||||||
|
}
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue