|
@@ -121,18 +121,20 @@ const TreeComponent: React.FC<ChildComponentProps> = ({ onSelectFn }) => {
|
|
|
};
|
|
|
return (
|
|
|
<div className={styles.ct}>
|
|
|
- <div className={styles.title}>责任部门</div>
|
|
|
- <Input
|
|
|
- defaultValue={inputValue}
|
|
|
- placeholder="请输入部门名称搜索"
|
|
|
- allowClear
|
|
|
- onChange={handleChange}
|
|
|
- onCompositionStart={handleCompositionStart}
|
|
|
- onCompositionEnd={handleCompositionEnd}
|
|
|
- suffix={<SearchOutlined style={{ color: "#c2c8d1" }} />}
|
|
|
- style={{ marginBottom: 8 }}
|
|
|
- />
|
|
|
- <div>
|
|
|
+ <div className={styles.tit}>
|
|
|
+ <div className={styles.title}>责任部门</div>
|
|
|
+ <Input
|
|
|
+ defaultValue={inputValue}
|
|
|
+ placeholder="请输入部门名称搜索"
|
|
|
+ allowClear
|
|
|
+ onChange={handleChange}
|
|
|
+ onCompositionStart={handleCompositionStart}
|
|
|
+ onCompositionEnd={handleCompositionEnd}
|
|
|
+ suffix={<SearchOutlined style={{ color: "#c2c8d1" }} />}
|
|
|
+ style={{ marginBottom: 8 }}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div className={styles.tree}>
|
|
|
<Tree
|
|
|
blockNode={true}
|
|
|
treeData={treeData as TreeDataNode[]}
|