Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_cs_new
hjm 6 years ago
commit b195074461

@ -496,7 +496,7 @@ class CoursesBanner extends Component {
} }
`} `}
</style> </style>
<Breadcrumb separator="|"> <Breadcrumb separator="|" className={"mt5"}>
<Breadcrumb.Item href={"/courses/"+this.props.match.params.coursesId+"/teachers"}> <Breadcrumb.Item href={"/courses/"+this.props.match.params.coursesId+"/teachers"}>
<span className="color-grey-c font-16">教师 {coursedata.teacher_count}</span> <span className="color-grey-c font-16">教师 {coursedata.teacher_count}</span>
</Breadcrumb.Item> </Breadcrumb.Item>

@ -30,7 +30,7 @@ let currentValue;
const Option = Select.Option; const Option = Select.Option;
const RadioGroup = Radio.Group; const RadioGroup = Radio.Group;
const confirm = Modal.confirm;
// 处理整点 半点 // 处理整点 半点
// 取传入时间往后的第一个半点 // 取传入时间往后的第一个半点
export function handleDateStrings(dateString) { export function handleDateStrings(dateString) {
@ -1462,14 +1462,13 @@ export default class TPMsettings extends Component {
} }
) )
} }
if(thiss.state.file !== undefined){ if(this.state.file !== undefined){
console.log("763") console.log("763")
// thiss.deleteAttachment(thiss.state.file); this.setState({
thiss.setState({
file:file file:file
}) })
}else { }else {
thiss.setState({ this.setState({
file:file file:file
}) })
} }

@ -837,7 +837,6 @@ class Newshixuns extends Component {
} }
render() { render() {
const { getFieldDecorator } = this.props.form; const { getFieldDecorator } = this.props.form;
const thiss=this;
let {testcoderunmode ,systemenvironment,languagewrite,deleteisnot, fileList,TimePickervalue, scope_partmenttype, opensmail, newshixunlist, name, scope_partment, departmentslist, postapplyvisible, sendsure_applyvalue, postapplytitle, shixun_nametype, main_types, trainee_types, SelectTheCommandtype, opers, datalisttype, onSearchvalue} = this.state; let {testcoderunmode ,systemenvironment,languagewrite,deleteisnot, fileList,TimePickervalue, scope_partmenttype, opensmail, newshixunlist, name, scope_partment, departmentslist, postapplyvisible, sendsure_applyvalue, postapplytitle, shixun_nametype, main_types, trainee_types, SelectTheCommandtype, opers, datalisttype, onSearchvalue} = this.state;
let options let options
if (departmentslist != undefined) { if (departmentslist != undefined) {
@ -871,14 +870,13 @@ class Newshixuns extends Component {
} }
) )
} }
if(thiss.state.file !== undefined){ if(this.state.file !== undefined){
console.log("763") console.log("763")
// thiss.deleteAttachment(thiss.state.file); this.setState({
thiss.setState({
file:file file:file
}) })
}else { }else {
thiss.setState({ this.setState({
file:file file:file
}) })
} }

Loading…
Cancel
Save