Commit 485a9133 authored by wangxuelai's avatar wangxuelai

'最新代码提交'

parent 04ca70fc
...@@ -41,4 +41,8 @@ html, body, :global(#root) { ...@@ -41,4 +41,8 @@ html, body, :global(#root) {
} }
} }
} }
span.hreflink {
color: #1890FF;
cursor: pointer;
}
} }
...@@ -181,7 +181,7 @@ class OrgdescEditorForm extends React.Component { ...@@ -181,7 +181,7 @@ class OrgdescEditorForm extends React.Component {
<Form className={PageStyle.FormBox} onSubmit={this.handleSubmit}> <Form className={PageStyle.FormBox} onSubmit={this.handleSubmit}>
<div className={PageStyle.itemlistbox} id="itemlistbox"> <div className={PageStyle.itemlistbox} id="itemlistbox">
{orgdescs.length > 0 && orgdescs.map((ele, index) => ( {orgdescs.length > 0 && orgdescs.map((ele, index) => (
<div> <div key={index}>
{ele.type == 2 && {ele.type == 2 &&
<div className={PageStyle.mediaeditbox}> <div className={PageStyle.mediaeditbox}>
<div className={PageStyle.mediaditboxtitle}>视频</div> <div className={PageStyle.mediaditboxtitle}>视频</div>
......
...@@ -607,7 +607,7 @@ class StudentMgt extends React.Component { ...@@ -607,7 +607,7 @@ class StudentMgt extends React.Component {
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>
); );
}, },
...@@ -619,7 +619,7 @@ class StudentMgt extends React.Component { ...@@ -619,7 +619,7 @@ class StudentMgt extends React.Component {
render: (text, record) => { render: (text, record) => {
return ( return (
<div> <div>
{record.consumer_id == 0 ? <a href="javascript:;" onClick={() => this.generateSingleBindQrcode(record)}>未绑定</a> : '已绑定'} {record.consumer_id == 0 ? <span className="hreflink" onClick={() => this.generateSingleBindQrcode(record)}>未绑定</span> : '已绑定'}
</div> </div>
); );
}, },
...@@ -678,15 +678,15 @@ class StudentMgt extends React.Component { ...@@ -678,15 +678,15 @@ class StudentMgt extends React.Component {
<div className={pageStyle.tableoperatebox}> <div className={pageStyle.tableoperatebox}>
{ hasBtnPower('sjd/student', 'addStudent') && { hasBtnPower('sjd/student', 'addStudent') &&
<span> <span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.toChoiceClass(record)}>选班</a> <span className="hreflink" onClick={() => this.toChoiceClass(record)}>选班</span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
</span> </span>
} }
{hasBtnPower('sjd/student', 'addCourseHours') && <a className={pageStyle.alink} href="javascript:;" onClick={() => this.goRenewCourse(record)}>购课</a>} {hasBtnPower('sjd/student', 'addCourseHours') && <span className="hreflink" onClick={() => this.goRenewCourse(record)}>购课</span>}
{record.student_courses.filter(ele => ele.course_mode != 3).length != 0 && hasBtnPower('sjd/student', 'removeCourseHours') && {record.student_courses.filter(ele => ele.course_mode != 3).length != 0 && hasBtnPower('sjd/student', 'removeCourseHours') &&
<span> <span>
<span className={pageStyle.divideline}>|</span> <span className={pageStyle.divideline}>|</span>
<a className={pageStyle.alink} href="javascript:;" onClick={() => this.EliminateEdit(record)}>消课</a> <span className="hreflink" onClick={() => this.EliminateEdit(record)}>消课</span>
</span> </span>
} }
</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