Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
6f9accee
Commit
6f9accee
authored
Jul 02, 2021
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:完成全局设置iconfontfontweight和助学工具替换默认图功能
parent
7638b279
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
20 deletions
+24
-20
src/modules/course-manage/components/AddLiveClass.jsx
+4
-1
src/modules/course-manage/video-course/components/VideoCourseList.jsx
+1
-1
src/modules/plan-manage/components/UserLearningData.jsx
+1
-1
src/modules/teach-tool/examination-manager/ExamData.tsx
+0
-0
src/modules/teach-tool/examination-manager/Index.tsx
+3
-0
src/modules/teach-tool/examination-manager/UserData.tsx
+0
-0
src/modules/teach-tool/paper-manage/components/PaperList.jsx
+4
-0
src/modules/teach-tool/paper-manage/components/SelectQuestionList.jsx
+7
-16
src/modules/teach-tool/question-manage/components/QuestionList.jsx
+4
-1
No files found.
src/modules/course-manage/components/AddLiveClass.jsx
View file @
6f9accee
...
@@ -175,7 +175,10 @@ class AddLiveClass extends React.Component {
...
@@ -175,7 +175,10 @@ class AddLiveClass extends React.Component {
<
Tooltip
<
Tooltip
overlayStyle=
{
{
maxWidth
:
300
,
zIndex
:
'9999'
}
}
overlayStyle=
{
{
maxWidth
:
300
,
zIndex
:
'9999'
}
}
title=
{
<
div
style=
{
{
width
:
'266px'
}
}
>
支持按上课日期批量创建直播课,创建后按“课程名称_日期”命名,例如:
<
br
/>
张三的语文课_9月18日
<
br
/>
张三的语文课_9月19日......
</
div
>
}
>
title=
{
<
div
style=
{
{
width
:
'266px'
}
}
>
支持按上课日期批量创建直播课,创建后按“课程名称_日期”命名,例如:
<
br
/>
张三的语文课_9月18日
<
br
/>
张三的语文课_9月19日......
</
div
>
}
>
<
span
className=
"iconfont"
>

</
span
>
<
span
style=
{
{
color
:
"rgba(191, 191, 191, 1)"
,
fontWeight
:
400
}
}
className=
"iconfont"
>

</
span
>
</
Tooltip
>
:
</
Tooltip
>
:
</
span
>
</
span
>
<
div
>
<
div
>
...
...
src/modules/course-manage/video-course/components/VideoCourseList.jsx
View file @
6f9accee
...
@@ -147,7 +147,7 @@ class VideoCourseList extends React.Component {
...
@@ -147,7 +147,7 @@ class VideoCourseList extends React.Component {
关闭后,学院内不再展示此课程,但学员仍可通过分享的海报/链接查看此课程。
关闭后,学院内不再展示此课程,但学员仍可通过分享的海报/链接查看此课程。
</
div
>
</
div
>
}
>
}
>
<
i
className=
'icon iconfont'
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
}
}
>
<
i
className=
'icon iconfont'
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
,
fontWeight
:
'normal'
}
}
>


</
i
>
</
i
>
</
Tooltip
>
</
Tooltip
>
...
...
src/modules/plan-manage/components/UserLearningData.jsx
View file @
6f9accee
...
@@ -330,7 +330,7 @@ class UserLearningData extends React.Component {
...
@@ -330,7 +330,7 @@ class UserLearningData extends React.Component {
<
span
>
<
span
>
<
span
>
学习进度
</
span
>
<
span
>
学习进度
</
span
>
<
Tooltip
title=
'学员培训计划中达到“已完成”状态的课程数/总课程数'
>
<
Tooltip
title=
'学员培训计划中达到“已完成”状态的课程数/总课程数'
>
<
i
className=
'icon iconfont'
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
}
}
>
<
i
className=
'icon iconfont'
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
,
fontWeight
:
'normal'
}
}
>


</
i
>
</
i
>
</
Tooltip
>
</
Tooltip
>
...
...
src/modules/teach-tool/examination-manager/ExamData.tsx
View file @
6f9accee
This diff is collapsed.
Click to expand it.
src/modules/teach-tool/examination-manager/Index.tsx
View file @
6f9accee
...
@@ -11,6 +11,8 @@ import { XMContext } from '@/store/context';
...
@@ -11,6 +11,8 @@ import { XMContext } from '@/store/context';
import
ExamShareModal
from
'./ExamShareModal'
;
import
ExamShareModal
from
'./ExamShareModal'
;
import
DataAnalysic
from
'./DataAnalysic'
;
import
DataAnalysic
from
'./DataAnalysic'
;
import
PreviewModal
from
'./PreviewModal'
;
import
PreviewModal
from
'./PreviewModal'
;
import
college
from
'@/common/lottie/college.json'
;
import
'./index.less'
;
import
'./index.less'
;
const
{
RangePicker
}
=
DatePicker
;
const
{
RangePicker
}
=
DatePicker
;
const
{
Search
}
=
Input
;
const
{
Search
}
=
Input
;
...
@@ -425,6 +427,7 @@ function ExaminationManager(props: any) {
...
@@ -425,6 +427,7 @@ function ExaminationManager(props: any) {
pagination=
{
false
}
pagination=
{
false
}
style=
{
{
margin
:
'0px 0 16px'
}
}
style=
{
{
margin
:
'0px 0 16px'
}
}
renderEmpty=
{
{
renderEmpty=
{
{
image
:
college
,
description
:
<
span
style=
{
{
display
:
'block'
,
paddingBottom
:
24
}
}
>
暂无数据
</
span
>,
description
:
<
span
style=
{
{
display
:
'block'
,
paddingBottom
:
24
}
}
>
暂无数据
</
span
>,
}
}
></
XMTable
>
}
}
></
XMTable
>
{
total
>
0
&&
(
{
total
>
0
&&
(
...
...
src/modules/teach-tool/examination-manager/UserData.tsx
View file @
6f9accee
This diff is collapsed.
Click to expand it.
src/modules/teach-tool/paper-manage/components/PaperList.jsx
View file @
6f9accee
...
@@ -31,6 +31,8 @@ import _ from "underscore";
...
@@ -31,6 +31,8 @@ import _ from "underscore";
import
PaperPreviewModal
from
"../modal/PreviewPaperModal"
;
import
PaperPreviewModal
from
"../modal/PreviewPaperModal"
;
import
MoveModal
from
'../../modal/MoveModal'
;
import
MoveModal
from
'../../modal/MoveModal'
;
import
Bus
from
"@/core/bus"
;
import
Bus
from
"@/core/bus"
;
import
college
from
'@/common/lottie/college'
;
const
{
Search
}
=
Input
;
const
{
Search
}
=
Input
;
...
@@ -625,6 +627,7 @@ class PaperList extends Component {
...
@@ -625,6 +627,7 @@ class PaperList extends Component {
bordered
bordered
loading=
{
loading
}
loading=
{
loading
}
renderEmpty=
{
{
renderEmpty=
{
{
image
:
college
,
description
:
<
span
style=
{
{
display
:
'block'
,
paddingBottom
:
24
}
}
>
还没有试卷
</
span
>
description
:
<
span
style=
{
{
display
:
'block'
,
paddingBottom
:
24
}
}
>
还没有试卷
</
span
>
}
}
}
}
/>
/>
...
@@ -641,6 +644,7 @@ class PaperList extends Component {
...
@@ -641,6 +644,7 @@ class PaperList extends Component {
pagination=
{
false
}
pagination=
{
false
}
bordered
bordered
renderEmpty=
{
{
renderEmpty=
{
{
image
:
college
,
description
:
<
span
style=
{
{
display
:
'block'
,
paddingBottom
:
24
}
}
>
还没有试卷
</
span
>
description
:
<
span
style=
{
{
display
:
'block'
,
paddingBottom
:
24
}
}
>
还没有试卷
</
span
>
}
}
}
}
/>
/>
...
...
src/modules/teach-tool/paper-manage/components/SelectQuestionList.jsx
View file @
6f9accee
...
@@ -25,6 +25,8 @@ import AidToolService from "@/domains/aid-tool-domain/AidToolService";
...
@@ -25,6 +25,8 @@ import AidToolService from "@/domains/aid-tool-domain/AidToolService";
import
_
from
"underscore"
;
import
_
from
"underscore"
;
import
Bus
from
"@/core/bus"
;
import
Bus
from
"@/core/bus"
;
import
moment
from
'moment'
;
import
moment
from
'moment'
;
import
{
XMTable
}
from
'@/components'
;
import
college
from
'@/common/lottie/college'
;
const
{
Search
}
=
Input
;
const
{
Search
}
=
Input
;
const
{
RangePicker
}
=
DatePicker
;
const
{
RangePicker
}
=
DatePicker
;
...
@@ -201,19 +203,6 @@ class SelectQuestionList extends Component {
...
@@ -201,19 +203,6 @@ class SelectQuestionList extends Component {
return
columns
;
return
columns
;
};
};
// 自定义表格空状态
customizeRenderEmpty
=
()
=>
{
return
(
<
Empty
image=
"https://image.xiaomaiketang.com/xm/emptyTable.png"
imageStyle=
{
{
height
:
100
,
}
}
description=
{
"还没有题目"
}
></
Empty
>
);
};
onShowSizeChange
=
(
current
,
size
)
=>
{
onShowSizeChange
=
(
current
,
size
)
=>
{
if
(
current
==
size
)
{
if
(
current
==
size
)
{
return
;
return
;
...
@@ -431,8 +420,11 @@ class SelectQuestionList extends Component {
...
@@ -431,8 +420,11 @@ class SelectQuestionList extends Component {
)
}
)
}
</
div
>
</
div
>
<
div
className=
"select-question-content"
>
<
div
className=
"select-question-content"
>
<
ConfigProvider
renderEmpty=
{
this
.
customizeRenderEmpty
}
>
<
XMTable
<
Table
renderEmpty=
{
{
image
:
college
,
description
:
'还没有题目'
}
}
rowSelection=
{
rowSelection
}
rowSelection=
{
rowSelection
}
rowKey=
{
(
record
)
=>
record
.
id
}
rowKey=
{
(
record
)
=>
record
.
id
}
dataSource=
{
dataSource
}
dataSource=
{
dataSource
}
...
@@ -441,7 +433,6 @@ class SelectQuestionList extends Component {
...
@@ -441,7 +433,6 @@ class SelectQuestionList extends Component {
onChange=
{
this
.
handleChangeTable
}
onChange=
{
this
.
handleChangeTable
}
bordered
bordered
/>
/>
</
ConfigProvider
>
<
div
className=
"box-footer"
>
<
div
className=
"box-footer"
>
<
PageControl
<
PageControl
current=
{
current
-
1
}
current=
{
current
-
1
}
...
...
src/modules/teach-tool/question-manage/components/QuestionList.jsx
View file @
6f9accee
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
{
Table
,
ConfigProvider
,
Empty
,
Row
,
Input
,
Select
,
Tooltip
,
Space
,
Button
,
Modal
,
message
,
Menu
,
Dropdown
,
DatePicker
}
from
'antd'
;
import
{
Row
,
Input
,
Select
,
Tooltip
,
Space
,
Button
,
Modal
,
message
,
Menu
,
Dropdown
,
DatePicker
}
from
'antd'
;
import
_
from
'underscore'
;
import
_
from
'underscore'
;
import
{
Route
,
withRouter
}
from
'react-router-dom'
;
import
{
Route
,
withRouter
}
from
'react-router-dom'
;
import
{
DownOutlined
}
from
'@ant-design/icons'
;
import
{
DownOutlined
}
from
'@ant-design/icons'
;
...
@@ -21,6 +21,8 @@ import Bus from '@/core/bus';
...
@@ -21,6 +21,8 @@ import Bus from '@/core/bus';
import
moment
from
'moment'
;
import
moment
from
'moment'
;
import
Service
from
'@/common/js/service'
;
import
Service
from
'@/common/js/service'
;
import
MoveModal
from
'../../modal/MoveModal'
;
import
MoveModal
from
'../../modal/MoveModal'
;
import
college
from
'@/common/lottie/college'
;
import
'./QuestionList.less'
;
import
'./QuestionList.less'
;
const
{
RangePicker
}
=
DatePicker
;
const
{
RangePicker
}
=
DatePicker
;
...
@@ -671,6 +673,7 @@ class QuestionList extends Component {
...
@@ -671,6 +673,7 @@ class QuestionList extends Component {
onChange=
{
this
.
handleChangeTable
}
onChange=
{
this
.
handleChangeTable
}
rowSelection=
{
rowSelection
}
rowSelection=
{
rowSelection
}
renderEmpty=
{
{
renderEmpty=
{
{
image
:
college
,
description
:
(
description
:
(
<
span
style=
{
{
display
:
'block'
,
paddingBottom
:
24
}
}
>
<
span
style=
{
{
display
:
'block'
,
paddingBottom
:
24
}
}
>
<
span
>
还没有题目
</
span
>
<
span
>
还没有题目
</
span
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment