|
|
|
@ -627,10 +627,10 @@ export default { |
|
|
|
// 设置上传的请求头部 |
|
|
|
headers: {Authorization: "Bearer " + getToken()}, |
|
|
|
// 上传的地址 |
|
|
|
url: "http://localhost:10031/system/fileManage/uploadVideo", |
|
|
|
url2: "http://localhost:10031", |
|
|
|
url: "http://"+process.env.VUE_APP_IP+"/system/fileManage/uploadVideo", |
|
|
|
url2: "http://"+process.env.VUE_APP_IP, |
|
|
|
}, |
|
|
|
uploadImgUrl: "http://localhost:10031/common/upload1", |
|
|
|
uploadImgUrl: "http://"+process.env.VUE_APP_IP+"/common/upload1", |
|
|
|
// uploadImgUrl:"http://127.0.0.1:10031/common/upload1", |
|
|
|
|
|
|
|
form: {}, |
|
|
|
@ -667,7 +667,7 @@ export default { |
|
|
|
isUploading: false, |
|
|
|
updateSupport: 0, |
|
|
|
headers: {Authorization: "Bearer " + getToken()}, |
|
|
|
url: "http://localhost:10031/system/fileManage/addFile" |
|
|
|
url: "http://"+process.env.VUE_APP_IP+"/system/fileManage/addFile" |
|
|
|
// url: "http://127.0.0.1:10031/system/fileManage/addFile" |
|
|
|
}, |
|
|
|
upload1: { |
|
|
|
@ -678,7 +678,7 @@ export default { |
|
|
|
isUploading: false, |
|
|
|
updateSupport: 0, |
|
|
|
headers: {Authorization: "Bearer " + getToken()}, |
|
|
|
url: "http://localhost:10031/system/fileManage/insertRelationByFile" |
|
|
|
url: "http://"+process.env.VUE_APP_IP+"/system/fileManage/insertRelationByFile" |
|
|
|
// url: "http://127.0.0.1:10031/system/fileManage/addFile" |
|
|
|
}, |
|
|
|
fileDocxList: [], |
|
|
|
@ -689,7 +689,7 @@ export default { |
|
|
|
isUploading: false, |
|
|
|
updateSupport: 0, |
|
|
|
headers: {Authorization: "Bearer " + getToken()}, |
|
|
|
url: "http://localhost:10031/system/fileManage/addFileNew" |
|
|
|
url: "http://"+process.env.VUE_APP_IP+"/system/fileManage/addFileNew" |
|
|
|
}, |
|
|
|
relationName: "", |
|
|
|
defaultProps: { |
|
|
|
@ -938,7 +938,7 @@ export default { |
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
// 发送请求到后端 |
|
|
|
this.$axios.post('http://localhost:10031/system/fileManage/exportAll', ff[n], { |
|
|
|
this.$axios.post('http://'+process.env.VUE_APP_IP+'/system/fileManage/exportAll', ff[n], { |
|
|
|
headers: {Authorization: "Bearer " + getToken()}, |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
@ -1393,7 +1393,7 @@ export default { |
|
|
|
imgArr.forEach(item => { |
|
|
|
var obj = {}; |
|
|
|
// /dev-api/profile/upload/2024/08/29/0锋面气旋_20240829153841A018.mp4 |
|
|
|
obj.url = "http://localhost:10031"+item; |
|
|
|
obj.url = "http://"+process.env.VUE_APP_IP+item; |
|
|
|
this.fileListImgs.push(obj); |
|
|
|
this.fileListImgs1.push(item); |
|
|
|
}) |
|
|
|
@ -1548,7 +1548,7 @@ export default { |
|
|
|
this.getFileListInfo() |
|
|
|
this.loadTemplatesFromStorage(); |
|
|
|
|
|
|
|
var socket = new WebSocket('ws://localhost:10031/system/websocket/1'); |
|
|
|
var socket = new WebSocket('ws://'+process.env.VUE_APP_IP+'/system/websocket/1'); |
|
|
|
let that = this |
|
|
|
socket.onmessage = function (event) { |
|
|
|
that.upload.tip = event.data |
|
|
|
|