| | |
| | | mounted() { |
| | | this.active = this.$route.query.active |
| | | this.currentId = this.$route.query.currentId |
| | | this.getInfoRow(); |
| | | }, |
| | | activated() { |
| | | if (this.active==1) { |
| | | this.getInfoRow(); |
| | | } |
| | | this.active = this.$route.query.active |
| | | this.currentId = this.$route.query.currentId |
| | | this.getInfoRow(); |
| | | }, |
| | | methods: { |
| | | getInfoRow() { |
| | |
| | | this.currentId = this.$route.query.currentId |
| | | this.isReport = this.$route.query.isReport |
| | | this.customsInspection = this.$route.query.customsInspection |
| | | this.getInfo(); |
| | | }, |
| | | activated() { |
| | | if (this.active==1) { |
| | | this.getInfo(); |
| | | } |
| | | this.active = this.$route.query.active |
| | | this.orderType = this.$route.query.orderType |
| | | this.currentId = this.$route.query.currentId |
| | | this.isReport = this.$route.query.isReport |
| | | this.customsInspection = this.$route.query.customsInspection |
| | | this.getInfo(); |
| | | }, |
| | | getInfo() { |
| | | this.getUserNowList() // 获取当前用户信息 |
| | |
| | | this.outLoading = true |
| | | downAll({ ids: str }).then(res => { |
| | | this.outLoading = false |
| | | this.$download.saveAs(this.javaApi + res.message, row.fileName); |
| | | this.$download.zip(res.data, '报告.zip'); |
| | | }).catch(() => { |
| | | this.outLoading = false |
| | | }) |
| | | |
| | | }, |
| | | beforeUpload(file) { |
| | | const isZip = file.type === 'application/zip' || file.name.endsWith('.zip'); |