feat: 首页日历功能新增。

This commit is contained in:
tianyongbao
2024-08-01 19:04:36 +08:00
parent f6a7b303c5
commit b4300702fd
9 changed files with 308 additions and 127 deletions

View File

@@ -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()