|
@@ -157,12 +157,10 @@ export default {
|
|
|
},
|
|
|
handleNodeClick(data, node) {
|
|
|
if (!node.isLeaf || this.code == node.data.code) return
|
|
|
- // console.log('跳转')
|
|
|
// 跳转
|
|
|
this.code = node.data.code
|
|
|
this.tabActive = 0
|
|
|
this.getOverView()
|
|
|
- // this.$router.replace({path:'/career/plan/MajorDetail',query:{type:this.type,code:node.data.code}})
|
|
|
},
|
|
|
isLeaf(data, node) {
|
|
|
return node.childCount == 0
|
|
@@ -177,7 +175,6 @@ export default {
|
|
|
}).then(res => {
|
|
|
this.prospects = res.data
|
|
|
this.desc = res.msg
|
|
|
- console.log(res)
|
|
|
}).finally(_ => {
|
|
|
this.loading = false
|
|
|
})
|
|
@@ -187,7 +184,6 @@ export default {
|
|
|
getMajorOverviewByCode({
|
|
|
code: this.code
|
|
|
}).then(res => {
|
|
|
- console.log(res)
|
|
|
this.majorDetail = res.data
|
|
|
}).finally(_ => {
|
|
|
this.loading = false
|