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
a1a1ff75
Commit
a1a1ff75
authored
Aug 17, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/yuananting/20210801/task-center' into dev
parents
4ef99592
5665cef0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
src/modules/task-center/train-task/components/BasicInfo.jsx
+13
-4
No files found.
src/modules/task-center/train-task/components/BasicInfo.jsx
View file @
a1a1ff75
...
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-07-29 14:32:24
* @LastEditors: yuananting
* @LastEditTime: 2021-08-17 1
1:39:13
* @LastEditTime: 2021-08-17 1
3:56:11
* @Description: 任务中心-培训任务-新建-基本信息
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
...
...
@@ -178,9 +178,18 @@ function BasicInfo(props) {
style=
{
{
width
:
320
}
}
showTime=
{
{
defaultValue
:
[
moment
().
add
(
10
,
'minutes'
),
moment
().
add
(
10
,
'minutes'
)]
}
}
ranges=
{
{
近
7
天
:
[
moment
().
add
(
10
,
'minute'
),
moment
().
add
(
6
,
'day'
).
endOf
(
'day'
)],
近
1
个月
:
[
moment
().
add
(
10
,
'minute'
),
moment
().
add
(
1
,
'month'
).
endOf
(
'day'
)],
近
3
个月
:
[
moment
().
add
(
10
,
'minute'
),
moment
().
add
(
3
,
'month'
).
endOf
(
'day'
)],
近
7
天
:
[
type
===
'edit'
&&
taskState
===
'STARTING'
?
moment
(
startTime
)
:
moment
().
add
(
10
,
'minute'
),
moment
().
add
(
6
,
'day'
).
endOf
(
'day'
),
],
近
1
个月
:
[
type
===
'edit'
&&
taskState
===
'STARTING'
?
moment
(
startTime
)
:
moment
().
add
(
10
,
'minute'
),
moment
().
add
(
1
,
'month'
).
endOf
(
'day'
),
],
近
3
个月
:
[
type
===
'edit'
&&
taskState
===
'STARTING'
?
moment
(
startTime
)
:
moment
().
add
(
10
,
'minute'
),
moment
().
add
(
3
,
'month'
).
endOf
(
'day'
),
],
}
}
disabledDate=
{
disabledDate
}
disabledTime=
{
disabledRangeTime
}
...
...
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