diff --git a/public/static/onlyOffice/editor.html b/public/static/onlyOffice/editor.html index 4ff974662..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) { @@ -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..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) { @@ -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": { diff --git a/src/pages/searchCenter/pages/standardSearch.vue b/src/pages/searchCenter/pages/standardSearch.vue index 7491402a7..48e4d737f 100644 --- a/src/pages/searchCenter/pages/standardSearch.vue +++ b/src/pages/searchCenter/pages/standardSearch.vue @@ -401,10 +401,10 @@ label: '海外标准法规', // value没改 value: 'bussstand' }, - // { - // label: '国内外政策', - // value: 'laws' - // }, + { + label: '国内外政策', + value: 'laws' + }, { label: '企业标准', value: 'enterprise' @@ -433,10 +433,10 @@ label: '海外标准法规', // value没改 value: 'bussstand' }, - // { - // label: '国内外政策', - // value: 'laws' - // }, + { + label: '国内外政策', + value: 'laws' + }, { label: '企业标准', value: 'enterprise'