BUG 29045
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
<ai-search-bar style="padding:20px 20px 0 20px;">
|
||||
<template #left>
|
||||
<ai-select v-model="search.status" placeholder="状态" clearable
|
||||
:selectList="$dict.getDict('financingDemandStatus')" @change="getList()"></ai-select>
|
||||
:selectList="dict.getDict('financingDemandStatus')" @change="getList()"></ai-select>
|
||||
<ai-search label="申请时间">
|
||||
<el-date-picker size="small" placeholder="请选择" type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
@@ -79,7 +79,7 @@
|
||||
@getList="getList" :col-configs="colConfigs" :dict="dict" style="padding:0 20px 20px 20px;">
|
||||
<el-table-column slot="options" label="状态" fixed="right" width="100" align="center">
|
||||
<template slot-scope="{row}">
|
||||
<span :class="`status${row.status}`">{{ $dict.getLabel('financingDemandStatus', row.status) }}</span>
|
||||
<span :class="`status${row.status}`">{{ dict.getLabel('financingDemandStatus', row.status) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</ai-table>
|
||||
@@ -172,11 +172,12 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
let status = this.search.status || 999
|
||||
this.instance.post("/appfinancingdemand/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
params: {...this.page, ...this.search, status}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.tableData = res.data?.records
|
||||
this.tableData = res.data.records
|
||||
this.page.total = res.data.total
|
||||
}
|
||||
})
|
||||
@@ -344,8 +345,8 @@ export default {
|
||||
})
|
||||
},
|
||||
mounted() {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user