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
51b0219e
Commit
51b0219e
authored
Oct 28, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
record detail
parent
c6301f18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
detail.vue
pages/project/record/detail.vue
+19
-1
No files found.
pages/project/record/detail.vue
View file @
51b0219e
...
@@ -4,12 +4,15 @@
...
@@ -4,12 +4,15 @@
<Filed
:span=
"12"
:name=
"l('workHour')"
>
{{
entity
.
workHour
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('workHour')"
>
{{
entity
.
workHour
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('title')"
>
{{
entity
.
title
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('title')"
>
{{
entity
.
title
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('note')"
>
{{
entity
.
note
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('note')"
>
{{
entity
.
note
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('attachment')"
>
{{
entity
.
attachment
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('attachment')"
>
<a
@
click=
"viewFiles"
>
查看附件
</a>
</Filed>
<Filed
:span=
"12"
:name=
"l('creationTime')"
>
{{
entity
.
creationTime
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('creationTime')"
>
{{
entity
.
creationTime
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('creatorUserId')"
>
<Filed
:span=
"12"
:name=
"l('creatorUserId')"
>
<User
:value=
"entity.creatorUserId"
></User>
<User
:value=
"entity.creatorUserId"
></User>
</Filed>
</Filed>
</Row>
</Row>
<Modal
v-model=
"modalFiles"
title=
"查看附件"
width=
"800"
footer-hide
:mask-closable=
"false"
>
<FilesView
ref=
"refFile"
:parms=
"parms"
/>
</Modal>
</div>
</div>
</
template
>
</
template
>
...
@@ -21,6 +24,13 @@ export default {
...
@@ -21,6 +24,13 @@ export default {
data
()
{
data
()
{
return
{
return
{
entity
:
{},
entity
:
{},
modalFiles
:
false
,
parms
:
{
app
:
"taskRecord"
,
eid
:
null
,
name
:
""
,
field
:
""
,
},
rules
:
{
rules
:
{
name
:
[{
name
:
[{
required
:
true
,
required
:
true
,
...
@@ -55,6 +65,14 @@ export default {
...
@@ -55,6 +65,14 @@ export default {
handleClose
()
{
handleClose
()
{
this
.
$emit
(
'on-close'
)
this
.
$emit
(
'on-close'
)
},
},
viewFiles
()
{
if
(
this
.
entity
.
attachment
)
{
this
.
parms
.
eid
=
this
.
entity
.
attachment
;
this
.
modalFiles
=
true
;
}
else
{
this
.
$Message
.
error
(
"暂没上传附件"
);
}
},
l
(
key
)
{
l
(
key
)
{
key
=
"project_plan_record"
+
"."
+
key
;
key
=
"project_plan_record"
+
"."
+
key
;
return
this
.
$t
(
key
)
return
this
.
$t
(
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