From 766435b4d8cbcc5dc601f73162f2f0d5059461db Mon Sep 17 00:00:00 2001 From: sundongyu <2811054731@qq.com> Date: Tue, 9 Apr 2024 19:00:18 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=E5=AE=8C=E6=88=90=E4=BA=86?= =?UTF-8?q?=E6=97=A5=E5=B8=B8=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mock/modules/sdy.js | 26 ++++ src/api/receivables-management/management.js | 6 +- .../accountReceivable.vue | 1 + .../receivables-management/billCollected.vue | 1 + src/pages/receivables-management/daily.vue | 116 +++++++++++++++++- 5 files changed, 144 insertions(+), 6 deletions(-) diff --git a/mock/modules/sdy.js b/mock/modules/sdy.js index cf606e8..d2fd653 100644 --- a/mock/modules/sdy.js +++ b/mock/modules/sdy.js @@ -27,6 +27,22 @@ const loans = Mock.mock({ } ] }) +const daily = Mock.mock({ + 'list|10': [ + { + 'date': '@date("yyyy-MM-dd")', + 'tuiti': '@integer(10000,50000)', + 'incidentals': '@integer(1000,5000)', + 'materials': '@integer(1000,5000)', + 'major': '@integer(1000,5000)', + 'grade': '@integer(1000,5000)', + 'tuit': '@integer(10000,50000)', + 'cost': '@integer(10000,50000)', + 'tuition': '@integer(10000,50000)', + } + ] +}) + export default [ { url: '/get-sdy-managment-list', @@ -106,4 +122,14 @@ export default [ } } }, + { + url: '/post-sdy-daily-list', + method: 'get', + response: () => { + return { + code: 200, + data: daily + } + } + } ] \ No newline at end of file diff --git a/src/api/receivables-management/management.js b/src/api/receivables-management/management.js index 317622d..3ec056d 100644 --- a/src/api/receivables-management/management.js +++ b/src/api/receivables-management/management.js @@ -14,4 +14,8 @@ export function APILoansList() { //查询贷款 export function APILoansAdd(data) { return request.post('/post-sdy-loan-add', data) -} \ No newline at end of file +} +// 借款管理 +export function APIDailyList() { + return request.get('/post-sdy-daily-list') +} diff --git a/src/pages/receivables-management/accountReceivable.vue b/src/pages/receivables-management/accountReceivable.vue index 8f8c8c7..1498002 100644 --- a/src/pages/receivables-management/accountReceivable.vue +++ b/src/pages/receivables-management/accountReceivable.vue @@ -67,6 +67,7 @@ :pagination="pagination" :show-header="true" cell-empty-content="-" + max-height="500" lazy-load @row-click="handleRowClick" @page-change="onPageChange" diff --git a/src/pages/receivables-management/billCollected.vue b/src/pages/receivables-management/billCollected.vue index c02a631..bbede39 100644 --- a/src/pages/receivables-management/billCollected.vue +++ b/src/pages/receivables-management/billCollected.vue @@ -47,6 +47,7 @@ :columns="ratesColumns" @page-change="onPageChange" :pagination="pagination" + max-height="500" > - - - - + +