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
6f6f0307
Commit
6f6f0307
authored
Jun 08, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Plain Diff
feat:解决合并代码后的冲突
parents
8e262573
df8662e3
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
92 additions
and
86 deletions
+92
-86
src/core/antd.less
+3
-6
src/modules/root/Menu.less
+2
-2
src/modules/teach-tool/components/CourseCategoryManage.jsx
+1
-1
src/modules/teach-tool/examination-manager/Index.tsx
+1
-0
src/modules/teach-tool/examination-manager/index.less
+9
-0
src/modules/teach-tool/paper-manage/OperatePaper.jsx
+58
-59
src/routes/config/menuList.tsx
+18
-18
No files found.
src/core/antd.less
View file @
6f6f0307
...
...
@@ -2,7 +2,7 @@
* @Author: Michael
* @Date: 2017-09-08 17:38:18
* @Last Modified by: chenshu
* @Last Modified time: 2021-06-04 1
5:56:16
* @Last Modified time: 2021-06-04 1
8:19:23
*/
@import './variables.less';
...
...
@@ -766,15 +766,12 @@ td.ant-table-column-sort {
}
}
.ant-table-column-sorters {
justify-content: start !important;
}
.ant-table-column-title {
flex: initial !important;
}
.ant-table-column-sorter-full{
// 排序小三角
.ant-table-column-sorter {
margin-left: 8px !important;
}
src/modules/root/Menu.less
View file @
6f6f0307
...
...
@@ -48,8 +48,8 @@
margin-right: 20px
}
.icon-img{
width:1
6
px;
height:1
6
px;
width:1
8
px;
height:1
8
px;
margin-right:16px;
}
.listType {
...
...
src/modules/teach-tool/components/CourseCategoryManage.jsx
View file @
6f6f0307
...
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-02-23 18:28:50
* @LastEditors: yuananting
* @LastEditTime: 2021-06-02 14:2
9:04
* @LastEditTime: 2021-06-02 14:2
5:06
* @Description: 助学工具-课程分类
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
src/modules/teach-tool/examination-manager/Index.tsx
View file @
6f6f0307
...
...
@@ -144,6 +144,7 @@ function ExaminationManager(props: any) {
title
:
"操作"
,
fixed
:
fixStr
.
right
,
dataIndex
:
"operate"
,
width
:
150
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
div
className=
"table_operate"
>
{
ctx
.
xmState
?.
userPermission
?.
SeeExamData
()
&&
[<
div
...
...
src/modules/teach-tool/examination-manager/index.less
View file @
6f6f0307
...
...
@@ -13,4 +13,12 @@
.ant-table-column-sorter {
margin-top: 0px !important;
}
.ant-table tbody tr {
&:nth-child(even) {
background: #fff;
}
&:nth-child(odd) {
background: #fafafa;
}
}
}
\ No newline at end of file
src/modules/teach-tool/paper-manage/OperatePaper.jsx
View file @
6f6f0307
/*
* @Author: yuananting
* @Date: 2021-03-27 16:15:13
* @LastEditors:
yuananting
* @LastEditTime: 2021-06-0
4 10:58:31
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2021-06-0
8 10:11:08
* @Description: 助学工具-新建/复制/编辑试卷
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -722,36 +722,36 @@ class OperatePaper extends Component {
<
div
className=
"page operate-paper-page"
>
<
Breadcrumbs
navList=
{
currentNav
}
goBack=
{
()
=>
this
.
handleGoBack
()
}
/>
<
Spin
spinning=
{
loading
}
>
<
div
className=
"box"
>
<
div
className=
"show-tips"
>
<
ShowTips
message=
"请遵守国家相关规定,切勿上传低俗色情、暴力恐怖、谣言诈骗、侵权盗版等相关内容,小麦企学院保有依据国家规定及平台规则进行处理的权利"
/>
</
div
>
<
Form
ref=
{
this
.
formRef
}
style=
{
{
marginTop
:
24
,
marginBottom
:
'85px'
}
}
>
<
Form
.
Item
name=
"paperName"
label=
"试卷名称:"
required
validateStatus=
{
this
.
validatePaperName
(
paperName
)
?
"error"
:
""
}
help=
{
this
.
validatePaperName
(
paperName
)
}
>
<
Input
value=
{
paperName
}
autoComplete=
"off"
maxLength=
{
40
}
style=
{
{
width
:
300
}
}
placeholder=
"请输入试卷名称(40字以内)"
onChange=
{
(
e
)
=>
{
this
.
setState
({
formData
:
{
...
formData
,
paperName
:
e
.
target
.
value
.
trim
(),
}
,
});
}
}
/>
</
Form
.
Item
>
<
div
className=
"box"
>
<
div
className=
"show-tips"
>
<
ShowTips
message=
"请遵守国家相关规定,切勿上传低俗色情、暴力恐怖、谣言诈骗、侵权盗版等相关内容,小麦企学院保有依据国家规定及平台规则进行处理的权利"
/>
</
div
>
<
Form
ref=
{
this
.
formRef
}
style=
{
{
marginTop
:
24
}
}
>
<
Form
.
Item
name=
"paperName"
label=
"试卷名称:"
required
validateStatus=
{
this
.
validatePaperName
(
paperName
)
?
"error"
:
""
}
help=
{
this
.
validatePaperName
(
paperName
)
}
>
<
Input
value=
{
paperName
}
autoComplete=
"off"
maxLength=
{
40
}
style=
{
{
width
:
300
}
}
placeholder=
"请输入试卷名称(40字以内)"
onChange=
{
(
e
)
=>
{
this
.
setState
({
formData
:
{
...
formData
,
paperName
:
e
.
target
.
value
.
trim
(),
},
});
}
}
/>
</
Form
.
Item
>
<
Form
.
Item
name=
"passRate"
...
...
@@ -787,34 +787,33 @@ class OperatePaper extends Component {
</
div
>
</
Form
.
Item
>
<
Button
className=
"choose-btn"
type=
"primary"
icon=
{
<
PlusOutlined
/>
}
onClick=
{
this
.
chooseQuestion
}
<
Button
className=
"choose-btn"
type=
"primary"
icon=
{
<
PlusOutlined
/>
}
onClick=
{
this
.
chooseQuestion
}
>
自选题目
</
Button
>
{
questionCnt
>
0
&&
(
<
div
className=
"paper-info-tip"
style=
{
{
margin
:
"0 auto 12px"
}
}
>
自选题目
</
Button
>
{
questionCnt
>
0
&&
(
<
div
className=
"paper-info-tip"
style=
{
{
margin
:
"0 auto 12px"
}
}
>
总计
<
span
>
{
totalScore
}
</
span
>
分,共
<
span
>
{
questionCnt
}
</
span
>
题。
{
" "
}
{
singleChoiceCnt
>
0
&&
`单选题${singleChoiceCnt}题,共${singleChoiceScore}分;`
}
{
multiChoiceCnt
>
0
&&
`多选题${multiChoiceCnt}题,共${multiChoiceScore}分;`
}
{
judgeCnt
>
0
&&
`判断题${judgeCnt}题,共${judgeScore}分,`
}
{
gapFillingCnt
>
0
&&
`填空题${gapFillingCnt}题,共${gapFillingScore}分,`
}
{
indefiniteChoiceCnt
>
0
&&
`不定项选择题${indefiniteChoiceCnt}题,共${indefiniteChoiceScore}分`
}
</
div
>
)
}
总计
<
span
>
{
totalScore
}
</
span
>
分,共
<
span
>
{
questionCnt
}
</
span
>
题。
{
" "
}
{
singleChoiceCnt
>
0
&&
`单选题${singleChoiceCnt}题,共${singleChoiceScore}分;`
}
{
multiChoiceCnt
>
0
&&
`多选题${multiChoiceCnt}题,共${multiChoiceScore}分;`
}
{
judgeCnt
>
0
&&
`判断题${judgeCnt}题,共${judgeScore}分,`
}
{
gapFillingCnt
>
0
&&
`填空题${gapFillingCnt}题,共${gapFillingScore}分,`
}
{
indefiniteChoiceCnt
>
0
&&
`不定项选择题${indefiniteChoiceCnt}题,共${indefiniteChoiceScore}分`
}
</
div
>
)
}
<
XMTable
className=
"table-style"
scroll=
{
{
y
:
350
}
}
...
...
src/routes/config/menuList.tsx
View file @
6f6f0307
...
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-02-21 15:53:31
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-0
5-30 11:00:09
* @LastEditTime: 2021-0
6-08 10:01:13
* @Description: 描述一下咯
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -44,22 +44,6 @@ export const menuList: any = [
]
},
{
groupName
:
"知识库"
,
groupCode
:
"CloudKnowledge"
,
icon
:
''
,
link
:
'/knowledge-base'
,
img
:
'https://image.xiaomaiketang.com/xm/8sbP5rGQWh.png'
,
selectImg
:
'https://image.xiaomaiketang.com/xm/hJKCfibC22.png'
},
{
groupName
:
"资料云盘"
,
groupCode
:
"CloudDisk"
,
icon
:
''
,
link
:
'/resource-disk'
,
img
:
'https://image.xiaomaiketang.com/xm/zGKbXJPzXx.png'
,
selectImg
:
'https://image.xiaomaiketang.com/xm/5sN4MzjxYc.png'
,
},
{
groupName
:
"培训管理"
,
groupCode
:
"TrainManage"
,
icon
:
''
,
...
...
@@ -138,5 +122,20 @@ export const menuList: any = [
}
]
},
{
groupName
:
"知识库"
,
groupCode
:
"CloudKnowledge"
,
icon
:
''
,
link
:
'/knowledge-base'
,
img
:
'https://image.xiaomaiketang.com/xm/8sbP5rGQWh.png'
,
selectImg
:
'https://image.xiaomaiketang.com/xm/hJKCfibC22.png'
},
{
groupName
:
"资料云盘"
,
groupCode
:
"CloudDisk"
,
icon
:
''
,
link
:
'/resource-disk'
,
img
:
'https://image.xiaomaiketang.com/xm/zGKbXJPzXx.png'
,
selectImg
:
'https://image.xiaomaiketang.com/xm/5sN4MzjxYc.png'
,
},
]
\ No newline at end of file
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