| | |
| | | </el-row> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="dataDialogVisible" title="数据查看" width="80%"> |
| | | <el-dialog :visible.sync="dataDialogVisible" title="数据查看" width="80%" @close="closeDia"> |
| | | <div v-if="dataDialogVisible"> |
| | | <lims-table :tableData="tableDataLook" :column="tableDataLookColumn" @pagination="tableDataLookPagination" |
| | | height="500px" key="tableDataLook" :page="tableDataLookPage" |
| | |
| | | quashDialogVisible: false, |
| | | issuedDialogVisible: false, |
| | | dataDialogVisible: false, // 数据查看弹框 |
| | | currentRow: {}, // 数据查看弹框 |
| | | tableDataLookTableLoading: false, // 数据查看弹框 |
| | | tableDataLook: [], |
| | | tableDataLookPage: { |
| | |
| | | // 数据查看 |
| | | handleDataLook(row) { |
| | | this.dataDialogVisible = true; |
| | | this.getDataTableList(row) |
| | | this.currentRow = row; |
| | | this.getDataTableList(this.currentRow) |
| | | }, |
| | | // 查询数据查看列表数据 |
| | | getDataTableList(row) { |
| | | this.tableDataLookTableLoading = true |
| | | selectSampleAndProductByOrderId({ id: row.id }).then(res => { |
| | | selectSampleAndProductByOrderId({ id: row.id, ...this.tableDataLookPage }).then(res => { |
| | | this.tableDataLookTableLoading = false |
| | | if (res.code === 200) { |
| | | this.tableDataLook = res.data.records |
| | |
| | | }, |
| | | tableDataLookPagination(page) { |
| | | this.tableDataLookPage.size = page.limit |
| | | this.getDataTableList() |
| | | this.getDataTableList(this.currentRow) |
| | | }, |
| | | closeDia () { |
| | | this.tableDataLookPage = { |
| | | total: 0, |
| | | size: 10, |
| | | current: 1 |
| | | } |
| | | this.dataDialogVisible = false |
| | | }, |
| | | // 附件查看 |
| | | handleFileLook(row) { |