bug修复
This commit is contained in:
parent
694c263131
commit
5c507d2548
|
|
@ -158,9 +158,7 @@ export default function companyPage() {
|
|||
</div>
|
||||
</div>`;
|
||||
} else if (d.data.ftype == 1) {
|
||||
return `<div onclick="window.open('${
|
||||
subcompanyUrl + d.data.fobjid
|
||||
}', '_blank')">
|
||||
return `<div onclick="window.open('${subcompanyUrl}', '_blank')">
|
||||
<div style="width: 85px; height: 85px; border: 1px solid #66BAF5; border-radius: 50%;text-align: center; line-height: 85px; margin: 0 auto;">
|
||||
<img src="${getSubcompanyImage()}" />
|
||||
</div>
|
||||
|
|
@ -177,9 +175,7 @@ export default function companyPage() {
|
|||
</div>`;
|
||||
} else if (d.data.ftype == 2) {
|
||||
return `
|
||||
<div style="width: 100%; height: 100%; background: url('./img/company_job_label.png');background-size: 100% 100%;" onclick="window.open('${
|
||||
departmentUrl + d.data.fobjid
|
||||
}')">
|
||||
<div style="width: 100%; height: 100%; background: url('./img/company_job_label.png');background-size: 100% 100%;" onclick="window.open('${departmentUrl}')">
|
||||
<div style="padding-left: 8px; padding-top: 23px;">
|
||||
<img src="${getDepartmentImage()}"/>
|
||||
<span style="
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ export default function userPage() {
|
|||
// 岗位地址
|
||||
let jobtitleUrl = `/spa/organization/static/index.html#/main/organization/jobExtend/${d.data.fobjid}`;
|
||||
// 人员地址
|
||||
let userUrl = `/spa/hrm/index_mobx.html#/main/hrm/card/cardInfo/${d.data.fecid}`;
|
||||
let userUrl = `/spa/hrm/index_mobx.html#/main/hrm/card/cardInfo/${d.data.fleader}`;
|
||||
|
||||
// 通讯录
|
||||
let addressBookUrl = '/spa/hrm/index_mobx.html#/main/hrm/addressBook';
|
||||
|
|
@ -320,9 +320,7 @@ export default function userPage() {
|
|||
</div>`;
|
||||
} else if (d.data.ftype == 4) {
|
||||
return `<div>
|
||||
<div style="position: relative;" onclick="window.open('${
|
||||
userUrl + d.data.fnumber
|
||||
}', '_blank')">
|
||||
<div style="position: relative;" onclick="window.open('${userUrl}', '_blank')">
|
||||
<img src="./img/user-card/card-label-start.png" />
|
||||
<span >
|
||||
<img src="./img/user-card/line1.png" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue