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

This commit is contained in:
fanjie 2022-10-26 11:02:42 +08:00
parent 0216688a5d
commit 56ae519143
1 changed files with 2 additions and 2 deletions

View File

@ -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>