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
4472d3bf
Commit
4472d3bf
authored
Oct 27, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看器组件ok
parent
35b44e81
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
462 additions
and
2 deletions
+462
-2
filesViewer.vue
components/page/filesViewer.vue
+456
-0
index.vue
pages/project/project/index.vue
+4
-2
iview.js
plugins/iview.js
+2
-0
No files found.
components/page/filesViewer.vue
0 → 100644
View file @
4472d3bf
This diff is collapsed.
Click to expand it.
pages/project/project/index.vue
View file @
4472d3bf
...
...
@@ -123,14 +123,16 @@
>
<component
:is=
"detail"
:eid=
"curId"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
</Modal>
<!-- width="800" -->
<Modal
v-model=
"modal1"
title=
"查看附件"
width=
"800"
fullscreen
footer-hide
:mask-closable=
"false"
>
<FilesView
ref=
"refFile"
:parms=
"parms"
/>
<FilesViewer
:parms=
"parms"
/>
<!-- <FilesView ref="refFile" :parms="parms" /> -->
</Modal>
</div>
</template>
...
...
plugins/iview.js
View file @
4472d3bf
...
...
@@ -74,6 +74,7 @@ import Pictrue from '@/components/page/pictrue.vue'
import
WordTree
from
'@/components/page/wordTree.vue'
import
Actions
from
'@/components/page/actions.vue'
import
TimeDifference
from
'@/components/page/timeDifference.vue'
import
FilesViewer
from
'@/components/page/filesViewer.vue'
...
...
@@ -153,6 +154,7 @@ Vue.component("Pictrue",Pictrue)
Vue
.
component
(
"WordTree"
,
WordTree
)
Vue
.
component
(
"Actions"
,
Actions
)
Vue
.
component
(
"TimeDifference"
,
TimeDifference
)
Vue
.
component
(
"FilesViewer"
,
FilesViewer
)
...
...
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