import React from 'react'; import { Row,Col } from 'antd'; import {WeaNewScroll } from "ecCom" import classnames from 'classnames'; import './style/index.less'; class DailyPaper extends React.Component { static defaultProps = { stageGroups:[ { key:"0", name:"全部", }, { key:"1", name:"立项", }, { key:"2", name:"搭建中", }, { key:"3", name:"验收中", }, { key:"4", name:"维护中", }, ], selectGroupTypeKey:"0" } constructor(props){ super(props); this.state={ } } renderTitleGroup(stageGroups){ const {selectGroupTypeKey="0"} = this.props; let btnArr = []; stageGroups && stageGroups.map((group)=>{ let isSelect = ""; if(selectGroupTypeKey == group.key) { isSelect = "selected"; } btnArr.push( {this.changeTypeGroup(group.key)}} className={isSelect} > {group.name} ) }) return btnArr } changeTypeGroup=(key)=>{ } render() { const { stageGroups } = this.props; return (