diff --git a/components.d.ts b/components.d.ts index b59e3dc..50efa37 100644 --- a/components.d.ts +++ b/components.d.ts @@ -14,6 +14,10 @@ declare module 'vue' { export interface GlobalComponents { IIcBaselineDataSaverOff: typeof import('~icons/ic/baseline-data-saver-off')['default'] IIcBaselineDownloading: typeof import('~icons/ic/baseline-downloading')['default'] + IIcBaselineInfo: typeof import('~icons/ic/baseline-info')['default'] + IIcBaselineLightbulbOutline: typeof import('~icons/ic/baseline-lightbulb-outline')['default'] + IIcBaselineReceiptLong: typeof import('~icons/ic/baseline-receipt-long')['default'] + IIcOutlineAccessTime: typeof import('~icons/ic/outline-access-time')['default'] IIcRoundArrowForwardIos: typeof import('~icons/ic/round-arrow-forward-ios')['default'] IonApp: typeof import('@ionic/vue')['IonApp'] IonAvatar: typeof import('@ionic/vue')['IonAvatar'] @@ -21,6 +25,7 @@ declare module 'vue' { IonBadge: typeof import('@ionic/vue')['IonBadge'] IonButton: typeof import('@ionic/vue')['IonButton'] IonButtons: typeof import('@ionic/vue')['IonButtons'] + IonChip: typeof import('@ionic/vue')['IonChip'] IonCol: typeof import('@ionic/vue')['IonCol'] IonContent: typeof import('@ionic/vue')['IonContent'] IonDatetime: typeof import('@ionic/vue')['IonDatetime'] @@ -75,6 +80,10 @@ declare module 'vue' { declare global { const IIcBaselineDataSaverOff: typeof import('~icons/ic/baseline-data-saver-off')['default'] const IIcBaselineDownloading: typeof import('~icons/ic/baseline-downloading')['default'] + const IIcBaselineInfo: typeof import('~icons/ic/baseline-info')['default'] + const IIcBaselineLightbulbOutline: typeof import('~icons/ic/baseline-lightbulb-outline')['default'] + const IIcBaselineReceiptLong: typeof import('~icons/ic/baseline-receipt-long')['default'] + const IIcOutlineAccessTime: typeof import('~icons/ic/outline-access-time')['default'] const IIcRoundArrowForwardIos: typeof import('~icons/ic/round-arrow-forward-ios')['default'] const IonApp: typeof import('@ionic/vue')['IonApp'] const IonAvatar: typeof import('@ionic/vue')['IonAvatar'] @@ -82,6 +91,7 @@ declare global { const IonBadge: typeof import('@ionic/vue')['IonBadge'] const IonButton: typeof import('@ionic/vue')['IonButton'] const IonButtons: typeof import('@ionic/vue')['IonButtons'] + const IonChip: typeof import('@ionic/vue')['IonChip'] const IonCol: typeof import('@ionic/vue')['IonCol'] const IonContent: typeof import('@ionic/vue')['IonContent'] const IonDatetime: typeof import('@ionic/vue')['IonDatetime'] diff --git a/src/router/index.ts b/src/router/index.ts index 665b9de..d5c6b73 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -69,6 +69,16 @@ const routes: Array = [ component: () => import("@/views/revenue/monthly/index.vue"), meta: { requiresAuth: true }, }, + { + path: "/revenue/pending", + component: () => import("@/views/revenue/pending/index.vue"), + meta: { requiresAuth: true }, + }, + { + path: "/revenue/records", + component: () => import("@/views/revenue/records/index.vue"), + meta: { requiresAuth: true }, + }, { path: "/wallet/bill", component: () => import("@/views/wallet/bill.vue"), diff --git a/src/views/revenue/pending/index.vue b/src/views/revenue/pending/index.vue new file mode 100644 index 0000000..c1c63b1 --- /dev/null +++ b/src/views/revenue/pending/index.vue @@ -0,0 +1,201 @@ + + + + + diff --git a/src/views/revenue/records/index.vue b/src/views/revenue/records/index.vue new file mode 100644 index 0000000..02d0fd8 --- /dev/null +++ b/src/views/revenue/records/index.vue @@ -0,0 +1,287 @@ + + + + + diff --git a/src/views/user/components/my-revenue.vue b/src/views/user/components/my-revenue.vue index 22fe9fc..97d0467 100644 --- a/src/views/user/components/my-revenue.vue +++ b/src/views/user/components/my-revenue.vue @@ -11,6 +11,14 @@ function navigateToTotal() { function navigateToMonthly() { router.push("/revenue/monthly"); } + +function navigateToPending() { + router.push("/revenue/pending"); +} + +function navigateToRecords() { + router.push("/revenue/records"); +}