| | |
| | | |
| | | <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('未上传文件!') |
| | | } |
| | |
| | | .device-main { |
| | | width: 90%; |
| | | margin: 0px 5%; |
| | | height: 460px; |
| | | height: 500px; |
| | | padding: 25px 0px; |
| | | background-color: #fff; |
| | | } |
| | | |
| | | .device-center { |
| | | width: 90%; |
| | | height: 460px; |
| | | height: 490px; |
| | | margin: 0px 5%; |
| | | border-radius: 15px; |
| | | background-color: #fff; |