diff --git a/public/api_address_config.js b/public/api_address_config.js index 3e6606fd..72256819 100644 --- a/public/api_address_config.js +++ b/public/api_address_config.js @@ -14,8 +14,6 @@ window._CONFIG.onlinePreviewDomainURL = 'http://127.0.0.1:8012/onlinePreview' window._CONFIG.onlyOfficeUrl = 'http://10.0.10.87:8083' // onlyOffice下载文件地址(暂时没用) window._CONFIG.onlyOfficeDownloadFileUrl = 'http://localhost:8184/sys/common/download' -// onlyOffice文件获取地址 -window._CONFIG.documentUrl = 'http://10.0.10.87:8184/laws-sinotruk/onlyOffice/downLoadFile?path=' // 管理员角色code,英文逗号拼接 window._CONFIG.adminRoleCode = 'admin,BZGLY' // 水印配置 diff --git a/src/views/workCenter/enterpriseStandardChange/modules/ApproveBaseInfo.vue b/src/views/workCenter/enterpriseStandardChange/modules/ApproveBaseInfo.vue index 356da24f..12a9083e 100644 --- a/src/views/workCenter/enterpriseStandardChange/modules/ApproveBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardChange/modules/ApproveBaseInfo.vue @@ -143,8 +143,7 @@ export default { ], dataSource: [], loading: false, - onEditFile: '', - documentUrl: window._CONFIG.documentUrl + onEditFile: '' } }, methods: { diff --git a/src/views/workCenter/enterpriseStandardRevision/EnterpriseStandardRevisionFlow.vue b/src/views/workCenter/enterpriseStandardRevision/EnterpriseStandardRevisionFlow.vue index 4d331473..70cf1aac 100644 --- a/src/views/workCenter/enterpriseStandardRevision/EnterpriseStandardRevisionFlow.vue +++ b/src/views/workCenter/enterpriseStandardRevision/EnterpriseStandardRevisionFlow.vue @@ -370,7 +370,6 @@ export default { flowInitType: 'newProcess', // 流程发起类型,是自动发起(auto)的还是从新建流程发起的(newProcess) rejectBtnDisabled: false, // 驳回按钮是否置灰 agreeBtnDisabled: false, // 同意按钮是否置灰 - documentUrl: window._CONFIG.documentUrl, tempDraftId: '' // 临时草稿id,解决发起的时候点在线编辑会生成多条草稿的问题 } }, diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/CheckContentProcessModal.vue b/src/views/workCenter/enterpriseStandardRevision/modules/CheckContentProcessModal.vue index ff15145d..349c6914 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/CheckContentProcessModal.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/CheckContentProcessModal.vue @@ -81,8 +81,7 @@ export default { } }, index: undefined, // 编辑的表格的下标 - iframeSrc: '', // 左侧预览的路径 - documentUrl: window._CONFIG.documentUrl + iframeSrc: '' // 左侧预览的路径 } }, methods: { diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/CommentModal.vue b/src/views/workCenter/enterpriseStandardRevision/modules/CommentModal.vue index 2d27551f..dae9f59c 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/CommentModal.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/CommentModal.vue @@ -120,8 +120,7 @@ export default { }, index: undefined, // 编辑的表格的下标 iframeSrc: '', // 左侧预览的路径 - isAdd: false, // 是否是新增,新增才有提交并新增按钮 - documentUrl: window._CONFIG.documentUrl + isAdd: false // 是否是新增,新增才有提交并新增按钮 } }, methods: { diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/CommentObjectEnterBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/CommentObjectEnterBaseInfo.vue index 0843ccce..fca89e90 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/CommentObjectEnterBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/CommentObjectEnterBaseInfo.vue @@ -123,7 +123,6 @@ export default { } ], dataSource: [], - documentUrl: window._CONFIG.documentUrl, onEditFile: '' // 在线编辑的文件id } }, diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/StandardizationAuditBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/StandardizationAuditBaseInfo.vue index f2f42d3c..cbe2ec69 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/StandardizationAuditBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/StandardizationAuditBaseInfo.vue @@ -168,7 +168,6 @@ export default { } ] }, - documentUrl: window._CONFIG.documentUrl, onEditFile: '' // 在线编辑的文件id } },