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
ca4f3fc4
Commit
ca4f3fc4
authored
Oct 26, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task record
parent
3ac2c634
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
index1.vue
pages/project/record/index1.vue
+1
-1
index.vue
pages/project/task/index.vue
+11
-4
No files found.
pages/project/record/index1.vue
View file @
ca4f3fc4
...
...
@@ -40,7 +40,7 @@
</div>
</FormItem>
<FormItem
style=
"float:right"
>
<Button
type=
"primary"
@
click=
"add"
>
新增
</Button>
<Button
type=
"primary"
@
click=
"add"
>
新增
记录
</Button>
</FormItem>
</Form>
</div>
...
...
pages/project/task/index.vue
View file @
ca4f3fc4
...
...
@@ -133,7 +133,7 @@ export default {
oprate
:
'detail'
},
on
:
{
click
:
()
=>
this
.
add
Record
(
params
.
row
.
id
)
click
:
()
=>
this
.
view
Record
(
params
.
row
.
id
)
}
},
params
.
row
.
title
)
}
...
...
@@ -256,11 +256,11 @@ export default {
attrs
:
{
icon
:
"md-add"
,
type
:
"icon"
,
title
:
params
.
row
.
status
!=
3
?
"新增
备注
"
:
"无法操作"
,
title
:
params
.
row
.
status
!=
3
?
"新增
记录
"
:
"无法操作"
,
color
:
params
.
row
.
status
!=
3
?
"#19be6b"
:
"#ccc"
,
},
on
:
{
click
:
()
=>
params
.
row
.
status
!=
0
?
this
.
updatestatus
(
params
.
row
.
id
,
3
)
:
null
click
:
()
=>
params
.
row
.
status
!=
0
?
this
.
addRecord
(
params
.
row
.
id
)
:
null
}
}),
h
(
'op'
,
{
...
...
@@ -399,11 +399,18 @@ export default {
onSelect
(
val
)
{
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
)
},
viewRecord
(
id
)
{
this
.
curId
=
id
;
this
.
title
=
"查看记录"
;
this
.
fullScreen
=
true
;
this
.
detail
=
()
=>
import
(
'./detail'
)
this
.
modal
=
true
;
},
addRecord
(
id
)
{
this
.
curId
=
id
;
this
.
title
=
"新增记录"
;
this
.
fullScreen
=
true
;
this
.
detail
=
()
=>
import
(
'.
/detail
'
)
this
.
detail
=
()
=>
import
(
'.
./record/add
'
)
this
.
modal
=
true
;
},
l
(
key
)
{
...
...
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