zhangyu 2 years ago
parent
commit
ec6a49ad87
  1. 5
      src/views/index.vue
  2. 2
      src/views/module/bookDetails.vue

5
src/views/index.vue

@ -11,7 +11,7 @@
</div> </div>
<!-- 智慧书架导航 --> <!-- 智慧书架导航 -->
<ul class="book-nav"> <ul class="book-nav">
<li>
<li @click="toSearch">
<img src="~@/assets/images/home/nav1.png" /> <img src="~@/assets/images/home/nav1.png" />
<p>图书检索</p> <p>图书检索</p>
</li> </li>
@ -93,6 +93,9 @@ export default {
mounted() { mounted() {
}, },
methods: { methods: {
toSearch() {
window.location.href = 'http://219.140.69.151/opac'
},
toPath(path) { toPath(path) {
if (path === '/CurrentRackBook') { if (path === '/CurrentRackBook') {
const query = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo } const query = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo }

2
src/views/module/bookDetails.vue

@ -59,7 +59,7 @@ export default {
methods: { methods: {
toBookNav(index) { toBookNav(index) {
const linkSrc = process.env.VUE_APP_BASE_API const linkSrc = process.env.VUE_APP_BASE_API
window.location.href = linkSrc + '/anchoring/goNavigation.do?=libcode' + this.libcode + '&eqmNo=001&barcode=' + this.bookData.places[index].barcode
window.location.href = linkSrc + '/anchoring/goNavigation.do?libcode=' + this.libcode + '&eqmNo=001&barcode=' + this.bookData.places[index].barcode
} }
} }
} }

Loading…
Cancel
Save