feat: 组织架构图公司名修改

feature/orgChart
fanjie 3 years ago
parent 0216688a5d
commit 56ae519143

@ -106,7 +106,7 @@ export default function companyPage() {
//
const nodeWidthRender = (d) => {
if (d.data.ftype == 0) {
return 220;
return 1000;
} else if (d.data.ftype == 1) {
return 160;
} else if (d.data.ftype == 2) {
@ -136,7 +136,7 @@ export default function companyPage() {
let departmentUrl = `/spa/organization/static/index.html#/main/organization/departmentExtend/${d.data.fobjid}`;
if (d.data.ftype == 0) {
return `<div onclick="window.open('${companyUrl}', '_blank')">
return `<div onclick="window.open('${companyUrl}', '_blank')" style="text-align:center">
<div style="display: inline-block; vertical-align: top;">
<img src="./img/company.png" />
</div>

Loading…
Cancel
Save