| | |
| | | :show-selection="true" |
| | | :border="true" |
| | | :maxHeight="480" |
| | | @edit="handleAdd"></ETable> |
| | | operationsWidth="130" |
| | | :operations="['edit', 'viewFile']" |
| | | @edit="handleAdd" |
| | | @viewFile="viewFile" |
| | | ></ETable> |
| | | </div> |
| | | <pagination |
| | | v-if="total>0" |
| | |
| | | </el-card> |
| | | <form-dia ref="formDia" @closeDia="handleQuery"></form-dia> |
| | | <qr-code-dia ref="qrCodeDia" @closeDia="handleQuery"></qr-code-dia> |
| | | <view-files ref="viewFiles"></view-files> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import FormDia from "@/views/inspectionManagement/components/formDia.vue"; |
| | | import QrCodeDia from "@/views/inspectionManagement/components/qrCodeDia.vue"; |
| | | import {delInspectionTask, inspectionTaskList} from "@/api/inspectionManagement/index.js"; |
| | | import ViewFiles from "@/views/inspectionManagement/components/viewFiles.vue"; |
| | | |
| | | const formDia = ref() |
| | | const qrCodeDia = ref() |
| | | const viewFiles = ref() |
| | | // 查询参数 |
| | | const queryParams = reactive({ |
| | | supplierName: "", |
| | |
| | | } |
| | | }) |
| | | }; |
| | | // 查看附件 |
| | | const viewFile = (row) => { |
| | | nextTick(() => { |
| | | viewFiles.value?.openDialog(row) |
| | | }) |
| | | } |
| | | // 删除任务 |
| | | const handleDelete = () => { |
| | | if (selectedRows.value.length === 0) { |