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