|
|
@@ -236,7 +236,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
- // this.getStageList()
|
|
|
+ this.getStageList()
|
|
|
this.getTypeList()
|
|
|
this.$bus.on('serach', (res) => {
|
|
|
this.onLoad(res)
|
|
|
@@ -251,6 +251,9 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
switchTab (item, index) {
|
|
|
+ if (item === null) {
|
|
|
+ return
|
|
|
+ }
|
|
|
this.active = index
|
|
|
this.onLoad({ stageId: item.id === -1 ? '' : item.id })
|
|
|
},
|