diff --git a/src/views/books/components/addBook.vue b/src/views/books/components/addBook.vue index 22cea6a..caff349 100644 --- a/src/views/books/components/addBook.vue +++ b/src/views/books/components/addBook.vue @@ -104,7 +104,10 @@ }, methods: { - + setTeamId(id,name){ + this.form.team_id = id + this.form.suozaiduiwu = name + }, async getDetail() { const res = await show({ id: this.id, diff --git a/src/views/books/index.vue b/src/views/books/index.vue index 99809f2..e38c303 100644 --- a/src/views/books/index.vue +++ b/src/views/books/index.vue @@ -1,18 +1,22 @@