Commit ad2a2b8f authored by xinzhedeai's avatar xinzhedeai

登录问题处理 数据概览公司类型名称动态显示

parent 4dd17542
......@@ -105,7 +105,7 @@
<li class="tab_panel_1" v-if="activeIndex === 1||activeIndex === 2||activeIndex === 3">
<div class="_left">
<div class="_title">
<span>在孵企业</span>
<span>{{ navCompanyTypeName }}</span>
<span>{{ totalCount4panel1 }}</span>
</div>
<div class="_list">
......@@ -540,6 +540,7 @@
// 顶部切换菜单
activeIndex: 0,
navCompanyTypeName: '',
// panel0 孵化器概况
data4panel0: {},
......@@ -602,7 +603,19 @@
},
methods: {
changeNav(index) {
this.activeIndex = ~~index;
if(index === 1){
this.navCompanyTypeName = '在孵企业'
}else if(index === 2){
this.navCompanyTypeName = '毕业企业'
}else if(index === 3){
this.navCompanyTypeName = '中介机构'
}
if(~~this.activeIndex === 1 || ~~this.activeIndex === 2 || ~~this.activeIndex === 3){
this.searchQuery4panel1 = '' // 清空公司搜索框
this.getData4panel1()
......
......@@ -169,6 +169,7 @@ export default {
if(!res){ // 登录失败
this.loading = false
this.getCode()
return
}
this.$router.push({ path: '/edge/Screen' }) // 跳转大屏
// debugger
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment