|
|
@ -162,8 +162,8 @@ export default function companyPage() {
|
|
|
|
const nodeContentRender = (d, i, arr, state) => {
|
|
|
|
const nodeContentRender = (d, i, arr, state) => {
|
|
|
|
let fclass = topbar.state.requestData.fclass;
|
|
|
|
let fclass = topbar.state.requestData.fclass;
|
|
|
|
let statisticsStyle = fclass == 0 ? 'block' : 'none';
|
|
|
|
let statisticsStyle = fclass == 0 ? 'block' : 'none';
|
|
|
|
let flevelStyle =
|
|
|
|
// let flevelStyle =
|
|
|
|
d.data.ftype == 2 && d.data.deptLevel == 0 ? 'inline-block' : 'none';
|
|
|
|
// d.data.ftype == 2 && d.data.deptLevel == 0 ? 'inline-block' : 'none';
|
|
|
|
if (d.data.ftype == 0) {
|
|
|
|
if (d.data.ftype == 0) {
|
|
|
|
return `<div>
|
|
|
|
return `<div>
|
|
|
|
<div style="display: inline-block; text-align: center; margin-left: 5px;">
|
|
|
|
<div style="display: inline-block; text-align: center; margin-left: 5px;">
|
|
|
@ -209,9 +209,7 @@ export default function companyPage() {
|
|
|
|
<div style="width: 110px;margin: 0 auto;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
|
|
|
|
<div style="width: 110px;margin: 0 auto;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
|
|
|
|
line-height: 18px;word-break: break-all;">${d.data.fname}</div>
|
|
|
|
line-height: 18px;word-break: break-all;">${d.data.fname}</div>
|
|
|
|
<div style="display: ${statisticsStyle}">
|
|
|
|
<div style="display: ${statisticsStyle}">
|
|
|
|
<span style="color:red;display: ${flevelStyle}">${
|
|
|
|
<span style="color:red;">${d.data.staffNum} </span>
|
|
|
|
d.data.staffNum
|
|
|
|
|
|
|
|
} </span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|