diff --git a/src/pages/tabs/component/PendingNoticeBar.vue b/src/pages/tabs/component/PendingNoticeBar.vue
index 7db8c31..3517620 100644
--- a/src/pages/tabs/component/PendingNoticeBar.vue
+++ b/src/pages/tabs/component/PendingNoticeBar.vue
@@ -1,25 +1,45 @@
+ direction="vertical"
+ :content="1 < noticeContent.length ? noticeContent : noticeContent[0]"
+ @change="currentIndex = $event"
+ @click="openNotice"
+ >
+
+
+
+
diff --git a/src/store/pendingNoticeStore.ts b/src/store/pendingNoticeStore.ts
index f2d5038..21e490b 100644
--- a/src/store/pendingNoticeStore.ts
+++ b/src/store/pendingNoticeStore.ts
@@ -13,19 +13,19 @@ export const usePendingNoticeStore = defineStore("pendingNotice", () => {
const currentStoreStore = useCurrentStoreStore();
const pendingCounts = reactive({ fulfillment: 0, stock: 0, fund: 0, event: 0 });
let pendingRequestId = 0;
- const pendingNoticeList = computed(() => {
- const notices: string[] = [];
+ const pendingNoticeList = computed(() => {
+ const notices: { content: string; name: string; query: Record }[] = [];
if (pendingCounts.fulfillment) {
- notices.push(`有 ${pendingCounts.fulfillment} 条履约待核销`);
+ notices.push({ content: `有 ${pendingCounts.fulfillment} 条履约待核销`, name: "OrderFulfillmentList", query: { status: "PENDING" } });
}
if (pendingCounts.fund) {
- notices.push(`有 ${pendingCounts.fund} 条资金流水待核销`);
+ notices.push({ content: `有 ${pendingCounts.fund} 条资金流水待核销`, name: "FundRecordList", query: { status: "PENDING" } });
}
if (pendingCounts.stock) {
- notices.push(`有 ${pendingCounts.stock} 条履约等待库存`);
+ notices.push({ content: `有 ${pendingCounts.stock} 条履约等待库存`, name: "OrderFulfillmentList", query: { status: "WAITING_STOCK" } });
}
if (pendingCounts.event) {
- notices.push(`有 ${pendingCounts.event} 条事件待核销`);
+ notices.push({ content: `有 ${pendingCounts.event} 条事件待核销`, name: "EventRecordList", query: { verificationStatus: "PENDING", dateType: "all" } });
}
return notices;
});