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
6fc8e6b8
Commit
6fc8e6b8
authored
Oct 29, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iview
parent
2ca5a450
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
detail.vue
pages/project/task/detail.vue
+3
-2
index.vue
pages/project/task/index.vue
+4
-6
iview.js
plugins/iview.js
+2
-2
No files found.
pages/project/task/detail.vue
View file @
6fc8e6b8
...
@@ -30,13 +30,14 @@
...
@@ -30,13 +30,14 @@
<Col
:span=
"8"
>
<Col
:span=
"8"
>
<FormItem
label
>
<FormItem
label
>
<span
style=
"float:left"
>
计划起止日期:
</span>
<span
style=
"float:left"
>
计划起止日期:
</span>
<TimeDifference
:timeValue=
"timeValuePlan"
:work=
"1"
></TimeDifference>
<DateRange
:timeValue=
"timeValuePlan"
>
</DateRange>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"8"
>
<Col
:span=
"8"
>
<FormItem
label
>
<FormItem
label
>
<span
style=
"float:left"
>
实际起止日期:
</span>
<span
style=
"float:left"
>
实际起止日期:
</span>
<
TimeDifference
:timeValue=
"timeValue"
:work=
"1"
></TimeDifferenc
e>
<
DateRange
:timeValue=
"timeValue"
></DateRang
e>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
...
...
pages/project/task/index.vue
View file @
6fc8e6b8
...
@@ -181,13 +181,12 @@ export default {
...
@@ -181,13 +181,12 @@ export default {
high
:
true
,
high
:
true
,
width
:
200
,
width
:
200
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
'
TimeDifferenc
e'
,
{
return
h
(
'
DateRang
e'
,
{
props
:
{
props
:
{
timeValue
:
{
timeValue
:
{
startDate
:
params
.
row
.
plansToStartDate
,
startDate
:
params
.
row
.
plansToStartDate
,
endDate
:
params
.
row
.
plansToEndTime
,
endDate
:
params
.
row
.
plansToEndTime
,
},
}
work
:
0
}
}
})
})
}
}
...
@@ -199,13 +198,12 @@ export default {
...
@@ -199,13 +198,12 @@ export default {
high
:
true
,
high
:
true
,
width
:
200
,
width
:
200
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
'
TimeDifferenc
e'
,
{
return
h
(
'
DateRang
e'
,
{
props
:
{
props
:
{
timeValue
:
{
timeValue
:
{
startDate
:
params
.
row
.
startDate
,
startDate
:
params
.
row
.
startDate
,
endDate
:
params
.
row
.
endDate
,
endDate
:
params
.
row
.
endDate
,
},
}
work
:
1
}
}
})
})
}
}
...
...
plugins/iview.js
View file @
6fc8e6b8
...
@@ -76,7 +76,7 @@ import InputCode from '@/components/page/inputCode.vue'
...
@@ -76,7 +76,7 @@ import InputCode from '@/components/page/inputCode.vue'
import
Pictrue
from
'@/components/page/pictrue.vue'
import
Pictrue
from
'@/components/page/pictrue.vue'
import
WordTree
from
'@/components/page/wordTree.vue'
import
WordTree
from
'@/components/page/wordTree.vue'
import
Actions
from
'@/components/page/actions.vue'
import
Actions
from
'@/components/page/actions.vue'
import
Date
D
Range
from
'@/components/page/dateRange.vue'
import
DateRange
from
'@/components/page/dateRange.vue'
import
FilesViewer
from
'@/components/page/filesViewer.vue'
import
FilesViewer
from
'@/components/page/filesViewer.vue'
...
@@ -158,7 +158,7 @@ Vue.component("InputCode", InputCode)
...
@@ -158,7 +158,7 @@ Vue.component("InputCode", InputCode)
Vue
.
component
(
"Pictrue"
,
Pictrue
)
Vue
.
component
(
"Pictrue"
,
Pictrue
)
Vue
.
component
(
"WordTree"
,
WordTree
)
Vue
.
component
(
"WordTree"
,
WordTree
)
Vue
.
component
(
"Actions"
,
Actions
)
Vue
.
component
(
"Actions"
,
Actions
)
Vue
.
component
(
"Date
DRange"
,
DateD
Range
)
Vue
.
component
(
"Date
Range"
,
Date
Range
)
Vue
.
component
(
"Life"
,
Life
)
Vue
.
component
(
"Life"
,
Life
)
Vue
.
component
(
"FilesViewer"
,
FilesViewer
)
Vue
.
component
(
"FilesViewer"
,
FilesViewer
)
...
...
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