diff --git a/dist.zip b/dist.zip index bec29ed..168c283 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/public/img/back/back.png b/public/img/back/back.png new file mode 100644 index 0000000..e731f3f Binary files /dev/null and b/public/img/back/back.png differ diff --git a/src/components/orgChart/index.jsx b/src/components/orgChart/index.jsx index 8211819..3eb5231 100644 --- a/src/components/orgChart/index.jsx +++ b/src/components/orgChart/index.jsx @@ -52,7 +52,7 @@ export const OrgChartComponent = memo((props, ref) => { .layout('top') .linkUpdate(function (d, i, arr) { d3.select(this) - .attr('stroke', '#66BAF5') + .attr('stroke', '#dcdddc') .attr('stroke-width', 1) .style('stroke-dasharray', '3, 3'); }) diff --git a/src/pages/company.jsx b/src/pages/company.jsx index 90d712e..c96c674 100644 --- a/src/pages/company.jsx +++ b/src/pages/company.jsx @@ -99,12 +99,14 @@ export default function companyPage() { // 获取部门图片 function getDepartmentImage(fisvitual) { - return fisvitual == '0' ? `./img/back/level4.png` : `./img/back/level8.png`; + return `./img/back/back.png`; + //return fisvitual == '0' ? `./img/back/level4.png` : `./img/back/level8.png`; } // 获取分部图片 function getSubcompanyImage(fisvitual) { - return fisvitual == '0' ? `./img/back/level1.png` : `./img/back/level5.png`; + //return fisvitual == '0' ? `./img/back/level1.png` : `./img/back/level5.png`; + return `./img/back/back.png`; } // 多语言获取 @@ -135,9 +137,9 @@ export default function companyPage() { // ButtonContent渲染 const buttonContentRender = ({ node, state }) => { if (node.children) { - return `