|  | @@ -1,7 +1,7 @@
 | 
											
												
													
														|  |  /*layout模板*/
 |  |  /*layout模板*/
 | 
											
												
													
														|  |  <template>
 |  |  <template>
 | 
											
												
													
														|  |    <div>
 |  |    <div>
 | 
											
												
													
														|  | -    <div :class="['header', fixedHeader ? 'fixed-header' : '',this.flag?'show':'hidden']"  >
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <div :class="['header', fixedHeader ? 'fixed-header' : '',this.flag?'hidden':'show']"  >
 | 
											
												
													
														|  |        <div class="logo">
 |  |        <div class="logo">
 | 
											
												
													
														|  |          <router-link to="/indexLayout/workbench"
 |  |          <router-link to="/indexLayout/workbench"
 | 
											
												
													
														|  |            ><el-image v-show="xglogo" :src="qylogo" fit="cover"
 |  |            ><el-image v-show="xglogo" :src="qylogo" fit="cover"
 | 
											
										
											
												
													
														|  | @@ -172,7 +172,7 @@ export default {
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
												
													
														|  |      return {
 |  |      return {
 | 
											
												
													
														|  |        zhucenum:false,
 |  |        zhucenum:false,
 | 
											
												
													
														|  | -      flag: false,
 |  | 
 | 
											
												
													
														|  | 
 |  | +       flag: false,
 | 
											
												
													
														|  |        logo:logo,
 |  |        logo:logo,
 | 
											
												
													
														|  |        qylogo:qylogo,
 |  |        qylogo:qylogo,
 | 
											
												
													
														|  |        yingyong:false,
 |  |        yingyong:false,
 | 
											
										
											
												
													
														|  | @@ -197,23 +197,25 @@ export default {
 | 
											
												
													
														|  |          this.redirect = route.query && route.query.redirect
 |  |          this.redirect = route.query && route.query.redirect
 | 
											
												
													
														|  |          this.getCount() // 获取统计信息
 |  |          this.getCount() // 获取统计信息
 | 
											
												
													
														|  |           //判断是否是前沿的logo;
 |  |           //判断是否是前沿的logo;
 | 
											
												
													
														|  | -        if(route.path=="/indexLayout/workbench"){
 |  | 
 | 
											
												
													
														|  | 
 |  | +     
 | 
											
												
													
														|  | 
 |  | +        if(route.path=="/indexLayout/workbench"||route.path=="/indexLayout/home"){
 | 
											
												
													
														|  |            this.flag=false;
 |  |            this.flag=false;
 | 
											
												
													
														|  |               this.qylogos=true;
 |  |               this.qylogos=true;
 | 
											
												
													
														|  |            this.xglogo=false;
 |  |            this.xglogo=false;
 | 
											
												
													
														|  |            this.yingyong=false;
 |  |            this.yingyong=false;
 | 
											
												
													
														|  | -        }else{
 |  | 
 | 
											
												
													
														|  | -           this.flag=true;
 |  | 
 | 
											
												
													
														|  | -           this.xglogo=true;
 |  | 
 | 
											
												
													
														|  | -           this.qylogos=false;
 |  | 
 | 
											
												
													
														|  | -             this.yingyong=true;
 |  | 
 | 
											
												
													
														|  | 
 |  | +        }  else{
 | 
											
												
													
														|  | 
 |  | +          this.flag=true;
 | 
											
												
													
														|  | 
 |  | +          this.xglogo=true;
 | 
											
												
													
														|  | 
 |  | +          this.qylogos=false;
 | 
											
												
													
														|  | 
 |  | +          this.yingyong=true;
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        immediate: true,
 |  |        immediate: true,
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    mounted(){
 |  |    mounted(){
 | 
											
												
													
														|  | - 
 |  | 
 | 
											
												
													
														|  | 
 |  | +  //  console.log(this.$store.getters.fixedHeader)
 | 
											
												
													
														|  | 
 |  | +  //   console.log(this.$store.getters.lesseeId);
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
												
													
														|  |      
 |  |      
 | 
											
										
											
												
													
														|  | @@ -262,7 +264,10 @@ export default {
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    computed: {
 |  |    computed: {
 | 
											
												
													
														|  |      fixedHeader() {
 |  |      fixedHeader() {
 | 
											
												
													
														|  | -      return this.$store.getters.fixedHeader
 |  | 
 | 
											
												
													
														|  | 
 |  | +      return this.$store.getters.fixedHeader  
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +      lesseeId() {
 | 
											
												
													
														|  | 
 |  | +      return this.$store.getters.lesseeId  
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      ...mapGetters(['name', 'userType', 'loginStatus']),
 |  |      ...mapGetters(['name', 'userType', 'loginStatus']),
 | 
											
												
													
														|  |      key() {
 |  |      key() {
 | 
											
										
											
												
													
														|  | @@ -423,10 +428,12 @@ export default {
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  .show{
 |  |  .show{
 | 
											
												
													
														|  | -     background: rgba($color: #0158a8, $alpha: 0.2);
 |  | 
 | 
											
												
													
														|  | 
 |  | +     background: $color_f;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  .hidden{
 |  |  .hidden{
 | 
											
												
													
														|  | -  background: $color_f;
 |  | 
 | 
											
												
													
														|  | 
 |  | +   background: rgba($color: #0158a8, $alpha: 0.2);
 | 
											
												
													
														|  | 
 |  | +   
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  .yingyong{
 |  |  .yingyong{
 | 
											
												
													
														|  |    font-size: 14px;
 |  |    font-size: 14px;
 |