Commit 6ef451c3 authored by sixiaofeng's avatar sixiaofeng

1

parent ccea1fc9
......@@ -17,8 +17,8 @@
<!-- 背景图 -->
<!-- <img class="w-82 absolute top-0 right-0" src="@/assets/images/header-bg.png" alt=""> -->
<!-- logo -->
<div class="absolute top-20 left-1/2 border transform -translate-x-1/2 z-10 w-15 h-15 bg-white rounded-full overflow-hidden flex items-center justify-center">
<img src="@/assets/images/33.png" alt="" class="max-w-full">
<div class="absolute top-20 left-1/2 transform -translate-x-1/2 z-10 w-15 h-15 bg-white rounded overflow-hidden flex items-center justify-center">
<img src="@/assets/icons/team-icon.png" alt="" class="max-w-full">
</div>
<div class="top-28 px-4 w-full absolute top-10">
<div class="bg-white w-full rounded pt-8 pb-4 flex flex-col items-center shadow-bg">
......@@ -30,8 +30,8 @@
</div>
</div>
</div>
<div class="px-4 pt-16 pb-20">
<group-cell title="">
<div class="px-4 pt-16 pb-28">
<group-cell title="个人信息">
<c-cell
title="真实姓名"
title-class="text-sm text-text-secondary"
......@@ -112,9 +112,8 @@ export default Vue.extend({
},
created() {
this.info = this.$route.query as unknown as AcceptJoinDTO
this.entName = JSON.parse(localStorage.getItem('ENT_INFO') as string).name
this.getDepInfo(this.info)
this.getEntInfo(this.info)
},
methods: {
appNavBack,
......@@ -149,18 +148,6 @@ export default Vue.extend({
this.departName = data.data.name
}
})
},
getEntInfo(item: AcceptJoinDTO) {
this.loading = true
this.$service.enterprise.getEnterpriseInfo({
id: item.entId
}).then((res: any) => {
this.loading = false
const {data} = res
if (data.code === this.$global.success) {
this.entName = data.data.name
}
})
}
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment