mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 13:26:44 +08:00
提交
This commit is contained in:
@@ -115,6 +115,7 @@
|
||||
<script>
|
||||
import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
import { mapGetters } from 'vuex'
|
||||
import apiUserstart from '@/api/modules/userstart.js'
|
||||
export default {
|
||||
name: 'UcHeader',
|
||||
computed:{
|
||||
@@ -140,8 +141,17 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
//let testName='京东方科技集团股份有限公司/北京中祥英科技有限公司/技术中心';
|
||||
//this.orgInfo=cutFullName(testName,1);
|
||||
this.orgInfo=cutFullName(this.userInfo.departFullName,1);
|
||||
this.getInfo();
|
||||
},
|
||||
methods:{
|
||||
getInfo(){
|
||||
// let data = {
|
||||
// statType:'10,11'
|
||||
// }
|
||||
// apiUserstart.user(data).then(res=>{
|
||||
|
||||
// })
|
||||
},
|
||||
setCurIdentity(iden){
|
||||
this.$store.dispatch('SetCurIdentity',iden);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user