This commit is contained in:
zhaofang
2022-09-13 19:42:02 +08:00
parent 7d2df11930
commit 9a2e3a2d2e
15 changed files with 342 additions and 10 deletions

View File

@@ -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);
},