|
@ -89,14 +89,14 @@ |
|
|
watch: {}, |
|
|
watch: {}, |
|
|
async mounted() { |
|
|
async mounted() { |
|
|
console.log(this.infoObj,"sdljkdsfj"); |
|
|
console.log(this.infoObj,"sdljkdsfj"); |
|
|
const newUrl = this.infoObj.url.replace( |
|
|
// const newUrl = this.infoObj.url.replace( |
|
|
/^https:\/\/elink-esua-epdc\.oss-cn-qingdao\.aliyuncs\.com/, |
|
|
// /^https:\/\/elink-esua-epdc\.oss-cn-qingdao\.aliyuncs\.com/, |
|
|
`${location.origin}` |
|
|
// `${location.origin}` |
|
|
); |
|
|
// ); |
|
|
console.log(newUrl); |
|
|
// console.log(newUrl); |
|
|
// this.urlToFile('http://localhost:9001/epmet-work-pc/test1.xlsx',this.infoObj.name) |
|
|
this.urlToFile('http://localhost:9001/epmet-work-pc/test1.xlsx',this.infoObj.name) |
|
|
|
|
|
|
|
|
this.urlToFile(newUrl, this.fileName) |
|
|
// this.urlToFile(newUrl, this.fileName) |
|
|
// console.log(this.workbookId, "dskjlfsdklf"); |
|
|
// console.log(this.workbookId, "dskjlfsdklf"); |
|
|
// this.currentId = this.workbookId; |
|
|
// this.currentId = this.workbookId; |
|
|
// this.loadWorkBook() |
|
|
// this.loadWorkBook() |
|
@ -145,10 +145,9 @@ |
|
|
handleClickCurrencyEvent(){ |
|
|
handleClickCurrencyEvent(){ |
|
|
console.log(this.infoObj,"this.infoObj.taskTitle"); |
|
|
console.log(this.infoObj,"this.infoObj.taskTitle"); |
|
|
let parms={ |
|
|
let parms={ |
|
|
workbookId:this.workbookId, |
|
|
sdId:this.infoObj.id |
|
|
taskId:this.infoObj.id |
|
|
|
|
|
} |
|
|
} |
|
|
let { code, msg } = requestPost('/actual/base/communityOneTableDownloadRecord/save', parms); |
|
|
let { code, msg } = requestPost('/actual/base/sharedDataHistory/save', parms); |
|
|
console.log(code,"dsfkjkldsf"); |
|
|
console.log(code,"dsfkjkldsf"); |
|
|
|
|
|
|
|
|
exportSheetExcel(luckysheet.getAllSheets(),this.infoObj.taskTitle) |
|
|
exportSheetExcel(luckysheet.getAllSheets(),this.infoObj.taskTitle) |
|
|