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
5878e38c
Commit
5878e38c
authored
Oct 27, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
record
parent
0a699746
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
87 deletions
+27
-87
index.vue
pages/project/record/index.vue
+4
-87
index.vue
pages/project/task/index.vue
+23
-0
No files found.
pages/project/record/index.vue
View file @
5878e38c
<
template
>
<div>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
><template
slot=
"easySearch"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:easy=
"false"
><template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<FormItem
prop=
"keys"
><Input
placeholder=
"请输入关键字标题"
v-model=
"easySearch.keys.value"
/>
</FormItem>
<FormItem><Button
type=
"primary"
@
click=
"search"
>
查询
</Button></FormItem>
...
...
@@ -32,6 +32,9 @@ export default {
author
:
"henq"
,
description
:
"project_plan_record 10/20/2020 2:55:13 PM"
,
},
props
:
{
eid
:
String
},
data
()
{
return
{
action
:
Api
.
index
,
...
...
@@ -46,79 +49,11 @@ export default {
detail
:
null
,
curId
:
0
,
columns
:
[{
key
:
"id"
,
title
:
this
.
$t
(
"id"
),
hide
:
true
,
align
:
"left"
,
high
:
true
},
{
key
:
"creationTime"
,
title
:
this
.
l
(
"creationTime"
),
align
:
"left"
,
high
:
true
},
{
key
:
"creatorUserId"
,
title
:
this
.
l
(
"creatorUserId"
),
align
:
"left"
,
high
:
true
},
{
key
:
"lastModificationTime"
,
title
:
this
.
l
(
"lastModificationTime"
),
align
:
"left"
,
high
:
true
},
{
key
:
"lastModifierUserId"
,
title
:
this
.
l
(
"lastModifierUserId"
),
align
:
"left"
,
high
:
true
},
{
key
:
"isDeleted"
,
title
:
this
.
l
(
"isDeleted"
),
align
:
"left"
,
high
:
true
},
{
key
:
"deletionTime"
,
title
:
this
.
l
(
"deletionTime"
),
align
:
"left"
,
high
:
true
},
{
key
:
"deleterUserId"
,
title
:
this
.
l
(
"deleterUserId"
),
align
:
"left"
,
high
:
true
},
{
key
:
"projectId"
,
title
:
this
.
l
(
"projectId"
),
align
:
"left"
,
high
:
true
},
{
key
:
"planId"
,
title
:
this
.
l
(
"planId"
),
align
:
"left"
,
high
:
true
},
{
key
:
"workHour"
,
title
:
this
.
l
(
"workHour"
),
align
:
"left"
,
high
:
true
},
{
key
:
"status"
,
title
:
this
.
l
(
"status"
),
align
:
"left"
,
high
:
true
,
code
:
'mes.project_plan_record.Status'
},
{
key
:
"title"
,
title
:
this
.
l
(
"title"
),
...
...
@@ -126,24 +61,6 @@ export default {
easy
:
true
,
high
:
true
},
{
key
:
"note"
,
title
:
this
.
l
(
"note"
),
align
:
"left"
,
high
:
true
},
{
key
:
"attachment"
,
title
:
this
.
l
(
"attachment"
),
align
:
"left"
,
high
:
true
},
{
key
:
"taskId"
,
title
:
this
.
l
(
"taskId"
),
align
:
"left"
,
high
:
true
},
{
title
:
'操作'
,
key
:
'action'
,
...
...
pages/project/task/index.vue
View file @
5878e38c
...
...
@@ -198,6 +198,22 @@ export default {
align
:
"center"
,
high
:
true
,
},
{
key
:
"endDate"
,
title
:
'工时'
,
align
:
"center"
,
high
:
true
,
render
:
(
h
,
params
)
=>
{
return
h
(
'a'
,
{
attrs
:
{
oprate
:
'detail'
},
on
:
{
click
:
()
=>
this
.
viewWork
(
params
.
row
.
id
)
}
},
params
.
row
.
title
)
}
},
{
key
:
"note"
,
title
:
this
.
l
(
"note"
),
...
...
@@ -441,6 +457,13 @@ export default {
this
.
detail
=
()
=>
import
(
'./detail'
)
this
.
modal
=
true
;
},
viewWork
(
id
)
{
this
.
curId
=
id
;
this
.
title
=
"查看工时"
;
this
.
fullScreen
=
true
;
this
.
detail
=
()
=>
import
(
'../record'
)
this
.
modal
=
true
;
},
addRecord
(
id
)
{
this
.
curId
=
id
;
this
.
title
=
"新增记录"
;
...
...
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