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" > - - - - + +