diff --git a/src/components/topBar/index.jsx b/src/components/topBar/index.jsx
index 98caa38..9df16f9 100644
--- a/src/components/topBar/index.jsx
+++ b/src/components/topBar/index.jsx
@@ -217,7 +217,7 @@ export class TopBar extends React.Component {
);
render() {
- const { disabled, type } = this.props;
+ const { disabled, type, timelineId } = this.props;
const {
rootTreeData,
open,
@@ -247,28 +247,30 @@ export class TopBar extends React.Component {
treeIcon
/>
-
-
- this.handleFormChange({
- showClass: e.target.checked ? '1' : '0',
- })
- }
- >
- 显示班组
-
-
-
-
-
+ {timelineId == 0 && (
+
+
+ this.handleFormChange({
+ showClass: e.target.checked ? '1' : '0',
+ })
+ }
+ >
+ 显示班组
+
+
+
+
+
+ )}
-
- 部门节点:
-
-
-
+ {timelineId == 0 && (
+
+ 部门节点:
+
+
+ )}
+