diff --git a/src/components/drawer/index.jsx b/src/components/drawer/index.jsx
index def832f..1a00aee 100644
--- a/src/components/drawer/index.jsx
+++ b/src/components/drawer/index.jsx
@@ -70,7 +70,7 @@ export default class DrawerComponents extends React.Component {
}
//获取数据
- getDeatilDatas(params, type = 'chart', showJob = '1') {
+ getDeatilDatas(params, type = 'chart', showJob = '0') {
this.setState({ spinning: true, data: [], dataSource: [] });
d3.json(
'/api/bs/hrmorganization/orgchart/getDepartmentDetail?' +
@@ -257,8 +257,8 @@ export default class DrawerComponents extends React.Component {
${d.data.fname}
-
- ${getLabel(547322, labelData)}:${d.data.fleader}
+
+ ${getLabel(547190, labelData)}:${d.data.fleader}
@@ -310,11 +310,16 @@ export default class DrawerComponents extends React.Component {
d.data.fname
}
-
+
${getLabel(547324, labelData)}: ${
d.data.companyWorkYear
} ${getLabel(547526, labelData)}
+
+ ${getLabel(547333, labelData)}: ${
+ d.data.jobName
+ }
+
`;
@@ -333,7 +338,7 @@ export default class DrawerComponents extends React.Component {
changeDetail = () => {
const { detailType, params } = this.state;
let type = detailType == 'chart' ? 'table' : 'chart';
- const showJob = this.state.showJob ? '1' : '0';
+ const showJob = '0';
this.setState({
detailType: type,
});
@@ -375,25 +380,6 @@ export default class DrawerComponents extends React.Component {
}}
extra={
- {detailType == 'chart' && params && params.fclass == '0' && (
- {
- this.setState({
- showJob: e.target.checked,
- });
-
- this.getDeatilDatas(
- params,
- detailType,
- e.target.checked ? '1' : '0',
- );
- }}
- >
- {getLabel(547447, labelData)}
-
- )}
@@ -430,7 +416,6 @@ export default class DrawerComponents extends React.Component {
-
-