- {getFieldDecorator('date-picker', {
+ {getFieldDecorator('attendance_date', {
rules: [{ type: 'object', required: true, message: 'Please select time!' }],
- })()}
+ })()}
- {getFieldDecorator('time-picker', {
+ {getFieldDecorator('start_time', {
rules: [{ type: 'object', required: true, message: 'Please select time!' }],
- })()}
+ })()}
- {getFieldDecorator('time-picker', {
+ {getFieldDecorator('end_time', {
rules: [{ type: 'object', required: true, message: 'Please select time!' }],
- })()}
+ })()}
+
+
+
+
);
diff --git a/public/react/src/modules/courses/signin/model/Qrcodesignin.js b/public/react/src/modules/courses/signin/model/Qrcodesignin.js
new file mode 100644
index 000000000..aa028cb17
--- /dev/null
+++ b/public/react/src/modules/courses/signin/model/Qrcodesignin.js
@@ -0,0 +1,74 @@
+import React,{ Component } from "react";
+
+import { Modal , Button} from 'antd';
+
+class Qrcodesignin extends Component {
+ constructor(props) {
+ super(props)
+ }
+
+ render() {
+
+ const leftbuton={
+ "width":"130px",
+ "height":"40px",
+ "border":"1px solid rgba(76,172,255,1)",
+ "border-radius":"4px",
+ }
+
+ const rightbuton={
+ "width":"130px",
+ "height":"40px",
+ "background":"#4CACFF",
+ "border-radius":"4px",
+ }
+ return(
+
+ {this.props.Qrcodesignintype?
+
+
+
+
+
+
+
+
+
+
+
+
+
+ :""}
+
+
+ )
+ }
+
+}
+
+
+
+
+
+
+export default Qrcodesignin
\ No newline at end of file
diff --git a/public/react/src/modules/courses/signin/model/Studentssignmodel.js b/public/react/src/modules/courses/signin/model/Studentssignmodel.js
new file mode 100644
index 000000000..b09f865f5
--- /dev/null
+++ b/public/react/src/modules/courses/signin/model/Studentssignmodel.js
@@ -0,0 +1,76 @@
+import React,{ Component } from "react";
+
+import { Modal , Form, Input,Button} from 'antd';
+
+class Studentssignmodel extends Component {
+ constructor(props) {
+ super(props)
+ }
+
+ render() {
+ const { getFieldDecorator } = this.props.form;
+ const formItemLayout = {
+ wrapperCol: { span: 25},
+ };
+
+ const leftbuton={
+ "width":"130px",
+ "height":"40px",
+ "border":"1px solid rgba(76,172,255,1)",
+ "border-radius":"4px",
+ }
+
+ const rightbuton={
+ "width":"130px",
+ "height":"40px",
+ "background":"#4CACFF",
+ "border-radius":"4px",
+ }
+ return(
+
+ {this.props.Studentssigntype?
+
+
+ {getFieldDecorator('name', {
+ rules: [{ required: true, message: 'Please input the title of collection!' }],
+ })()}
+
+
+
+
+
+
+ :""}
+
+
+ )
+ }
+
+}
+
+
+
+
+const Studentssignmodels = Form.create({ name: 'Studentssignmodel' })(Studentssignmodel);
+
+export default Studentssignmodels
\ No newline at end of file
diff --git a/public/react/src/modules/courses/signin/teacher/Teachers_signin.js b/public/react/src/modules/courses/signin/teacher/Teachers_signin.js
index 527fda152..101816a9d 100644
--- a/public/react/src/modules/courses/signin/teacher/Teachers_signin.js
+++ b/public/react/src/modules/courses/signin/teacher/Teachers_signin.js
@@ -2,8 +2,10 @@ import React,{ Component } from "react";
import '../css/signincdi.css';
import { Tabs,Pagination} from 'antd';
import Teaccomponent from '../component/teachercomponent/Teaccomponent';
-import Histeacomponent from '../component/teachercomponent/Histeacomponent';
import Createsignmodel from '../model/Createsignmodel';
+import Studentssignmodels from "../model/Studentssignmodel";
+import Qrcodesignin from "../model/Qrcodesignin";
+import Signinstatistics from "../Signinstatistics/Signinstatistics";
const { TabPane } = Tabs;
//在线学习
class Students_signin extends Component{
@@ -40,6 +42,21 @@ class Students_signin extends Component{
visible:true
})
}
+
+
+ Studentsbottom=()=>{
+ this.setState({
+ Studentssigntype:true
+ })
+ }
+
+ Qrcodesignintypefun=()=>{
+ this.setState({
+ Qrcodesignintype:true
+ })
+ }
+
+
paginationonChange = (pageNumber) => {
this.setState({
page: pageNumber,
@@ -52,11 +69,23 @@ class Students_signin extends Component{
let {page,per_page,count,defaultActiveKey} =this.state
return(
-
+
+ {/*创建实训*/}
+
+ {/*签到*/}
+
+ {/*二维码*/}
+
- Content of Tab Pane 3
+
-
this.Createsign()}>创建签到
+
this.Qrcodesignintypefun()}>创建签到