feat: 添加待确认分类功能,支持获取和确认未分类交易记录;优化相关组件和服务
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 10s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 10s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
This commit is contained in:
@@ -19,6 +19,28 @@ export const getTransactionList = (params = {}) => {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取待确认分类的交易记录列表
|
||||
* @returns {Promise<{success: boolean, data: Array}>}
|
||||
*/
|
||||
export const getUnconfirmedTransactionList = () => {
|
||||
return request({
|
||||
url: '/TransactionRecord/GetUnconfirmedList',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 全部确认待确认的交易分类
|
||||
* @returns {Promise<{success: boolean, data: number}>}
|
||||
*/
|
||||
export const confirmAllUnconfirmed = () => {
|
||||
return request({
|
||||
url: '/TransactionRecord/ConfirmAllUnconfirmed',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据ID获取交易记录详情
|
||||
* @param {number} id - 交易记录ID
|
||||
|
||||
Reference in New Issue
Block a user