|
@@ -74,11 +74,11 @@ export default {
|
|
|
methods: {
|
|
|
...statistics(['dockQuery']),
|
|
|
async search() {
|
|
|
- // res = await this.dockQuery({ dock_id: this.id });
|
|
|
- // if (this.$checkRes(res)) {
|
|
|
- // console.log(res);
|
|
|
- // this.$set(this, `list`, res.data);
|
|
|
- // }
|
|
|
+ let res = await this.dockQuery({ dock_id: this.dock_id });
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ console.log(res);
|
|
|
+ this.$set(this, `list`, res.data);
|
|
|
+ }
|
|
|
},
|
|
|
},
|
|
|
computed: {
|