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
3508cd25
Commit
3508cd25
authored
Oct 29, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
2dbe7823
8f7fdcf4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
23 deletions
+15
-23
detail.vue
pages/project/task/detail.vue
+2
-2
index.vue
pages/project/task/index.vue
+13
-21
No files found.
pages/project/task/detail.vue
View file @
3508cd25
...
...
@@ -30,14 +30,14 @@
<Col
:span=
"8"
>
<FormItem
label
>
<span
style=
"float:left"
>
计划起止日期:
</span>
<DateRange
:timeValue=
"timeValuePlan"
>
<DateRange
v-model=
"timeValuePlan"
mode=
'd'
>
</DateRange>
</FormItem>
</Col>
<Col
:span=
"8"
>
<FormItem
label
>
<span
style=
"float:left"
>
实际起止日期:
</span>
<DateRange
:timeValue
=
"timeValue"
></DateRange>
<DateRange
v-model
=
"timeValue"
></DateRange>
</FormItem>
</Col>
</Row>
...
...
pages/project/task/index.vue
View file @
3508cd25
...
...
@@ -44,15 +44,6 @@
-->
</Menu>
</div>
<div
class=
"taskTab"
v-if=
"false"
>
<Tabs
value=
"statu2"
>
<TabPane
label=
"所有"
name=
"statu1"
/>
<TabPane
label=
"未关闭"
name=
"statu2"
/>
<TabPane
label=
"指派给我"
name=
"statu3"
/>
<TabPane
label=
"由我参与"
name=
"statu4"
/>
<TabPane
label=
"已延期"
name=
"statu5"
/>
</Tabs>
</div>
</FormItem>
<FormItem
prop=
"keys"
><Input
placeholder=
"请输入项目标题/计划名称/任务标题"
v-model=
"easySearch.keys.value"
v-width=
"240"
/>
</FormItem>
<FormItem><Button
type=
"primary"
@
click=
"search"
>
查询
</Button></FormItem>
...
...
@@ -68,11 +59,6 @@
<
template
slot=
"buttons"
>
<Button
type=
"primary"
@
click=
"add"
v-if=
"planId!=''"
>
新增
</Button>
</
template
>
<
template
slot=
"batch"
>
<Button
type=
"primary"
class=
"mr10 ml10"
>
开始
</Button>
<Button
type=
"primary"
class=
"mr10 ml10"
>
暂停
</Button>
<Button
type=
"primary"
class=
"mr10 ml10"
>
继续
</Button>
</
template
>
</DataGrid>
<Modal
v-model=
"modal"
:title=
"title"
width=
"1200"
:fullscreen=
"fullScreen"
footer-hide
>
<component
:is=
"detail"
:eid=
"curId"
:pid=
"planId"
:row=
"rowObj"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
...
...
@@ -110,6 +96,10 @@ export default {
planId
:
{
op
:
"In"
,
value
:
[]
},
status
:
{
op
:
"In"
,
value
:
[]
}
},
theme1
:
'light'
,
...
...
@@ -164,7 +154,7 @@ export default {
title
:
this
.
l
(
"status"
),
align
:
"center"
,
high
:
true
,
width
:
1
2
0
,
width
:
1
0
0
,
code
:
'project.task.status'
},
...
...
@@ -180,14 +170,15 @@ export default {
title
:
'计划起止日期'
,
align
:
"center"
,
high
:
true
,
width
:
2
0
0
,
width
:
2
8
0
,
render
:
(
h
,
params
)
=>
{
return
h
(
'DateRange'
,
{
props
:
{
timeV
alue
:
{
v
alue
:
{
startDate
:
params
.
row
.
plansToStartDate
,
endDate
:
params
.
row
.
plansToEndTime
,
}
},
mode
:
'd'
}
})
}
...
...
@@ -197,14 +188,15 @@ export default {
title
:
'实际起止日期'
,
align
:
"center"
,
high
:
true
,
width
:
2
0
0
,
width
:
2
8
0
,
render
:
(
h
,
params
)
=>
{
return
h
(
'DateRange'
,
{
props
:
{
timeV
alue
:
{
v
alue
:
{
startDate
:
params
.
row
.
startDate
,
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