|
|
@ -1,4 +1,4 @@
|
|
|
|
import React,{Component} from "React";
|
|
|
|
import React,{Component} from "react";
|
|
|
|
import { Form, Select, Input, Button,Checkbox,Upload,Icon,message,Modal, Table, Divider, Tag,DatePicker,Radio,Tooltip} from "antd";
|
|
|
|
import { Form, Select, Input, Button,Checkbox,Upload,Icon,message,Modal, Table, Divider, Tag,DatePicker,Radio,Tooltip} from "antd";
|
|
|
|
import {Link} from 'react-router-dom';
|
|
|
|
import {Link} from 'react-router-dom';
|
|
|
|
import locale from 'antd/lib/date-picker/locale/zh_CN';
|
|
|
|
import locale from 'antd/lib/date-picker/locale/zh_CN';
|
|
|
@ -53,7 +53,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
this.publishModal = React.createRef();
|
|
|
|
this.publishModal = React.createRef();
|
|
|
|
this.endModal = React.createRef();
|
|
|
|
this.endModal = React.createRef();
|
|
|
|
this.fetchMoment = moment()
|
|
|
|
this.fetchMoment = moment()
|
|
|
|
|
|
|
|
|
|
|
|
this.state={
|
|
|
|
this.state={
|
|
|
|
unified_setting: true,
|
|
|
|
unified_setting: true,
|
|
|
|
rules: [],
|
|
|
|
rules: [],
|
|
|
@ -64,12 +64,12 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
homework_status: [],
|
|
|
|
homework_status: [],
|
|
|
|
anonymous_comment: false,
|
|
|
|
anonymous_comment: false,
|
|
|
|
ta_mode: 1,
|
|
|
|
ta_mode: 1,
|
|
|
|
evaluation_num: 3,
|
|
|
|
evaluation_num: 3,
|
|
|
|
absence_penalty: 2,
|
|
|
|
absence_penalty: 2,
|
|
|
|
appeal_penalty: 2,
|
|
|
|
appeal_penalty: 2,
|
|
|
|
|
|
|
|
|
|
|
|
te_proportion: 50,
|
|
|
|
te_proportion: 50,
|
|
|
|
ta_proportion: 30,
|
|
|
|
ta_proportion: 30,
|
|
|
|
st_proportion: 20,
|
|
|
|
st_proportion: 20,
|
|
|
|
|
|
|
|
|
|
|
@ -100,13 +100,13 @@ class CommonWorkSetting extends Component{
|
|
|
|
// endtype=true
|
|
|
|
// endtype=true
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
let disable_unified_setting = false
|
|
|
|
let disable_unified_setting = false
|
|
|
|
|
|
|
|
|
|
|
|
let rules = []
|
|
|
|
let rules = []
|
|
|
|
if (result.data.unified_setting == false) {
|
|
|
|
if (result.data.unified_setting == false) {
|
|
|
|
rules = result.data.group_settings.filter(item => item.publish_time).map(item => {
|
|
|
|
rules = result.data.group_settings.filter(item => item.publish_time).map(item => {
|
|
|
|
|
|
|
|
|
|
|
|
if (disable_unified_setting == false && moment(item.publish_time) < moment()) {
|
|
|
|
if (disable_unified_setting == false && moment(item.publish_time) < moment()) {
|
|
|
|
// 已经有规则发不过了,不能修改统一设置
|
|
|
|
// 已经有规则发不过了,不能修改统一设置
|
|
|
|
disable_unified_setting = true
|
|
|
|
disable_unified_setting = true
|
|
|
@ -140,12 +140,12 @@ class CommonWorkSetting extends Component{
|
|
|
|
init_evaluation_start: result.data.evaluation_start,
|
|
|
|
init_evaluation_start: result.data.evaluation_start,
|
|
|
|
init_evaluation_end: result.data.evaluation_end,
|
|
|
|
init_evaluation_end: result.data.evaluation_end,
|
|
|
|
init_appeal_time: result.data.appeal_time,
|
|
|
|
init_appeal_time: result.data.appeal_time,
|
|
|
|
|
|
|
|
|
|
|
|
rules,
|
|
|
|
rules,
|
|
|
|
ta_proportion: result.data.ta_proportion * 100,
|
|
|
|
ta_proportion: result.data.ta_proportion * 100,
|
|
|
|
te_proportion: result.data.te_proportion * 100,
|
|
|
|
te_proportion: result.data.te_proportion * 100,
|
|
|
|
st_proportion: result.data.st_proportion * 100,
|
|
|
|
st_proportion: result.data.st_proportion * 100,
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.props.initWorkDetailCommonState && this.props.initWorkDetailCommonState( Object.assign({...result.data}, {
|
|
|
|
this.props.initWorkDetailCommonState && this.props.initWorkDetailCommonState( Object.assign({...result.data}, {
|
|
|
|
moduleName: '设置'
|
|
|
|
moduleName: '设置'
|
|
|
@ -174,7 +174,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
componentWillUnmount() {
|
|
|
|
componentWillUnmount() {
|
|
|
|
off('commonwork_fetch_all', this.fetchAllListener)
|
|
|
|
off('commonwork_fetch_all', this.fetchAllListener)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fetchAllListener = () => {
|
|
|
|
fetchAllListener = () => {
|
|
|
|
this.fetchData()
|
|
|
|
this.fetchData()
|
|
|
@ -233,7 +233,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onChangeTimepublish= (date, dateString) => {
|
|
|
|
onChangeTimepublish= (date, dateString) => {
|
|
|
|
|
|
|
|
|
|
|
|
// console.log('startValue', dateString);
|
|
|
|
// console.log('startValue', dateString);
|
|
|
@ -264,7 +264,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onChangeTimelatetime=(date, dateString)=>{
|
|
|
|
onChangeTimelatetime=(date, dateString)=>{
|
|
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
late_time: handleDateString(dateString)
|
|
|
|
late_time: handleDateString(dateString)
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -340,7 +340,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
const anonymous_appeal = e.target.checked
|
|
|
|
const anonymous_appeal = e.target.checked
|
|
|
|
let appeal_time, appeal_penalty = this.state.appeal_penalty
|
|
|
|
let appeal_time, appeal_penalty = this.state.appeal_penalty
|
|
|
|
const currentEndTime = this._getCurrentEndTime()
|
|
|
|
const currentEndTime = this._getCurrentEndTime()
|
|
|
|
|
|
|
|
|
|
|
|
if (anonymous_appeal) {
|
|
|
|
if (anonymous_appeal) {
|
|
|
|
appeal_penalty = 2
|
|
|
|
appeal_penalty = 2
|
|
|
|
if (this.state.allow_late && this.state.late_time) {
|
|
|
|
if (this.state.allow_late && this.state.late_time) {
|
|
|
@ -511,7 +511,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
let max_un_unified_setting_end_time = null;
|
|
|
|
let max_un_unified_setting_end_time = null;
|
|
|
|
rules.map(item => {
|
|
|
|
rules.map(item => {
|
|
|
|
if (!max_un_unified_setting_end_time || moment(item.end_time) > moment(max_un_unified_setting_end_time)) {
|
|
|
|
if (!max_un_unified_setting_end_time || moment(item.end_time) > moment(max_un_unified_setting_end_time)) {
|
|
|
|
max_un_unified_setting_end_time = item.end_time;
|
|
|
|
max_un_unified_setting_end_time = item.end_time;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return max_un_unified_setting_end_time
|
|
|
|
return max_un_unified_setting_end_time
|
|
|
@ -523,11 +523,11 @@ class CommonWorkSetting extends Component{
|
|
|
|
let {assigngroups,hascommit,minnums,max_nums}=this.state;
|
|
|
|
let {assigngroups,hascommit,minnums,max_nums}=this.state;
|
|
|
|
|
|
|
|
|
|
|
|
const {homework_status, homework_id, homework_name, homework_type, publish_immediately, end_immediately
|
|
|
|
const {homework_status, homework_id, homework_name, homework_type, publish_immediately, end_immediately
|
|
|
|
,
|
|
|
|
,
|
|
|
|
publish_time, end_time,
|
|
|
|
publish_time, end_time,
|
|
|
|
allow_late, late_penalty, late_time, work_public, score_open, answer_public, group_settings,
|
|
|
|
allow_late, late_penalty, late_time, work_public, score_open, answer_public, group_settings,
|
|
|
|
anonymous_comment, anonymous_appeal, evaluation_start, evaluation_end, evaluation_num, absence_penalty, appeal_time,
|
|
|
|
anonymous_comment, anonymous_appeal, evaluation_start, evaluation_end, evaluation_num, absence_penalty, appeal_time,
|
|
|
|
appeal_penalty, ta_mode, final_mode, te_proportion, ta_proportion, st_proportion,
|
|
|
|
appeal_penalty, ta_mode, final_mode, te_proportion, ta_proportion, st_proportion,
|
|
|
|
unified_setting,
|
|
|
|
unified_setting,
|
|
|
|
publish_time_type, end_time_type
|
|
|
|
publish_time_type, end_time_type
|
|
|
|
} = this.state;
|
|
|
|
} = this.state;
|
|
|
@ -544,7 +544,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
group_settings_param = result.rules.map(item => {
|
|
|
|
group_settings_param = result.rules.map(item => {
|
|
|
|
if (!max_un_unified_setting_end_time || moment(item.end_time) > moment(max_un_unified_setting_end_time)) {
|
|
|
|
if (!max_un_unified_setting_end_time || moment(item.end_time) > moment(max_un_unified_setting_end_time)) {
|
|
|
|
max_un_unified_setting_end_time = item.end_time;
|
|
|
|
max_un_unified_setting_end_time = item.end_time;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
group_id: item.course_group_id,
|
|
|
|
group_id: item.course_group_id,
|
|
|
@ -568,8 +568,8 @@ class CommonWorkSetting extends Component{
|
|
|
|
scrollTo('.publicTimeTip')
|
|
|
|
scrollTo('.publicTimeTip')
|
|
|
|
return false
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let temp_publish_time
|
|
|
|
let temp_publish_time
|
|
|
|
let temp_end_time
|
|
|
|
let temp_end_time
|
|
|
|
if (unified_setting) {
|
|
|
|
if (unified_setting) {
|
|
|
|
temp_publish_time = publish_time
|
|
|
|
temp_publish_time = publish_time
|
|
|
@ -584,14 +584,14 @@ class CommonWorkSetting extends Component{
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
temp_end_time = max_un_unified_setting_end_time
|
|
|
|
temp_end_time = max_un_unified_setting_end_time
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 已发布的不检查
|
|
|
|
// 已发布的不检查
|
|
|
|
const isUnPublish= homework_status.indexOf(STATUS_UN_PUBLISH) != -1
|
|
|
|
const isUnPublish= homework_status.indexOf(STATUS_UN_PUBLISH) != -1
|
|
|
|
const isAdmin = this.props.isAdmin()
|
|
|
|
const isAdmin = this.props.isAdmin()
|
|
|
|
const current = moment();
|
|
|
|
const current = moment();
|
|
|
|
const publish_time_editable = isUnPublish;
|
|
|
|
const publish_time_editable = isUnPublish;
|
|
|
|
const end_time_editable = isAdmin || !end_time || moment(end_time) > current;
|
|
|
|
const end_time_editable = isAdmin || !end_time || moment(end_time) > current;
|
|
|
|
|
|
|
|
|
|
|
|
if (unified_setting) {
|
|
|
|
if (unified_setting) {
|
|
|
|
if (publish_time_editable && temp_publish_time && moment(temp_publish_time) < moment()) {
|
|
|
|
if (publish_time_editable && temp_publish_time && moment(temp_publish_time) < moment()) {
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
@ -700,7 +700,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
this.setState({ appeal_penalty_tip: '' })
|
|
|
|
this.setState({ appeal_penalty_tip: '' })
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -712,14 +712,14 @@ class CommonWorkSetting extends Component{
|
|
|
|
return false
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
"group_settings": [
|
|
|
|
"group_settings": [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"group_id": [820, 821],
|
|
|
|
"group_id": [820, 821],
|
|
|
|
"publish_time": "2018-04-18 10:00:00",
|
|
|
|
"publish_time": "2018-04-18 10:00:00",
|
|
|
|
"end_time": "2018-04-20 10:00:00"
|
|
|
|
"end_time": "2018-04-20 10:00:00"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
* */
|
|
|
|
* */
|
|
|
|
// axios
|
|
|
|
// axios
|
|
|
|
let course_id=this.props.match.params.coursesId;
|
|
|
|
let course_id=this.props.match.params.coursesId;
|
|
|
|
const url = `/homework_commons/${workId}/update_settings.json`
|
|
|
|
const url = `/homework_commons/${workId}/update_settings.json`
|
|
|
@ -735,18 +735,18 @@ class CommonWorkSetting extends Component{
|
|
|
|
late_time: late_time ? new Date(late_time) : late_time, // 补交截止时间
|
|
|
|
late_time: late_time ? new Date(late_time) : late_time, // 补交截止时间
|
|
|
|
anonymous_comment: anonymous_comment, // true: 启用匿评 false:未启用匿评
|
|
|
|
anonymous_comment: anonymous_comment, // true: 启用匿评 false:未启用匿评
|
|
|
|
evaluation_start: evaluation_start ? new Date(evaluation_start) : evaluation_start, //匿评开始时间
|
|
|
|
evaluation_start: evaluation_start ? new Date(evaluation_start) : evaluation_start, //匿评开始时间
|
|
|
|
evaluation_end: evaluation_end ? new Date(evaluation_end) : evaluation_end,
|
|
|
|
evaluation_end: evaluation_end ? new Date(evaluation_end) : evaluation_end,
|
|
|
|
evaluation_num: evaluation_num, // 匿评数
|
|
|
|
evaluation_num: evaluation_num, // 匿评数
|
|
|
|
absence_penalty: absence_penalty, // 匿评扣分
|
|
|
|
absence_penalty: absence_penalty, // 匿评扣分
|
|
|
|
anonymous_appeal: anonymous_appeal, // true: 启用匿评申诉, false:未启用
|
|
|
|
anonymous_appeal: anonymous_appeal, // true: 启用匿评申诉, false:未启用
|
|
|
|
appeal_time: appeal_time ? new Date(appeal_time) : appeal_time, // 申诉结束时间
|
|
|
|
appeal_time: appeal_time ? new Date(appeal_time) : appeal_time, // 申诉结束时间
|
|
|
|
appeal_penalty: appeal_penalty, // 违规匿评扣分
|
|
|
|
appeal_penalty: appeal_penalty, // 违规匿评扣分
|
|
|
|
ta_mode: ta_mode, // 1:普通模式 0:复审模式
|
|
|
|
ta_mode: ta_mode, // 1:普通模式 0:复审模式
|
|
|
|
final_mode: final_mode, // true: 单项评分优先, false: 多项评分配比
|
|
|
|
final_mode: final_mode, // true: 单项评分优先, false: 多项评分配比
|
|
|
|
te_proportion: te_proportion / 100,
|
|
|
|
te_proportion: te_proportion / 100,
|
|
|
|
ta_proportion: ta_proportion / 100,
|
|
|
|
ta_proportion: ta_proportion / 100,
|
|
|
|
st_proportion: st_proportion / 100,
|
|
|
|
st_proportion: st_proportion / 100,
|
|
|
|
work_public: work_public, //公开作品
|
|
|
|
work_public: work_public, //公开作品
|
|
|
|
score_open: score_open, // 公开成绩
|
|
|
|
score_open: score_open, // 公开成绩
|
|
|
|
answer_public: answer_public,
|
|
|
|
answer_public: answer_public,
|
|
|
|
|
|
|
|
|
|
|
@ -920,15 +920,15 @@ class CommonWorkSetting extends Component{
|
|
|
|
commenttimevalue,
|
|
|
|
commenttimevalue,
|
|
|
|
|
|
|
|
|
|
|
|
homework_status, homework_id, homework_name, homework_type, publish_immediately, end_immediately, unified_setting, publish_time,
|
|
|
|
homework_status, homework_id, homework_name, homework_type, publish_immediately, end_immediately, unified_setting, publish_time,
|
|
|
|
end_time, allow_late, late_penalty, late_time, work_public, score_open, answer_public, group_settings,
|
|
|
|
end_time, allow_late, late_penalty, late_time, work_public, score_open, answer_public, group_settings,
|
|
|
|
anonymous_comment, anonymous_appeal, evaluation_start, evaluation_end, evaluation_num, absence_penalty, appeal_time,
|
|
|
|
anonymous_comment, anonymous_appeal, evaluation_start, evaluation_end, evaluation_num, absence_penalty, appeal_time,
|
|
|
|
appeal_penalty, ta_mode, final_mode, te_proportion, ta_proportion, st_proportion, anonymous_comment_time_tip, appeal_time_tip,
|
|
|
|
appeal_penalty, ta_mode, final_mode, te_proportion, ta_proportion, st_proportion, anonymous_comment_time_tip, appeal_time_tip,
|
|
|
|
final_mode_false_tip,
|
|
|
|
final_mode_false_tip,
|
|
|
|
startEditFlag,
|
|
|
|
startEditFlag,
|
|
|
|
publish_time_type, end_time_type, rules, disable_unified_setting,
|
|
|
|
publish_time_type, end_time_type, rules, disable_unified_setting,
|
|
|
|
work_statuses, work_id,
|
|
|
|
work_statuses, work_id,
|
|
|
|
accessoryVisible,
|
|
|
|
accessoryVisible,
|
|
|
|
|
|
|
|
|
|
|
|
init_late_time, init_evaluation_start, init_evaluation_end, init_appeal_time
|
|
|
|
init_late_time, init_evaluation_start, init_evaluation_end, init_appeal_time
|
|
|
|
} =this.state;
|
|
|
|
} =this.state;
|
|
|
|
|
|
|
|
|
|
|
@ -971,7 +971,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
const exportResultUrl = `/api/homework_commons/${workId}/works_list.xlsx`
|
|
|
|
const exportResultUrl = `/api/homework_commons/${workId}/works_list.xlsx`
|
|
|
|
const noAuth = !isAdmin || !startEditFlag;
|
|
|
|
const noAuth = !isAdmin || !startEditFlag;
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<React.Fragment>
|
|
|
|
<React.Fragment>
|
|
|
@ -1004,7 +1004,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
onToPublishClick={this.onToPublishClick}
|
|
|
|
onToPublishClick={this.onToPublishClick}
|
|
|
|
></PublishRightnow>
|
|
|
|
></PublishRightnow>
|
|
|
|
<PublishRightnow ref={this.endModal} showActionButton={false} {...this.props} checkBoxValues={[workId]} action={this.fetchData}
|
|
|
|
<PublishRightnow ref={this.endModal} showActionButton={false} {...this.props} checkBoxValues={[workId]} action={this.fetchData}
|
|
|
|
isPublish={false} doWhenSuccess={this.doWhenSuccess}></PublishRightnow>
|
|
|
|
isPublish={false} doWhenSuccess={this.doWhenSuccess}></PublishRightnow>
|
|
|
|
|
|
|
|
|
|
|
|
<style>{`
|
|
|
|
<style>{`
|
|
|
|
.settingForm .ant-radio-group, .settingForm.ant-form {
|
|
|
|
.settingForm .ant-radio-group, .settingForm.ant-form {
|
|
|
@ -1021,7 +1021,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
.settingForm .color-grey-9 {
|
|
|
|
.settingForm .color-grey-9 {
|
|
|
|
color: #ccc !important;
|
|
|
|
color: #ccc !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
`}</style>
|
|
|
|
`}</style>
|
|
|
|
<Form className={'settingForm'}>
|
|
|
|
<Form className={'settingForm'}>
|
|
|
|
<div className="stud-class-set bor-bottom-greyE pd20 edu-back-white pl36">
|
|
|
|
<div className="stud-class-set bor-bottom-greyE pd20 edu-back-white pl36">
|
|
|
@ -1033,7 +1033,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
<p className="mb30 clearfix">
|
|
|
|
<p className="mb30 clearfix">
|
|
|
|
<span className="font-16 fl color-dark">发布设置</span>
|
|
|
|
<span className="font-16 fl color-dark">发布设置</span>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
!startEditFlag && isAdmin ?
|
|
|
|
!startEditFlag && isAdmin ?
|
|
|
|
<a className="fr white-btn edu-blueline-btn mr10 mr6 lineh-24" onClick={() => { this.setState({startEditFlag: true}) }}>
|
|
|
|
<a className="fr white-btn edu-blueline-btn mr10 mr6 lineh-24" onClick={() => { this.setState({startEditFlag: true}) }}>
|
|
|
|
编辑设置
|
|
|
|
编辑设置
|
|
|
|
{/*<Tooltip title="编辑"><i className="iconfont icon-bianjidaibeijing font-20 color-green"></i></Tooltip>*/}
|
|
|
|
{/*<Tooltip title="编辑"><i className="iconfont icon-bianjidaibeijing font-20 color-green"></i></Tooltip>*/}
|
|
|
@ -1049,7 +1049,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
>统一设置</Checkbox>
|
|
|
|
>统一设置</Checkbox>
|
|
|
|
</ConditionToolTip>
|
|
|
|
</ConditionToolTip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span className="color-grey-9">(选中则所有分班使用相同的发布设置,仅课堂管理员可修改;否则各个分班允许单独设置)</span>
|
|
|
|
<span className="color-grey-9">(选中则所有分班使用相同的发布设置,仅课堂管理员可修改;否则各个分班允许单独设置)</span>
|
|
|
|
</p>}
|
|
|
|
</p>}
|
|
|
|
|
|
|
|
|
|
|
@ -1078,8 +1078,8 @@ class CommonWorkSetting extends Component{
|
|
|
|
// disabled={this.props.isSuperAdmin()?false:publish_time_type===true?true:false}
|
|
|
|
// disabled={this.props.isSuperAdmin()?false:publish_time_type===true?true:false}
|
|
|
|
disabled={moment(this.state.init_publish_time) < moment() || noAuth}
|
|
|
|
disabled={moment(this.state.init_publish_time) < moment() || noAuth}
|
|
|
|
|
|
|
|
|
|
|
|
// disabledDate={ (publish_time) => {
|
|
|
|
// disabledDate={ (publish_time) => {
|
|
|
|
// return publish_time && publish_time < moment().add(-1, 'days'); }
|
|
|
|
// return publish_time && publish_time < moment().add(-1, 'days'); }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -1109,15 +1109,15 @@ class CommonWorkSetting extends Component{
|
|
|
|
disabled={this.props.isSuperAdmin()?false:end_time_type===true?true:false}
|
|
|
|
disabled={this.props.isSuperAdmin()?false:end_time_type===true?true:false}
|
|
|
|
disabled={moment(this.state.init_end_time) < moment() || noAuth}
|
|
|
|
disabled={moment(this.state.init_end_time) < moment() || noAuth}
|
|
|
|
disabledDate={disabledDateFunc}
|
|
|
|
disabledDate={disabledDateFunc}
|
|
|
|
|
|
|
|
|
|
|
|
// disabledDate={ (end_time) =>
|
|
|
|
// disabledDate={ (end_time) =>
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// const publish_time = this.state.publish_time
|
|
|
|
// const publish_time = this.state.publish_time
|
|
|
|
// if (!publish_time) {
|
|
|
|
// if (!publish_time) {
|
|
|
|
// return end_time && end_time < moment();
|
|
|
|
// return end_time && end_time < moment();
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// if (!publish_time || !end_time) { return false; }
|
|
|
|
// if (!publish_time || !end_time) { return false; }
|
|
|
|
// return end_time.valueOf() < moment(publish_time, dateFormat).valueOf(); }
|
|
|
|
// return end_time.valueOf() < moment(publish_time, dateFormat).valueOf(); }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -1127,7 +1127,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{<div className={"publicTimeTip color-red ml30"}>{publicTimeTip}</div>}
|
|
|
|
{<div className={"publicTimeTip color-red ml30"}>{publicTimeTip}</div>}
|
|
|
|
</React.Fragment> :
|
|
|
|
</React.Fragment> :
|
|
|
|
adaptered_group_settings && !!adaptered_group_settings.length && <PollDetailTabForthRules
|
|
|
|
adaptered_group_settings && !!adaptered_group_settings.length && <PollDetailTabForthRules
|
|
|
|
{...this.props}
|
|
|
|
{...this.props}
|
|
|
|
{...this.state}
|
|
|
|
{...this.state}
|
|
|
@ -1139,8 +1139,8 @@ class CommonWorkSetting extends Component{
|
|
|
|
moduleName="作业"
|
|
|
|
moduleName="作业"
|
|
|
|
></PollDetailTabForthRules>
|
|
|
|
></PollDetailTabForthRules>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{/*
|
|
|
|
{/*
|
|
|
|
flagPageEdit={flagPageEdit}
|
|
|
|
flagPageEdit={flagPageEdit}
|
|
|
|
*/}
|
|
|
|
*/}
|
|
|
|
|
|
|
|
|
|
|
@ -1148,7 +1148,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className="stud-class-set bor-bottom-greyE pd20 edu-back-white pl36">
|
|
|
|
<div className="stud-class-set bor-bottom-greyE pd20 edu-back-white pl36">
|
|
|
|
<div className={" font-16 color-dark h20 mb20"}>补交设置
|
|
|
|
<div className={" font-16 color-dark h20 mb20"}>补交设置
|
|
|
|
<span className={"ml15 font-14 color-grey-9 "}>(选中,则允许学生延时提交作品)</span>
|
|
|
|
<span className={"ml15 font-14 color-grey-9 "}>(选中,则允许学生延时提交作品)</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -1164,7 +1164,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
<span className={"font-14 color-grey-9 "}>(延时提交作品时,学生成绩将被扣减的分值)</span>
|
|
|
|
<span className={"font-14 color-grey-9 "}>(延时提交作品时,学生成绩将被扣减的分值)</span>
|
|
|
|
{latepenaltytype===true?<div className={"color-red ml40"}>{latepenaltyvalue}</div>:""}
|
|
|
|
{latepenaltytype===true?<div className={"color-red ml40"}>{latepenaltyvalue}</div>:""}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className={" mb10 ml30"}>
|
|
|
|
<div className={" mb10 ml30"}>
|
|
|
|
<span>结束时间:</span>
|
|
|
|
<span>结束时间:</span>
|
|
|
|
{/* <ConditionToolTip condition={moment(init_late_time) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
|
{/* <ConditionToolTip condition={moment(init_late_time) < this.fetchMoment} title={"时间已过,不能再修改"}>
|
|
|
@ -1185,15 +1185,15 @@ class CommonWorkSetting extends Component{
|
|
|
|
// || moment(init_late_time) < moment()
|
|
|
|
// || moment(init_late_time) < moment()
|
|
|
|
disabled={!allow_late || noAuth }
|
|
|
|
disabled={!allow_late || noAuth }
|
|
|
|
disabledDate={disabledDateFunc}
|
|
|
|
disabledDate={disabledDateFunc}
|
|
|
|
// disabledDate={ (late_time) =>
|
|
|
|
// disabledDate={ (late_time) =>
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// const end_time = this.state.end_time
|
|
|
|
// const end_time = this.state.end_time
|
|
|
|
// if (!end_time || !late_time) { return false; }
|
|
|
|
// if (!end_time || !late_time) { return false; }
|
|
|
|
// return late_time < moment(end_time, dateFormat).add(-1, 'days'); }
|
|
|
|
// return late_time < moment(end_time, dateFormat).add(-1, 'days'); }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
<span className={"font-14 color-grey-9 ml10"}>(学生“延时”提交作品的时间截点)</span>
|
|
|
|
<span className={"font-14 color-grey-9 ml10"}>(学生“延时”提交作品的时间截点)</span>
|
|
|
|
{<div className={"latetimetype color-red "}>{latetimetype}</div>}
|
|
|
|
{<div className={"latetimetype color-red "}>{latetimetype}</div>}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -1207,7 +1207,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
<div className="stud-class-set bor-bottom-greyE pd20 edu-back-white pl36">
|
|
|
|
<div className="stud-class-set bor-bottom-greyE pd20 edu-back-white pl36">
|
|
|
|
<div className={" font-16 color-dark h20 mb20"}>匿评设置 </div>
|
|
|
|
<div className={" font-16 color-dark h20 mb20"}>匿评设置 </div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"mb20"}>
|
|
|
|
<div className={"mb20"}>
|
|
|
|
<Checkbox className="ml30" checked={anonymous_comment} onChange={this.anonymous_comment_change}
|
|
|
|
<Checkbox className="ml30" checked={anonymous_comment} onChange={this.anonymous_comment_change}
|
|
|
|
disabled={noAuth || moment(init_evaluation_start) < moment()}
|
|
|
|
disabled={noAuth || moment(init_evaluation_start) < moment()}
|
|
|
@ -1233,11 +1233,11 @@ class CommonWorkSetting extends Component{
|
|
|
|
value={!evaluation_start ?"":moment(evaluation_start, dateFormat)}
|
|
|
|
value={!evaluation_start ?"":moment(evaluation_start, dateFormat)}
|
|
|
|
onChange={this.onChangeEvaluationStart}
|
|
|
|
onChange={this.onChangeEvaluationStart}
|
|
|
|
disabled={ (anonymous_comment && !noAuth ? false : true) || moment(init_evaluation_start) < moment() }
|
|
|
|
disabled={ (anonymous_comment && !noAuth ? false : true) || moment(init_evaluation_start) < moment() }
|
|
|
|
// disabledDate={ (evaluation_start) =>
|
|
|
|
// disabledDate={ (evaluation_start) =>
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// const end_time = this.state.end_time
|
|
|
|
// const end_time = this.state.end_time
|
|
|
|
// if (!end_time || !evaluation_start) { return false; }
|
|
|
|
// if (!end_time || !evaluation_start) { return false; }
|
|
|
|
// return evaluation_start.valueOf() < moment(end_time, dateFormat).valueOf(); }
|
|
|
|
// return evaluation_start.valueOf() < moment(end_time, dateFormat).valueOf(); }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -1268,11 +1268,11 @@ class CommonWorkSetting extends Component{
|
|
|
|
disabled={(anonymous_comment && !noAuth ? false : true) || moment(init_evaluation_end) < moment()}
|
|
|
|
disabled={(anonymous_comment && !noAuth ? false : true) || moment(init_evaluation_end) < moment()}
|
|
|
|
disabledDate={disabledDateFunc}
|
|
|
|
disabledDate={disabledDateFunc}
|
|
|
|
|
|
|
|
|
|
|
|
// disabledDate={ (evaluation_end) =>
|
|
|
|
// disabledDate={ (evaluation_end) =>
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// const evaluation_start = this.state.evaluation_start
|
|
|
|
// const evaluation_start = this.state.evaluation_start
|
|
|
|
// if (!evaluation_start || !evaluation_end) { return false; }
|
|
|
|
// if (!evaluation_start || !evaluation_end) { return false; }
|
|
|
|
// return evaluation_end.valueOf() < moment(evaluation_start, dateFormat).valueOf(); }
|
|
|
|
// return evaluation_end.valueOf() < moment(evaluation_start, dateFormat).valueOf(); }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
@ -1314,8 +1314,8 @@ class CommonWorkSetting extends Component{
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{this.state.absence_penalty_tip && <div className={" absence_penalty_tip color-red ml60"} style={{marginTop: '-6px'}}>{this.state.absence_penalty_tip}</div>}
|
|
|
|
{this.state.absence_penalty_tip && <div className={" absence_penalty_tip color-red ml60"} style={{marginTop: '-6px'}}>{this.state.absence_penalty_tip}</div>}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ anonymous_comment &&
|
|
|
|
{ anonymous_comment &&
|
|
|
|
<React.Fragment>
|
|
|
|
<React.Fragment>
|
|
|
|
<div className={"mb20"}>
|
|
|
|
<div className={"mb20"}>
|
|
|
|
<Checkbox className="ml30" checked={anonymous_appeal} onChange={this.anonymous_appeal_change}
|
|
|
|
<Checkbox className="ml30" checked={anonymous_appeal} onChange={this.anonymous_appeal_change}
|
|
|
@ -1328,9 +1328,9 @@ class CommonWorkSetting extends Component{
|
|
|
|
`}</style>
|
|
|
|
`}</style>
|
|
|
|
<PopInstruction width={458} id={1}>
|
|
|
|
<PopInstruction width={458} id={1}>
|
|
|
|
<p className="font-14 edu-txt-left pop-instruction">
|
|
|
|
<p className="font-14 edu-txt-left pop-instruction">
|
|
|
|
|
|
|
|
|
|
|
|
允许学生对自己作品的匿评评分进行申诉,由教师和助教处理申诉<br/>
|
|
|
|
允许学生对自己作品的匿评评分进行申诉,由教师和助教处理申诉<br/>
|
|
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
1、接受学生的合理申诉:<br/>
|
|
|
|
1、接受学生的合理申诉:<br/>
|
|
|
|
<p className="p">被申诉的评分记录无效,不参与最终成绩的计算</p>
|
|
|
|
<p className="p">被申诉的评分记录无效,不参与最终成绩的计算</p>
|
|
|
@ -1340,12 +1340,12 @@ class CommonWorkSetting extends Component{
|
|
|
|
2、拒绝学生的不合理申诉:<br/>
|
|
|
|
2、拒绝学生的不合理申诉:<br/>
|
|
|
|
<p className="p">被申诉的评分记录有效,不允许学生对该评分记录进行二次申诉</p>
|
|
|
|
<p className="p">被申诉的评分记录有效,不允许学生对该评分记录进行二次申诉</p>
|
|
|
|
<p className="p">被申诉的评阅人的作品成绩,不会扣除违规匿评分</p>
|
|
|
|
<p className="p">被申诉的评阅人的作品成绩,不会扣除违规匿评分</p>
|
|
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</PopInstruction>
|
|
|
|
</PopInstruction>
|
|
|
|
{/* <span className={"font-14 color-grey-9"}>(提交作品少于2个时,匿评开启将失败;请在作品数量达标后,重新进行匿评设置)</span> */}
|
|
|
|
{/* <span className={"font-14 color-grey-9"}>(提交作品少于2个时,匿评开启将失败;请在作品数量达标后,重新进行匿评设置)</span> */}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/* 启用匿评申述 结束时间: */}
|
|
|
|
{/* 启用匿评申述 结束时间: */}
|
|
|
|
<div className={"h20 mb30 ml60"}>
|
|
|
|
<div className={"h20 mb30 ml60"}>
|
|
|
|
<span>结束时间:</span>
|
|
|
|
<span>结束时间:</span>
|
|
|
|
{/* <Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
|
{/* <Tooltip placement="bottom" title={this.props.isSuperAdmin()?"":starttimetype===true?"发布时间已过,则不能修改":""}>
|
|
|
@ -1369,7 +1369,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</ConditionToolTip>
|
|
|
|
</ConditionToolTip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span className={"font-14 color-grey-9 ml10"}>(学生提交匿评申诉的时间截点)</span>
|
|
|
|
<span className={"font-14 color-grey-9 ml10"}>(学生提交匿评申诉的时间截点)</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -1398,13 +1398,13 @@ class CommonWorkSetting extends Component{
|
|
|
|
<div className={"mb20 ml30"}>
|
|
|
|
<div className={"mb20 ml30"}>
|
|
|
|
<span className={"font-16 "}>助教评分</span>
|
|
|
|
<span className={"font-16 "}>助教评分</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"mb30 ml60"}>
|
|
|
|
<div className={"mb30 ml60"}>
|
|
|
|
<Tooltip placement="bottom" title={starttimetype===true?this.props.isAdmin()?"发布时间已过,则不能修改":"":""}>
|
|
|
|
<Tooltip placement="bottom" title={starttimetype===true?this.props.isAdmin()?"发布时间已过,则不能修改":"":""}>
|
|
|
|
<RadioGroup onChange={this.ta_mode_change} value={ta_mode}>
|
|
|
|
<RadioGroup onChange={this.ta_mode_change} value={ta_mode}>
|
|
|
|
<Radio style={radioStyle} value={1} disabled={noAuth}>
|
|
|
|
<Radio style={radioStyle} value={1} disabled={noAuth}>
|
|
|
|
普通模式<span className={"font-14 color-grey-9 ml10"}>(选中,则取各助教最终评分的平均分)</span>
|
|
|
|
普通模式<span className={"font-14 color-grey-9 ml10"}>(选中,则取各助教最终评分的平均分)</span>
|
|
|
|
</Radio>
|
|
|
|
</Radio>
|
|
|
|
<Radio style={radioStyle} value={0} disabled={noAuth}>
|
|
|
|
<Radio style={radioStyle} value={0} disabled={noAuth}>
|
|
|
|
复审模式<span className={"font-14 color-grey-9 ml10"}>(选中,则只取最新的助教评分)</span>
|
|
|
|
复审模式<span className={"font-14 color-grey-9 ml10"}>(选中,则只取最新的助教评分)</span>
|
|
|
|
</Radio>
|
|
|
|
</Radio>
|
|
|
@ -1423,7 +1423,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
<PopInstruction width={512} id={2}>
|
|
|
|
<PopInstruction width={512} id={2}>
|
|
|
|
<p className="font-14 edu-txt-left pop-instruction">
|
|
|
|
<p className="font-14 edu-txt-left pop-instruction">
|
|
|
|
计算说明:<br/>
|
|
|
|
计算说明:<br/>
|
|
|
|
|
|
|
|
|
|
|
|
教师评分 * 其百分比 + 助教评分 * 其百分比 + 学生匿评平均分 * 其百分比 - ( <br/>
|
|
|
|
教师评分 * 其百分比 + 助教评分 * 其百分比 + 学生匿评平均分 * 其百分比 - ( <br/>
|
|
|
|
迟交扣分 + 缺评扣分 * 缺评数 + 违规匿评扣分 * 违规匿评数 )<br/><br/>
|
|
|
|
迟交扣分 + 缺评扣分 * 缺评数 + 违规匿评扣分 * 违规匿评数 )<br/><br/>
|
|
|
|
注意<br/>
|
|
|
|
注意<br/>
|
|
|
@ -1431,30 +1431,30 @@ class CommonWorkSetting extends Component{
|
|
|
|
评分选项上。<br/>
|
|
|
|
评分选项上。<br/>
|
|
|
|
例:教师评分40% + 助教评分35% + 学生匿评25%,学生A没有教师评分记<br/>
|
|
|
|
例:教师评分40% + 助教评分35% + 学生匿评25%,学生A没有教师评分记<br/>
|
|
|
|
录,则其最终成绩按照助教评分55% + 学生匿评45%进行计算
|
|
|
|
录,则其最终成绩按照助教评分55% + 学生匿评45%进行计算
|
|
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</PopInstruction>
|
|
|
|
</PopInstruction>
|
|
|
|
</Radio>
|
|
|
|
</Radio>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"h21 mb10 ml30 mt20"}>
|
|
|
|
<div className={"h21 mb10 ml30 mt20"}>
|
|
|
|
<span>教师评分:</span>
|
|
|
|
<span>教师评分:</span>
|
|
|
|
<Input type="number" className="mr10" min={0} max={100} style={{width:"100px" }}
|
|
|
|
<Input type="number" className="mr10" min={0} max={100} style={{width:"100px" }}
|
|
|
|
value={te_proportion} onInput={this.te_proportion_change} disabled={final_mode || noAuth}
|
|
|
|
value={te_proportion} onInput={this.te_proportion_change} disabled={final_mode || noAuth}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
%
|
|
|
|
%
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className={"h21 mb10 ml30"}>
|
|
|
|
<div className={"h21 mb10 ml30"}>
|
|
|
|
<span>助教评分:</span>
|
|
|
|
<span>助教评分:</span>
|
|
|
|
<Input type="number" className="mr10" min={0} max={100} style={{width:"100px" }}
|
|
|
|
<Input type="number" className="mr10" min={0} max={100} style={{width:"100px" }}
|
|
|
|
value={ta_proportion} onInput={this.ta_proportion_change} disabled={final_mode || noAuth}
|
|
|
|
value={ta_proportion} onInput={this.ta_proportion_change} disabled={final_mode || noAuth}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
%
|
|
|
|
%
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className={"h21 mb10 ml30 mb20"}>
|
|
|
|
<div className={"h21 mb10 ml30 mb20"}>
|
|
|
|
<span>学生匿评:</span>
|
|
|
|
<span>学生匿评:</span>
|
|
|
|
<ConditionToolTip title="未开启匿评,不能修改" condition={!anonymous_comment}>
|
|
|
|
<ConditionToolTip title="未开启匿评,不能修改" condition={!anonymous_comment}>
|
|
|
|
<Input type="number" className="mr10" min={0} max={100} style={{width:"100px" }} value={st_proportion}
|
|
|
|
<Input type="number" className="mr10" min={0} max={100} style={{width:"100px" }} value={st_proportion}
|
|
|
|
onInput={this.st_proportion_change} disabled={final_mode || !anonymous_comment || noAuth}/>
|
|
|
|
onInput={this.st_proportion_change} disabled={final_mode || !anonymous_comment || noAuth}/>
|
|
|
|
</ConditionToolTip>
|
|
|
|
</ConditionToolTip>
|
|
|
|
%
|
|
|
|
%
|
|
|
@ -1465,7 +1465,7 @@ class CommonWorkSetting extends Component{
|
|
|
|
<PopInstruction width={500} id={3}>
|
|
|
|
<PopInstruction width={500} id={3}>
|
|
|
|
<p className="font-14 edu-txt-left pop-instruction">
|
|
|
|
<p className="font-14 edu-txt-left pop-instruction">
|
|
|
|
计算说明:<br/>
|
|
|
|
计算说明:<br/>
|
|
|
|
|
|
|
|
|
|
|
|
优先顺序排前的非零评分 * 100% - <br/>
|
|
|
|
优先顺序排前的非零评分 * 100% - <br/>
|
|
|
|
( 迟交扣分 + 缺评扣分 * 缺评数 + 违规匿评扣分 * 违规匿评数 )<br/>
|
|
|
|
( 迟交扣分 + 缺评扣分 * 缺评数 + 违规匿评扣分 * 违规匿评数 )<br/>
|
|
|
|
例:有教师评分则教师评分100%,否则教辅评分100%,依次类推
|
|
|
|
例:有教师评分则教师评分100%,否则教辅评分100%,依次类推
|
|
|
@ -1477,11 +1477,11 @@ class CommonWorkSetting extends Component{
|
|
|
|
非零百分比的评分选项,在没有评分记录的情况下,其百分比平摊到另外的评<br/>
|
|
|
|
非零百分比的评分选项,在没有评分记录的情况下,其百分比平摊到另外的评<br/>
|
|
|
|
分选项上。例如:教师评分40% + 助教评分35% + 学生匿评25%,学生A没<br/>
|
|
|
|
分选项上。例如:教师评分40% + 助教评分35% + 学生匿评25%,学生A没<br/>
|
|
|
|
有得到教师评分,则最终成绩将按照助教评分55% + 学生匿评45%进行计算 */}
|
|
|
|
有得到教师评分,则最终成绩将按照助教评分55% + 学生匿评45%进行计算 */}
|
|
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</PopInstruction>
|
|
|
|
</PopInstruction>
|
|
|
|
</Radio>
|
|
|
|
</Radio>
|
|
|
|
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
</RadioGroup>
|
|
|
|
<div className={"font-16"} style={{ marginLeft: '25px' }}>
|
|
|
|
<div className={"font-16"} style={{ marginLeft: '25px' }}>
|
|
|
|
<span>教师评分 → 教辅评分 → 学生匿评评分</span>
|
|
|
|
<span>教师评分 → 教辅评分 → 学生匿评评分</span>
|
|
|
@ -1526,10 +1526,10 @@ class CommonWorkSetting extends Component{
|
|
|
|
>取消</a>
|
|
|
|
>取消</a>
|
|
|
|
</div>:""}
|
|
|
|
</div>:""}
|
|
|
|
</React.Fragment>
|
|
|
|
</React.Fragment>
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const CommonWorkSettingForm = Form.create({ name: 'commonworkSettingForm' })(CommonWorkSetting);
|
|
|
|
const CommonWorkSettingForm = Form.create({ name: 'commonworkSettingForm' })(CommonWorkSetting);
|
|
|
|
export default CommonWorkSettingForm;
|
|
|
|
export default CommonWorkSettingForm;
|
|
|
|