|
|
@ -65,7 +65,8 @@ export default class Shixuninformation extends Component {
|
|
|
|
oldscope_partment: [],
|
|
|
|
oldscope_partment: [],
|
|
|
|
scope_partment: [],
|
|
|
|
scope_partment: [],
|
|
|
|
loading: false,
|
|
|
|
loading: false,
|
|
|
|
opening_timetype:false
|
|
|
|
opening_timetype:false,
|
|
|
|
|
|
|
|
use_scope_type:false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -80,6 +81,7 @@ export default class Shixuninformation extends Component {
|
|
|
|
timetype=true;
|
|
|
|
timetype=true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
use_scope_type:this.props&&this.props.status>1&&this.state.use_scope===0&&this.props&&this.props.identity>2||this.props&&this.props.public===2&&this.state.use_scope===0&&this.props&&this.props.identity>2?true:false,
|
|
|
|
can_copy: this.props.data && this.props.data.shixun.can_copy === undefined ? false : this.props.data && this.props.data.shixun.can_copy,
|
|
|
|
can_copy: this.props.data && this.props.data.shixun.can_copy === undefined ? false : this.props.data && this.props.data.shixun.can_copy,
|
|
|
|
use_scope: this.props.data && this.props.data.shixun.use_scope,
|
|
|
|
use_scope: this.props.data && this.props.data.shixun.use_scope,
|
|
|
|
opening_time: this.props.data && this.props.data.shixun.opening_time,
|
|
|
|
opening_time: this.props.data && this.props.data.shixun.opening_time,
|
|
|
@ -115,6 +117,7 @@ export default class Shixuninformation extends Component {
|
|
|
|
timetype=true;
|
|
|
|
timetype=true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
use_scope_type:this.props&&this.props.status>1&&this.state.use_scope===0&&this.props&&this.props.identity>2||this.props&&this.props.public===2&&this.state.use_scope===0&&this.props&&this.props.identity>2?true:false,
|
|
|
|
can_copy: this.props.data && this.props.data.shixun.can_copy === undefined ? false : this.props.data && this.props.data.shixun.can_copy,
|
|
|
|
can_copy: this.props.data && this.props.data.shixun.can_copy === undefined ? false : this.props.data && this.props.data.shixun.can_copy,
|
|
|
|
use_scope: this.props.data && this.props.data.shixun.use_scope,
|
|
|
|
use_scope: this.props.data && this.props.data.shixun.use_scope,
|
|
|
|
opening_time: this.props.data && this.props.data.shixun.opening_time,
|
|
|
|
opening_time: this.props.data && this.props.data.shixun.opening_time,
|
|
|
@ -194,7 +197,7 @@ export default class Shixuninformation extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
SelectOpenpublic = (e) => {
|
|
|
|
SelectOpenpublic = (e) => {
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
use_scope: e.target.value
|
|
|
|
use_scope: e.target.value,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -311,7 +314,7 @@ export default class Shixuninformation extends Component {
|
|
|
|
</div>}
|
|
|
|
</div>}
|
|
|
|
|
|
|
|
|
|
|
|
<div className="edu-back-white mb10 ml30 mt20">
|
|
|
|
<div className="edu-back-white mb10 ml30 mt20">
|
|
|
|
{this.props&&this.props.status>1&&this.state.use_scope===0&&this.props&&this.props.identity>2||this.props&&this.props.public===2&&this.state.use_scope===0&&this.props&&this.props.identity>2?"":<div>
|
|
|
|
{this.props&&this.props.status>1&&this.state.use_scope===0&&this.props&&this.props.identity>2&&this.state.use_scope_type===true||this.props&&this.props.public===2&&this.state.use_scope===0&&this.props&&this.props.identity>2&&this.state.use_scope_type===true?"":<div>
|
|
|
|
<span className="color-grey-6 mt5 fl font-16" style={{minWidth: '45px'}}>公开程度:</span>
|
|
|
|
<span className="color-grey-6 mt5 fl font-16" style={{minWidth: '45px'}}>公开程度:</span>
|
|
|
|
<span className="fl mt8 ml20">
|
|
|
|
<span className="fl mt8 ml20">
|
|
|
|
<RadioGroup onChange={this.SelectOpenpublic} value={this.state.use_scope}>
|
|
|
|
<RadioGroup onChange={this.SelectOpenpublic} value={this.state.use_scope}>
|
|
|
|