|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
},
|
|
|
beforeRouteEnter(to, from, next) {
|
|
|
next(vm => {
|
|
|
- vm.getLoToInfo()
|
|
|
+ vm.getInfo()
|
|
|
vm.initKonva()
|
|
|
vm.getIsIsolationPointPage()
|
|
|
vm.addPointsToLeftPointsBox()
|
|
|
@@ -85,18 +85,18 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
mounted() {
|
|
|
- // this.$nextTick(()=>{
|
|
|
- // this.getLoToInfo()
|
|
|
- // this.initKonva();
|
|
|
- // this.getIsIsolationPointPage()
|
|
|
- // this.addPointsToAllPointsBox()
|
|
|
- // this.addPointsToCabinetBox()
|
|
|
- // })
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.getInfo()
|
|
|
+ this.initKonva();
|
|
|
+ this.getIsIsolationPointPage()
|
|
|
+ this.addPointsToRightPointsBox()
|
|
|
+ this.addPointsToLeftPointsBox()
|
|
|
+ })
|
|
|
console.log(this.$route.query.lotoId, 'lotoId')
|
|
|
},
|
|
|
methods: {
|
|
|
|
|
|
- getLoToInfo() {
|
|
|
+ getInfo() {
|
|
|
const lotoId = this.$route.query.lotoId
|
|
|
const sopId = ''
|
|
|
const ticketId = ''
|