Commit 6038a30f authored by baixian's avatar baixian

优化选班3

parent d3ca7ec5
...@@ -338,13 +338,12 @@ class ClassMgt extends React.Component { ...@@ -338,13 +338,12 @@ class ClassMgt extends React.Component {
}, },
}, },
{ {
title: '启动状态', title: '操作',
dataIndex: 'status', dataIndex: 'status',
key: 'status',
render: (text, record) => { render: (text, record) => {
return ( return (
<div> <div>
<a href="javascript:;" onClick={() => this.handleChooseClass(record)} >选班</a> <a disabled={record.status == 2} href="javascript:;" onClick={() => this.handleChooseClass(record)} >选班</a>
</div> </div>
); );
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment