|
@ -91,7 +91,7 @@ export default { |
|
|
methods: { |
|
|
methods: { |
|
|
toPath(path) { |
|
|
toPath(path) { |
|
|
if (path === '/CurrentRackBook') { |
|
|
if (path === '/CurrentRackBook') { |
|
|
const query = { leftShelfNo: '1201-03-001-A-01', rightShelfNo: '1201-03-001-B-01' } |
|
|
|
|
|
|
|
|
const query = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo } |
|
|
this.$router.push({ path: path, query: query }) |
|
|
this.$router.push({ path: path, query: query }) |
|
|
} else { |
|
|
} else { |
|
|
this.$router.push(path) |
|
|
this.$router.push(path) |
|
@ -126,8 +126,8 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 初始化首页书架信息 |
|
|
// 初始化首页书架信息 |
|
|
initSmartBookshelf() { |
|
|
initSmartBookshelf() { |
|
|
// this.$route.query.leftShelfNo |
|
|
|
|
|
// this.$route.query.rightShelfNo |
|
|
|
|
|
|
|
|
// this.leftShelfNo = this.$route.query.leftShelfNo |
|
|
|
|
|
// this.rightShelfNo = this.$route.query.rightShelfNo |
|
|
const params = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo } |
|
|
const params = { leftShelfNo: this.leftShelfNo, rightShelfNo: this.rightShelfNo } |
|
|
// const _this = this |
|
|
// const _this = this |
|
|
initSmartBookshelf(params).then((res) => { |
|
|
initSmartBookshelf(params).then((res) => { |
|
|