@ -54,7 +54,9 @@ class ecCourseEvaluations extends Component {
checkevalue : undefined ,
checkevalue : undefined ,
isreload : false ,
isreload : false ,
newModallist : false ,
newModallist : false ,
isreloads : false
isreloads : false ,
isSpin : false ,
listSpin : false
}
}
}
}
componentWillMount ( ) {
componentWillMount ( ) {
@ -90,7 +92,8 @@ class ecCourseEvaluations extends Component {
let newec _course _id = this . props . match . params . ec _course _id ;
let newec _course _id = this . props . match . params . ec _course _id ;
this . setState ( {
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 ;
const url = ` /ec_course_evaluations?ec_course_id= ` + newec _course _id ;
axios . get ( url , {
axios . get ( url , {
@ -110,7 +113,8 @@ class ecCourseEvaluations extends Component {
course _url : response . data . course _url ,
course _url : response . data . course _url ,
ec _course _id : response . data . ec _course _id ,
ec _course _id : response . data . ec _course _id ,
ec _year _id : response . data . ec _year _id ,
ec _year _id : response . data . ec _year _id ,
ecmanager : response . data . is _manager
ecmanager : response . data . is _manager ,
listSpin : false
} )
} )
}
}
} ) . catch ( function ( error ) {
} ) . catch ( function ( error ) {
@ -564,6 +568,7 @@ class ecCourseEvaluations extends Component {
}
}
sync _course _data = ( ) => {
sync _course _data = ( ) => {
this . setState ( { listSpin : true } )
let ec _course _id = this . props . match . params . ec _course _id ;
let ec _course _id = this . props . match . params . ec _course _id ;
let Url = '/ec_course_achievement_methods/sync_course_data' ;
let Url = '/ec_course_achievement_methods/sync_course_data' ;
axios . post ( Url , {
axios . post ( Url , {
@ -577,14 +582,16 @@ class ecCourseEvaluations extends Component {
this . setState ( {
this . setState ( {
// titlemessage: response.data.message+"(支撑关系变更)",
// titlemessage: response.data.message+"(支撑关系变更)",
Modallist : response . data . message ,
Modallist : response . data . message ,
Modallisttype : true
Modallisttype : true ,
listSpin : false
} )
} )
this . UpdateEvaluations ( ) ;
this . UpdateEvaluations ( ) ;
} else if ( response . data . status === - 1 ) {
} else if ( response . data . status === - 1 ) {
this . setState ( {
this . setState ( {
// titlemessage: response.data.message+"(支撑关系变更)",
// titlemessage: response.data.message+"(支撑关系变更)",
Modallist : response . data . message ,
Modallist : response . data . message ,
Modallisttype : true
Modallisttype : true ,
listSpin : false
} )
} )
}
}
@ -595,6 +602,7 @@ class ecCourseEvaluations extends Component {
}
}
uploadfile = ( file ) => {
uploadfile = ( file ) => {
this . setState ( { listSpin : true } )
let Url = ` /ec_course_evaluations/ ` + file . data + ` /import_score ` ;
let Url = ` /ec_course_evaluations/ ` + file . data + ` /import_score ` ;
const form = new FormData ( ) ;
const form = new FormData ( ) ;
form . append ( 'file' , file . file ) ;
form . append ( 'file' , file . file ) ;
@ -607,7 +615,8 @@ class ecCourseEvaluations extends Component {
Modallist : '已成功导入' + response . data . count + "条数据" ,
Modallist : '已成功导入' + response . data . count + "条数据" ,
Modallisttype : true ,
Modallisttype : true ,
isreload : true ,
isreload : true ,
isreloads : true
isreloads : true ,
listSpin : false
} )
} )
} else if ( response . data . status === 0 ) {
} else if ( response . data . status === 0 ) {
// message.warning(response.data.message);
// message.warning(response.data.message);
@ -616,7 +625,8 @@ class ecCourseEvaluations extends Component {
Modallist : response . data . message ,
Modallist : response . data . message ,
Modallisttype : true ,
Modallisttype : true ,
isreload : false ,
isreload : false ,
isreloads : false
isreloads : false ,
listSpin : false
} )
} )
}
}
} ) . catch ( ( error ) => {
} ) . catch ( ( error ) => {
@ -656,6 +666,7 @@ class ecCourseEvaluations extends Component {
saveassclasslist = ( ) => {
saveassclasslist = ( ) => {
// 列表清空
// 列表清空
//搜索框清空
//搜索框清空
this . setState ( { isSpin : true } ) ;
let { checkevalue } = this . state ;
let { checkevalue } = this . state ;
let ec _course _id = this . props . match . params . ec _course _id ;
let ec _course _id = this . props . match . params . ec _course _id ;
@ -672,7 +683,8 @@ class ecCourseEvaluations extends Component {
this . setState ( {
this . setState ( {
Modallist : "关联失败" ,
Modallist : "关联失败" ,
Modallisttype : true ,
Modallisttype : true ,
isreload : false
isreload : false ,
isSpin : false
} )
} )
} else if ( response . data . status === 0 ) [
} else if ( response . data . status === 0 ) [
this . setState ( {
this . setState ( {
@ -682,7 +694,8 @@ class ecCourseEvaluations extends Component {
assclassvalue : "" ,
assclassvalue : "" ,
Modallist : "关联成功" ,
Modallist : "关联成功" ,
Modallisttype : true ,
Modallisttype : true ,
isreload : true
isreload : true ,
isSpin : false
} )
} )
]
]
@ -766,6 +779,7 @@ class ecCourseEvaluations extends Component {
return (
return (
< div className = "newMain clearfix" >
< 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
< Modal
title = { titlemessage }
title = { titlemessage }
// visible={modeldelet===true&&listid===list.id?true:false}
// visible={modeldelet===true&&listid===list.id?true:false}
@ -896,7 +910,7 @@ class ecCourseEvaluations extends Component {
< / p >
< / p >
< div style = { { padding : '20px 21px 0px 21px' ,height : '40px' }} id = "SystemParameters" className = { "SystemParameters" } >
< div style = { { padding : '20px 21px 0px 21px' }} id = "SystemParameters" className = { "SystemParameters" } >
{ /*<span className="fl SystemParameters">课程考核标准</span>*/ }
{ /*<span className="fl SystemParameters">课程考核标准</span>*/ }
{ / * < s p a n c l a s s N a m e = " f l S y s t e m P a r a m e t e r s " s t y l e = { { d i s p l a y : c o u r s e _ n a m e = = = n u l l | | c o u r s e _ n a m e = = = u n d e f i n e d ? " b l o c k " : " n o n e " } } > ( 请 在 完 成 配 置 后 , 使 用 各 项 成 绩
{ / * < s p a n c l a s s N a m e = " f l S y s t e m P a r a m e t e r s " s t y l e = { { d i s p l a y : c o u r s e _ n a m e = = = n u l l | | c o u r s e _ n a m e = = = u n d e f i n e d ? " b l o c k " : " n o n e " } } > ( 请 在 完 成 配 置 后 , 使 用 各 项 成 绩
模板 , 将本学年所有参与的学生成绩数据导入系统 ) < /span>*/ }
模板 , 将本学年所有参与的学生成绩数据导入系统 ) < /span>*/ }
@ -930,308 +944,305 @@ class ecCourseEvaluations extends Component {
< / d i v >
< / d i v >
< / d i v >
< / d i v >
< 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 >
)
} )
< div className = "ListTableLine newSystem" id = "school_major_list" >
}
< / s p a n >
< 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 >
{ /*style={{display:list.is_course_type===false?'inline-block':'none'}}*/ }
< span className = "column-1 ml15 color-666" style = { { width : "90px" } } > 考核次数 < / s p a n >
{ /* editSubentry 编辑的 */ }
< span className = "column-1 ml15 color-666" style = { { width : "90px" } } > 支撑关系 < / s p a n >
< span className = "column-1 operationright" style = { { display : parseInt ( idkey ) === m ? 'none ' : 'block' , width : '61px' } } >
< span className = "column-1 ml30 color-666" style = { { width : "90px" } } > 考核分项名称 < / s p a n >
< div className = "operationColumn" >
< span className = "column-1 operationright color-666"
< div className = "left operationalter" style = { { display : ecmanager === false ? 'none ' : 'block' } } >
style = { { width : '34px' } }
< 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 >
{ ecmanager === false ? "" :
< Modal
< a className = "mr20 newAddSubentry" data - tip - down = "添加" >
title = "提示"
< i className = "iconfont icon-tianjiafangda color-green"
visible = { modeldelet === true && listid === list . id ? true : false }
// style={{display:savetype==='add'||savetype==='edit'?'none':'inline-block'}}
className = { "ecmodeldelet" }
onClick = { this . AddCourseEvaluations } > < / i >
closable = { false }
< / a > }
footer = { null }
< / s p a n >
>
< div className = "task-popup-content" >
< span className = "column-2 operationright color-666" style = { { width : "126px" } } >
< div className = "task-popup-text-center font-14" > 您确定要删除吗 ? < / d i v >
成绩导入状态
< / d i v >
< / s p a n >
< div className = "task-popup-submit clearfix" >
< span className = "column-1 operationright color-666" style = { { textAlign : 'center' , width : "119px" } } >
< a onClick = { this . hidemodeldelete } className = "task-btn fl" > 取消 < / a >
成绩来源
< a className = "task-btn task-btn-orange fr"
< / s p a n >
onClick = { this . deleteCourseEvaluations . bind ( this , list . id ) }
< span className = "column-2 operationright color-666" style = { { width : "127px" } } >
> 确定 < / a >
平均成绩导入模板
< / d i v >
< / s p a n >
< / M o d a l >
< span className = "column-2 operationright color-666" style = { { width : "152px" } } >
< a className = "mr10 delSubentry fl" data - tip - down = "编辑"
明细成绩导入模板
style = { { display : list . is _course _type === true ? 'none' : 'inline-block' } }
< / s p a n >
>
< / p >
< i className = "iconfont icon-bianjidaibeijing color-green"
< div style = { { minHeight : '560px' } } >
style = { {
{
diaplay : savetype === 'add' && savetype === 'edit' ? 'none' : 'inline-block'
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 ) => {
} }
idkey = { m } onClick = { this . editEvaluations . bind ( this ) } > < / i >
< / a >
< / d i v >
< / d i v >
< / s p a n >
return (
< span className = "column-1 detaillist mr20" style = { { width : '156px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< li className = { m === ec _course _evaluation _lists . length - 1 ? savetype === 'add' ? "bordereaeaeas clearfix" : 'bordereaeaea clearfix' : "clearfix" } key = { m }
< a href = { ecmanager === false ? "" : list . export _url + '?type=1' } style = { { display : list . is _course _type === false ? "block" : "none" } } >
style = { { width : "1140px" , position : 'relative' } }
< div className = { ecmanager === false ? "color-white" : "color-green" } >
>
< i className = { ecmanager === false ? "color-white" : "iconfont icon-fujian mr5 color-green font-16" } > < / i > 模 板 下 载
< 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 >
< / d i v >
< / s p a n >
< / a >
< span className = "column-1 detaillist mr20" style = { { width : '156px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< / s p a n >
< 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" } >
< span className = "column-1" style = { { paddingLeft : '13px' , width : "127px" , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< i className = { ecmanager === false ? "color-white" : "iconfont icon-fujian mr5 color-green font-16" } > < / i > 模 板 下 载
< a href = { ecmanager === false ? "" : list . export _url + '?type=2' } style = { { display : list . is _course _type === false ? "block" : "none" } } >
< / d i v >
< 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 >
< / a >
< / s p a n >
< / s p a n >
< span className = "column-1" style = { { width : "121px" , marginRight : '-5px' , paddingLeft : '24px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< span className = "column-1" style = { { paddingLeft : '13px' , width : "127px" , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
< div className = "operationColumn" >
< a href = { ecmanager === false ? "" : list . export _url + '?type=2' } style = { { display : list . is _course _type === false ? "block" : "none" } } >
< div className = "left operationalter" 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 }
>
{ 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 >
< 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 >
< / d i v >
< / d i v >
< / s p a n >
< / s p a n >
{ ecmanager === false ? ""
{ ecmanager === false ? ""
: < span className = "column-2" style = { { marginLeft : '-8px' , width : '96px' , display : savetype === 'edit' && parseInt ( idkey ) === m ? 'none' : 'inline-block' } } >
: < 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" } }
< div style = { { display : list . is _course _type === false ? "block" : "none" } }
> { list . import _status === true || list . is _course _type ? "已导入" : "未导入" } < / d i v >
> { list . import _status === true || list . is _course _type ? "已导入" : "未导入" } < / d i v >
< / s p a n > }
< / s p a n > }
< div className = "ListTableLine newSystem" style = { { display : parseInt ( idkey ) === m ? 'block' : 'none' } } >
< div className = "ListTableLine newSystem" style = { { display : parseInt ( idkey ) === m ? 'block' : 'none' } } >
{
{
params === " " ? " " : params . map ( ( item , key ) => {
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 >
)
} )
}
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 >
< / d i v >
< br / >
< div className = "right editglybuttonbox mt20 mb20" >
{
< div className = "defalutSubmitbtn fr" onClick = { this . SaveecCourseEvaluationstop } > 保存 < / d i v >
item . subitems . map ( ( i , k ) => {
< div className = "defalutCancelbtn fr mr20" onClick = { this . CancelecCourseEvaluationstop } > 取消 < / d i v >
return (
< / d i v >
< div className = "mb20" key = { k } >
< span className = "c_red none ml30" id = "error_tip" style = { { display : newModallist === true ? "inline" : 'none' } } > { Modallist } < / s p a n >
< 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 >
< / d i v >
)
} )
}
< div className = "right editglybuttonbox mt20 mb20" >
< / d i v >
< 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 >
)
} )
}
< / 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 className = "" >
< div key = { key } >
< span className = "column-1 ml75 mr16" > 名称 < / s p a n >
< div className = "clearfix editorModify pt20" >
< 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 ml20 mr16" > 考核次数 < / s p a n >
< span className = "column-1 ml75 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 ) } / >
< 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 >
< span className = "RadioGroupbox" >
< 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 ) } / >
< 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 / >
< br / >
< Radio value = { 2 } > 由单次考核的某分项成绩支撑课程目标 < / R a d i o >
{
< / R a d i o G r o u p >
item . subitems . map ( ( i , k ) => {
< / s p a n >
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 >
< / d i v >
< / s p a n >
< br / >
< / d i v >
{
)
item . subitems . map ( ( i , k ) => {
} )
return (
}
< div className = "mb20" key = { k } >
< div className = "right editglybuttonbox mt20 mb20 mr20" >
< 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 ) } / >
< div className = "defalutSubmitbtn fr" onClick = { this . SaveecCourseEvaluationstop } > 保存 < / d i v >
< div className = "defalutCancelbtn fr mr20" onClick = { this . CancelecCourseEvaluationstop } > 取消 < / d i v >
< span className = "buttoninline SetTheAssociated" >
< / d i v >
< div className = "left operatebutton" >
< span className = "c_red none ml30" id = "error_tip" style = { { display : newModallist === true ? "inline" : 'none' } } > { Modallist } < / s p a n >
< 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 >
< / 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 >
< / 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 >
< / d i v >
< / d i v >
< / d i v >
{ /*<EcCourseEvaluationsbottom*/ }
{ /*<EcCourseEvaluationsbottom*/ }
{ /*// ec_course_id={ec_course_id}*/ }
{ /*// ec_course_id={ec_course_id}*/ }
{ /*// schooldata={schooldata}*/ }
{ /*// schooldata={schooldata}*/ }
{ /*/>*/ }
{ /*/>*/ }
< / S p i n >
< / d i v >
< / d i v >
) ;
) ;
}
}