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
42460fef
Commit
42460fef
authored
Sep 24, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文档管理优化
parent
b1f90b94
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
17 deletions
+18
-17
files_header.png
assets/images/files_header.png
+0
-0
add.vue
pages/word/document/add.vue
+3
-5
detail.vue
pages/word/document/detail.vue
+2
-3
edit.vue
pages/word/document/edit.vue
+10
-5
word.vue
pages/word/document/word.vue
+3
-4
No files found.
assets/images/files_header.png
0 → 100644
View file @
42460fef
6.32 KB
pages/word/document/add.vue
View file @
42460fef
...
...
@@ -157,8 +157,9 @@
<FormItem
:label=
"l('img')"
prop=
"img"
>
<inputFile
class=
"tphoto"
ref=
"refmovieFile1"
v-model=
"imgName"
:parms=
"parmsName"
/>
</FormItem>
<div
class=
"img-touxiang"
v-if=
"imgName"
>
<img
:src=
"avatorPath"
/>
<div
class=
"img-touxiang"
>
<img
:src=
"avatorPath"
v-if=
"imgName"
/>
<img
src=
"@/assets/images/files_header.png"
v-else
width=
"100%"
height=
"100%"
/>
</div>
</Col>
</Row>
...
...
@@ -180,7 +181,6 @@ export default {
return
{
imgName
:
""
,
avatorPath
:
""
,
fileds
:
[],
//扩展属性
entity
:
{
creatorUserId
:
this
.
$store
.
state
.
userInfo
.
userId
,
...
...
@@ -311,8 +311,6 @@ export default {
.img-touxiang {
width: 230px;
height: 230px;
background: #ccc;
border-radius: 5px;
margin-left: 58px;
margin-top: -35px;
img {
...
...
pages/word/document/detail.vue
View file @
42460fef
...
...
@@ -106,7 +106,7 @@
<Col
span=
"4"
class=
"dcm-right"
>
<div
class=
"img-touxiang"
>
<img
:src=
"downUrl+avatorPath"
v-if=
"avatorPath"
/>
<img
src=
"@/assets/im
gicon/chan_Pin
.png"
v-else
width=
"100%"
height=
"100%"
/>
<img
src=
"@/assets/im
ages/files_header
.png"
v-else
width=
"100%"
height=
"100%"
/>
</div>
</Col>
</Row>
...
...
@@ -138,6 +138,7 @@ export default {
props
:
[
"eid"
,
"treeId"
],
mounted
()
{
this
.
initFiled
();
this
.
parms
.
eid
=
this
.
$u
.
guid
();
},
methods
:
{
load
(
v
)
{
...
...
@@ -237,8 +238,6 @@ export default {
.img-touxiang {
width: 230px;
height: 230px;
background: #ccc;
border-radius: 5px;
float: right;
margin-top: 10px;
margin-right: 10px;
...
...
pages/word/document/edit.vue
View file @
42460fef
...
...
@@ -164,8 +164,9 @@
<FormItem
:label=
"l('img')"
prop=
"img"
>
<inputFile
class=
"tphoto"
ref=
"refmovieFile1"
v-model=
"imgName"
:parms=
"parmsName"
/>
</FormItem>
<div
class=
"img-touxiang"
v-if=
"imgName"
>
<img
:src=
"avatorPath"
/>
<div
class=
"img-touxiang"
>
<img
:src=
"avatorPath"
v-if=
"imgName"
/>
<img
src=
"@/assets/images/files_header.png"
v-else
width=
"100%"
height=
"100%"
/>
</div>
</Col>
</Row>
...
...
@@ -254,7 +255,12 @@ export default {
this
.
avatorPath
=
fileUrlDown
+
r
.
result
.
img
;
this
.
imgName
=
r
.
result
.
img
;
this
.
entity
.
status
=
r
.
result
.
status
+
""
;
this
.
parms
.
eid
=
r
.
result
.
filePath
;
if
(
r
.
result
.
filePath
&&
r
.
result
.
filePath
!=
""
)
{
this
.
parms
.
eid
=
r
.
result
.
filePath
;
}
else
{
this
.
parms
.
eid
=
this
.
$u
.
guid
();
}
this
.
entity
.
filePath
=
this
.
parms
.
eid
;
});
},
handleSubmit
()
{
...
...
@@ -307,8 +313,7 @@ export default {
.img-touxiang {
width: 230px;
height: 230px;
background: #ccc;
border-radius: 5px;
margin-left: 58px;
margin-top: -35px;
img {
...
...
pages/word/document/word.vue
View file @
42460fef
...
...
@@ -404,10 +404,9 @@ export default {
text-align: right;
}
}
.row-down {
//
padding: 10px;
height: 11
3
px;
padding: 10px;
height: 11
0
px;
.img-i {
width: 90px;
background: #eee;
...
...
@@ -426,7 +425,7 @@ export default {
.a-icon {
text-align: right;
margin-top: 2
4
px;
margin-top: 2
5
px;
}
}
}
...
...
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