From 52c853f9979d9e5cff22513f33dcdb1b7a2ee046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 21 Jun 2019 19:06:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../graduation/tasks/GraduationTaskssettinglist.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js index 03be6cb8b..e77a163d9 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js @@ -845,7 +845,7 @@ class GraduationTaskssettinglist extends Component{ title: '交叉评分', key: 'crossrating', dataIndex: 'crossrating', - + className:'none', render: (text, record) => ( @@ -1218,8 +1218,15 @@ class GraduationTaskssettinglist extends Component{ let position=this.props.match.params.position; let category_id=this.props.match.params.category_id; let task_Id = this.props.match.params.task_Id; - // console.log("task_statustask_statustask_status"); - // console.log(task_status); + + if(taskslistdata&&taskslistdata.cross_comment===false){ + columns.map((item,key)=>{ + if(item.title==="交叉评分"){ + columns.splice(key,1) + } + }) + } + return(