| | |
| | | </el-col> |
| | | </el-row> |
| | | <h4 style="margin-bottom: 10px;margin-top: 10px;"><span class="line"></span><span>附件和相关文档</span></h4> |
| | | <el-table height="200px" :data="tableDataA"> |
| | | <el-table height="200px" :data="tableDataA" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> |
| | | <el-table-column header-align="center" align="center" prop="prop" label="序号" type="index" width="60" /> |
| | | <el-table-column prop="documentType" label="类型" min-width="100"> |
| | | <template v-slot="scope"> |
| | |
| | | |
| | | <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) |
| | |
| | | |
| | | <style scoped> |
| | | .main_div { |
| | | height: calc(100vh - 15em); |
| | | height: calc(100vh - 19em); |
| | | overflow-y: auto; |
| | | overflow-x: hidden; |
| | | } |