|
|
@ -197,17 +197,13 @@ export default function userPage() {
|
|
|
|
let companyUrl =
|
|
|
|
let companyUrl =
|
|
|
|
'/spa/organization/static/index.html#/main/organization/group';
|
|
|
|
'/spa/organization/static/index.html#/main/organization/group';
|
|
|
|
// 分部地址
|
|
|
|
// 分部地址
|
|
|
|
let subcompanyUrl =
|
|
|
|
let subcompanyUrl = `/spa/organization/static/index.html#/main/organization/companyExtend/${d.data.fobjid}`;
|
|
|
|
'/spa/organization/static/index.html#/main/organization/companyExtend/';
|
|
|
|
|
|
|
|
// 部门地址
|
|
|
|
// 部门地址
|
|
|
|
let departmentUrl =
|
|
|
|
let departmentUrl = `/spa/organization/static/index.html#/main/organization/departmentExtend/${d.data.fobjid}`;
|
|
|
|
'/spa/organization/static/index.html#/main/organization/departmentExtend/';
|
|
|
|
|
|
|
|
// 岗位地址
|
|
|
|
// 岗位地址
|
|
|
|
let jobtitleUrl =
|
|
|
|
let jobtitleUrl = `/spa/organization/static/index.html#/main/organization/jobExtend/${d.data.fobjid}`;
|
|
|
|
'/spa/organization/static/index.html#/main/organization/jobExtend/';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 人员地址
|
|
|
|
// 人员地址
|
|
|
|
let userUrl = '/spa/hrm/index_mobx.html#/main/hrm/card/cardInfo/';
|
|
|
|
let userUrl = `/spa/hrm/index_mobx.html#/main/hrm/card/cardInfo/${d.data.fecid}`;
|
|
|
|
|
|
|
|
|
|
|
|
// 通讯录
|
|
|
|
// 通讯录
|
|
|
|
let addressBookUrl = '/spa/hrm/index_mobx.html#/main/hrm/addressBook';
|
|
|
|
let addressBookUrl = '/spa/hrm/index_mobx.html#/main/hrm/addressBook';
|
|
|
@ -231,21 +227,17 @@ export default function userPage() {
|
|
|
|
d.data.ftype == 0
|
|
|
|
d.data.ftype == 0
|
|
|
|
? companyUrl
|
|
|
|
? companyUrl
|
|
|
|
: d.data.ftype == 1
|
|
|
|
: d.data.ftype == 1
|
|
|
|
? subcompanyUrl + d.data.fnumber
|
|
|
|
? subcompanyUrl
|
|
|
|
: d.data.ftype == 2
|
|
|
|
: d.data.ftype == 2
|
|
|
|
? departmentUrl + d.data.fnumber
|
|
|
|
? departmentUrl
|
|
|
|
: ''
|
|
|
|
: ''
|
|
|
|
}', '_blank')">${d.data.fname}</span>
|
|
|
|
}', '_blank')">${d.data.fname}</span>
|
|
|
|
<span style="margin-left: 70px;">
|
|
|
|
<span style="margin-left: 70px;">
|
|
|
|
<img src="./img/user-card/line1.png" />
|
|
|
|
<img src="./img/user-card/line1.png" />
|
|
|
|
<img src="./img/user-card/line2.png" />
|
|
|
|
<img src="./img/user-card/line2.png" />
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<div style="background: url('./img/user-card/user-card.png'); height: 152px;background-size: 100% 100%;box-sizing: border-box;padding-top: 30px;" onclick="window.open('${
|
|
|
|
<div style="background: url('./img/user-card/user-card.png'); height: 152px;background-size: 100% 100%;box-sizing: border-box;padding-top: 30px;" onclick="window.open('${userUrl}', '_blank')">
|
|
|
|
userUrl + d.data.fleader
|
|
|
|
<div onclick="window.open('${userUrl}', '_blank')" style="display: inline-block; background: url('./img/user-card/avatar-outer.png'); background-size: 100% 100%; width: 90px; height: 90px; text-align:center; vertical-align: top; margin-left: 11px;box-sizing: border;">
|
|
|
|
}', '_blank')">
|
|
|
|
|
|
|
|
<div onclick="window.open('${
|
|
|
|
|
|
|
|
userUrl + d.data.fleader
|
|
|
|
|
|
|
|
}', '_blank')" style="display: inline-block; background: url('./img/user-card/avatar-outer.png'); background-size: 100% 100%; width: 90px; height: 90px; text-align:center; vertical-align: top; margin-left: 11px;box-sizing: border;">
|
|
|
|
|
|
|
|
<img src="${
|
|
|
|
<img src="${
|
|
|
|
d.data.fleaderimg
|
|
|
|
d.data.fleaderimg
|
|
|
|
? d.data.fleaderimg
|
|
|
|
? d.data.fleaderimg
|
|
|
|