feat: add full detail query param
This commit is contained in:
parent
e1f5483aeb
commit
caf8ba87a2
2 changed files with 4 additions and 2 deletions
|
|
@ -111,6 +111,7 @@ async function getAllService(
|
||||||
page: opts?.page ?? 1,
|
page: opts?.page ?? 1,
|
||||||
pageSize: opts?.pageSize ?? 9999,
|
pageSize: opts?.pageSize ?? 9999,
|
||||||
productGroupId: groupId,
|
productGroupId: groupId,
|
||||||
|
fullDetail: true,
|
||||||
});
|
});
|
||||||
if (ret) serviceList.value[groupId] = ret.result;
|
if (ret) serviceList.value[groupId] = ret.result;
|
||||||
}
|
}
|
||||||
|
|
@ -161,7 +162,7 @@ function convertToTree() {
|
||||||
</MainButton>
|
</MainButton>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="productList[selectedGroup.id]"
|
v-if="selectedGroupSub === 'product' && productList[selectedGroup.id]"
|
||||||
v-for="item in productList[selectedGroup.id]"
|
v-for="item in productList[selectedGroup.id]"
|
||||||
class="row items-center"
|
class="row items-center"
|
||||||
>
|
>
|
||||||
|
|
@ -171,7 +172,7 @@ function convertToTree() {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="serviceList[selectedGroup.id]"
|
v-if="selectedGroupSub === 'service' && serviceList[selectedGroup.id]"
|
||||||
v-for="item in serviceList[selectedGroup.id]"
|
v-for="item in serviceList[selectedGroup.id]"
|
||||||
class="row items-center"
|
class="row items-center"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -290,6 +290,7 @@ const useProductServiceStore = defineStore('api-product-service', () => {
|
||||||
pageSize?: number;
|
pageSize?: number;
|
||||||
productGroupId?: string;
|
productGroupId?: string;
|
||||||
status?: string;
|
status?: string;
|
||||||
|
fullDetail?: boolean;
|
||||||
}) {
|
}) {
|
||||||
const params = new URLSearchParams();
|
const params = new URLSearchParams();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue