Commit 6ef451c3 authored by sixiaofeng's avatar sixiaofeng

1

parent ccea1fc9
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
<!-- 背景图 --> <!-- 背景图 -->
<!-- <img class="w-82 absolute top-0 right-0" src="@/assets/images/header-bg.png" alt=""> --> <!-- <img class="w-82 absolute top-0 right-0" src="@/assets/images/header-bg.png" alt=""> -->
<!-- logo --> <!-- 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"> <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/images/33.png" alt="" class="max-w-full"> <img src="@/assets/icons/team-icon.png" alt="" class="max-w-full">
</div> </div>
<div class="top-28 px-4 w-full absolute top-10"> <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"> <div class="bg-white w-full rounded pt-8 pb-4 flex flex-col items-center shadow-bg">
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
</div> </div>
</div> </div>
</div> </div>
<div class="px-4 pt-16 pb-20"> <div class="px-4 pt-16 pb-28">
<group-cell title=""> <group-cell title="个人信息">
<c-cell <c-cell
title="真实姓名" title="真实姓名"
title-class="text-sm text-text-secondary" title-class="text-sm text-text-secondary"
...@@ -112,9 +112,8 @@ export default Vue.extend({ ...@@ -112,9 +112,8 @@ export default Vue.extend({
}, },
created() { created() {
this.info = this.$route.query as unknown as AcceptJoinDTO 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.getDepInfo(this.info)
this.getEntInfo(this.info)
}, },
methods: { methods: {
appNavBack, appNavBack,
...@@ -149,18 +148,6 @@ export default Vue.extend({ ...@@ -149,18 +148,6 @@ export default Vue.extend({
this.departName = data.data.name 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