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
bd6f65f7
Commit
bd6f65f7
authored
Sep 24, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文档详情编辑
parent
e56ac6b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
detail.vue
pages/word/document/detail.vue
+4
-1
word.vue
pages/word/document/word.vue
+15
-1
No files found.
pages/word/document/detail.vue
View file @
bd6f65f7
...
...
@@ -12,7 +12,7 @@
</div>
<ul>
<li>
<a>
<a
@
click=
"edit"
>
<Icon
type=
"md-create"
/>
编辑
</a>
...
...
@@ -183,6 +183,9 @@ export default {
handleClose
()
{
this
.
$emit
(
"on-close"
);
},
edit
()
{
this
.
$emit
(
"detailEdit"
,
this
.
eid
);
},
l
(
key
)
{
key
=
"document_property_definition"
+
"."
+
key
;
return
this
.
$t
(
key
);
...
...
pages/word/document/word.vue
View file @
bd6f65f7
...
...
@@ -77,7 +77,14 @@
:mask-closable=
"false"
:fullscreen=
"fullscreen"
>
<component
:is=
"detail"
:eid=
"curId"
:treeId=
"treeId"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
<component
:is=
"detail"
:eid=
"curId"
:treeId=
"treeId"
@
on-close=
"cancel"
@
on-ok=
"ok"
@
detailEdit=
"detailEdit"
/>
</Modal>
</div>
</template>
...
...
@@ -260,6 +267,13 @@ export default {
this
.
detail
=
()
=>
import
(
"./edit"
);
this
.
modal
=
true
;
},
detailEdit
(
val
)
{
this
.
fullscreen
=
false
;
this
.
curId
=
val
;
this
.
title
=
"编辑"
;
this
.
detail
=
()
=>
import
(
"./edit"
);
this
.
modal
=
true
;
},
remove
(
id
)
{
Api
.
delete
(
id
).
then
((
r
)
=>
{
if
(
r
.
success
)
{
...
...
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