From b4300702fdeaf4e237bcbd822fc0fc7877371cdc Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Thu, 1 Aug 2024 19:04:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=96=B0=E5=A2=9E=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/invest/accountAnalysis.js | 9 + src/views/invest/accountCalendar/index.vue | 306 +++++++++++++++--- src/views/invest/accountDealRecord/index.vue | 2 + .../invest/creditTransferRecord/index.vue | 13 +- .../invest/debitTransferRecord/index.vue | 38 +-- src/views/invest/debitcard/index.vue | 21 +- .../invest/investTransferRecord/index.vue | 40 +-- src/views/invest/lendTransferRecord/index.vue | 4 + src/views/invest/posTransferRecord/index.vue | 2 + 9 files changed, 308 insertions(+), 127 deletions(-) diff --git a/src/api/invest/accountAnalysis.js b/src/api/invest/accountAnalysis.js index 23a66ff..c4c41b4 100644 --- a/src/api/invest/accountAnalysis.js +++ b/src/api/invest/accountAnalysis.js @@ -53,3 +53,12 @@ export function getCreditReportInfo(query) { params: query }) } + +// 首页--日历展示事件 +export function getAccountCalendarInfo(query) { + return request({ + url: '/invest/analysis/getAccountCalendarInfo', + method: 'get', + params: query + }) +} diff --git a/src/views/invest/accountCalendar/index.vue b/src/views/invest/accountCalendar/index.vue index 6fa97a4..fc8e17c 100644 --- a/src/views/invest/accountCalendar/index.vue +++ b/src/views/invest/accountCalendar/index.vue @@ -1,57 +1,291 @@ - - diff --git a/src/views/invest/accountDealRecord/index.vue b/src/views/invest/accountDealRecord/index.vue index 1c8b6cb..b880294 100644 --- a/src/views/invest/accountDealRecord/index.vue +++ b/src/views/invest/accountDealRecord/index.vue @@ -372,12 +372,14 @@ function submitForm() { proxy.$modal.msgSuccess('修改成功') open.value = false getList() + getAccountList() }) } else { addAccountDealRecord(form.value).then((response) => { proxy.$modal.msgSuccess('新增成功') open.value = false getList() + getAccountList() }) } } diff --git a/src/views/invest/creditTransferRecord/index.vue b/src/views/invest/creditTransferRecord/index.vue index 51b58f5..dc0f060 100644 --- a/src/views/invest/creditTransferRecord/index.vue +++ b/src/views/invest/creditTransferRecord/index.vue @@ -125,7 +125,6 @@ const multiple = ref(true) const total = ref(0) const creditCardList = ref([]) const debitCardList = ref([]) -const futruesStocksList = ref([]) const title = ref('') const operateList = ref([ { id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] }, @@ -210,13 +209,6 @@ function getDebitList() { }) } -/** 查询投资账户管理列表 */ -function getFutruesStocksList() { - listAccounts(queryFutruesStocksParams.value).then((response) => { - futruesStocksList.value = response.rows - }) -} - /** 查询信用卡还款列表 */ function getList() { loading.value = true @@ -324,12 +316,16 @@ function submitForm() { proxy.$modal.msgSuccess('修改成功') open.value = false getList() + getDebitList() + getcreditCardList() }) } else { addAccountsTransferRecord(form.value).then((response) => { proxy.$modal.msgSuccess('新增成功') open.value = false getList() + getDebitList() + getcreditCardList() }) } } @@ -361,7 +357,6 @@ function handleExport() { `accountsTransferRecord_${new Date().getTime()}.xlsx` ) } -getFutruesStocksList() getDebitList() getcreditCardList() getList() diff --git a/src/views/invest/debitTransferRecord/index.vue b/src/views/invest/debitTransferRecord/index.vue index adeab3f..8d98b82 100644 --- a/src/views/invest/debitTransferRecord/index.vue +++ b/src/views/invest/debitTransferRecord/index.vue @@ -113,9 +113,7 @@ const ids = ref([]) const single = ref(true) const multiple = ref(true) const total = ref(0) -const creditCardList = ref([]) const debitCardList = ref([]) -const futruesStocksList = ref([]) const title = ref('') const operateList = ref([ { id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] }, @@ -135,22 +133,6 @@ const data = reactive({ outAccountId: null, dealType: null }, - queryPosMachineParams: { - pageNum: 1, - pageSize: 1000 - }, - queryFutruesStocksParams: { - pageNum: 1, - type: '5', - status: '1', - pageSize: 1000 - }, - queryCreditParams: { - pageNum: 1, - type: '2', - status: '1', - pageSize: 1000 - }, queryDebitParams: { pageNum: 1, type: '1', @@ -181,14 +163,7 @@ const handleOperate = (operate, row) => { } } -const { queryParams, queryPosMachineParams, queryFutruesStocksParams, queryCreditParams, queryDebitParams, form, rules } = toRefs(data) - -/** 查询信用卡卡管理列表 */ -function getcreditCardList() { - listAccounts(queryCreditParams.value).then((response) => { - creditCardList.value = response.rows - }) -} +const { queryParams, queryDebitParams, form, rules } = toRefs(data) /** 查询储蓄账户卡管理列表 */ function getDebitList() { @@ -197,13 +172,6 @@ function getDebitList() { }) } -/** 查询投资账户管理列表 */ -function getFutruesStocksList() { - listAccounts(queryFutruesStocksParams.value).then((response) => { - futruesStocksList.value = response.rows - }) -} - /** 查询储蓄账户转账列表 */ function getList() { loading.value = true @@ -315,12 +283,14 @@ function submitForm() { proxy.$modal.msgSuccess('修改成功') open.value = false getList() + getDebitList() }) } else { addAccountsTransferRecord(form.value).then((response) => { proxy.$modal.msgSuccess('新增成功') open.value = false getList() + getDebitList() }) } } @@ -352,8 +322,6 @@ function handleExport() { `accountsTransferRecord_${new Date().getTime()}.xlsx` ) } -getFutruesStocksList() getDebitList() -getcreditCardList() getList() diff --git a/src/views/invest/debitcard/index.vue b/src/views/invest/debitcard/index.vue index 578f279..9aecfa9 100644 --- a/src/views/invest/debitcard/index.vue +++ b/src/views/invest/debitcard/index.vue @@ -36,6 +36,11 @@ + + + - - -