Commit e7b53972 authored by wangxuelai's avatar wangxuelai

'最新代码提交'

parent e0efe7b5
......@@ -62,7 +62,7 @@ class classRoomMgt extends React.Component {
bodyStyle={{ paddingLeft: '0', paddingRight: '0' }}
centered={centered}
>
<Row gutter="32" style={{ borderBottom: '1px solid rgba(0,0,0,0.09)', paddingLeft: '60px', paddingRight: '0px' }}>
<Row gutter={32} style={{ borderBottom: '1px solid rgba(0,0,0,0.09)', paddingLeft: '60px', paddingRight: '0px' }}>
<Col style={{ lineHeight: '40px' }} lg={{ span: 5 }} md={{ span: 5 }} xs={{ span: 24 }}>
<span style={{ color: '#000' }}>添加教室:</span>
</Col>
......@@ -103,7 +103,7 @@ class classRoomMgt extends React.Component {
</Col>
<Col lg={{ span: 20 }} md={{ span: 20 }} xs={{ span: 24 }}>
{classroomList.map(ele => (
<div key={ele.title} 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}>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a className={pageStyle.aLink} href="javascript:;" onClick={() => delClassroom(ele)}>删除</a>
......
......@@ -29,27 +29,27 @@ class Institutions extends React.Component {
{hasBtnPower('sjd/institutions', 'editInstitutions') && LocalStorage.getItem('role') != 1 && <Button type="primary" onClick={this.schoolEdit}>编辑</Button>}
</div>
<div className={pageStyles.infobox}>
<div className={pageStyles.rowline} gutter="32">
<div className={pageStyles.rowline} gutter={32}>
<div className={pageStyles.rowinfotitle} span={4}>机构名称:</div>
<div className={pageStyles.rowinfo} span={20}>{schoolDetail.title}</div>
</div>
{schoolDetail.contact_people &&
<div className={`${pageStyles.rowline} ${pageStyles.contactpeople}`} gutter="32">
<div className={`${pageStyles.rowline} ${pageStyles.contactpeople}`} gutter={32}>
<div className={pageStyles.rowinfotitle}>&nbsp;&nbsp;&nbsp;&nbsp;人:</div>
<div className={pageStyles.rowinfo}>{schoolDetail.contact_people}</div>
</div>
}
{schoolDetail.tel_phone &&
<div className={`${pageStyles.rowline} ${pageStyles.contactpeople}`} gutter="32">
<div className={`${pageStyles.rowline} ${pageStyles.contactpeople}`} gutter={32}>
<div className={pageStyles.rowinfotitle}>联系方式:</div>
<div className={pageStyles.rowinfo}>{schoolDetail.tel_phone.join(',')}</div>
</div>
}
<div className={pageStyles.rowline} gutter="32">
<div className={pageStyles.rowline} gutter={32}>
<div className={pageStyles.rowinfotitle}>机构位置:</div>
<div className={pageStyles.rowinfo}>{schoolDetail.location_address}</div>
</div>
<div className={pageStyles.rowline} gutter="32">
<div className={pageStyles.rowline} gutter={32}>
<div className={pageStyles.rowinfotitle}>科目类别:</div>
<div className={`${pageStyles.rowinfo} ${pageStyles.categorybox}`}>
{schoolDetail.category && schoolDetail.category.length > 0 && categorys.map((ele) => {
......@@ -65,7 +65,7 @@ class Institutions extends React.Component {
<div className={pageStyles.rowinfotitle}>机构二维码:</div>
<div className={pageStyles.rowinfo}>家门口</div>
</div> */}
<div className={pageStyles.rowline} gutter="32">
<div className={pageStyles.rowline} gutter={32}>
<div className={pageStyles.rowinfotitle}>&nbsp;&nbsp;&nbsp;&nbsp;码:</div>
<div className={pageStyles.rowinfo}>{schoolDetail.code}</div>
</div>
......
......@@ -128,7 +128,7 @@ class RenewEdit extends React.Component {
className="modifyclassModal"
zIndex={110}
>
<Form className="modalform" hideRequiredMark={() => (true)}>
<Form className="modalform" hideRequiredMark>
<div className={pageStyle.courseinfo}>
<Row>
<Col className={pageStyle.course}>
......
......@@ -260,7 +260,7 @@ class SelfJoinForm extends React.Component {
confirmLoading={addCourseModuleSubmitting}
zIndex={110}
>
<Form className="modalform" hideRequiredMark={() => (true)}>
<Form className="modalform" hideRequiredMark>
<div className={pageStyle.courseinfo}>
<Row>
<Col className={pageStyle.course}>
......
......@@ -98,7 +98,7 @@ class eliminateEdit extends React.Component {
zIndex={110}
confirmLoading={eliminateSubmitting}
>
<Form className="modalform" hideRequiredMark={() => (true)}>
<Form className="modalform" hideRequiredMark>
<div className={pageStyle.addCourse}>
<Row>
<Form.Item
......
......@@ -129,7 +129,7 @@ class NewRenewEdit extends React.Component {
className="modifyclassModal"
zIndex={110}
>
<Form className="modalform" hideRequiredMark={() => (true)}>
<Form className="modalform" hideRequiredMark>
<div className={pageStyle.studentinfo}>
<Row>
<Col span={24}>
......
......@@ -862,7 +862,7 @@ class teachersForm extends React.Component {
<div className={pageStyle.name}>
<Row
className={pageStyle.searchrow}
gutter="24"
gutter={24}
>
<Col xs={{ span: 24 }} sm={{ span: 24 }} md={{ span: 12 }} lg={{ span: 6 }}>
<div className={pageStyle.formitemlabel}>上课时间:<RangePicker style={{ width: '100%', maxWidth: 233 }} onChange={e => this.searchParamsChange(e, 'time')} /></div>
......@@ -886,7 +886,7 @@ class teachersForm extends React.Component {
</div>
</Col>
</Row>
<Row gutter="24" tyle="flex" align="center">
<Row gutter={24} tyle="flex" align="center">
<Col xs={{ span: 24 }} sm={{ span: 24 }} md={{ span: 12 }} lg={{ span: 6 }}>
<div className={pageStyle.formitemlabel}>授课课程:
<Select style={{ width: '100%', maxWidth: 233 }} value={copyTeachersScheduleListQueryParams.course_id} placeholder="课程列表" onChange={e => this.searchParamsChange(e, 'courseId')}>
......
......@@ -305,7 +305,7 @@ class ThemeMgt extends React.Component {
<div className={`${pageStyle.classmgtcontainer} thememgtcontainer`}>
<div className={pageStyle.searchbox}>
<Form labelAlign="left">
<Row gutter="32">
<Row gutter={32}>
<Col xs={{ span: 24 }} lg={{ span: 24 }} xl={{ span: 6 }} style={{ marginBottom: '24px' }}>
<Form.Item
label="主题类型:"
......
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