PCqiandao
杨树明 5 years ago
parent 2d3a3ae9c8
commit 0d1527efd6

@ -0,0 +1,41 @@
import React,{ Component } from "react";
import { Row, Col,Select } from 'antd';
const { Option } = Select;
class Signedinlist extends Component {
constructor(props) {
super(props)
}
handleChange=(value)=>{
console.log(`selected ${value}`);
}
render() {
return(
<React.Fragment>
<Row className={"mt20"}>
<Col span={12}>
<Row type="flex" justify="space-between">
<Col span={4}>
<Select defaultValue="lucy" style={{ width: 120 }} onChange={this.handleChange}>
<Option value="jack">Jack</Option>
</Select>
<Select defaultValue="lucy" style={{ width: 120 }} onChange={this.handleChange}>
<Option value="jack">Jack</Option>
</Select>
</Col>
</Row>
</Col>
<Col span={12}>col-12</Col>
</Row>
</React.Fragment>
)
}
}
export default Signedinlist

@ -1,6 +1,7 @@
import React,{ Component } from "react";
import '../css/signincdi.css';
import Detailss from '../component/Detailss';
import Signedinlist from './Signedinlist'
//在线学习
class Signindetails extends Component{
constructor(props){
@ -46,8 +47,13 @@ class Signindetails extends Component{
<Detailss switattendance_id={this.props.switattendance_id} {...this.props} {...this.state}></Detailss>
{/* 列表+筛选 */}
<div>
<Signedinlist
{...this.props}
{...this.state}
/>
</div>
</div>
</React.Fragment>
)

Loading…
Cancel
Save