![]()
From 7c3667e6ea2bd2a7ad081848b87d726b5f9606c3 Mon Sep 17 00:00:00 2001
From: Superman_Main <396572590@qq.com>
Date: Sun, 5 Dec 2021 16:08:20 +0800
Subject: [PATCH 2/9] feat:FOTON rest
---
public/static/onlyOffice/editor.html | 4 ++--
public/static/onlyOffice/onlinePreview.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/public/static/onlyOffice/editor.html b/public/static/onlyOffice/editor.html
index 4ff974662..f06c7a482 100644
--- a/public/static/onlyOffice/editor.html
+++ b/public/static/onlyOffice/editor.html
@@ -10,7 +10,7 @@
在线编辑
-
+
@@ -110,7 +110,7 @@
"documentType": documentType, // 文档类word-text、表格类excel-spreadsheet、ppt类-presentation
"editorConfig": {
// 此处配置回调地址
- "callbackUrl": `http://10.100.5.116:4202/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
+ "callbackUrl": `https://srms.foton.com.cn/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
"mode":"edit",
"lang":"zh-CN",
// "customization": {
diff --git a/public/static/onlyOffice/onlinePreview.html b/public/static/onlyOffice/onlinePreview.html
index 013abf4a9..2cd328f50 100644
--- a/public/static/onlyOffice/onlinePreview.html
+++ b/public/static/onlyOffice/onlinePreview.html
@@ -9,7 +9,7 @@
在线预览
-
+
@@ -107,7 +107,7 @@
"documentType": documentType,
"editorConfig": {
// 此处配置回调地址
- "callbackUrl": `http://10.100.5.116:4202/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
+ "callbackUrl": `https://srms.foton.com.cn/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
"mode":"edit",
"lang":"zh-CN",
// "customization": {
From d575a3503d2e38c7d167942926f82f1e722ef7c9 Mon Sep 17 00:00:00 2001
From: Superman_Main <396572590@qq.com>
Date: Mon, 6 Dec 2021 06:38:17 +0800
Subject: [PATCH 3/9] feat:FOTON rest
---
public/static/onlyOffice/editor.html | 2 +-
public/static/onlyOffice/onlinePreview.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/static/onlyOffice/editor.html b/public/static/onlyOffice/editor.html
index f06c7a482..77c006104 100644
--- a/public/static/onlyOffice/editor.html
+++ b/public/static/onlyOffice/editor.html
@@ -10,7 +10,7 @@
在线编辑
-
+
diff --git a/public/static/onlyOffice/onlinePreview.html b/public/static/onlyOffice/onlinePreview.html
index 2cd328f50..9494710b1 100644
--- a/public/static/onlyOffice/onlinePreview.html
+++ b/public/static/onlyOffice/onlinePreview.html
@@ -9,7 +9,7 @@
在线预览
-
+
From 49dc794e20b2b216aa62ebdf91444f624c6cd31b Mon Sep 17 00:00:00 2001
From: Superman_Main <396572590@qq.com>
Date: Mon, 6 Dec 2021 06:40:51 +0800
Subject: [PATCH 4/9] feat:FOTON rest
---
public/static/onlyOffice/editor.html | 4 ++--
public/static/onlyOffice/onlinePreview.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/public/static/onlyOffice/editor.html b/public/static/onlyOffice/editor.html
index 77c006104..b92157117 100644
--- a/public/static/onlyOffice/editor.html
+++ b/public/static/onlyOffice/editor.html
@@ -44,8 +44,8 @@
var fileSuffix = GetQueryValue('fileType')
// 文档类word-text、表格类excel-spreadsheet、ppt类-presentation
var documentType = ''
- var arr_data_ppt = ['pdf', 'PDF', 'pptx', 'PPTX', 'ppt', 'PPT'];
- var arr_data_word = ['pdf', 'PDF', 'doc','DOC', 'docx','DOCX'];
+ var arr_data_ppt = ['pptx', 'PPTX','pptx', 'PPTX', 'ppt', 'PPT'];
+ var arr_data_word = ['doc','DOC','doc','DOC', 'docx','DOCX'];
var arr_data_xls = ['xls', 'XLS', 'xlsx', 'XLSX','.xls', '.XLS', '.xlsx', '.XLSX'];
arr_data_ppt.find(function(value) {
diff --git a/public/static/onlyOffice/onlinePreview.html b/public/static/onlyOffice/onlinePreview.html
index 9494710b1..897dd02a4 100644
--- a/public/static/onlyOffice/onlinePreview.html
+++ b/public/static/onlyOffice/onlinePreview.html
@@ -41,8 +41,8 @@
var fileSuffix = GetQueryValue('fileType')
// 文档类word-text、表格类excel-spreadsheet、ppt类-presentation
var documentType = ''
- var arr_data_ppt = ['pdf', 'PDF', 'pptx', 'PPTX', 'ppt', 'PPT'];
- var arr_data_word = ['pdf', 'PDF', 'doc','DOC', 'docx','DOCX'];
+ var arr_data_ppt = ['pptx', 'PPTX','pptx', 'PPTX', 'ppt', 'PPT'];
+ var arr_data_word = ['doc','DOC','doc','DOC', 'docx','DOCX'];
var arr_data_xls = ['xls', 'XLS', 'xlsx', 'XLSX','.xls', '.XLS', '.xlsx', '.XLSX'];
arr_data_ppt.find(function(value) {
From dcb2d44884cd7c07cb36e6e8b00b2c43893dc6c7 Mon Sep 17 00:00:00 2001
From: Superman_Main <396572590@qq.com>
Date: Mon, 6 Dec 2021 11:51:23 +0800
Subject: [PATCH 5/9] feat:FOTON rest
---
.../processCenter/pages/newProcess/index.vue | 947 +++++++++++-------
1 file changed, 571 insertions(+), 376 deletions(-)
diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue
index 6ca2b5806..fd04f3c10 100644
--- a/src/pages/processCenter/pages/newProcess/index.vue
+++ b/src/pages/processCenter/pages/newProcess/index.vue
@@ -16,9 +16,9 @@