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
3a88e53a
Commit
3a88e53a
authored
Oct 29, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task
parent
bce08313
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
+18
-15
index.vue
pages/project/task/index.vue
+18
-15
No files found.
pages/project/task/index.vue
View file @
3a88e53a
...
...
@@ -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'
,
...
...
@@ -180,7 +170,7 @@ export default {
title
:
'计划起止日期'
,
align
:
"center"
,
high
:
true
,
width
:
6
00
,
width
:
2
00
,
render
:
(
h
,
params
)
=>
{
return
h
(
'DateRange'
,
{
props
:
{
...
...
@@ -459,6 +449,19 @@ export default {
})
},
onSelect
(
val
)
{
switch
(
val
)
{
case
'1'
:
this
.
easySearch
.
keys
.
value
=
null
break
;
case
'2'
:
this
.
easySearch
.
status
=
{
op
:
"In"
,
value
:
'0,1,2,3'
}
break
;
default
:
默认代码块
}
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
)
},
viewRecord
(
id
,
status
)
{
...
...
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