add 列表

This commit is contained in:
赵霄
2023-09-14 18:04:58 +08:00
parent 13af715642
commit 5239d48bce
13 changed files with 462 additions and 53 deletions
+18 -6
View File
@@ -7,15 +7,25 @@
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<!-- onlyOffice服务器地址-->
<!-- <script type="text/javascript" src="http://onlyoffice.sinotruk.com/web-apps/apps/api/documents/api.js"></script>-->
<% if (process.env.NODE_ENV === 'development' ) { %>
<script type="text/javascript" src="http://10.10.10.45:80/web-apps/apps/api/documents/api.js"></script>
<!--<script type="text/javascript" src="http://onlyoffice.sinotruk.com/web-apps/apps/api/documents/api.js"></script>-->
<% } %>
<% if (process.env.NODE_ENV === 'production' ) { %>
<!--<script type="text/javascript" src="http://10.10.10.45:80/web-apps/apps/api/documents/api.js"></script>-->
<script type="text/javascript" src="http://onlyoffice.sinotruk.com/web-apps/apps/api/documents/api.js"></script>
<% } %>
<!-- 全局配置 -->
<% if (process.env.NODE_ENV === 'development' ) { %>
<script>
window._CONFIG = {
'documentUrl': 'http://39.98.140.126:18888/file/model/task_9ad64b01/task_9ad64b01_top_9ad64b01_node.docx',
// 'callbackUrl': 'http://39.98.140.126:17211/',
'configUrl': 'http://localhost:8082/'
// 'documentUrl': 'http://onlyofficevue.sinotruk.com/DOCX.docx',
// 'documentUrl': 'http://39.98.140.126:18888/file/model/task_9ad64b01/task_9ad64b01_top_9ad64b01_node.docx',
'documentUrl': 'http://10.0.1.28:8184/laws-sinotruk/onlyoffice/downLoadFile?path=',
'callbackUrl': 'http://10.0.1.28:8184/',
// 'configUrl': 'http://onlyofficeplugins.sinotruk.com/'
// 'configUrl': 'http://10.10.10.45:809/'
'configUrl': 'http://10.0.1.28:8081/'
}
</script>
<% } %>
@@ -23,8 +33,10 @@
<script>
window._CONFIG = {
'documentUrl': 'http://onlyofficevue.sinotruk.com/DOCX.docx',
// 'callbackUrl': 'https://srms.foton.com.cn',
'configUrl': 'http://onlyoffice.sinotruk.com/'
// 'documentUrl': 'http://39.98.140.126:18888/file/model/task_9ad64b01/task_9ad64b01_top_9ad64b01_node.docx',
'callbackUrl': 'https://srms.foton.com.cn',
'configUrl': 'http://onlyofficeplugins.sinotruk.com/'
// 'configUrl': 'http://10.10.10.45:809/'
}
</script>
<% } %>