|  |  |  | 
|---|
|  |  |  | <img src="@/assets/images/ic_help@2x.png" alt="" /> | 
|---|
|  |  |  | <span>帮助文档</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div style="margin-right: 10px;">企业代码: {{ tempId }}</div> | 
|---|
|  |  |  | <el-dropdown trigger="click" style="margin-right: 20px;" v-userState @command="select"> | 
|---|
|  |  |  | <span class="el-dropdown-link"> | 
|---|
|  |  |  | {{ tempC }}<i class="el-icon-arrow-down el-icon--right"></i> | 
|---|
|  |  |  | {{ tempC }}<i class="el-icon-arrow-down el-icon--right"></i> | 
|---|
|  |  |  | </span> | 
|---|
|  |  |  | <el-dropdown-menu slot="dropdown"> | 
|---|
|  |  |  | <el-dropdown-item v-for="(item, index) in cList" :key="index" :command='item.id'>{{ item.name }}</el-dropdown-item> | 
|---|
|  |  |  | 
|---|
|  |  |  | data () { | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | tempC: '', | 
|---|
|  |  |  | tempId: '', | 
|---|
|  |  |  | cList: '', | 
|---|
|  |  |  | visible: { | 
|---|
|  |  |  | // 修改密码 | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | created () { | 
|---|
|  |  |  | this.tempC = this.userInfo.curComDepartment ? this.userInfo.curComDepartment.name : '' | 
|---|
|  |  |  | if (this.userInfo.curComDepartment) { | 
|---|
|  |  |  | this.tempC = this.userInfo.curComDepartment.name | 
|---|
|  |  |  | this.tempId = this.userInfo.curComDepartment.id | 
|---|
|  |  |  | } | 
|---|
|  |  |  | getDepartmentListByConditon({ | 
|---|
|  |  |  | type: 0 | 
|---|
|  |  |  | }) | 
|---|