fix: 人情账单,网贷账单,自测问题修复。

This commit is contained in:
tianyongbao
2024-07-19 17:34:35 +08:00
parent 7bc9c4acd5
commit 32bebc9434
5 changed files with 14 additions and 11 deletions

View File

@@ -134,7 +134,8 @@ const data = reactive({
queryBankCardLendParams: {
pageNum: 1,
type: '3',
status: '1',
status: '1',
lendType: '1',
pageSize: 1000
},
rules: {

View File

@@ -109,7 +109,7 @@ import {
delInstallmentHistory
} from '@/api/invest/installmentHistory'
import { getDicts } from '@/api/system/dict/data.js'
import { listAccounts } from '@/api/invest/accounts'
import { listBankcardLend } from '@/api/invest/bankcardlend'
import {onLoad,onShow} from "@dcloudio/uni-app";
// 计算属性与监听属性是在vue中而非uniap中 需要注意!!!
import {reactive ,toRefs,ref,computed }from "vue";
@@ -127,7 +127,8 @@ const data = reactive({
queryBankCardLendParams: {
pageNum: 1,
type: '3',
status: '1',
status: '1',
lendType: '1',
pageSize: 100
},
queryParams: {
@@ -174,7 +175,7 @@ function getList() {
})
}
function getDict() {
listAccounts(queryBankCardLendParams.value).then((response) => {
listBankcardLend(queryBankCardLendParams.value).then((response) => {
bankCardLendList.value = [response.rows]
})
// 账单状态

View File

@@ -98,7 +98,7 @@ const data = reactive({
installmentDate: null,
period: null,
repaidPeriod: null,
totalInterest: null,
totalInterest: 0,
interestRate: null,
dueDate: null,
closeDate: null,

View File

@@ -101,8 +101,7 @@ const data = reactive({
queryParams: {
name: null,
type: '4',
bankCardLendId: null,
state: '0'
bankCardLendId: null
}
})
const { filterPanel, queryBankCardLendParams, queryParams} = toRefs(data)