|
@@ -66,6 +66,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
async created() {
|
|
|
+ await this.searchPlace();
|
|
|
await this.searchList({ status: '0' });
|
|
|
await this.searchList({ status: '1' });
|
|
|
await this.searchList({ status: '2' });
|
|
@@ -87,6 +88,8 @@ export default {
|
|
|
this.$set(this, `listPast`, res.data);
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ async searchPlace() {
|
|
|
let res1 = await this.palcequery({ level: 1 });
|
|
|
let arr = await this.palcequery({ level: 2 });
|
|
|
if (res1 || arr) {
|