diff --git a/public/dev_api_config.js b/public/dev_api_config.js index c2b44a3..ecc7d99 100644 --- a/public/dev_api_config.js +++ b/public/dev_api_config.js @@ -1,5 +1,5 @@ window._CONFIG = {} // 后端地址 -window._CONFIG.interfaceUrl = 'http://10.0.10.87:8184' +window._CONFIG.interfaceUrl = 'http://10.0.10.87:8188' // 后端地址 -window._CONFIG.downloadUrl = 'http://10.0.10.87:8184' +window._CONFIG.downloadUrl = 'http://10.0.10.87:8188' diff --git a/src/config/index.js b/src/config/index.js index 90a57da..6f634b5 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -3,13 +3,13 @@ * @author: chenxiaoxi * @date: 2021-08-18 17:47:46 */ -const interfaceUrl = window._CONFIG.interfaceUrl + '/laws-sinotruk/' //本地 +const interfaceUrl = window._CONFIG.interfaceUrl + '/laws-chery/' //本地 // const interfaceUrl = 'https://srms.foton.com.cn/api/' //线上 -const uploadFilePath = '/laws-sinotruk/onlyOffice/upload' // 上传文件地址 -const downloadFilePath = window._CONFIG.downloadUrl + '/laws-sinotruk/onlyOffice/downLoadFile' // 下载文件地址 +const uploadFilePath = '/laws-chery/onlyOffice/upload' // 上传文件地址 +const downloadFilePath = window._CONFIG.downloadUrl + '/laws-chery/onlyOffice/downLoadFile' // 下载文件地址 -const staticFilePath = window._CONFIG.interfaceUrl + '/laws-sinotruk/onlyOffice/downLoadFile' //本地 +const staticFilePath = window._CONFIG.interfaceUrl + '/laws-chery/onlyOffice/downLoadFile' //本地 // const staticFilePath = 'https://srms.foton.com.cn/api/att/attFile/downloadFile' //线上 module.exports = { interfaceUrl, diff --git a/src/pages/page1/components/InsertImage.vue b/src/pages/page1/components/InsertImage.vue index edfcbab..93fd9c2 100644 --- a/src/pages/page1/components/InsertImage.vue +++ b/src/pages/page1/components/InsertImage.vue @@ -31,7 +31,7 @@ list-type="picture-card" class="avatar-uploader" :show-upload-list="false" - action="/laws-sinotruk/onlyoffice/upload" + action="/laws-chery/onlyoffice/upload" :before-upload="beforeUpload" :customRequest="uploadFile" @change="handleChange" diff --git a/src/pages/page1/saicComponents/Init.vue b/src/pages/page1/saicComponents/Init.vue index 7b4a3c7..ee82115 100644 --- a/src/pages/page1/saicComponents/Init.vue +++ b/src/pages/page1/saicComponents/Init.vue @@ -2384,7 +2384,7 @@ export default { // 手写章图片 const oRunImage = Api.CreateRun() if (user.avatarFileId) { - const url = `${Asc.scope.downloadUrl}/laws-sinotruk/sys/common/downloadWithoutToken/${user.avatarFileId}` + const url = `${Asc.scope.downloadUrl}/laws-chery/sys/common/downloadWithoutToken/${user.avatarFileId}` // const oDrawingImg = Api.CreateImage(url, 34 * 36000, 18 * 36000) const oDrawingImg = Api.CreateImage(url, 28 * 36000, 8 * 36000) oRunImage.AddDrawing(oDrawingImg) @@ -2440,7 +2440,7 @@ export default { processInstanceId: this.form.processId } _axios({ - url: '/laws-sinotruk/process/es/revision/getSignInfo', + url: '/laws-chery/process/es/revision/getSignInfo', method: 'get', params: params }).then(res => {