diff --git a/public/react/src/modules/competition/competmodal/PersonModal.js b/public/react/src/modules/competition/competmodal/PersonModal.js index f8775cd99..724abebd0 100644 --- a/public/react/src/modules/competition/competmodal/PersonModal.js +++ b/public/react/src/modules/competition/competmodal/PersonModal.js @@ -1503,7 +1503,7 @@ class PersonModal extends Component { color: "#D0021B", fontSize: "12px", marginTop: "9px" - }}>战队导师为{GetenrollmentAPI.teacher_staff.minimum}-{GetenrollmentAPI.teacher_staff.maximum}人,现在为{Thecurrentnumber}人
+ }}>导师需为{GetenrollmentAPI.teacher_staff.minimum}-{GetenrollmentAPI.teacher_staff.maximum}人,现为{Thecurrentnumber}人 : "" ) : @@ -1518,7 +1518,7 @@ class PersonModal extends Component { color: "#D0021B", fontSize: "12px", marginTop: "9px" - }}>战队队员为{GetenrollmentAPI.member_staff.minimum}-{GetenrollmentAPI.member_staff.maximum}人,现在为{Thecurrentnumberstu}人 + }}>战队成员需为{GetenrollmentAPI.member_staff.minimum}-{GetenrollmentAPI.member_staff.maximum}人,现为{Thecurrentnumberstu}人 : "" ) : @@ -1551,4 +1551,4 @@ class PersonModal extends Component { } } -export default PersonModal; \ No newline at end of file +export default PersonModal; diff --git a/public/react/src/modules/courses/statistics/Statistics.js b/public/react/src/modules/courses/statistics/Statistics.js index b48036530..8b22f2c25 100644 --- a/public/react/src/modules/courses/statistics/Statistics.js +++ b/public/react/src/modules/courses/statistics/Statistics.js @@ -160,44 +160,7 @@ class Statistics extends Component{ derivefun=(url)=>{ let{group_ids}=this.state; - let data={ - group_id:group_ids - } - axios.get(url,{params: - data, - paramsSerializer: function(params) { - return qs.stringify(params, {arrayFormat: 'brackets'}) - } - }).then((response)=>{ - if(response === undefined){ - return - } - if(response.data.status&&response.data.status===-1){ - this.props.showNotification(response.data.message); - }else if(response.data.status&&response.data.status===-2){ - // if(response.data.message === "100"){ - // // 已超出文件导出的上限数量(100 ),建议: - // - // this.setState({ - // DownloadType:true, - // DownloadMessageval:100 - // }) - // }else { - // //因附件资料超过500M - // this.setState({ - // DownloadType:true, - // DownloadMessageval:500 - // }) - // } - this.props.showNotification(response.data.message); - }else { - // this.props.showNotification(`正在下载中`); - // window.open("/api"+url, '_blank'); - this.props.slowDownload(url); - } - }).catch((error) => { - console.log(error) - }); + this.props.slowDownload(`${url}?group_id=${group_ids}`); } diff --git a/public/react/src/modules/user/usersInfo/Infos.js b/public/react/src/modules/user/usersInfo/Infos.js index e872d25d1..a55cbb74c 100644 --- a/public/react/src/modules/user/usersInfo/Infos.js +++ b/public/react/src/modules/user/usersInfo/Infos.js @@ -148,7 +148,7 @@ class Infos extends Component{ }).catch((error)=>{ console.log(error) }) - + } changeType=(e)=>{ this.setState({ @@ -165,7 +165,7 @@ class Infos extends Component{ axios.post(url).then((result)=>{ if(result){ // this.setState( - // (prevState) => ({ + // (prevState) => ({ // data : update(prevState.data, {attendance_signed: {$set: true} }) // }) // ) @@ -225,7 +225,7 @@ class Infos extends Component{ } render(){ - let { + let { data , is_edit, sign, @@ -243,7 +243,7 @@ class Infos extends Component{ currentLogin = this.props.current_user.login; } const _commonProps = { - is_current: isCurrent, + is_current: isCurrent, login: currentLogin } return( @@ -254,16 +254,16 @@ class Infos extends Component{ { isRenders &&+
共参与{totalCount}个{category?category=="manage"?"发布":"学习":"课堂"}
- 时间最新
+
非成员不能访问
{item.name}
@@ -171,14 +271,14 @@ class InfosCourse extends Component{
:""}
{
- item.members_count > 0 &&
+ item.members_count > 0 &&
@@ -190,7 +285,7 @@ class InfosPath extends Component{ }
+
共参与{totalCount}个{category?category=="manage"?"发布":"学习":"项目"}
- 时间最新
+