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
6a4a8246
Commit
6a4a8246
authored
Oct 31, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bww-v1'
parents
de1c346f
41fa34dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
createtheme.js
src/models/createtheme.js
+0
-2
teachers.js
src/models/teachers.js
+14
-0
No files found.
src/models/createtheme.js
View file @
6a4a8246
...
...
@@ -776,9 +776,7 @@ export default {
},
*
calculatecalendar
({
payload
},
{
call
,
put
,
select
})
{
const
{
currentTimestamp
,
judgetodaycurrentTimestamp
}
=
payload
;
console
.
log
(
payload
,
'payload'
);
const
calendarData
=
calendar
(
currentTimestamp
,
judgetodaycurrentTimestamp
);
console
.
log
(
calendarData
,
'calendarData'
);
yield
put
({
type
:
'updateState'
,
payload
:
{
...
...
src/models/teachers.js
View file @
6a4a8246
...
...
@@ -380,6 +380,20 @@ export default {
const
{
class_ids
,
callBack
}
=
value
;
const
{
teacher_id
,
submitting
}
=
yield
select
(
state
=>
state
.
teachers
);
const
{
sid
}
=
yield
select
(
state
=>
state
.
webapp
);
if
(
class_ids
===
undefined
)
{
yield
put
({
type
:
'updateState'
,
payload
:
{
chooseClassVisible
:
false
,
teacher_id
:
0
,
allClassList
:
[],
},
});
if
(
callBack
&&
(
typeof
callBack
==
'function'
))
{
callBack
();
}
return
;
}
if
(
submitting
)
{
return
;
}
...
...
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