fix: product & service count
This commit is contained in:
parent
119095ece8
commit
7de60c101f
1 changed files with 10 additions and 7 deletions
|
|
@ -1150,9 +1150,10 @@ watch(inputSearchProductAndService, async () => {
|
||||||
<AppBox
|
<AppBox
|
||||||
v-if="productMode === 'group' || productMode === 'type'"
|
v-if="productMode === 'group' || productMode === 'type'"
|
||||||
bordered
|
bordered
|
||||||
|
style="overflow-x: scroll"
|
||||||
class="q-mb-md"
|
class="q-mb-md"
|
||||||
>
|
>
|
||||||
<StatCard label-i18n :branch="stat" :dark="$q.dark.isActive" />
|
<StatCard label-i18n :branch="stat" :dark="$q.dark.isActive" nowrap />
|
||||||
</AppBox>
|
</AppBox>
|
||||||
<div
|
<div
|
||||||
v-if="productMode === 'group' || productMode === 'type'"
|
v-if="productMode === 'group' || productMode === 'type'"
|
||||||
|
|
@ -1293,9 +1294,11 @@ watch(inputSearchProductAndService, async () => {
|
||||||
pathTypeName = v.name;
|
pathTypeName = v.name;
|
||||||
currentIdType = v.id;
|
currentIdType = v.id;
|
||||||
productMode = 'service';
|
productMode = 'service';
|
||||||
|
productAndServiceTab = 'all';
|
||||||
await featchStatsService();
|
// await featchStatsService();
|
||||||
await featchStatsProduct();
|
// await featchStatsProduct();
|
||||||
|
await fetchListOfProduct();
|
||||||
|
await fetchListOfService();
|
||||||
await fetchListOfProductAndService();
|
await fetchListOfProductAndService();
|
||||||
flowStore.rotate();
|
flowStore.rotate();
|
||||||
}
|
}
|
||||||
|
|
@ -1426,7 +1429,7 @@ watch(inputSearchProductAndService, async () => {
|
||||||
inputSearchProductAndService = '';
|
inputSearchProductAndService = '';
|
||||||
currentStatus = 'All';
|
currentStatus = 'All';
|
||||||
pageSizeServiceAndProduct;
|
pageSizeServiceAndProduct;
|
||||||
await fetchListOfProductAndService();
|
// await fetchListOfProductAndService();
|
||||||
flowStore.rotate();
|
flowStore.rotate();
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
@ -1459,7 +1462,7 @@ watch(inputSearchProductAndService, async () => {
|
||||||
currentPageServiceAndProduct = 1;
|
currentPageServiceAndProduct = 1;
|
||||||
inputSearchProductAndService = '';
|
inputSearchProductAndService = '';
|
||||||
currentStatus = 'All';
|
currentStatus = 'All';
|
||||||
await fetchListOfProduct();
|
// await fetchListOfProduct();
|
||||||
flowStore.rotate();
|
flowStore.rotate();
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
@ -1492,7 +1495,7 @@ watch(inputSearchProductAndService, async () => {
|
||||||
currentPageServiceAndProduct = 1;
|
currentPageServiceAndProduct = 1;
|
||||||
inputSearchProductAndService = '';
|
inputSearchProductAndService = '';
|
||||||
currentStatus = 'All';
|
currentStatus = 'All';
|
||||||
await fetchListOfService();
|
// await fetchListOfService();
|
||||||
flowStore.rotate();
|
flowStore.rotate();
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue