From 1c5e73420067072dc2dc598e7f489706a2e1e387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 23 Sep 2019 17:10:23 +0800 Subject: [PATCH] =?UTF-8?q?=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tasks/GraduationTaskssettinglist.js | 84 +++++++++---------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js index fd140846d..0469d5d9c 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js @@ -850,47 +850,47 @@ class GraduationTaskssettinglist extends Component{ ), }, { - title: '操作', - key: 'operation', - width:'100px', - dataIndex: 'operation', - className:'edu-txt-center', - render: operation => ( -
- {this.props.isAdmin()?operation.map((tag,key) => { - return( - - { - tag.name && - 调整学生最终成绩
其它历史评分将全部失效:""}> - {tag.name==="评阅"?

- {tag.name} -

- : -

this.showModulationtype(tag.id):tag.name==="分配"?taskslistdata&&taskslistdata.cross_comment===true?"":()=>this.showAllocationModal(tag.id):""}> - {tag.name==="分配"?taskslistdata&&taskslistdata.cross_comment===true?"":tag.name:tag.name} -

- } -
- } -
- ) - }):""} - { - this.props.isStudent()? - operation.map((tag,key) => { - return( -
- {tag.view_work===false?"--":查看} -
- )} - ):"" - } -
+ title: '操作', + key: 'operation', + width:'100px', + dataIndex: 'operation', + className:'edu-txt-center', + render: operation => ( +
+ {this.props.isAdmin()?operation.map((tag,key) => { + return( + + { + tag.name && + 调整学生最终成绩
其它历史评分将全部失效:""}> + {tag.name==="评阅"? + {tag.name} + + : + this.showModulationtype(tag.id):tag.name==="分配"?()=>this.showAllocationModal(tag.id):""}> + {tag.name} + + } +
+ } +
+ ) + }):""} + { + this.props.isStudent()? + operation.map((tag,key) => { + return( +
+ {tag.view_work===false?"--":查看} +
+ )} + ):"" + } +
- ), - }]; + ), + }]; let courseId=this.props.match.params.coursesId; let position=this.props.match.params.position; @@ -972,8 +972,8 @@ class GraduationTaskssettinglist extends Component{ text-overflow: ellipsis; white-space: nowrap; } - .ant-table-tbody>tr>td, .ant-table-thead>tr>th{ - padding: 10px 0px + .ant-table-tbody>tr>td, .ant-table-thead>tr>th{ + padding: 16px 10px } `