29128
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<template #left>
|
||||
<ai-select placeholder="机构类型" :selectList="dict.getDict('financialOrganizationType')"
|
||||
v-model="search.organizationType" @change="page.current=1,getTableData()"/>
|
||||
<ai-select placeholder="审批状态" :selectList="dict.getDict('financialLoanApplyStatus')"
|
||||
<ai-select placeholder="审批状态" :selectList="dict.getDict('financialLoanApplySearchStatus')"
|
||||
v-model="search.status" @change="page.current=1,getTableData()"/>
|
||||
<ai-search label="申请时间">
|
||||
<el-date-picker size="small" v-model="search.applyTime" type="daterange"
|
||||
@@ -69,22 +69,24 @@ export default {
|
||||
{label: "申请时间", prop: "createTime", width: 160},
|
||||
{label: "贷款机构", prop: "organizationName"},
|
||||
{label: "机构类型", prop: "organizationType", dict: "financialOrganizationType"},
|
||||
{label: "状态", prop: "status", align: "center", dict: "financialLoanApplyStatus"},
|
||||
{label: "状态", prop: "status", align: "center", dict: "financialLoanApplySearchStatus"},
|
||||
{slot: "options"}
|
||||
]
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
search: {name: ""},
|
||||
search: {search: ""},
|
||||
page: {current: 1, size: 10, total: 0},
|
||||
tableData: []
|
||||
tableData: [],
|
||||
status: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
let status = this.search.status || 999
|
||||
this.instance.post("/appfinancialloanapply/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
params: {...this.page, ...this.search, status}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.tableData = res.data?.records
|
||||
@@ -103,6 +105,7 @@ export default {
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.dict.load('financialLoanApplySearchStatus')
|
||||
this.getTableData()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user