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 @@
+
+
+
+
+
@@ -47,11 +52,6 @@
{{ parseTime(scope.row.activationDate, '{y}-{m}-{d}') }}
-
-
-
-
-
@@ -75,6 +75,11 @@
+
+
+
+
+
@@ -95,11 +100,6 @@
-
-
-
-
-
@@ -149,6 +149,7 @@ const data = reactive({
name: [{ required: true, message: '储蓄账户名称不能为空', trigger: 'blur' }],
code: [{ required: true, message: '储蓄账户卡号不能为空', trigger: 'blur' }],
status: [{ required: true, message: '账户状态不能为空', trigger: 'blur' }],
+ debitType: [{ required: true, message: '储蓄账户类型不能为空', trigger: 'blur' }],
balance: [{ required: true, message: '余额不能为空', trigger: 'blur' }]
}
})
diff --git a/src/views/invest/investTransferRecord/index.vue b/src/views/invest/investTransferRecord/index.vue
index a1b0f63..6f3e8f5 100644
--- a/src/views/invest/investTransferRecord/index.vue
+++ b/src/views/invest/investTransferRecord/index.vue
@@ -98,7 +98,6 @@ import {
addAccountsTransferRecord,
updateAccountsTransferRecord
} from '@/api/invest/accountsTransferRecord'
-import { listAccounts } from '@/api/invest/accounts'
import { listFutureStocks } from '@/api/invest/futureStocks'
import dayjs from 'dayjs'
// eslint-disable-next-line no-unused-vars
@@ -114,8 +113,6 @@ 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([
@@ -136,27 +133,11 @@ const data = reactive({
outAccountId: null,
dealType: null
},
- queryPosMachineParams: {
- pageNum: 1,
- pageSize: 1000
- },
queryFutruesStocksParams: {
pageNum: 1,
status: '1',
pageSize: 1000
},
- queryCreditParams: {
- pageNum: 1,
- type: '2',
- status: '1',
- pageSize: 1000
- },
- queryDebitParams: {
- pageNum: 1,
- type: '1',
- status: '1',
- pageSize: 1000
- },
rules: {
inAccountId: [{ required: true, message: '投资账户不能为空', trigger: 'blur' }],
dealType: [{ required: true, message: '交易类型不能为空', trigger: 'blur' }],
@@ -181,22 +162,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
- })
-}
-
-/** 查询储蓄卡卡管理列表 */
-function getDebitList() {
- listAccounts(queryDebitParams.value).then((response) => {
- debitCardList.value = response.rows
- })
-}
-
+const { queryParams, queryFutruesStocksParams, form, rules } = toRefs(data)
/** 查询投资账户管理列表 */
function getFutruesStocksList() {
listFutureStocks(queryFutruesStocksParams.value).then((response) => {
@@ -315,12 +281,14 @@ function submitForm() {
proxy.$modal.msgSuccess('修改成功')
open.value = false
getList()
+ getFutruesStocksList()
})
} else {
addAccountsTransferRecord(form.value).then((response) => {
proxy.$modal.msgSuccess('新增成功')
open.value = false
getList()
+ getFutruesStocksList()
})
}
}
@@ -353,7 +321,5 @@ function handleExport() {
)
}
getFutruesStocksList()
-getDebitList()
-getcreditCardList()
getList()
diff --git a/src/views/invest/lendTransferRecord/index.vue b/src/views/invest/lendTransferRecord/index.vue
index 5096a85..ae11ac3 100644
--- a/src/views/invest/lendTransferRecord/index.vue
+++ b/src/views/invest/lendTransferRecord/index.vue
@@ -337,12 +337,16 @@ function submitForm() {
proxy.$modal.msgSuccess('修改成功')
open.value = false
getList()
+ getDebitList()
+ getLendList()
})
} else {
addAccountsTransferRecord(form.value).then((response) => {
proxy.$modal.msgSuccess('新增成功')
open.value = false
getList()
+ getDebitList()
+ getLendList()
})
}
}
diff --git a/src/views/invest/posTransferRecord/index.vue b/src/views/invest/posTransferRecord/index.vue
index 0b6ef7e..5466c98 100644
--- a/src/views/invest/posTransferRecord/index.vue
+++ b/src/views/invest/posTransferRecord/index.vue
@@ -314,12 +314,14 @@ function submitForm() {
proxy.$modal.msgSuccess('修改成功')
open.value = false
getList()
+ getBankCardLendList()
})
} else {
addAccountsTransferRecord(form.value).then((response) => {
proxy.$modal.msgSuccess('新增成功')
open.value = false
getList()
+ getBankCardLendList()
})
}
}