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
b87acec3
Commit
b87acec3
authored
Oct 28, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task
parent
1a838023
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
add.vue
pages/project/task/add.vue
+4
-4
detail.vue
pages/project/task/detail.vue
+5
-5
index.vue
pages/project/task/index.vue
+3
-3
No files found.
pages/project/task/add.vue
View file @
b87acec3
...
...
@@ -53,8 +53,8 @@ export default {
userIds
:
""
,
userId
:
""
,
note
:
""
,
plans
tartd
ate
:
null
,
plan
enddat
e
:
null
,
plans
ToStartD
ate
:
null
,
plan
sToEndTim
e
:
null
,
},
rules
:
{
name
:
[{
...
...
@@ -117,8 +117,8 @@ export default {
});
},
changeFormat
(
val
)
{
this
.
entity
.
plans
tartd
ate
=
val
[
0
];
this
.
entity
.
plan
enddat
e
=
val
[
1
];
this
.
entity
.
plans
ToStartD
ate
=
val
[
0
];
this
.
entity
.
plan
sToEndTim
e
=
val
[
1
];
},
handleImg
(
e
)
{
console
.
warn
(
e
)
...
...
pages/project/task/detail.vue
View file @
b87acec3
...
...
@@ -12,7 +12,7 @@
<User
:value=
"parseInt(entity.userId)"
></User>
</Filed>
<Filed
:span=
"12"
name=
"计划起止日期"
>
<TimeDifference
:timeValue=
"timeValuePlan"
:work=
"
1
"
></TimeDifference>
<TimeDifference
:timeValue=
"timeValuePlan"
:work=
"
0
"
></TimeDifference>
</Filed>
<Filed
:span=
"12"
name=
"实际起止日期"
>
<TimeDifference
:timeValue=
"timeValue"
:work=
"1"
></TimeDifference>
...
...
@@ -42,8 +42,8 @@ export default {
endDate
:
""
,
},
timeValuePlan
:
{
planS
tartDate
:
""
,
planE
ndDate
:
""
,
s
tartDate
:
""
,
e
ndDate
:
""
,
},
rules
:
{
name
:
[{
...
...
@@ -80,8 +80,8 @@ export default {
endDate
:
r
.
result
.
endDate
,
},
this
.
timeValuePlan
=
{
planStartDate
:
r
.
result
.
plan
StartDate
,
planEndDate
:
r
.
result
.
planEndDat
e
,
startDate
:
r
.
result
.
plansTo
StartDate
,
endDate
:
r
.
result
.
plansToEndTim
e
,
},
this
.
$emit
(
'on-load'
)
// this.curId = v
...
...
pages/project/task/index.vue
View file @
b87acec3
...
...
@@ -198,10 +198,10 @@ export default {
return
h
(
'TimeDifference'
,
{
props
:
{
timeValue
:
{
startDate
:
params
.
row
.
plans
tartd
ate
,
endDate
:
params
.
row
.
plan
enddat
e
,
startDate
:
params
.
row
.
plans
ToStartD
ate
,
endDate
:
params
.
row
.
plan
sToEndTim
e
,
},
work
:
1
work
:
0
}
})
}
...
...
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