|
|
@ -88,7 +88,7 @@ export default function userPage() {
|
|
|
|
// 获取数据
|
|
|
|
// 获取数据
|
|
|
|
useEffect(() => {
|
|
|
|
useEffect(() => {
|
|
|
|
document.cookie =
|
|
|
|
document.cookie =
|
|
|
|
'ecology_JSessionid=aaa1QNMWge48Bh-3oq6oy; JSESSIONID=aaa1QNMWge48Bh-3oq6oy; loginidweaver=1; languageidweaver=7; loginuuids=1; __randcode__=f7afbede-58e5-484e-bd5e-cc38d51ea68c';
|
|
|
|
'loginidweaver=1; languageidweaver=7; loginuuids=1; JSESSIONID=aaa1QNMWge48Bh-3oq6oy; ecology_JSessionid=aaa1QNMWge48Bh-3oq6oy; __randcode__=a5c09e21-b1ac-47a6-9a96-ceca5f75c327';
|
|
|
|
d3.json(
|
|
|
|
d3.json(
|
|
|
|
// "/user/data"
|
|
|
|
// "/user/data"
|
|
|
|
'/api/bs/hrmorganization/orgchart/userData?fclass=0&root=0&date=' +
|
|
|
|
'/api/bs/hrmorganization/orgchart/userData?fclass=0&root=0&date=' +
|
|
|
@ -286,7 +286,7 @@ export default function userPage() {
|
|
|
|
<div style=" height: 152px;background-size: 100% 100%;box-sizing: border-box;padding-top: 30px;position:relative;z-index:2">
|
|
|
|
<div style=" height: 152px;background-size: 100% 100%;box-sizing: border-box;padding-top: 30px;position:relative;z-index:2">
|
|
|
|
<div style='position:absolute;z-index:-1;top:0'>
|
|
|
|
<div style='position:absolute;z-index:-1;top:0'>
|
|
|
|
<img src='./img/user-card/user-card.png'></div>
|
|
|
|
<img src='./img/user-card/user-card.png'></div>
|
|
|
|
<div style="display: inline-block; background-size: 100% 100%; width: 90px; height: 90px; text-align:center; vertical-align: top; margin-left: 11px;box-sizing: border;">
|
|
|
|
<div style="display: inline-block; background-size: 100% 100%; width: 35%; height: 90px; text-align:center; vertical-align: top; margin-left: 11px;box-sizing: border;">
|
|
|
|
<img src='./img/user-card/avatar-outer.png' style='position:absolute;width:90px;height:90px;left:11px'/>
|
|
|
|
<img src='./img/user-card/avatar-outer.png' style='position:absolute;width:90px;height:90px;left:11px'/>
|
|
|
|
<img src="${
|
|
|
|
<img src="${
|
|
|
|
d.data.fleaderimg
|
|
|
|
d.data.fleaderimg
|
|
|
@ -296,7 +296,7 @@ export default function userPage() {
|
|
|
|
: './img/default_avator.png'
|
|
|
|
: './img/default_avator.png'
|
|
|
|
}" style="width: 58px; height: 58px;position:absolute;left:29px; border-radius: 50%; margin-top: 16px;position:absolute;left:29px;z-index:999"/>
|
|
|
|
}" style="width: 58px; height: 58px;position:absolute;left:29px; border-radius: 50%; margin-top: 16px;position:absolute;left:29px;z-index:999"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="display: inline-block; margin-left: 6px;width:60%" >
|
|
|
|
<div style="display: inline-block; margin-left: 6px;width: 55%" >
|
|
|
|
<div onclick="${
|
|
|
|
<div onclick="${
|
|
|
|
d.data.fleadername ? `window.open('${userUrl}', '_blank')` : ''
|
|
|
|
d.data.fleadername ? `window.open('${userUrl}', '_blank')` : ''
|
|
|
|
}">
|
|
|
|
}">
|
|
|
@ -398,7 +398,7 @@ export default function userPage() {
|
|
|
|
<div style='position:absolute;z-index:-1;top:16px'>
|
|
|
|
<div style='position:absolute;z-index:-1;top:16px'>
|
|
|
|
<img src='./img/user-card/user-card.png'>
|
|
|
|
<img src='./img/user-card/user-card.png'>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="display: inline-block; background-size: 100% 100%; width: 90px; height: 90px; text-align:center; vertical-align: top; margin-left: 11px;box-sizing: border;">
|
|
|
|
<div style="display: inline-block; background-size: 100% 100%; width: 35%; height: 90px; text-align:center; vertical-align: top; margin-left: 11px;box-sizing: border;">
|
|
|
|
<img src='./img/user-card/avatar-outer.png' style='position:absolute;width:90px;height:90px;left:11px;z-index=-1'/>
|
|
|
|
<img src='./img/user-card/avatar-outer.png' style='position:absolute;width:90px;height:90px;left:11px;z-index=-1'/>
|
|
|
|
<img src="${
|
|
|
|
<img src="${
|
|
|
|
d.data.fleaderimg
|
|
|
|
d.data.fleaderimg
|
|
|
@ -407,7 +407,7 @@ export default function userPage() {
|
|
|
|
}" style="width: 58px; height: 58px; border-radius: 50%; margin-top: 16px;z-index:999"/>
|
|
|
|
}" style="width: 58px; height: 58px; border-radius: 50%; margin-top: 16px;z-index:999"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div style="display: inline-block; margin-left: 6px;width:60%;height:100%" onclick="window.open('${postUserUrl}', '_blank')">
|
|
|
|
<div style="display: inline-block; margin-left: 6px;width: 55%;height:100%" onclick="window.open('${postUserUrl}', '_blank')">
|
|
|
|
<div style='display:flex;align-items:center;margin-bottom:19px;margin-top:15px'>
|
|
|
|
<div style='display:flex;align-items:center;margin-bottom:19px;margin-top:15px'>
|
|
|
|
<div style="
|
|
|
|
<div style="
|
|
|
|
font-size: 13px;
|
|
|
|
font-size: 13px;
|
|
|
|