From 912a72766c603c38cf6ac1f3b290bb79d01eb773 Mon Sep 17 00:00:00 2001 From: Leo_Ding <2405260743@qq.com> Date: Wed, 26 Nov 2025 15:45:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B9=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 4 +- package.json | 1 + src/App.vue | 14 + src/components/layout.vue | 2 +- src/components/sidebar.vue | 4 +- src/hooks/index.js | 3 + src/hooks/usePagination.js | 59 +++++ src/router/index.ts | 41 ++- .../admin/account/cost/contract/dayDetail.vue | 88 +++++++ .../account/cost/contract/flowDetail.vue | 70 +++++ .../admin/account/cost/contract/index.vue | 19 ++ .../admin/account/cost/costDetail/index.vue | 86 ++++++ .../admin/account/cost/coupon/dayDetail.vue | 66 +++++ .../admin/account/cost/coupon/flowDetail.vue | 66 +++++ src/views/admin/account/cost/coupon/index.vue | 19 ++ .../admin/account/cost/flow/dayDetail.vue | 85 ++++++ .../admin/account/cost/flow/flowDetail.vue | 97 +++++++ src/views/admin/account/cost/flow/index.vue | 19 ++ .../admin/account/cost/invoice/index.vue | 249 ++++++++++++++++++ .../admin/account/cost/myOrder/index.vue | 108 ++++++++ .../admin/account/cost/voucher/dayDetail.vue | 66 +++++ .../admin/account/cost/voucher/flowDetail.vue | 66 +++++ .../admin/account/cost/voucher/index.vue | 91 +++++++ src/views/admin/index.vue | 11 +- 24 files changed, 1325 insertions(+), 9 deletions(-) create mode 100644 src/hooks/index.js create mode 100644 src/hooks/usePagination.js create mode 100644 src/views/admin/account/cost/contract/dayDetail.vue create mode 100644 src/views/admin/account/cost/contract/flowDetail.vue create mode 100644 src/views/admin/account/cost/contract/index.vue create mode 100644 src/views/admin/account/cost/costDetail/index.vue create mode 100644 src/views/admin/account/cost/coupon/dayDetail.vue create mode 100644 src/views/admin/account/cost/coupon/flowDetail.vue create mode 100644 src/views/admin/account/cost/coupon/index.vue create mode 100644 src/views/admin/account/cost/flow/dayDetail.vue create mode 100644 src/views/admin/account/cost/flow/flowDetail.vue create mode 100644 src/views/admin/account/cost/flow/index.vue create mode 100644 src/views/admin/account/cost/invoice/index.vue create mode 100644 src/views/admin/account/cost/myOrder/index.vue create mode 100644 src/views/admin/account/cost/voucher/dayDetail.vue create mode 100644 src/views/admin/account/cost/voucher/flowDetail.vue create mode 100644 src/views/admin/account/cost/voucher/index.vue diff --git a/package-lock.json b/package-lock.json index 03e249f..8281e3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "devDependencies": { "@types/node": "^24.10.1", "@vitejs/plugin-vue": "^3.2.0", + "dayjs": "^1.11.19", "sass": "^1.94.2", "typescript": "^4.6.4", "vite": "^3.2.3", @@ -765,7 +766,8 @@ "node_modules/dayjs": { "version": "1.11.19", "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.19.tgz", - "integrity": "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==" + "integrity": "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==", + "license": "MIT" }, "node_modules/de-indent": { "version": "1.0.2", diff --git a/package.json b/package.json index f9b6231..737f940 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "devDependencies": { "@types/node": "^24.10.1", "@vitejs/plugin-vue": "^3.2.0", + "dayjs": "^1.11.19", "sass": "^1.94.2", "typescript": "^4.6.4", "vite": "^3.2.3", diff --git a/src/App.vue b/src/App.vue index 2434228..fa62d6e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,12 +2,21 @@