|
|
|
@ -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 `<div style="border-radius:3px;padding:3px;font-size:10px;margin:auto auto;background-color:#66BAF5"> <div style="margin-top:0px;line-height:1.35;height:11px;font-size:25px; color: #fff;">ˆ</div> </div>`;
|
|
|
|
|
return `<div style="border-radius:3px;padding:3px;font-size:10px;margin:auto auto;background-color:#1f0ea3"> <div style="margin-top:0px;line-height:1.35;height:11px;font-size:25px; color: #fff;">ˆ</div> </div>`;
|
|
|
|
|
} else {
|
|
|
|
|
return `<div style="border-radius:3px;padding:3px;font-size:10px;margin:auto auto;background-color:#66BAF5"> <div style="margin-top:0px;line-height:1.35;height:11px;font-size:25px; color: #fff;transform:rotate(180deg)">ˆ</div> </div>`;
|
|
|
|
|
return `<div style="border-radius:3px;padding:3px;font-size:10px;margin:auto auto;background-color:#1f0ea3"> <div style="margin-top:0px;line-height:1.35;height:11px;font-size:25px; color: #fff;transform:rotate(180deg)">ˆ</div> </div>`;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -175,7 +177,7 @@ export default function companyPage() {
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
font-family: Microsoft YaHei-Bold, Microsoft YaHei;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #000000;
|
|
|
|
|
color: #1f0ea3;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
letter-spacing: 1px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|