Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
夏敏伟
xxx_phase2_web
Commits
e44c349f
Commit
e44c349f
authored
Nov 27, 2023
by
以墨为白
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
ae0bad3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
3 deletions
+52
-3
onlyoffice.html
onlyoffice.html
+3
-3
src/components/common/document_preview.vue
src/components/common/document_preview.vue
+49
-0
No files found.
onlyoffice.html
View file @
e44c349f
...
...
@@ -13,7 +13,7 @@
var
docEditor
=
new
DocsAPI
.
DocEditor
(
"
placeholder
"
,
{
"
document
"
:
{
"
fileType
"
:
"
p
df
"
,
"
fileType
"
:
"
p
ptx
"
,
"
permissions
"
:
{
"
edit
"
:
false
,
"
copy
"
:
false
,
...
...
@@ -22,8 +22,8 @@
"
chat
"
:
false
},
// "key": "C8D7FB890BAC496FB0D27B163EDB88BDAA",
"
title
"
:
"
zf张飞.
xls
x
"
,
"
url
"
:
"
http://192.168.168.110:9006/document/
739AEB35-8894-445B-BFF7-C10C9727222E.pdf?Content-Disposition=attachment%3B%20filename%3D%22739AEB35-8894-445B-BFF7-C10C9727222E.pdf%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231126%2F%2Fs3%2Faws4_request&X-Amz-Date=20231126T113625Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=a1b5fa773c90b649de410438494a1e7e94345c15bfdea7d639567449b4305136
"
,
"
title
"
:
"
zf张飞.
ppt
x
"
,
"
url
"
:
"
http://192.168.168.110:9006/document/
DD27367D-5680-46FF-9A6D-F248F4567511.pptx?Content-Disposition=attachment%3B%20filename%3D%22DD27367D-5680-46FF-9A6D-F248F4567511.pptx%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231127%2F%2Fs3%2Faws4_request&X-Amz-Date=20231127T031344Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=c5fb3f67663eb945adfe54b8f1783b08ed08a9704464bd86465459fc0ef6917e
"
,
},
"
height
"
:
"
1000px
"
,
"
width
"
:
"
100%
"
,
...
...
src/components/common/document_preview.vue
0 → 100644
View file @
e44c349f
<
template
>
<div>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
'
url
'
,
"
fileType
"
,
"
filename
"
],
data
()
{
return
{
};
},
mounted
()
{
var
docEditor
=
new
DocsAPI
.
DocEditor
(
"
placeholder
"
,
{
"
document
"
:
{
"
fileType
"
:
"
pptx
"
,
"
permissions
"
:
{
"
edit
"
:
false
,
"
copy
"
:
false
,
"
download
"
:
false
,
"
print
"
:
false
,
"
chat
"
:
false
},
// "key": "C8D7FB890BAC496FB0D27B163EDB88BDAA",
"
title
"
:
"
zf张飞.pptx
"
,
"
url
"
:
"
http://192.168.168.110:9006/document/DD27367D-5680-46FF-9A6D-F248F4567511.pptx?Content-Disposition=attachment%3B%20filename%3D%22DD27367D-5680-46FF-9A6D-F248F4567511.pptx%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231127%2F%2Fs3%2Faws4_request&X-Amz-Date=20231127T031344Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=c5fb3f67663eb945adfe54b8f1783b08ed08a9704464bd86465459fc0ef6917e
"
,
},
"
height
"
:
"
1000px
"
,
"
width
"
:
"
100%
"
,
"
editorConfig
"
:
{
"
mode
"
:
'
view
'
,
"
customization
"
:
{
//是否显示插件
"
plugins
"
:
false
,
"
feedback
"
:
{
"
url
"
:
"
https://example.com
"
,
"
visible
"
:
false
},
"
help
"
:
false
},
about
:
false
,
}
});
}
}
</
script
>
\ No newline at end of file
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