This commit is contained in:
shijingjing
2022-05-12 15:22:38 +08:00
parent 9300dac087
commit 6ec577f14d
2 changed files with 4 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ export default {
search: {search: ""}, search: {search: ""},
page: {current: 1, size: 10, total: 0}, page: {current: 1, size: 10, total: 0},
tableData: [], tableData: [],
status: '' // status: ''
} }
}, },
methods: { methods: {

View File

@@ -48,7 +48,7 @@ export default {
}, },
data() { data() {
return { return {
search: {status: 1}, search: {status: ''},
page: {current: 1, size: 10, total: 0}, page: {current: 1, size: 10, total: 0},
tableData: [], tableData: [],
colConfigs: [ colConfigs: [
@@ -67,8 +67,9 @@ export default {
}, },
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