*调分:
@@ -783,8 +798,7 @@ class ExerciseReviewAndAnswer extends Component{
value={score}
step={0.1}
precision={1}
- className={ setTip !="" ? "edu-txt-center winput-115-40 fl mt3 noticeTip" : "edu-txt-center winput-115-40 fl mt3"}
- style={{height:"30px",width:"115px"}}
+ className={ setTip !="" ? "edu-txt-center winput-115-40 fl mt3 noticeTip inputNumber30" : "edu-txt-center winput-115-40 fl mt3 inputNumber30"}
onChange={this.inputScore}
>
分
diff --git a/public/react/src/modules/courses/poll/Poll.js b/public/react/src/modules/courses/poll/Poll.js
index 9f9291b61..3a7cd6aec 100644
--- a/public/react/src/modules/courses/poll/Poll.js
+++ b/public/react/src/modules/courses/poll/Poll.js
@@ -13,6 +13,7 @@ import '../css/members.css';
import '../css/busyWork.css';
import Modals from '../../modals/Modals';
import axios from 'axios';
+import moment from 'moment';
const Search = Input.Search;
diff --git a/public/react/src/modules/courses/poll/PollDetailTabFirst.js b/public/react/src/modules/courses/poll/PollDetailTabFirst.js
index 6a5be2e8d..ceca9b291 100644
--- a/public/react/src/modules/courses/poll/PollDetailTabFirst.js
+++ b/public/react/src/modules/courses/poll/PollDetailTabFirst.js
@@ -181,7 +181,12 @@ class PollDetailTabFirst extends Component{
title: '学号',
dataIndex: 'StudentNo',
key: 'StudentNo',
- className:"edu-txt-center"
+ className:"edu-txt-center",
+ render:(StudentNo,item,index)=>{
+ return(
+ item.StudentNo ? {item.StudentNo} : "--"
+ )
+ }
}, {
title: '分班',
key: 'classes',
diff --git a/public/react/src/modules/user/usersInfo/Infos.js b/public/react/src/modules/user/usersInfo/Infos.js
index 81198b45c..941217750 100644
--- a/public/react/src/modules/user/usersInfo/Infos.js
+++ b/public/react/src/modules/user/usersInfo/Infos.js
@@ -130,14 +130,15 @@ class Infos extends Component{
let url=`/users/attendance.json`
axios.post(url).then((result)=>{
if(result){
- this.setState(
- (prevState) => ({
- data : update(prevState.data, {attendance_signed: {$set: true} })
- })
- )
- this.setState({
- next_gold:result.data.next_gold
- })
+ // this.setState(
+ // (prevState) => ({
+ // data : update(prevState.data, {attendance_signed: {$set: true} })
+ // })
+ // )
+ // this.setState({
+ // next_gold:result.data.next_gold
+ // })
+ this.getInfo(this.props.match.params.username);
}
}).catch((error)=>{
console.log(error);
@@ -245,6 +246,9 @@ class Infos extends Component{
-
+
this.setState({moduleName: 'courses'})}
to={`/users/${username}/courses`}>课堂
@@ -348,7 +352,7 @@ class Infos extends Component{
{/* 课堂 */}
{/* http://localhost:3007/courses/1309/homework/9300/setting */}
- ()
}
@@ -374,6 +378,11 @@ class Infos extends Component{
(props) => ()
}
>
+ ()
+ }
+ >