Merge branches 'dev_aliyun' and 'master' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_forum
杨树明 6 years ago
commit d23695bfa8

@ -135,8 +135,8 @@ class shixunAnswer extends Component{
let url=`/exercise_questions/${this.props.questionType.question_id}/adjust_score.json` let url=`/exercise_questions/${this.props.questionType.question_id}/adjust_score.json`
const list = Object.assign({}, this.state.dataCopy[key]) const list = Object.assign({}, this.state.dataCopy[key])
console.log("111111111111111111111111"); // console.log("111111111111111111111111");
console.log(this.props); // console.log(this.props);
// 调分值为0且和第一次的数据相同则不修改 // 调分值为0且和第一次的数据相同则不修改
if(parseInt(e.target.value)==parseInt(list.my_score)){ if(parseInt(e.target.value)==parseInt(list.my_score)){
return; return;

@ -133,7 +133,7 @@ class GraduateTopicNew extends Component{
e.preventDefault(); e.preventDefault();
const cid = this.props.match.params.coursesId const cid = this.props.match.params.coursesId
const topicId = this.props.match.params.topicId const topicId = this.props.match.params.topicId
console.log(this.props); // console.log(this.props);
this.props.form.validateFieldsAndScroll((err, values) => { this.props.form.validateFieldsAndScroll((err, values) => {
if (!err) { if (!err) {
@ -279,7 +279,7 @@ class GraduateTopicNew extends Component{
const { current_user } = this.props const { current_user } = this.props
const { getFieldDecorator } = this.props.form; const { getFieldDecorator } = this.props.form;
let{ topicId,coursesId }=this.props.match.params let{ topicId,coursesId }=this.props.match.params
console.log(this.props); // console.log(this.props);
const formItemLayout = { const formItemLayout = {
labelCol: { labelCol: {
@ -312,8 +312,8 @@ class GraduateTopicNew extends Component{
return isLt150M; return isLt150M;
}, },
}; };
console.log("dfsf"); // console.log("dfsf");
console.log(this.props); // console.log(this.props);
return( return(
<div className="newMain "> <div className="newMain ">
<style>{` <style>{`

@ -459,6 +459,11 @@ class CoursesNew extends Component {
width: 280px; width: 280px;
margin-left: 10px; margin-left: 10px;
} }
.construction .ant-select-selection__placeholder, .ant-select-search__field__placeholder {
line-height: 28px;
z-index: 2000;
}
`} `}
</style> </style>

@ -464,7 +464,7 @@ class Poll extends Component{
modalsBottomval, modalsBottomval,
loadtype loadtype
}=this.state; }=this.state;
console.log(this.props); // console.log(this.props);
let {child}=this.props; let {child}=this.props;
let {coursesId,Id}=this.props.match.params let {coursesId,Id}=this.props.match.params
const isAdmin = this.props.isAdmin() const isAdmin = this.props.isAdmin()

@ -34,7 +34,7 @@ class PollDetailIndex extends Component{
} }
getPollInfo=()=>{ getPollInfo=()=>{
console.log(this.props); // console.log(this.props);
let pollId=this.props.match.params.pollId; let pollId=this.props.match.params.pollId;
let url=`/polls/${pollId}/common_header.json` let url=`/polls/${pollId}/common_header.json`
axios.get(url).then((result)=>{ axios.get(url).then((result)=>{

File diff suppressed because it is too large Load Diff

@ -42,7 +42,7 @@ class TPMNav extends Component {
className={`${match.url.indexOf('ranking_list') != -1 ? 'active' : ''} fl`}>排行榜</Link> className={`${match.url.indexOf('ranking_list') != -1 ? 'active' : ''} fl`}>排行榜</Link>
{/* target="_blank"*/} {/* target="_blank"*/}
<a <a
href={`/shixuns/${shixunId}/settings`} className="fr" href={`/shixuns/${shixunId}/settings`} className="edu-default-btn edu-blueline-btn ml20 fr"
style={{display: this.props.identity >4||this.props.identity===undefined ? "none" : 'block'}} style={{display: this.props.identity >4||this.props.identity===undefined ? "none" : 'block'}}
>配置</a> >配置</a>
</div> </div>

@ -14,7 +14,7 @@ class AccountNav extends Component {
} }
render() { render() {
let { basicInfo } = this.props let { basicInfo } = this.props
console.log(this.props); // console.log(this.props);
const path = window.location.pathname const path = window.location.pathname
const isBasic = path.indexOf('profile') != -1 || path == "/account" const isBasic = path.indexOf('profile') != -1 || path == "/account"
const isCertification = path.indexOf('certification') != -1 const isCertification = path.indexOf('certification') != -1

Loading…
Cancel
Save