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
b716a476
Commit
b716a476
authored
Jul 29, 2021
by
guomingpang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://xmgit.ixm5.cn:10022/xiaomai-cloud-class/xiaomai-cloud-class-web
parents
e5d721a9
0ee60e44
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
19 additions
and
25 deletions
+19
-25
src/components/ContactWidget.tsx
+2
-3
src/modules/college-manage/EmployeeManage.tsx
+3
-3
src/modules/college-manage/modal/SetEmployeeModal.jsx
+1
-1
src/modules/root/Header.jsx
+1
-1
src/modules/store-manage/EmployeeAddOrEditModal.tsx
+1
-1
src/modules/store-manage/EmployeesManagePage.tsx
+1
-1
src/modules/teach-tool/components/CourseCategoryManage.jsx
+1
-1
src/modules/teach-tool/components/CourseCategoryManage.less
+3
-3
src/modules/teach-tool/components/XMAudio.less
+2
-2
src/modules/teach-tool/paper-manage/modal/PreviewPaperModal.less
+0
-1
src/modules/teach-tool/question-manage/components/OperateQuestionTab.less
+0
-1
src/modules/teach-tool/question-manage/modal/PreviewQuestionModal.less
+0
-3
src/routes/config/mainRoutes.tsx
+2
-2
src/routes/config/menuList.tsx
+2
-2
No files found.
src/components/ContactWidget.tsx
View file @
b716a476
import
React
,
{
ReactElement
}
from
"react"
;
import
React
,
{
ReactElement
}
from
"react"
;
import
{
Popover
}
from
"antd"
;
import
{
Popover
}
from
"antd"
;
import
{
TooltipPlacement
}
from
"antd/lib/tooltip"
;
import
{
TooltipPlacement
}
from
"antd/lib/tooltip"
;
import
{
ActionType
}
from
"rc-trigger/lib/interface"
;
import
"./ContactWidget.less"
import
"./ContactWidget.less"
interface
ContactWidgetProps
{
interface
ContactWidgetProps
{
placement
:
TooltipPlacement
placement
:
TooltipPlacement
children
:
React
.
ReactElement
children
:
React
.
ReactElement
visible
?:
boolean
visible
?:
boolean
trigger
:
ActionType
|
ActionType
[]
trigger
:
string
|
string
[]
}
}
function
Content
()
{
function
Content
()
{
...
@@ -27,7 +26,7 @@ function Content() {
...
@@ -27,7 +26,7 @@ function Content() {
export
default
function
ContactWidget
(
props
:
ContactWidgetProps
)
{
export
default
function
ContactWidget
(
props
:
ContactWidgetProps
)
{
return
<
Popover
return
<
Popover
c
lassName=
"contact-widget-popover"
overlayC
lassName=
"contact-widget-popover"
placement=
{
props
.
placement
}
placement=
{
props
.
placement
}
arrowPointAtCenter
arrowPointAtCenter
content=
{
Content
}
content=
{
Content
}
...
...
src/modules/college-manage/EmployeeManage.tsx
View file @
b716a476
...
@@ -166,7 +166,7 @@ function EmployeeManage() {
...
@@ -166,7 +166,7 @@ function EmployeeManage() {
},
},
},
},
{
{
title
:
"
身份
"
,
title
:
"
角色
"
,
dataIndex
:
"role"
,
dataIndex
:
"role"
,
key
:
"role"
,
key
:
"role"
,
render
:
(
val
:
string
)
=>
{
render
:
(
val
:
string
)
=>
{
...
@@ -276,7 +276,7 @@ function EmployeeManage() {
...
@@ -276,7 +276,7 @@ function EmployeeManage() {
return
(
return
(
<
div
className=
"page employee-manage-page"
>
<
div
className=
"page employee-manage-page"
>
<
div
className=
"content-header"
>
员工
管理
</
div
>
<
div
className=
"content-header"
>
角色
管理
</
div
>
<
div
className=
"box"
>
<
div
className=
"box"
>
<
div
className=
"box-header"
>
<
div
className=
"box-header"
>
<
div
<
div
...
@@ -326,7 +326,7 @@ function EmployeeManage() {
...
@@ -326,7 +326,7 @@ function EmployeeManage() {
</
div
>
</
div
>
<
div
>
<
div
>
身份
:
角色
:
{
_
.
map
(
roleIds
,
(
item
:
any
)
=>
{
{
_
.
map
(
roleIds
,
(
item
:
any
)
=>
{
return
(
return
(
<
CheckBox
<
CheckBox
...
...
src/modules/college-manage/modal/SetEmployeeModal.jsx
View file @
b716a476
...
@@ -77,7 +77,7 @@ export default class SetEmployeeModal extends React.Component {
...
@@ -77,7 +77,7 @@ export default class SetEmployeeModal extends React.Component {
))
}
))
}
</
div
>
</
div
>
<
div
className=
"detail-box"
>
<
div
className=
"detail-box"
>
<
div
className=
"title"
>
员工
身份
:
</
div
>
<
div
className=
"title"
>
员工
角色
:
</
div
>
<
RadioGroup
<
RadioGroup
value=
{
roleCode
}
value=
{
roleCode
}
onChange=
{
(
e
)
=>
{
onChange=
{
(
e
)
=>
{
...
...
src/modules/root/Header.jsx
View file @
b716a476
...
@@ -154,7 +154,7 @@ function Header(props) {
...
@@ -154,7 +154,7 @@ function Header(props) {
});
});
}
}
>
}
}
>
<
span
className=
'menu-before iconfont icon'
>

</
span
>
<
span
className=
'menu-before iconfont icon'
>

</
span
>
<
span
>
进入管理后台
</
span
>
<
span
>
多学院管理面板
</
span
>
<
span
className=
'menu-after iconfont icon'
>

</
span
>
<
span
className=
'menu-after iconfont icon'
>

</
span
>
</
div
>
</
div
>
)
}
)
}
...
...
src/modules/store-manage/EmployeeAddOrEditModal.tsx
View file @
b716a476
...
@@ -273,7 +273,7 @@ function AddEmployeeModal(props: AddEmployeeModalProps) {
...
@@ -273,7 +273,7 @@ function AddEmployeeModal(props: AddEmployeeModalProps) {
</
Form
.
Item
>
</
Form
.
Item
>
)
}
)
}
<
Form
.
Item
<
Form
.
Item
label=
"员工
身份
"
label=
"员工
角色
"
name=
"role"
name=
"role"
rules=
{
[{
required
:
false
}]
}
rules=
{
[{
required
:
false
}]
}
style=
{
{
marginBottom
:
'-2px !important'
}
}
style=
{
{
marginBottom
:
'-2px !important'
}
}
...
...
src/modules/store-manage/EmployeesManagePage.tsx
View file @
b716a476
...
@@ -300,7 +300,7 @@ function EmployeesManagePage() {
...
@@ -300,7 +300,7 @@ function EmployeesManagePage() {
return
(
return
(
<
div
className=
" page employee-manage-page"
>
<
div
className=
" page employee-manage-page"
>
<
div
className=
"content-header"
>
员工
管理
</
div
>
<
div
className=
"content-header"
>
角色
管理
</
div
>
<
div
className=
"box"
>
<
div
className=
"box"
>
<
div
className=
"box-header"
>
<
div
className=
"box-header"
>
<
div
<
div
...
...
src/modules/teach-tool/components/CourseCategoryManage.jsx
View file @
b716a476
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Author: yuananting
* @Date: 2021-02-23 18:28:50
* @Date: 2021-02-23 18:28:50
* @LastEditors: wufan
* @LastEditors: wufan
* @LastEditTime: 2021-0
6-24 13:39:30
* @LastEditTime: 2021-0
7-23 15:02:34
* @Description: 助学工具-课程分类
* @Description: 助学工具-课程分类
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
...
src/modules/teach-tool/components/CourseCategoryManage.less
View file @
b716a476
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
height: 44px;
height: 44px;
padding: 0;
padding: 0;
span {
span {
line-height: 4
4
px;
line-height: 4
7
px;
vertical-align: middle;
vertical-align: middle;
}
}
.ant-tree-node-content-wrapper.ant-tree-node-selected {
.ant-tree-node-content-wrapper.ant-tree-node-selected {
...
@@ -45,10 +45,10 @@
...
@@ -45,10 +45,10 @@
*.node-title-div {
*.node-title-div {
width: 100%;
width: 100%;
display: flex;
display: flex;
justify-content: space-between;
.title-opts {
.title-opts {
visibility: hidden;
visibility: hidden;
margin-right: 16px;
margin-left: 24px;
margin-bottom: 4px;
}
}
}
}
}
}
...
...
src/modules/teach-tool/components/XMAudio.less
View file @
b716a476
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
.xm-audio {
.xm-audio {
display: flex;
display: flex;
align-items: center;
align-items: center;
width:
280
px;
width:
315
px;
padding: 10px 20px;
padding: 10px
0 10px
20px;
border-radius: 5px;
border-radius: 5px;
background-color: #ffffff;
background-color: #ffffff;
.audio-image {
.audio-image {
...
...
src/modules/teach-tool/paper-manage/modal/PreviewPaperModal.less
View file @
b716a476
...
@@ -101,7 +101,6 @@
...
@@ -101,7 +101,6 @@
.voice-box {
.voice-box {
margin-bottom: 12px;
margin-bottom: 12px;
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
padding: 10px 20px;
width: 320px;
width: 320px;
}
}
}
}
...
...
src/modules/teach-tool/question-manage/components/OperateQuestionTab.less
View file @
b716a476
...
@@ -314,7 +314,6 @@
...
@@ -314,7 +314,6 @@
.audio-box {
.audio-box {
position: relative;
position: relative;
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
padding: 10px 20px;
width: 320px;
width: 320px;
margin-bottom: 12px;
margin-bottom: 12px;
.icon_sider {
.icon_sider {
...
...
src/modules/teach-tool/question-manage/modal/PreviewQuestionModal.less
View file @
b716a476
...
@@ -68,7 +68,6 @@
...
@@ -68,7 +68,6 @@
.voice-box {
.voice-box {
margin-bottom: 12px;
margin-bottom: 12px;
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
padding: 10px 20px;
width: 320px;
width: 320px;
}
}
}
}
...
@@ -144,7 +143,6 @@
...
@@ -144,7 +143,6 @@
.voice-box {
.voice-box {
margin-bottom: 12px;
margin-bottom: 12px;
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
padding: 10px 20px;
width: 320px;
width: 320px;
}
}
}
}
...
@@ -248,7 +246,6 @@
...
@@ -248,7 +246,6 @@
margin-bottom: 16px;
margin-bottom: 16px;
.audio-box {
.audio-box {
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
padding: 10px 20px;
width: 320px;
width: 320px;
margin-bottom: 12px;
margin-bottom: 12px;
}
}
...
...
src/routes/config/mainRoutes.tsx
View file @
b716a476
...
@@ -46,12 +46,12 @@ const mainRoutes = [
...
@@ -46,12 +46,12 @@ const mainRoutes = [
{
{
path
:
'/employees-manage'
,
path
:
'/employees-manage'
,
component
:
EmployeesManagePage
,
component
:
EmployeesManagePage
,
name
:
'
员工
管理'
,
name
:
'
角色
管理'
,
},
},
{
{
path
:
'/college-employee'
,
path
:
'/college-employee'
,
component
:
EmployeeManage
,
component
:
EmployeeManage
,
name
:
'
员工
管理'
,
name
:
'
角色
管理'
,
},
},
{
{
path
:
'/personal-info'
,
path
:
'/personal-info'
,
...
...
src/routes/config/menuList.tsx
View file @
b716a476
...
@@ -99,14 +99,14 @@ export const menuList: any = [
...
@@ -99,14 +99,14 @@ export const menuList: any = [
selectImg
:
'https://image.xiaomaiketang.com/xm/5sN4MzjxYc.png'
,
selectImg
:
'https://image.xiaomaiketang.com/xm/5sN4MzjxYc.png'
,
},
},
{
{
groupName
:
'
人员
管理'
,
groupName
:
'
权限
管理'
,
groupCode
:
'PersonManage'
,
groupCode
:
'PersonManage'
,
icon
:
''
,
icon
:
''
,
img
:
'https://image.xiaomaiketang.com/xm/PRCnrt35y8.png'
,
img
:
'https://image.xiaomaiketang.com/xm/PRCnrt35y8.png'
,
selectImg
:
'https://image.xiaomaiketang.com/xm/GhkwbdpwfK.png'
,
selectImg
:
'https://image.xiaomaiketang.com/xm/GhkwbdpwfK.png'
,
children
:
[
children
:
[
{
{
groupName
:
'
员工
管理'
,
groupName
:
'
角色
管理'
,
groupCode
:
'ShopStaff'
,
groupCode
:
'ShopStaff'
,
link
:
'/college-employee'
,
link
:
'/college-employee'
,
},
},
...
...
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