| @@ -69,7 +69,6 @@ export default { | |||||
| }, | }, | ||||
| created() { | created() { | ||||
| this.houseGetDicts("house_apply_status").then((response) => { | this.houseGetDicts("house_apply_status").then((response) => { | ||||
| console.log(response) | |||||
| this.houseApplyStatus = response.data; | this.houseApplyStatus = response.data; | ||||
| }); | }); | ||||
| }, | }, | ||||
| @@ -80,13 +79,11 @@ export default { | |||||
| getList(){ | getList(){ | ||||
| setTimeout(() => { | setTimeout(() => { | ||||
| getList(this.queryParams).then(response => { | getList(this.queryParams).then(response => { | ||||
| console.log(response) | |||||
| for (var i = 0; i < response.rows.length; i++) { | for (var i = 0; i < response.rows.length; i++) { | ||||
| var houseApplyStatus = this.selectDictLabel(this.houseApplyStatus, response.rows[i].houseApplyStatus); | var houseApplyStatus = this.selectDictLabel(this.houseApplyStatus, response.rows[i].houseApplyStatus); | ||||
| response.rows[i].houseApplyStatus = houseApplyStatus; | response.rows[i].houseApplyStatus = houseApplyStatus; | ||||
| this.applicationList.push(response.rows[i]); | this.applicationList.push(response.rows[i]); | ||||
| } | } | ||||
| console.log(this.applicationList.length >= response.total) | |||||
| if(this.applicationList.length >= response.total){ | if(this.applicationList.length >= response.total){ | ||||
| this.finished = true; | this.finished = true; | ||||
| return; | return; | ||||