| | |
| | | <div class="common-header"> |
| | | <div class="header"> |
| | | <div class="logo"> |
| | | <div>云易保客户服务系统</div> |
| | | <div>{{systemTitle}}</div> |
| | | <!-- <div class="title-en">Diagnosis of Intelligent Manufacturing Integrated Service Platfrom</div> --> |
| | | </div> |
| | | <div class="user"> |
| | |
| | | }, |
| | | data () { |
| | | return { |
| | | systemTitle: process.env.VUE_APP_SYSTEM_TITLE, |
| | | visible: { |
| | | // 修改密码 |
| | | changePwd: false |
| | |
| | | } |
| | | } |
| | | }, |
| | | created () { |
| | | document.title=this.systemTitle |
| | | }, |
| | | computed: { |
| | | ...mapState(['menuData', 'userInfo']), |
| | | title () { |
| | |
| | | if (userInfo == null) { |
| | | return '' |
| | | } |
| | | if (userInfo.type === 1 && userInfo.company != null && userInfo.company.name.trim().length > 0) { |
| | | if (userInfo.company.username === userInfo.username){ |
| | | return userInfo.company.name |
| | | } |
| | | } |
| | | if (userInfo.realname != null && userInfo.realname.trim().length > 0) { |
| | | return userInfo.realname |
| | | } |