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
c5ab427f
Commit
c5ab427f
authored
Nov 25, 2023
by
以墨为白
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
onlyoffice demo
parent
679575c6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
1 deletion
+55
-1
index.html
index.html
+1
-1
onlyoffice.html
onlyoffice.html
+54
-0
No files found.
index.html
View file @
c5ab427f
...
@@ -21,5 +21,5 @@
...
@@ -21,5 +21,5 @@
alert
(
"
当前浏览器版本过低,请升级!!!
"
);
alert
(
"
当前浏览器版本过低,请升级!!!
"
);
}
}
</script>
</script>
<script
src=
"http://192.168.168.213:9000/web-apps/apps/api/documents/api.js"
></script>
</html>
</html>
\ No newline at end of file
onlyoffice.html
0 → 100644
View file @
c5ab427f
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
<div
id=
"placeholder"
></div>
<script
src=
"http://192.168.168.213:9000/web-apps/apps/api/documents/api.js"
></script>
<script>
var
docEditor
=
new
DocsAPI
.
DocEditor
(
"
placeholder
"
,
{
document
:
{
fileType
:
"
xlsx
"
,
// "permissions": {
// "edit": false,
// },
// "key": "C8D7FB890BAC496FB0D27B163EDB88BDAA",
title
:
"
zf张飞.xlsx
"
,
url
:
"
http://192.168.168.110:9006/document/B56CA250-26F0-45E3-8E5A-EB19CC8C94E1.xlsx?Content-Disposition=attachment%3B%20filename%3D%22B56CA250-26F0-45E3-8E5A-EB19CC8C94E1.xlsx%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231125%2F%2Fs3%2Faws4_request&X-Amz-Date=20231125T150951Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=68ad239e4aba910b5c68b409ef84e79be53bfff0ca070d3ba6ca3d203ce7dd2f
"
,
},
height
:
"
1000px
"
,
width
:
"
100%
"
,
editorConfig
:
{
mode
:
'
view
'
,
customization
:
{
//是否显示插件
plugins
:
false
,
},
about
:
false
,
chat
:
false
,
comments
:
false
,
zoom
:
100
,
compactToolbar
:
false
,
leftMenu
:
false
,
rightMenu
:
false
,
toolbar
:
false
,
header
:
false
,
statusBar
:
false
,
autosave
:
false
,
forcesave
:
false
,
commentAuthorOnly
:
false
,
showReviewChanges
:
false
}
});
</script>
</body>
</html>
\ 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