|
|
@@ -190,6 +190,11 @@ class ChartList extends React.Component {
|
|
|
{ pGroups.map(g => (
|
|
|
<Breadcrumb.Item key={g.code}>
|
|
|
<Tag color={'blue'} >
|
|
|
+ {g.code === '-1' && <Icon title="分组维护" type="bars" onClick={() => {
|
|
|
+ this.setState({
|
|
|
+ visibleGroupManageMentBox: true
|
|
|
+ });
|
|
|
+ }}/>}
|
|
|
<span onClick={() => {
|
|
|
let group = chart.groupList.find(group => group.code === g.code);
|
|
|
dispatch({ type: 'chart/setCurrentGroup', group: group });
|
|
|
@@ -220,7 +225,7 @@ class ChartList extends React.Component {
|
|
|
})
|
|
|
}}
|
|
|
>
|
|
|
- <Icon style={{ marginLeft: '2px', fontSize: '12px' }} type="down" />
|
|
|
+ <Icon style={{ marginLeft: '4px', fontSize: '12px' }} type="caret-down" />
|
|
|
</GroupSelector>
|
|
|
</Tag>
|
|
|
</Breadcrumb.Item>
|
|
|
@@ -447,15 +452,15 @@ class ChartList extends React.Component {
|
|
|
<Content>
|
|
|
<Card bordered={false} title={
|
|
|
<Row className='tools' type='flex' justify='space-between'>
|
|
|
- <Col style={{ display: 'flex', width: 'calc(100% - 324px)', overflow: 'hidden' }}>
|
|
|
+ <Col className="groups" style={{ display: 'flex', width: 'calc(100% - 324px)', overflow: 'hidden' }}>
|
|
|
<Checkbox style={{ marginTop: '4px' }} checked={noGroup} onChange={(e) => {
|
|
|
- this.setState({noGroup: e.target.checked})
|
|
|
- }}>未分组</Checkbox>
|
|
|
- <Icon type="bars" onClick={() => {
|
|
|
this.setState({
|
|
|
- visibleGroupManageMentBox: true
|
|
|
- });
|
|
|
- }}/>
|
|
|
+ noGroup: e.target.checked,
|
|
|
+ page: 1
|
|
|
+ }, () => {
|
|
|
+ this.bodyRef.current.parentNode.scrollTo(0, 0)
|
|
|
+ })
|
|
|
+ }}><span className="nogroup">未分组</span></Checkbox>
|
|
|
{ this.generateGroupTags() }
|
|
|
</Col>
|
|
|
<Col className='search'>
|