diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 7b824ec..c9725a4 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -45,6 +45,12 @@ >{{ ["/auditing/serviceDemand"].includes(basePath) ? `${onlyOneChild.meta.title} (${userStore.serviceDemandTotal})` + : ["/auditing/achievement"].includes(basePath) + ? `${onlyOneChild.meta.title} (${userStore.achievementTotal})` + : ["/auditing/demand"].includes(basePath) + ? `${onlyOneChild.meta.title} (${userStore.technologyTotal})` + : ["/auditing/Enterpriseproducts"].includes(basePath) + ? `${onlyOneChild.meta.title} (${userStore.productTotal})` : onlyOneChild.meta.title }} { diff --git a/src/views/dataAuditList/Enterpriseproducts/index.vue b/src/views/dataAuditList/Enterpriseproducts/index.vue index 92dd63e..70f4c32 100644 --- a/src/views/dataAuditList/Enterpriseproducts/index.vue +++ b/src/views/dataAuditList/Enterpriseproducts/index.vue @@ -214,5 +214,6 @@ const handleBatchApproval = async () => { .catch(() => {}); }; userStore.getUnApprovedProduct(); +userStore.getProductTotal(); diff --git a/src/views/dataAuditList/achievement/index.vue b/src/views/dataAuditList/achievement/index.vue index 720bba2..acfdf7d 100644 --- a/src/views/dataAuditList/achievement/index.vue +++ b/src/views/dataAuditList/achievement/index.vue @@ -207,5 +207,6 @@ const handleBatchApproval = async () => { .catch(() => {}); }; userStore.getUnApprovedAchivement(); +userStore.getAchievementTotal(); diff --git a/src/views/dataAuditList/demand/index.vue b/src/views/dataAuditList/demand/index.vue index 033e9cd..30f4408 100644 --- a/src/views/dataAuditList/demand/index.vue +++ b/src/views/dataAuditList/demand/index.vue @@ -247,5 +247,6 @@ const complete = (id) => { getSiteList(); getList(); userStore.getUnApprovedTechnology(); +userStore.getTechnologyTotal(); diff --git a/src/views/expert/dataList/index.vue b/src/views/expert/dataList/index.vue index 92263b1..a863020 100644 --- a/src/views/expert/dataList/index.vue +++ b/src/views/expert/dataList/index.vue @@ -16,6 +16,7 @@ class="m-2" placeholder="请选择" > +