diff --git a/src/api/invest/statisticAnalysis.js b/src/api/invest/statisticAnalysis.js index 71b5557..294e867 100644 --- a/src/api/invest/statisticAnalysis.js +++ b/src/api/invest/statisticAnalysis.js @@ -113,3 +113,11 @@ export function getOpenCardList(query) { params: query }) } + +// 按银行统计银行卡数量 +export function getBankCardStatistics() { + return request({ + url: '/invest/analysis/bankCardStatistics', + method: 'get' + }) +} diff --git a/src/views/invest/bankCardStatistics/index.vue b/src/views/invest/bankCardStatistics/index.vue new file mode 100644 index 0000000..922789b --- /dev/null +++ b/src/views/invest/bankCardStatistics/index.vue @@ -0,0 +1,428 @@ + + + + + 银行卡统计分析 + + + + + + + + + 银行总数 + {{ bankCount }}家 + + + + + + + + 卡片总数 + {{ totalCards }}张 + + + + + + + + 信用卡总数 + {{ creditCardBanksCount }}行{{ totalCreditCard }}卡 + + + + + + + + 储蓄卡总数 + {{ debitCardBanksCount }}行{{ totalDebitCard }}卡 + + + + + + + + I类储蓄卡总数 + {{ totalDebitTypeOne }}张 + + + + + + + + II类储蓄卡总数 + {{ totalDebitTypeTwo }}张 + + + + + + + 银行卡统计明细 + 刷新 + + + + + + + + {{ row.bankName }} + + + + + + + {{ row.creditCardCount + row.debitCardCount }} + + + + + + {{ row.creditCardCount }} 张 + + + + + {{ row.debitCardCount }} 张 + + + + + {{ row.debitTypeOneCount }} + + + + + {{ row.debitTypeTwoCount }} + + + + + + + + + + + diff --git a/vite.config.js b/vite.config.js index ec1d12a..bf97d26 100644 --- a/vite.config.js +++ b/vite.config.js @@ -42,8 +42,8 @@ export default defineConfig(({ mode, command }) => { proxy: { // https://cn.vitejs.dev/config/#server-proxy '/dev-api': { - target: 'https://www.qdintc.com/prod-api/', - // target: 'http://127.0.0.1:8080', + // target: 'https://www.qdintc.com/prod-api/', + target: 'http://127.0.0.1:8080', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '') },