โครงสร้างอัตรากำลัง => แก้ไขการ fetch โครางสร้าง ประวัติ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-03-05 10:31:05 +07:00
parent cd26f1a08a
commit b331a79277
3 changed files with 100 additions and 5 deletions

View file

@ -234,7 +234,7 @@ function fetchDataPeriod(id: string) {
}
/**function เปลี่ยนกลุ่ม*/
function changeTabGroup() {
function changeTabGroup() {
formFilter.page = 1;
formFilter.pageSize = 10;
formFilter.keyword = "";
@ -319,7 +319,25 @@ onMounted(async () => {
</q-card>
</div>
<div class="row col justify-end items-center">
<q-btn color="blue-5" icon="download" label="ดาวน์โหลด" />
<q-btn-dropdown color="blue-5" label="ดาวน์โหลด">
<q-list>
<q-item
v-for="(item, index) in store.roundMainCode === 'APR'
? store.itemDownloadApr
: store.roundMainCode === 'OCT'
? store.itemDownloadOct
: []"
:key="index"
clickable
v-close-popup
>
<q-item-section>
<q-item-label>{{ item.name }}</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
<!-- <q-btn color="blue-5" icon="download" label="ดาวน์โหลด" /> -->
</div>
</div>
</div>