| | |
| | | method: 'get', |
| | | params: params |
| | | }) |
| | | } |
| | | |
| | | |
| | | export function getURL(params) { |
| | | return resquest({ |
| | | url: '/file/attachmentType/getURL', |
| | | method: 'get', |
| | | params: params |
| | | }) |
| | | } |
| | |
| | | examineReport, |
| | | downLoad, |
| | | getReportInfo, |
| | | getURL |
| | | } from "../../../api/business/reportPreparation"; |
| | | |
| | | export default { |
| | |
| | | }, |
| | | handleApprove(row) { |
| | | this.currentInfo = row; |
| | | getURL().then(res => { |
| | | |
| | | }) |
| | | |
| | | |
| | | |
| | | let fileName = row.urlS === null || row.urlS === "" ? row.url : row.urlS; |
| | | fileName = fileName.replace("/word/", ""); |
| | | const userName = JSON.parse(localStorage.getItem("user")).name; |
| | | const userName = this.$store.state.user.name; |
| | | this.option = { |
| | | url: this.javaApi + "/word/" + fileName, |
| | | url: javaApi + "/word/" + fileName, |
| | | isEdit: false, |
| | | fileType: "docx", |
| | | title: fileName, |