Commit 2738c29b authored by 罗超's avatar 罗超

修改路径

parent 8f618f86
VUE_APP_API_URL = 'http://reborn.oytour.com/api/common/post' VUE_APP_API_URL = 'http://reborn.oytour.com/api/common/post'
VUE_APP_UPLOADURLAPI_URL = 'http://upload.oytour.com' VUE_APP_UPLOADURLAPI_URL = 'http://upload.oytour.com'
VUE_APP_SHARE_URL = 'http://ppt.oytour.com' VUE_APP_SHARE_URL = 'http://vitto.com'
\ No newline at end of file \ No newline at end of file
...@@ -209,7 +209,7 @@ const getDocumentData = async () => { ...@@ -209,7 +209,7 @@ const getDocumentData = async () => {
} }
const openFileDocument = (item:any) => { const openFileDocument = (item:any) => {
let param = query() let param = query()
const url = `${process.env.VUE_APP_SHARE_URL}/?uid=${param.uid}&sellId=${item.FileId}&ViewSlideshow=1` const url = `${location.origin}/?uid=${param.uid}&sellId=${item.FileId}&ViewSlideshow=1`
window.open(url); window.open(url);
} }
const exportDocument = (item:any) => { const exportDocument = (item:any) => {
......
...@@ -163,7 +163,7 @@ import CopyFile from "./CopyFile.vue"; ...@@ -163,7 +163,7 @@ import CopyFile from "./CopyFile.vue";
} }
}else { }else {
let param = query() let param = query()
const url = `${process.env.VUE_APP_SHARE_URL}/?uid=${param.uid}&sellId=${row.FileId}&LogId=${row.LogId}&ViewSlideshow=1` const url = `${location.origin}/?uid=${param.uid}&sellId=${row.FileId}&LogId=${row.LogId}&ViewSlideshow=1`
window.open(url); window.open(url);
} }
} }
......
...@@ -271,7 +271,7 @@ import CopyFile from "./CopyFile.vue"; ...@@ -271,7 +271,7 @@ import CopyFile from "./CopyFile.vue";
} }
const viewTemplate = (row:any) => { const viewTemplate = (row:any) => {
let param = query() let param = query()
const url = `${process.env.VUE_APP_SHARE_URL}/?uid=${param.uid}&sellId=${row.FileId}&ViewSlideshow=1` const url = `${location.origin}?uid=${param.uid}&sellId=${row.FileId}&ViewSlideshow=1`
window.open(url); window.open(url);
} }
const handleSelectionChange = (val: []) =>{ const handleSelectionChange = (val: []) =>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment