Commit 7401a1e2 authored by wangxuelai's avatar wangxuelai

'大萨达撒'

parent 6593da87
...@@ -398,10 +398,10 @@ class CallStudentsForm extends React.Component { ...@@ -398,10 +398,10 @@ class CallStudentsForm extends React.Component {
{ {
title: '姓名', title: '姓名',
dataIndex: 'name', dataIndex: 'name',
key: '1', key: 'name',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={`${pageStyle.classNamebox} ${record.hassearch ? pageStyle.hasSearch : ''}`}> <div style={{ maxWidth: '80px' }} className={`${pageStyle.classNamebox} ${record.hassearch ? pageStyle.hasSearch : ''}`}>
{record.name} {record.name}
</div> </div>
); );
...@@ -410,12 +410,12 @@ class CallStudentsForm extends React.Component { ...@@ -410,12 +410,12 @@ class CallStudentsForm extends React.Component {
{ {
title: '手机号', title: '手机号',
dataIndex: 'mobile', dataIndex: 'mobile',
key: '2', key: 'mobile',
}, },
{ {
title: '剩余课时', title: '剩余课时',
dataIndex: 'surplus', dataIndex: 'surplus',
key: '3', key: 'surplus',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -427,7 +427,7 @@ class CallStudentsForm extends React.Component { ...@@ -427,7 +427,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '到课状态', title: '到课状态',
dataIndex: 'course', dataIndex: 'course',
key: '4', key: 'course',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -443,8 +443,8 @@ class CallStudentsForm extends React.Component { ...@@ -443,8 +443,8 @@ class CallStudentsForm extends React.Component {
}, },
{ {
title: '扣课时', title: '扣课时',
dataIndex: 'c', dataIndex: 'expend',
key: 'c', key: 'expend',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.tableoperatebox}> <div className={pageStyle.tableoperatebox}>
...@@ -455,8 +455,8 @@ class CallStudentsForm extends React.Component { ...@@ -455,8 +455,8 @@ class CallStudentsForm extends React.Component {
}, },
{ {
title: '备注', title: '备注',
dataIndex: 'd', dataIndex: 'remark',
key: 'd', key: 'remark',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.tableoperatebox}> <div className={pageStyle.tableoperatebox}>
...@@ -470,7 +470,7 @@ class CallStudentsForm extends React.Component { ...@@ -470,7 +470,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '姓名', title: '姓名',
dataIndex: 'name', dataIndex: 'name',
key: '5', key: 'name',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -482,7 +482,7 @@ class CallStudentsForm extends React.Component { ...@@ -482,7 +482,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '性别', title: '性别',
dataIndex: 'gender', dataIndex: 'gender',
key: '6', key: 'gender',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -494,12 +494,12 @@ class CallStudentsForm extends React.Component { ...@@ -494,12 +494,12 @@ class CallStudentsForm extends React.Component {
{ {
title: '手机号', title: '手机号',
dataIndex: 'mobile', dataIndex: 'mobile',
key: '7', key: 'mobile',
}, },
{ {
title: '课程名', title: '课程名',
dataIndex: 'course', dataIndex: 'course',
key: '8', key: 'course',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -511,14 +511,14 @@ class CallStudentsForm extends React.Component { ...@@ -511,14 +511,14 @@ class CallStudentsForm extends React.Component {
{ {
title: '年级', title: '年级',
dataIndex: 'grade', dataIndex: 'grade',
key: '9', key: 'grade',
}, },
]; ];
const bukestudentColumns = [ const bukestudentColumns = [
{ {
title: '姓名', title: '姓名',
dataIndex: 'name', dataIndex: 'name',
key: '11', key: 'name',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -530,7 +530,7 @@ class CallStudentsForm extends React.Component { ...@@ -530,7 +530,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '班级名称', title: '班级名称',
dataIndex: 'gender', dataIndex: 'gender',
key: '12', key: 'gender',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -542,7 +542,7 @@ class CallStudentsForm extends React.Component { ...@@ -542,7 +542,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '上课时间', title: '上课时间',
dataIndex: 'start_time', dataIndex: 'start_time',
key: '13', key: 'start_time',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -554,7 +554,7 @@ class CallStudentsForm extends React.Component { ...@@ -554,7 +554,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '上课老师', title: '上课老师',
dataIndex: 'course', dataIndex: 'course',
key: '14', key: 'course',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -568,7 +568,7 @@ class CallStudentsForm extends React.Component { ...@@ -568,7 +568,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '缺课状态', title: '缺课状态',
dataIndex: 'grade', dataIndex: 'grade',
key: '15', key: 'grade',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}> <div className={pageStyle.classNamebox}>
...@@ -581,7 +581,7 @@ class CallStudentsForm extends React.Component { ...@@ -581,7 +581,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '剩余课时', title: '剩余课时',
dataIndex: 'surplus', dataIndex: 'surplus',
key: '16', key: 'surplus',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}>{(record.student_course && record.student_course.surplus) || 0}</div> <div className={pageStyle.classNamebox}>{(record.student_course && record.student_course.surplus) || 0}</div>
...@@ -591,7 +591,7 @@ class CallStudentsForm extends React.Component { ...@@ -591,7 +591,7 @@ class CallStudentsForm extends React.Component {
{ {
title: '上课内容', title: '上课内容',
dataIndex: 'content', dataIndex: 'content',
key: '17', key: 'content',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.classNamebox}>{record.schedule.content}</div> <div className={pageStyle.classNamebox}>{record.schedule.content}</div>
...@@ -711,13 +711,13 @@ class CallStudentsForm extends React.Component { ...@@ -711,13 +711,13 @@ class CallStudentsForm extends React.Component {
</Col> </Col>
</Row> </Row>
<Table <Table
rowKey="id"
dataSource={callStudentOperateList} dataSource={callStudentOperateList}
columns={studentcolumns} columns={studentcolumns}
scroll={{ x: 'max-content' }} scroll={{ x: 'max-content' }}
loading={callStudentListLoading} loading={callStudentListLoading}
pagination={false} pagination={false}
footer={() => <div className="tablefooterbox" style={fontSize14}>共有{callStudentTotal}个学生</div>} footer={() => <div className="tablefooterbox" style={fontSize14}>共有{callStudentTotal}个学生</div>}
rowKey="id"
/> />
</Modal> </Modal>
<Modal <Modal
......
...@@ -1005,7 +1005,7 @@ class ClassDetailForm extends React.Component { ...@@ -1005,7 +1005,7 @@ class ClassDetailForm extends React.Component {
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
{record.times && record.times.map(ele => <div>{ele}</div>)} {record.times && record.times.map(ele => <div key={ele}>{ele}</div>)}
</div> </div>
); );
}, },
...@@ -1055,11 +1055,11 @@ class ClassDetailForm extends React.Component { ...@@ -1055,11 +1055,11 @@ class ClassDetailForm extends React.Component {
<div className={pageStyle.tableoperatebox}> <div className={pageStyle.tableoperatebox}>
{ hasBtnPower('sjd/classdetail', 'editPlan') && { hasBtnPower('sjd/classdetail', 'editPlan') &&
<span> <span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.toEditClassPlan(record)}>编辑</a> <span className="hreflink" onClick={() => this.toEditClassPlan(record)}>编辑</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
</span> </span>
} }
{hasBtnPower('sjd/classdetail', 'removePlan') && <a className={pageStyle.alink} href="javascript:;" onClick={() => this.delCoursePlan(record)}>删除</a>} {hasBtnPower('sjd/classdetail', 'removePlan') && <span className="hreflink" onClick={() => this.delCoursePlan(record)}>删除</span>}
</div> </div>
); );
}, },
...@@ -1121,7 +1121,7 @@ class ClassDetailForm extends React.Component { ...@@ -1121,7 +1121,7 @@ class ClassDetailForm extends React.Component {
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.tableoperatebox}> <div className={pageStyle.tableoperatebox}>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.sureToChangeClass(record)}>调班</a> <span className="hreflink" onClick={() => this.sureToChangeClass(record)}>调班</span>
</div> </div>
); );
}, },
...@@ -1168,7 +1168,7 @@ class ClassDetailForm extends React.Component { ...@@ -1168,7 +1168,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '上课内容', title: '上课内容',
dataIndex: 'content', dataIndex: 'content',
key: 'j', key: 'content',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1182,10 +1182,10 @@ class ClassDetailForm extends React.Component { ...@@ -1182,10 +1182,10 @@ class ClassDetailForm extends React.Component {
{ {
title: '操作', title: '操作',
dataIndex: 'course', dataIndex: 'course',
key: 'ra', key: 'course',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<a href="javascript:;" onClick={() => this.sureChangeStudentSchedule(record)}>调课</a> <span className="hreflink" onClick={() => this.sureChangeStudentSchedule(record)}>调课</span>
); );
}, },
}, },
...@@ -1194,7 +1194,7 @@ class ClassDetailForm extends React.Component { ...@@ -1194,7 +1194,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '姓名', title: '姓名',
dataIndex: 'name', dataIndex: 'name',
key: 'q', key: 'name',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1220,7 +1220,7 @@ class ClassDetailForm extends React.Component { ...@@ -1220,7 +1220,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '手机号', title: '手机号',
dataIndex: 'mobile', dataIndex: 'mobile',
key: 'e', key: 'mobile',
}, },
{ {
title: '课程名', title: '课程名',
...@@ -1237,14 +1237,14 @@ class ClassDetailForm extends React.Component { ...@@ -1237,14 +1237,14 @@ class ClassDetailForm extends React.Component {
{ {
title: '年级', title: '年级',
dataIndex: 'grade', dataIndex: 'grade',
key: 'f', key: 'grade',
}, },
]; ];
const coursecolumns = [ const coursecolumns = [
{ {
title: '序号', title: '序号',
dataIndex: 'name', dataIndex: 'name',
key: 'g', key: 'name',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1256,7 +1256,7 @@ class ClassDetailForm extends React.Component { ...@@ -1256,7 +1256,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '上课时间', title: '上课时间',
dataIndex: 'coursetime', dataIndex: 'coursetime',
key: 'h', key: 'coursetime',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1278,7 +1278,7 @@ class ClassDetailForm extends React.Component { ...@@ -1278,7 +1278,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '上课老师', title: '上课老师',
dataIndex: 'teacher', dataIndex: 'teacher',
key: 'ja', key: 'teacher',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1290,7 +1290,7 @@ class ClassDetailForm extends React.Component { ...@@ -1290,7 +1290,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '上课教室', title: '上课教室',
dataIndex: 'class_room', dataIndex: 'class_room',
key: 'k', key: 'class_room',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1302,7 +1302,7 @@ class ClassDetailForm extends React.Component { ...@@ -1302,7 +1302,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '上课内容', title: '上课内容',
dataIndex: 'content', dataIndex: 'content',
key: 'z', key: 'content',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div style={{ maxWidth: '200px' }}> <div style={{ maxWidth: '200px' }}>
...@@ -1316,7 +1316,7 @@ class ClassDetailForm extends React.Component { ...@@ -1316,7 +1316,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '点名时间', title: '点名时间',
dataIndex: 'call_time', dataIndex: 'call_time',
key: 'x', key: 'call_time',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1332,18 +1332,18 @@ class ClassDetailForm extends React.Component { ...@@ -1332,18 +1332,18 @@ class ClassDetailForm extends React.Component {
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
{hasBtnPower('sjd/classdetail', 'callStudnet') && record.call_time && <a className={pageStyle.alink} href="javascript:;" onClick={() => this.toEditCallStudents(record)}>已点名</a>} {hasBtnPower('sjd/classdetail', 'callStudnet') && record.call_time && <span className="hreflink" onClick={() => this.toEditCallStudents(record)}>已点名</span>}
{hasBtnPower('sjd/classdetail', 'callStudnet') && !record.call_time && <a className={pageStyle.alink} href="javascript:;" onClick={() => this.toCallStudents(record)}>点名</a>} {hasBtnPower('sjd/classdetail', 'callStudnet') && !record.call_time && <span className="hreflink" onClick={() => this.toCallStudents(record)}>点名</span>}
{ hasBtnPower('sjd/classdetail', 'changeCourse') && { hasBtnPower('sjd/classdetail', 'changeCourse') &&
<span> <span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.changeSchedule(record)}>调课</a> <span className="hreflink" onClick={() => this.changeSchedule(record)}>调课</span>
</span> </span>
} }
{ hasBtnPower('sjd/classdetail', 'removeSchedule') && { hasBtnPower('sjd/classdetail', 'removeSchedule') &&
<span> <span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.scheduleDel(record)}>删除</a> <span className="hreflink" onClick={() => this.scheduleDel(record)}>删除</span>
</span> </span>
} }
</div> </div>
...@@ -1355,11 +1355,11 @@ class ClassDetailForm extends React.Component { ...@@ -1355,11 +1355,11 @@ class ClassDetailForm extends React.Component {
{ {
title: '姓名', title: '姓名',
dataIndex: 'name', dataIndex: 'name',
key: 'm', key: 'name',
render: (text, record) => { render: (text, record) => {
return ( return (
<div> <div>
<a href="javascript:;" onClick={() => this.toDetail(record.id)}>{record.name}</a> <span className="hreflink" onClick={() => this.toDetail(record.id)}>{record.name}</span>
</div> </div>
); );
}, },
...@@ -1367,7 +1367,7 @@ class ClassDetailForm extends React.Component { ...@@ -1367,7 +1367,7 @@ class ClassDetailForm extends React.Component {
{ {
title: '性别', title: '性别',
dataIndex: 'gender', dataIndex: 'gender',
key: 'n', key: 'gender',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1381,12 +1381,12 @@ class ClassDetailForm extends React.Component { ...@@ -1381,12 +1381,12 @@ class ClassDetailForm extends React.Component {
{ {
title: '手机号', title: '手机号',
dataIndex: 'mobile', dataIndex: 'mobile',
key: 'o', key: 'mobile',
}, },
{ {
title: '课程名', title: '课程名',
dataIndex: 'course', dataIndex: 'course',
key: 'i', key: 'course',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
...@@ -1398,17 +1398,17 @@ class ClassDetailForm extends React.Component { ...@@ -1398,17 +1398,17 @@ class ClassDetailForm extends React.Component {
{ {
title: '操作', title: '操作',
dataIndex: 'd', dataIndex: 'd',
key: 'y', key: 'd',
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div> <div>
{ hasBtnPower('sjd/classdetail', 'changeClass') && { hasBtnPower('sjd/classdetail', 'changeClass') &&
<span> <span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.changeClass(record)}>调班</a> <span className="hreflink" onClick={() => this.changeClass(record)}>调班</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
</span> </span>
} }
{hasBtnPower('sjd/classdetail', 'removeStudent') && <a className={pageStyle.alink} href="javascript:;" onClick={() => this.removeStudent(record)}>移除</a>} {hasBtnPower('sjd/classdetail', 'removeStudent') && <span className="hreflink" onClick={() => this.removeStudent(record)}>移除</span>}
</div> </div>
); );
}, },
......
...@@ -106,7 +106,7 @@ class classRoomMgt extends React.Component { ...@@ -106,7 +106,7 @@ class classRoomMgt extends React.Component {
<div key={ele.id} className={pageStyle.classroomitem} style={{ lineHeight: '32px' }}> <div key={ele.id} className={pageStyle.classroomitem} style={{ lineHeight: '32px' }}>
<span className={pageStyle.classroom}>{ele.title}</span> <span className={pageStyle.classroom}>{ele.title}</span>
<span className={pageStyle.classroom}>&nbsp;&nbsp;&nbsp;&nbsp;</span> <span className={pageStyle.classroom}>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a className={pageStyle.aLink} href="javascript:;" onClick={() => delClassroom(ele)}>删除</a> <span className="hreflink" onClick={() => delClassroom(ele)}>删除</span>
</div> </div>
))} ))}
</Col> </Col>
......
...@@ -514,22 +514,22 @@ class ClassMgtForm extends React.Component { ...@@ -514,22 +514,22 @@ class ClassMgtForm extends React.Component {
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<div className={pageStyle.tableoperatebox}> <div className={pageStyle.tableoperatebox}>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.goClassInvite(record)}>班级报名</a> <span className="hreflink" onClick={() => this.goClassInvite(record)}>班级报名</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.goClassDetail(record, 2)}>学员管理</a> <span className="hreflink" onClick={() => this.goClassDetail(record, 2)}>学员管理</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
<span> <span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.goThemeMgt(record)}>主题管理</a> <span className="hreflink" onClick={() => this.goThemeMgt(record)}>主题管理</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
</span> </span>
{ hasBtnPower('sjd/classmgt', 'callStudent') && { hasBtnPower('sjd/classmgt', 'callStudent') &&
<span> <span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.goClassDetail(record, 3)}>点名</a> <span className="hreflink" onClick={() => this.goClassDetail(record, 3)}>点名</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
</span> </span>
} }
{hasBtnPower('sjd/classmgt', 'singleWindingUp') && record.graduation_status == 2 && <a className={pageStyle.alink} onClick={() => this.singleResetClassStatusChange(record)} href="javascript:;">已结业</a>} {hasBtnPower('sjd/classmgt', 'singleWindingUp') && record.graduation_status == 2 && <span className="hreflink" onClick={() => this.singleResetClassStatusChange(record)}>已结业</span>}
{hasBtnPower('sjd/classmgt', 'singleWindingUp') && record.graduation_status == 1 && <a className={pageStyle.alink} href="javascript:;" onClick={() => this.singleClassStatusChange(record)}>结业</a>} {hasBtnPower('sjd/classmgt', 'singleWindingUp') && record.graduation_status == 1 && <span className="hreflink" onClick={() => this.singleClassStatusChange(record)}>结业</span>}
</div> </div>
); );
}, },
......
...@@ -238,11 +238,11 @@ class ClassMgtForm extends React.Component { ...@@ -238,11 +238,11 @@ class ClassMgtForm extends React.Component {
<div className={pageStyle.tableoperatebox}> <div className={pageStyle.tableoperatebox}>
{ hasBtnPower('sjd/course', 'editCourse') && { hasBtnPower('sjd/course', 'editCourse') &&
<span> <span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.changecourse(record)}>修改</a> <span className="hreflink" onClick={() => this.changecourse(record)}>修改</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
</span> </span>
} }
{hasBtnPower('sjd/course', 'removeCourse') && <a className={pageStyle.alink} href="javascript:;" onClick={() => this.courseDelete(record.id, record)}>删除</a>} {hasBtnPower('sjd/course', 'removeCourse') && <span className="hreflink" onClick={() => this.courseDelete(record.id, record)}>删除</span>}
</div> </div>
); );
}, },
......
...@@ -339,7 +339,7 @@ class RenewEdit extends React.Component { ...@@ -339,7 +339,7 @@ class RenewEdit extends React.Component {
})( })(
<span>{operator.nickname}</span>, <span>{operator.nickname}</span>,
)} )}
<a href="javascript:;" className={pageStyle.changeOperate} onClick={() => toChangeOperator(true)}>修改</a> <span className={`hreflink ${pageStyle.changeOperate}`} onClick={() => toChangeOperator(true)}>修改</span>
</Form.Item> </Form.Item>
</Col> </Col>
</Row> </Row>
......
...@@ -219,11 +219,11 @@ class SelfJoinForm extends React.Component { ...@@ -219,11 +219,11 @@ class SelfJoinForm extends React.Component {
render: (text, record) => { render: (text, record) => {
return ( return (
<div> <div>
<a href="javascript:;" onClick={() => seeCourseTmpQrcode(record)}>查看</a> <span className="hreflink" onClick={() => seeCourseTmpQrcode(record)}>查看</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
<a href="javascript:;" onClick={() => this.editCourseModule(record)}>修改</a> <span className="hreflink" onClick={() => this.editCourseModule(record)}>修改</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
<a href="javascript:;" onClick={() => delCourseModule(record)}>删除</a> <span className="hreflink" onClick={() => delCourseModule(record)}>删除</span>
</div> </div>
); );
}, },
...@@ -475,7 +475,7 @@ class SelfJoinForm extends React.Component { ...@@ -475,7 +475,7 @@ class SelfJoinForm extends React.Component {
})( })(
<span>{operator.nickname}</span>, <span>{operator.nickname}</span>,
)} )}
<a href="javascript:;" className={pageStyle.changeOperate} onClick={() => toChangeOperator(true)}>修改</a> <span className={`hreflink ${pageStyle.changeOperate}`} onClick={() => toChangeOperator(true)}>修改</span>
</Form.Item> </Form.Item>
</Col> </Col>
</Col> </Col>
......
...@@ -206,7 +206,7 @@ class StudentAddForm extends React.Component { ...@@ -206,7 +206,7 @@ class StudentAddForm extends React.Component {
message: '姓名最多20个字符', message: '姓名最多20个字符',
}, },
], ],
})(<Input style={{ width: 200 }} maxlength={20} placeholder="输入姓名" />)} })(<Input style={{ width: 200 }} maxLength={20} placeholder="输入姓名" />)}
</Form.Item> </Form.Item>
</Col> </Col>
<Col span={24} className={pageStyle.name} > <Col span={24} className={pageStyle.name} >
......
...@@ -211,7 +211,7 @@ class eliminateEdit extends React.Component { ...@@ -211,7 +211,7 @@ class eliminateEdit extends React.Component {
})( })(
<span>{operator.nickname}</span>, <span>{operator.nickname}</span>,
)} )}
<a href="javascript:;" className={pageStyle.changeOperate} onClick={() => toChangeOperator(true)}>修改</a> <span className={`hreflink ${pageStyle.changeOperate}`} onClick={() => toChangeOperator(true)}>修改</span>
</Form.Item> </Form.Item>
</Row> </Row>
</div> </div>
......
...@@ -363,7 +363,7 @@ class NewRenewEdit extends React.Component { ...@@ -363,7 +363,7 @@ class NewRenewEdit extends React.Component {
})( })(
<span>{operator.nickname}</span>, <span>{operator.nickname}</span>,
)} )}
<a href="javascript:;" className={pageStyle.changeOperate} onClick={() => toChangeOperator(true)}>修改</a> <span className={`hreflink ${pageStyle.changeOperate}`} onClick={() => toChangeOperator(true)}>修改</span>
</Form.Item> </Form.Item>
</Col> </Col>
</Row> </Row>
......
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