|
|
|
@ -40,7 +40,7 @@ class DetailCardsEditAndAdd extends Component{
|
|
|
|
|
page:1,
|
|
|
|
|
ChooseShixunList:undefined,
|
|
|
|
|
hometypepvisible:true,
|
|
|
|
|
shixuns_listedit:undefined,
|
|
|
|
|
shixuns_listedit:[],
|
|
|
|
|
shixuns_listeditlist:[],
|
|
|
|
|
patheditarry:[],
|
|
|
|
|
stage_descriptions:undefined,
|
|
|
|
@ -75,8 +75,9 @@ class DetailCardsEditAndAdd extends Component{
|
|
|
|
|
}
|
|
|
|
|
clickShixunchoose=()=>{
|
|
|
|
|
|
|
|
|
|
let{patheditarry,shixuns_listeditlist}=this.state
|
|
|
|
|
let newshixuns_listedit=[];
|
|
|
|
|
let{patheditarry,shixuns_listeditlist,shixuns_listedit}=this.state
|
|
|
|
|
|
|
|
|
|
let newshixuns_listedit=shixuns_listedit;
|
|
|
|
|
let list=shixuns_listeditlist
|
|
|
|
|
|
|
|
|
|
if(patheditarry.length===0){
|
|
|
|
@ -129,7 +130,7 @@ class DetailCardsEditAndAdd extends Component{
|
|
|
|
|
stage_names:undefined,
|
|
|
|
|
stage_descriptions:undefined,
|
|
|
|
|
shixuns_listeditlist:[],
|
|
|
|
|
shixuns_listedit:undefined
|
|
|
|
|
shixuns_listedit:[]
|
|
|
|
|
})
|
|
|
|
|
this.props.getPathCardsLists();
|
|
|
|
|
}
|
|
|
|
@ -241,6 +242,7 @@ class DetailCardsEditAndAdd extends Component{
|
|
|
|
|
|
|
|
|
|
//保存
|
|
|
|
|
clickShixunsaves=()=>{
|
|
|
|
|
debugger
|
|
|
|
|
let{stage_names,stage_descriptions,shixuns_listeditlist}=this.state;
|
|
|
|
|
let newstage_descriptions=stage_descriptions;
|
|
|
|
|
|
|
|
|
@ -572,7 +574,7 @@ class DetailCardsEditAndAdd extends Component{
|
|
|
|
|
|
|
|
|
|
<span className="subject_stage_shixun_index">
|
|
|
|
|
|
|
|
|
|
<span className="subject_stage_shixun_index">{this.props.sum+1}</span>-{key+1} {item.shixun_name}
|
|
|
|
|
<span className="subject_stage_shixun_index">{this.props.sum}</span>-{key+1} {item.shixun_name}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|