Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
bce08313
Commit
bce08313
authored
Oct 29, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user daterange mode='d'
parent
a81cc75f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
detail.vue
pages/project/task/detail.vue
+1
-1
index.vue
pages/project/task/index.vue
+5
-3
No files found.
pages/project/task/detail.vue
View file @
bce08313
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<Col
:span=
"8"
>
<Col
:span=
"8"
>
<FormItem
label
>
<FormItem
label
>
<span
style=
"float:left"
>
计划起止日期:
</span>
<span
style=
"float:left"
>
计划起止日期:
</span>
<DateRange
v-model=
"timeValuePlan"
>
<DateRange
v-model=
"timeValuePlan"
mode=
'd'
>
</DateRange>
</DateRange>
</FormItem>
</FormItem>
</Col>
</Col>
...
...
pages/project/task/index.vue
View file @
bce08313
...
@@ -180,14 +180,15 @@ export default {
...
@@ -180,14 +180,15 @@ export default {
title
:
'计划起止日期'
,
title
:
'计划起止日期'
,
align
:
"center"
,
align
:
"center"
,
high
:
true
,
high
:
true
,
width
:
2
00
,
width
:
6
00
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
'DateRange'
,
{
return
h
(
'DateRange'
,
{
props
:
{
props
:
{
value
:
{
value
:
{
startDate
:
params
.
row
.
plansToStartDate
,
startDate
:
params
.
row
.
plansToStartDate
,
endDate
:
params
.
row
.
plansToEndTime
,
endDate
:
params
.
row
.
plansToEndTime
,
}
},
mode
:
'd'
}
}
})
})
}
}
...
@@ -204,7 +205,8 @@ export default {
...
@@ -204,7 +205,8 @@ export default {
value
:
{
value
:
{
startDate
:
params
.
row
.
startDate
,
startDate
:
params
.
row
.
startDate
,
endDate
:
params
.
row
.
endDate
,
endDate
:
params
.
row
.
endDate
,
}
},
mode
:
'd'
}
}
})
})
}
}
...
...
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