@ -55,7 +55,8 @@ class ecCourseEvaluations extends Component {
isreload : false ,
newModallist : false ,
isreloads : false ,
isSpin : false
isSpin : false ,
listSpin : false
}
}
componentWillMount ( ) {
@ -91,7 +92,8 @@ class ecCourseEvaluations extends Component {
let newec _course _id = this . props . match . params . ec _course _id ;
this . setState ( {
ec _course _id : newec _course _id
ec _course _id : newec _course _id ,
listSpin : true
} )
const url = ` /ec_course_evaluations?ec_course_id= ` + newec _course _id ;
axios . get ( url , {
@ -111,7 +113,8 @@ class ecCourseEvaluations extends Component {
course _url : response . data . course _url ,
ec _course _id : response . data . ec _course _id ,
ec _year _id : response . data . ec _year _id ,
ecmanager : response . data . is _manager
ecmanager : response . data . is _manager ,
listSpin : false
} )
}
} ) . catch ( function ( error ) {
@ -565,6 +568,7 @@ class ecCourseEvaluations extends Component {
}
sync _course _data = ( ) => {
this . setState ( { listSpin : true } )
let ec _course _id = this . props . match . params . ec _course _id ;
let Url = '/ec_course_achievement_methods/sync_course_data' ;
axios . post ( Url , {
@ -578,14 +582,16 @@ class ecCourseEvaluations extends Component {
this . setState ( {
// titlemessage: response.data.message+"(支撑关系变更)",
Modallist : response . data . message ,
Modallisttype : true
Modallisttype : true ,
listSpin : false
} )
this . UpdateEvaluations ( ) ;
} else if ( response . data . status === - 1 ) {
this . setState ( {
// titlemessage: response.data.message+"(支撑关系变更)",
Modallist : response . data . message ,
Modallisttype : true
Modallisttype : true ,
listSpin : false
} )
}
@ -596,6 +602,7 @@ class ecCourseEvaluations extends Component {
}
uploadfile = ( file ) => {
this . setState ( { listSpin : true } )
let Url = ` /ec_course_evaluations/ ` + file . data + ` /import_score ` ;
const form = new FormData ( ) ;
form . append ( 'file' , file . file ) ;
@ -608,7 +615,8 @@ class ecCourseEvaluations extends Component {
Modallist : '已成功导入' + response . data . count + "条数据" ,
Modallisttype : true ,
isreload : true ,
isreloads : true
isreloads : true ,
listSpin : false
} )
} else if ( response . data . status === 0 ) {
// message.warning(response.data.message);
@ -617,7 +625,8 @@ class ecCourseEvaluations extends Component {
Modallist : response . data . message ,
Modallisttype : true ,
isreload : false ,
isreloads : false
isreloads : false ,
listSpin : false
} )
}
} ) . catch ( ( error ) => {
@ -657,6 +666,7 @@ class ecCourseEvaluations extends Component {
saveassclasslist = ( ) => {
// 列表清空
//搜索框清空
this . setState ( { isSpin : true } ) ;
let { checkevalue } = this . state ;
let ec _course _id = this . props . match . params . ec _course _id ;
@ -673,7 +683,8 @@ class ecCourseEvaluations extends Component {
this . setState ( {
Modallist : "关联失败" ,
Modallisttype : true ,
isreload : false
isreload : false ,
isSpin : false
} )
} else if ( response . data . status === 0 ) [
this . setState ( {
@ -683,7 +694,8 @@ class ecCourseEvaluations extends Component {
assclassvalue : "" ,
Modallist : "关联成功" ,
Modallisttype : true ,
isreload : true
isreload : true ,
isSpin : false
} )
]
@ -767,6 +779,7 @@ class ecCourseEvaluations extends Component {
return (
< div className = "newMain clearfix" >
< Spin delay = { 500 } indicator = { < Icon type = "loading" style = { { fontSize : 30 } } > < / I c o n > } s p i n n i n g = { t h i s . s t a t e . i s S p i n } >
< Modal
title = { titlemessage }
// visible={modeldelet===true&&listid===list.id?true:false}
@ -881,7 +894,7 @@ class ecCourseEvaluations extends Component {
< a className = "white-btn edu-blueline-btn fr mr10 mt7 mr20"
onClick = { this . associatedclass }
style = { { display : course _url === "" && ecmanager === true ? "block" : "none" } }
> 关联课堂 11s < / a >
> 关联课堂 < / a >
< a className = "white-btn edu-blueline-btn fr mr10 mt7 mr20"
onClick = { this . deleteassociatedclass }
style = { { display : course _url != "" && ecmanager === true ? "block" : "none" } }
@ -931,308 +944,305 @@ class ecCourseEvaluations extends Component {
< / d i v >
< / d i v >
< Spin spinning = { this . state . isSpin } >
< div className = "ListTableLine newSystem" id = "school_major_list" >
< p className = "clearfix Coursetitle" style = { { width : "1200px" } } >
< span className = "column-1 color-666" style = { { width : "70px" } } > 项 < / s p a n >
< span className = "column-1 color-666" style = { { width : "72px" } } > 名称 < / s p a n >
< span className = "column-1 ml15 color-666" style = { { width : "90px" } } > 考核次数 < / s p a n >
< span className = "column-1 ml15 color-666" style = { { width : "90px" } } > 支撑关系 < / s p a n >
< span className = "column-1 ml30 color-666" style = { { width : "90px" } } > 考核分项名称 < / s p a n >
< span className = "column-1 operationright color-666"
style = { { width : '34px' } }
>
{ /* 操作 */ }
{ ecmanager === false ? "" :
< a className = "mr20 newAddSubentry" data - tip - down = "添加" >
< i className = "iconfont icon-tianjiafangda color-green"
// style={{display:savetype==='add'||savetype==='edit'?'none':'inline-block'}}
onClick = { this . AddCourseEvaluations } > < / i >
< / a > }
< / s p a n >
< span className = "column-2 operationright color-666" style = { { width : "126px" } } >
成绩导入状态
< / s p a n >
< span className = "column-1 operationright color-666" style = { { textAlign : 'center' , width : "119px" } } >
成绩来源
< / s p a n >
< span className = "column-2 operationright color-666" style = { { width : "127px" } } >
平均成绩导入模板
< / s p a n >
< span className = "column-2 operationright color-666" style = { { width : "152px" } } >
明细成绩导入模板
< / s p a n >
< / p >
< div style = { { minHeight : '560px' } } >
{
ec _course _evaluation _lists === undefined ? < Spin delay = { 500 } className = "Spinlarge" indicator = { < Icon type = "loading" style = { { fontSize : 30 } } spin / > } / > : ec _course _evaluation _lists . map ( ( list , m ) => {
< div className = "ListTableLine newSystem" id = "school_major_list" >
< p className = "clearfix Coursetitle" style = { { width : "1200px" } } >
< span className = "column-1 color-666" style = { { width : "70px" } } > 项 < / s p a n >
< span className = "column-1 color-666" style = { { width : "72px" } } > 名称 < / s p a n >
< span className = "column-1 ml15 color-666" style = { { width : "90px" } } > 考核次数 < / s p a n >
< span className = "column-1 ml15 color-666" style = { { width : "90px" } } > 支撑关系 < / s p a n >
< span className = "column-1 ml30 color-666" style = { { width : "90px" } } > 考核分项名称 < / s p a n >
< span className = "column-1 operationright color-666"
style = { { width : '34px' } }
>
{ /* 操作 */ }
{ ecmanager === false ? "" :
< a className = "mr20 newAddSubentry" data - tip - down = "添加" >
< i className = "iconfont icon-tianjiafangda color-green"
// style={{display:savetype==='add'||savetype==='edit'?'none':'inline-block'}}
onClick = { this . AddCourseEvaluations } > < / i >
< / a > }
< / s p a n >
< span className = "column-2 operationright color-666" style = { { width : "126px" } } >
成绩导入状态
< / s p a n >
< span className = "column-1 operationright color-666" style = { { textAlign : 'center' , width : "119px" } } >
成绩来源
< / s p a n >
< span className = "column-2 operationright color-666" style = { { width : "127px" } } >
平均成绩导入模板
< / s p a n >
< span className = "column-2 operationright color-666" style = { { width : "152px" } } >
明细成绩导入模板
< / s p a n >
< / p >
< Spin delay = { 500 } className = "Spinlarge" indicator = { < Icon type = "loading" style = { { fontSize : 30 } } / > } spinning = { this . state . listSpin } >
< div style = { { minHeight : '560px' } } >
{
ec _course _evaluation _lists && ec _course _evaluation _lists . map ( ( list , m ) => {
return (
< li className = { m === ec _course _evaluation _lists . length - 1 ? savetype === 'add' ? "bordereaeaeas clearfix" : 'bordereaeaea clearfix' : "clearfix" } key = { m }
style = { { width : "1140px" , position : 'relative' } }
>
< span className = "column-1" style = { { marginLeft : '6px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : "70px" } } > { m + 1 } < / s p a n >
< span className = "column-1" style = { { marginLeft : '-4px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : "72px" } } >
< div > { list . name } < / d i v >
< / s p a n >
< span className = "column-1" style = { { marginLeft : '37px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : "90px" } } >
< div > { list . evluation _count } < / d i v >
< / s p a n >
< span className = "column-1" style = { { marginLeft : '-8px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : "90px" } } >
< div > { list . status === 1 ? "总成绩支撑" : list . status === 2 ? "分项成绩支撑" : list . status } < / d i v >
< / s p a n >
< span className = "column-1 color99"
style = { { marginLeft : '31px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : " 207px" } } >
{
list . subitems . map ( ( listchild , mk ) => {
return (
< Tooltip placement = "bottomLeft" title = {
listchild . name
} >
< div key = { mk } className = 'listchildboxs' > { listchild . name }
< / d i v >
< / T o o l t i p >
)
} )
return (
< li className = { m === ec _course _evaluation _lists . length - 1 ? savetype === 'add' ? "bordereaeaeas clearfix" : 'bordereaeaea clearfix' : "clearfix" } key = { m }
style = { { width : "1140px" , position : 'relative' } }
>
< span className = "column-1" style = { { marginLeft : '6px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : "70px" } } > { m + 1 } < / s p a n >
< span className = "column-1" style = { { marginLeft : '-4px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : "72px" } } >
< div > { list . name } < / d i v >
< / s p a n >
< span className = "column-1" style = { { marginLeft : '37px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : "90px" } } >
< div > { list . evluation _count } < / d i v >
< / s p a n >
< span className = "column-1" style = { { marginLeft : '-8px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : "90px" } } >
< div > { list . status === 1 ? "总成绩支撑" : list . status === 2 ? "分项成绩支撑" : list . status } < / d i v >
< / s p a n >
< span className = "column-1 color99"
style = { { marginLeft : '31px' , display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : " 207px" } } >
{
list . subitems . map ( ( listchild , mk ) => {
return (
< Tooltip placement = "bottomLeft" title = {
listchild . name
} >
< div key = { mk } className = 'listchildboxs' > { listchild . name }
< / d i v >
< / T o o l t i p >
)
} )
}
< / s p a n >
{ /*style={{display:list.is_course_type===false?'inline-block':'none'}}*/ }
{ /* editSubentry 编辑的 */ }
< span className = "column-1 operationright" style = { { display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : '61px' } } >
< div className = "operationColumn" >
< div className = "left operationalter" style = { { display : ecmanager === false ? 'none ' : 'block' } } >
< Tooltip placement = "bottom" title = "删除" >
< a className = "mr10 delSubentry fl" id = { list . id } onClick = { this . modeldeleteCourseEvaluations . bind ( this , list . id ) } style = { { display : list . is _course _type === true ? 'none' : 'block' } } > < i className = "iconfont icon-shanchu color-grey-c font-18" > < / i > < / a >
< / T o o l t i p >
< Modal
title = "提示"
visible = { modeldelet === true && listid === list . id ? true : false }
className = { "ecmodeldelet" }
closable = { false }
footer = { null }
>
< div className = "task-popup-content" >
< div className = "task-popup-text-center font-14" > 您确定要删除吗 ? < / d i v >
< / d i v >
< div className = "task-popup-submit clearfix" >
< a onClick = { this . hidemodeldelete } className = "task-btn fl" > 取消 < / a >
< a className = "task-btn task-btn-orange fr"
onClick = { this . deleteCourseEvaluations . bind ( this , list . id ) }
> 确定 < / a >
< / d i v >
< / M o d a l >
< a className = "mr10 delSubentry fl" data - tip - down = "编辑"
style = { { display : list . is _course _type === true ? 'none' : 'inline-block' } }
>
< i className = "iconfont icon-bianjidaibeijing color-green"
style = { {
diaplay : savetype === 'add' && savetype === 'edit' ? 'none' : 'inline-block'
} }
idkey = { m } onClick = { this . editEvaluations . bind ( this ) } > < / i >
< / a >
< / d i v >
< / d i v >
< / s p a n >
< span className = "column-1 detaillist mr20" style = { { width : '156px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< a href = { ecmanager === false ? "" : list . export _url + '?type=1' } style = { { display : list . is _course _type === false ? "block" : "none" } } >
< div className = { ecmanager === false ? "color-white" : "color-green" } >
< i className = { ecmanager === false ? "color-white" : "iconfont icon-fujian mr5 color-green font-16" } > < / i > 模 板 下 载
< / d i v >
< / a >
< / s p a n >
< span className = "column-1" style = { { paddingLeft : '13px' , width : "127px" , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< a href = { ecmanager === false ? "" : list . export _url + '?type=2' } style = { { display : list . is _course _type === false ? "block" : "none" } } >
< div className = { ecmanager === false ? "color-white" : "color-green" }
> < i className = { ecmanager === false ? "color-white" : "iconfont icon-fujian mr5 color-green font-16" } > < / i > 模 板 下 载 < / d i v >
< / a >
< / s p a n >
< span className = "column-1" style = { { width : "121px" , marginRight : '-5px' , paddingLeft : '24px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< div className = "operationColumn" >
< div className = "left operationalter" style = { { display : list . is _course _type === false ? 'block' : 'none' } } >
< Upload
{ ... uploadProps }
data = { list . id }
showUploadList = { false }
}
< / s p a n >
{ /*style={{display:list.is_course_type===false?'inline-block':'none'}}*/ }
{ /* editSubentry 编辑的 */ }
< span className = "column-1 operationright" style = { { display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : '61px' } } >
< div className = "operationColumn" >
< div className = "left operationalter" style = { { display : ecmanager === false ? 'none ' : 'block' } } >
< Tooltip placement = "bottom" title = "删除" >
< a className = "mr10 delSubentry fl" id = { list . id } onClick = { this . modeldeleteCourseEvaluations . bind ( this , list . id ) } style = { { display : list . is _course _type === true ? 'none' : 'block' } } > < i className = "iconfont icon-shanchu color-grey-c font-18" > < / i > < / a >
< / T o o l t i p >
< Modal
title = "提示"
visible = { modeldelet === true && listid === list . id ? true : false }
className = { "ecmodeldelet" }
closable = { false }
footer = { null }
>
{ ecmanager === false ? < span className = "color-white" idkey = { m } > 成绩导入 < / s p a n > : < s p a n c l a s s N a m e = " d e l S u b e n t r y " i d k e y = { m } > 成 绩 导 入 < / s p a n > }
< / U p l o a d >
< div className = "task-popup-content" >
< div className = "task-popup-text-center font-14" > 您确定要删除吗 ? < / d i v >
< / d i v >
< div className = "task-popup-submit clearfix" >
< a onClick = { this . hidemodeldelete } className = "task-btn fl" > 取消 < / a >
< a className = "task-btn task-btn-orange fr"
onClick = { this . deleteCourseEvaluations . bind ( this , list . id ) }
> 确定 < / a >
< / d i v >
< / M o d a l >
< a className = "mr10 delSubentry fl" data - tip - down = "编辑"
style = { { display : list . is _course _type === true ? 'none' : 'inline-block' } }
>
< i className = "iconfont icon-bianjidaibeijing color-green"
style = { {
diaplay : savetype === 'add' && savetype === 'edit' ? 'none' : 'inline-block'
} }
idkey = { m } onClick = { this . editEvaluations . bind ( this ) } > < / i >
< / a >
< / d i v >
< / d i v >
< / s p a n >
< / s p a n >
< span className = "column-1 detaillist mr20" style = { { width : '156px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< a href = { ecmanager === false ? "" : list . export _url + '?type=1' } style = { { display : list . is _course _type === false ? "block" : "none" } } >
< div className = { ecmanager === false ? "color-white" : "color-green" } >
< i className = { ecmanager === false ? "color-white" : "iconfont icon-fujian mr5 color-green font-16" } > < / i > 模 板 下 载
< / d i v >
{ ecmanager === false ? ""
: < span className = "column-2" style = { { marginLeft : '-8px' , width : '96px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< div style = { { display : list . is _course _type === false ? "block" : "none" } }
> { list . import _status === true || list . is _course _type ? "已导入" : "未导入" } < / d i v >
< / s p a n > }
< / a >
< / s p a n >
< span className = "column-1" style = { { paddingLeft : '13px' , width : "127px" , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< a href = { ecmanager === false ? "" : list . export _url + '?type=2' } style = { { display : list . is _course _type === false ? "block" : "none" } } >
< div className = { ecmanager === false ? "color-white" : "color-green" }
> < i className = { ecmanager === false ? "color-white" : "iconfont icon-fujian mr5 color-green font-16" } > < / i > 模 板 下 载 < / d i v >
< / a >
< / s p a n >
< div className = "ListTableLine newSystem" style = { { display : parseInt ( idkey ) === m ? 'block' : 'none' } } >
< span className = "column-1" style = { { width : "121px" , marginRight : '-5px' , paddingLeft : '24px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< div className = "operationColumn" >
< div className = "left operationalter" style = { { display : list . is _course _type === false ? 'block' : 'none' } } >
< Upload
{ ... uploadProps }
data = { list . id }
showUploadList = { false }
>
{ ecmanager === false ? < span className = "color-white" idkey = { m } > 成绩导入 < / s p a n > : < s p a n c l a s s N a m e = " d e l S u b e n t r y " i d k e y = { m } > 成 绩 导 入 < / s p a n > }
< / U p l o a d >
< / d i v >
< / d i v >
< / s p a n >
{
params === " " ? " " : params . map ( ( item , key ) => {
{ ecmanager === false ? ""
: < span className = "column-2" style = { { marginLeft : '-8px' , width : '96px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< div style = { { display : list . is _course _type === false ? "block" : "none" } }
> { list . import _status === true || list . is _course _type ? "已导入" : "未导入" } < / d i v >
< / s p a n > }
return (
< div key = { key } >
< div className = "clearfix editorModify pt20" >
< div className = "" >
< span className = "column-1 ml75 mr16" > 名称 < / s p a n >
< Input style = { { width : '27%' } } size = "large" className = { item . name === undefined === undefined && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核方式的名称,如平时作业、考试、论文等" index = "name" value = { item . name } onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "column-1 ml20 mr16" > 考核次数 < / s p a n >
< Input style = { { width : '20%' } } size = "large" className = { item . evluation _count === undefined && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核次数" value = { item . evluation _count } index = "evluation_count" onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "RadioGroupbox" >
< RadioGroup className = "RadioGroupboxab" onChange = { this . RadioGroupEvaluations } value = { item . status } >
< Radio value = { 1 } > 由单次考核总成绩支撑课程目标 < / R a d i o >
< br / >
< Radio value = { 2 } > 由单次考核的某分项成绩支撑课程目标 < / R a d i o >
< / R a d i o G r o u p >
< / s p a n >
< / d i v >
< br / >
{
item . subitems . map ( ( i , k ) => {
return (
< div className = "mb20" key = { k } >
< span className = "column-1 ml20 mr16 " > 考核分项名称 < / s p a n >
< Input style = { { width : '27%' } } size = "large" className = { i . name === "" && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核分项名称,如选择题、填空题、报告等" value = { i . name } index = "subitems" newid = { k } onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "buttoninline SetTheAssociated" >
< div className = "left operatebutton" >
< a className = "mr15 delSubentry" style = { { display : k === 0 ? "none" : "inline-block" } } >
< Tooltip placement = "bottom" title = "删除" >
< i className = "iconfont icon-shanchu color-grey-c font-17" id = { k } onClick = { this . deleteInspectionItems . bind ( this ) } > < / i >
< / T o o l t i p >
< / a >
< a className = "newAddSubentry" data - tip - down = "添加"
style = { { display : k === item . subitems . length - 1 ? 'inline-block' : 'none' } }
> < i className = "iconfont icon-tianjiafangda color-green mt10" onClick = { this . addInspectionItems } > < / i > < / a >
< / d i v >
< / s p a n >
< / d i v >
)
} )
}
< div className = "ListTableLine newSystem" style = { { display : parseInt ( idkey ) === m ? 'block' : 'none' } } >
< / d i v >
{
< div className = "right editglybuttonbox mt20 mb20" >
< div className = "defalutSubmitbtn fr" onClick = { this . SaveecCourseEvaluationstop } > 保存 < / d i v >
< div className = "defalutCancelbtn fr mr20" onClick = { this . CancelecCourseEvaluationstop } > 取消 < / d i v >
params === " " ? " " : params . map ( ( item , key ) => {
return (
< div key = { key } >
< div className = "clearfix editorModify pt20" >
< div className = "" >
< span className = "column-1 ml75 mr16" > 名称 < / s p a n >
< Input style = { { width : '27%' } } size = "large" className = { item . name === undefined === undefined && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核方式的名称,如平时作业、考试、论文等" index = "name" value = { item . name } onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "column-1 ml20 mr16" > 考核次数 < / s p a n >
< Input style = { { width : '20%' } } size = "large" className = { item . evluation _count === undefined && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核次数" value = { item . evluation _count } index = "evluation_count" onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "RadioGroupbox" >
< RadioGroup className = "RadioGroupboxab" onChange = { this . RadioGroupEvaluations } value = { item . status } >
< Radio value = { 1 } > 由单次考核总成绩支撑课程目标 < / R a d i o >
< br / >
< Radio value = { 2 } > 由单次考核的某分项成绩支撑课程目标 < / R a d i o >
< / R a d i o G r o u p >
< / s p a n >
< / d i v >
< br / >
{
item . subitems . map ( ( i , k ) => {
return (
< div className = "mb20" key = { k } >
< span className = "column-1 ml20 mr16 " > 考核分项名称 < / s p a n >
< Input style = { { width : '27%' } } size = "large" className = { i . name === "" && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核分项名称,如选择题、填空题、报告等" value = { i . name } index = "subitems" newid = { k } onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "buttoninline SetTheAssociated" >
< div className = "left operatebutton" >
< a className = "mr15 delSubentry" style = { { display : k === 0 ? "none" : "inline-block" } } >
< Tooltip placement = "bottom" title = "删除" >
< i className = "iconfont icon-shanchu color-grey-c font-17" id = { k } onClick = { this . deleteInspectionItems . bind ( this ) } > < / i >
< / T o o l t i p >
< / a >
< a className = "newAddSubentry" data - tip - down = "添加"
style = { { display : k === item . subitems . length - 1 ? 'inline-block' : 'none' } }
> < i className = "iconfont icon-tianjiafangda color-green mt10" onClick = { this . addInspectionItems } > < / i > < / a >
< / d i v >
< / s p a n >
< / d i v >
)
} )
}
< / d i v >
< div className = "right editglybuttonbox mt20 mb20" >
< div className = "defalutSubmitbtn fr" onClick = { this . SaveecCourseEvaluationstop } > 保存 < / d i v >
< div className = "defalutCancelbtn fr mr20" onClick = { this . CancelecCourseEvaluationstop } > 取消 < / d i v >
< / d i v >
< span className = "c_red none ml30" id = "error_tip" style = { { display : newModallist === true ? "inline" : 'none' } } > { Modallist } < / s p a n >
< / d i v >
< span className = "c_red none ml30" id = "error_tip" style = { { display : newModallist === true ? "inline" : 'none' } } > { Modallist } < / s p a n >
< / d i v >
)
} )
}
)
} )
}
< / d i v >
< / d i v >
< / l i >
)
} )
}
< / l i >
)
} )
}
{ ecmanager === false ? "" : < div className = "ListTableLine newSystem" id = "EvaluationsList" style = { { display : 'none' } } >
{ ecmanager === false ? "" : < div className = "ListTableLine newSystem" id = "EvaluationsList" style = { { display : 'none' } } >
{
{
params === " " ? " " : params . map ( ( item , key ) => {
params === " " ? " " : params . map ( ( item , key ) => {
return (
< div key = { key } >
< div className = "clearfix editorModify pt20" >
return (
< div key = { key } >
< div className = "clearfix editorModify pt20" >
< div className = "" >
< span className = "column-1 ml75 mr16" > 名称 < / s p a n >
< Input style = { { width : '27%' } } size = "large" className = { item . name === undefined && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核方式的名称,如平时作业、考试、论文等" index = "name" value = { item . name } onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< div className = "" >
< span className = "column-1 ml75 mr16" > 名称 < / s p a n >
< Input style = { { width : '27%' } } size = "large" className = { item . name === undefined && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核方式的名称,如平时作业、考试、论文等" index = "name" value = { item . name } onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "column-1 ml20 mr16" > 考核次数 < / s p a n >
< Input style = { { width : '20%' } } size = "large" className = { item . evluation _count === undefined && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核次数" value = { item . evluation _count } index = "evluation_count" onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "column-1 ml20 mr16" > 考核次数 < / s p a n >
< Input style = { { width : '20%' } } size = "large" className = { item . evluation _count === undefined && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核次数" value = { item . evluation _count } index = "evluation_count" onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "RadioGroupbox" >
< RadioGroup className = "RadioGroupboxab" onChange = { this . RadioGroupEvaluations } value = { item . status } >
< Radio value = { 1 } > 由单次考核总成绩支撑课程目标 < / R a d i o >
< br / >
< Radio value = { 2 } > 由单次考核的某分项成绩支撑课程目标 < / R a d i o >
< / R a d i o G r o u p >
< / s p a n >
< / d i v >
< span className = "RadioGroupbox" >
< RadioGroup className = "RadioGroupboxab" onChange = { this . RadioGroupEvaluations } value = { item . status } >
< Radio value = { 1 } > 由单次考核总成绩支撑课程目标 < / R a d i o >
< br / >
< Radio value = { 2 } > 由单次考核的某分项成绩支撑课程目标 < / R a d i o >
< / R a d i o G r o u p >
< / s p a n >
{
item . subitems . map ( ( i , k ) => {
return (
< div className = "mb20" key = { k } >
< span className = "column-1 ml20 mr16 " > 考核分项名称 < / s p a n >
< Input style = { { width : '27%' } } size = "large" className = { i . name === "" && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核分项名称,如选择题、填空题、报告等" value = { i . name } index = "subitems" newid = { k } onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "buttoninline SetTheAssociated" >
< div className = "left operatebutton" >
< a className = "mr15 delSubentry" style = { { display : k === 0 ? "none" : "inline-block" } } >
< Tooltip placement = "bottom" title = "删除" >
< i className = "iconfont icon-shanchu color-grey-c font-17" id = { k } onClick = { this . deleteInspectionItems . bind ( this ) } > < / i >
< / T o o l t i p >
< / a >
< a className = "newAddSubentry" data - tip - down = "添加"
style = { { display : k === item . subitems . length - 1 ? 'inline-block' : 'none' } }
> < i className = "iconfont icon-tianjiafangda color-green" onClick = { this . addInspectionItems } > < / i > < / a >
< / d i v >
< br / >
{
item . subitems . map ( ( i , k ) => {
return (
< div className = "mb20" key = { k } >
< span className = "column-1 ml20 mr16 " > 考核分项名称 < / s p a n >
< Input style = { { width : '27%' } } size = "large" className = { i . name === "" && savetypes === true ? "inputWeight placeholder bor-red" : "inputWeight placeholder" } placeholder = "请输入考核分项名称,如选择题、填空题、报告等" value = { i . name } index = "subitems" newid = { k } onInput = { this . EstablishCurriculumStandards . bind ( this ) } / >
< span className = "buttoninline SetTheAssociated" >
< div className = "left operatebutton" >
< a className = "mr15 delSubentry" style = { { display : k === 0 ? "none" : "inline-block" } } >
< Tooltip placement = "bottom" title = "删除" >
< i className = "iconfont icon-shanchu color-grey-c font-17" id = { k } onClick = { this . deleteInspectionItems . bind ( this ) } > < / i >
< / T o o l t i p >
< / a >
< a className = "newAddSubentry" data - tip - down = "添加"
style = { { display : k === item . subitems . length - 1 ? 'inline-block' : 'none' } }
> < i className = "iconfont icon-tianjiafangda color-green" onClick = { this . addInspectionItems } > < / i > < / a >
< / d i v >
< / s p a n >
< / d i v >
)
} )
}
< div className = "right editglybuttonbox mt20 mb20 mr20" >
{ /* 新建 */ }
< div className = "defalutSubmitbtn fr" onClick = { this . SaveecCourseEvaluationstop } > 保存 < / d i v >
< div className = "defalutCancelbtn fr mr20" onClick = { this . CancelecCourseEvaluationstop } > 取消 < / d i v >
< / s p a n >
< / d i v >
)
} )
}
< div className = "right editglybuttonbox mt20 mb20 mr20" >
{ /* 新建 */ }
< div className = "defalutSubmitbtn fr" onClick = { this . SaveecCourseEvaluationstop } > 保存 < / d i v >
< div className = "defalutCancelbtn fr mr20" onClick = { this . CancelecCourseEvaluationstop } > 取消 < / d i v >
< / d i v >
< span className = "c_red none ml30" id = "error_tip" style = { { display : newModallist === true ? "inline" : 'none' } } > { Modallist } < / s p a n >
< / d i v >
< span className = "c_red none ml30" id = "error_tip" style = { { display : newModallist === true ? "inline" : 'none' } } > { Modallist } < / s p a n >
< / d i v >
< / d i v >
)
} )
}
< / d i v >
}
< / d i v >
< / d i v >
)
} )
}
< / d i v >
}
< / d i v >
< / S p i n >
< / d i v >
< / S p i n >
< / d i v >
< / d i v >
{ /*<EcCourseEvaluationsbottom*/ }
{ /*// ec_course_id={ec_course_id}*/ }
{ /*// schooldata={schooldata}*/ }
{ /*/>*/ }
< / S p i n >
< / d i v >
) ;
}