|
|
|
@ -64,6 +64,7 @@ class Shixuninformation extends Component {
|
|
|
|
|
choice_main_type:this.props.data.shixun.choice_main_type,
|
|
|
|
|
choice_small_type:this.props.data.shixun.choice_small_type,
|
|
|
|
|
choice_standard_scripts:this.props.data.shixun.choice_standard_scripts,
|
|
|
|
|
shixunmemoMDvalue:this.props.data.shixun.evaluate_script,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
this.props.form.setFieldsValue({
|
|
|
|
@ -316,7 +317,10 @@ class Shixuninformation extends Component {
|
|
|
|
|
let operateauthority=this.props.identity===1?true:this.props.identity<5&&this.props.data.shixun.status==0?true:false;
|
|
|
|
|
console.log(operateauthority)
|
|
|
|
|
const {getFieldDecorator} = this.props.form;
|
|
|
|
|
const {newshixunlist, languagewrite, systemenvironment, testcoderunmode, fileList, choice_standard_scripts, postapplyvisible, shixunmemoMDvalue} = this.state;
|
|
|
|
|
const {languagewrite, systemenvironment, testcoderunmode, fileList, choice_standard_scripts, postapplyvisible, shixunmemoMDvalue} = this.state;
|
|
|
|
|
|
|
|
|
|
console.log("1222")
|
|
|
|
|
console.log(choice_standard_scripts)
|
|
|
|
|
const {shixun_service_configs}=this.props;
|
|
|
|
|
const uploadProps = {
|
|
|
|
|
width: 600,
|
|
|
|
@ -478,6 +482,7 @@ class Shixuninformation extends Component {
|
|
|
|
|
})(
|
|
|
|
|
<div className=" fl pr mr20">
|
|
|
|
|
<Select placeholder="请选择小类别"
|
|
|
|
|
mode="multiple"
|
|
|
|
|
onChange={this.selectright}
|
|
|
|
|
value={this.state.choice_small_type.length===0||this.state.choice_small_type[0]===""||this.state.choice_small_type===[]?undefined:this.state.choice_small_type}
|
|
|
|
|
style={{width: 180,height:30}}
|
|
|
|
|