| | |
| | | |
| | | <script> |
| | | import { MessageBox } from 'element-ui' |
| | | import ValueTable from "@/components/Table/value-table.vue"; |
| | | import fileDownload from '@/utils/file' |
| | | import vueQr from 'vue-qr' |
| | | import PrintJS from 'print-js' |
| | |
| | | } |
| | | }, |
| | | components: { |
| | | ValueTable, |
| | | vueQr |
| | | }, |
| | | data() { |
| | |
| | | handleAttachmentClick(row) { |
| | | console.log(row) |
| | | if (row.fileName) { |
| | | this.$download.downloadFileFromUrl(row.fileName) |
| | | this.$download.saveAs(row.fileName) |
| | | } else { |
| | | this.$message.warning('未上传文件!') |
| | | } |
| | |
| | | } |
| | | this.upLoad = true; |
| | | upDeviceParameter(formData).then(res => { |
| | | if (res.code === 201) { |
| | | this.upLoad = false |
| | | return |
| | | } |
| | | this.$message.success('修改成功') |
| | | this.upLoad = false |
| | | this.getList(this.clickNodeVal.value) |