岗位显示修复

顺胜组织架构图
Chengliang 2 years ago
parent c01a806c88
commit e0c1b1c3b5

@ -311,7 +311,7 @@ export default class DrawerComponents extends React.Component {
changeDetail = () => { changeDetail = () => {
const { detailType, params } = this.state; const { detailType, params } = this.state;
let type = detailType == 'chart' ? 'table' : 'chart'; let type = detailType == 'chart' ? 'table' : 'chart';
const showJob = params.fclass == '0' ? '1' : '0'; const showJob = this.state.showJob ? '1' : '0';
this.setState({ this.setState({
detailType: type, detailType: type,
}); });

@ -130,7 +130,7 @@ export default function companyPage() {
if (d.data.ftype == 0) { if (d.data.ftype == 0) {
return 220; return 220;
} else if (d.data.ftype == 1) { } else if (d.data.ftype == 1) {
return 160; return 144;
} else if (d.data.ftype == 2) { } else if (d.data.ftype == 2) {
return 144; return 144;
} }

Loading…
Cancel
Save