[update] 修改接口路径

This commit is contained in:
lideqin
2024-10-09 17:09:26 +08:00
parent 67c0b01552
commit 149e0f2046
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -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'
+4 -4
View File
@@ -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,
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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 => {