Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
biz.qingxiao.com
Commits
cc5c75d3
Commit
cc5c75d3
authored
Dec 30, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/wxl-develop'
parents
4d2f2e3c
cd6bfaaa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
index.html
index.html
+1
-1
schoollist.js
src/models/schoollist.js
+1
-1
ChooseClassModal.js
src/pages/teacher/ChooseClassModal.js
+2
-1
EditTeacher.js
src/pages/teacher/EditTeacher.js
+2
-1
TeacherCodeModal.js
src/pages/teacher/TeacherCodeModal.js
+2
-2
No files found.
index.html
View file @
cc5c75d3
...
...
@@ -18,6 +18,6 @@
</head>
<body>
<div
id=
"root"
></div>
<script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/main.js?157770
3550392
"
charset=
"utf-8"
></script>
<script
src=
"https://cdn.img.shangjiadao.cn/qingxiao/biz/dist/main.js?157770
6356191
"
charset=
"utf-8"
></script>
</body>
</html>
\ No newline at end of file
src/models/schoollist.js
View file @
cc5c75d3
...
...
@@ -128,7 +128,7 @@ export default {
message
.
warn
(
'暂无权限,请联系管理员添加权限'
);
}
}
else
{
console
.
log
(
'权限设置失败'
);
//
console.log('权限设置失败');
}
},
*
addSchool
({
payload
},
{
call
,
put
,
select
})
{
...
...
src/pages/teacher/ChooseClassModal.js
View file @
cc5c75d3
...
...
@@ -13,7 +13,8 @@ class ChooseClassModal extends React.Component {
}
componentWillUnmount
()
{
// 卸载
}
save
=
()
=>
{
save
=
(
e
)
=>
{
e
.
preventDefault
();
const
{
form
,
save
,
}
=
this
.
props
;
...
...
src/pages/teacher/EditTeacher.js
View file @
cc5c75d3
...
...
@@ -23,7 +23,8 @@ class EditClassModal extends React.Component {
});
}
}
save
=
()
=>
{
save
=
(
e
)
=>
{
e
.
preventDefault
();
const
{
form
,
save
}
=
this
.
props
;
form
.
validateFields
((
err
,
values
)
=>
{
if
(
!
err
)
{
...
...
src/pages/teacher/TeacherCodeModal.js
View file @
cc5c75d3
...
...
@@ -18,7 +18,8 @@ class TeacherCodeModal extends React.Component {
}
componentWillUnmount
()
{
// 卸载
}
save
=
()
=>
{
save
=
(
e
)
=>
{
e
.
preventDefault
();
const
{
form
,
save
,
}
=
this
.
props
;
...
...
@@ -27,7 +28,6 @@ class TeacherCodeModal extends React.Component {
const
{
rid
,
}
=
values
;
console
.
log
(
values
,
'values'
);
save
({
rid
,
callBack
:
()
=>
{
...
...
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