|
|
@@ -10,11 +10,7 @@ import { isObjEmpty } from '../../../utils/common/common.util'
|
|
|
import { fetchGet } from '../../../utils/common/fetchRequest'
|
|
|
import { saveChartState } from '../../../redux/actions/chartState'
|
|
|
import { API } from '../../../configs/api.config'
|
|
|
-import { message } from 'antd'
|
|
|
-import {
|
|
|
- FolderOpenOutlined,
|
|
|
-} from '@ant-design/icons'
|
|
|
-import './kanban.less'
|
|
|
+import { message, Empty } from 'antd'
|
|
|
|
|
|
class KanBan extends Component {
|
|
|
|
|
|
@@ -79,14 +75,11 @@ class KanBan extends Component {
|
|
|
|
|
|
getNoneElement = () => {
|
|
|
return (
|
|
|
- <div className="kanban-panel-nodata" key='nodata'>
|
|
|
- <div className="nodata-box">
|
|
|
- <FolderOpenOutlined
|
|
|
- style={{ fontSize: '50px', color: '#DCDCDC' }}
|
|
|
- />
|
|
|
- <p>暂无数据,<span onClick={this.addChart} className="addchart">立即添加</span></p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <Empty
|
|
|
+ key='empty-box'
|
|
|
+ image={Empty.PRESENTED_IMAGE_SIMPLE}
|
|
|
+ description={<span>暂无数据,<span style={{ color: '#47a3ff' }} onClick={this.addChart}>立即添加</span></span>}
|
|
|
+ />
|
|
|
)
|
|
|
}
|
|
|
|