|
@@ -694,7 +694,7 @@ export default {
|
|
|
console.log('点击了导出模板')
|
|
|
console.log('点击了导出模板')
|
|
|
const requestParam = this.requestParam
|
|
|
- const url = process.env.VUE_APP_BASE_API + 'authdata/barfeedremain/excel' // 请求下载文件的地址
|
|
|
+ const url = Cookies.get('url') + 'authdata/barfeedremain/excel' // 请求下载文件的地址
|
|
|
console.log(url)
|
|
|
axios({
|
|
|
method: 'POST',
|
|
@@ -806,7 +806,7 @@ export default {
|
|
|
)
|
|
|
},
|
|
|
handleDataUpload(){
|
|
|
- let a = process.env.VUE_APP_BASE_API
|
|
|
+ let a = Cookies.get('url')
|
|
|
let b = a.search(8081)
|
|
|
let c = a.substring(0,a.search(8081)) + '8082'
|
|
|
let d = a.substring(0,a.lastIndexOf('/'))
|