| | |
| | | " |
| | | >样品切换</el-button |
| | | > |
| | | <!-- <el-button v-if="state == 1" size="small" type="primary" @click="taskVisible = true">任务切换</el-button>--> |
| | | <el-button |
| | | v-if="state == 1" |
| | | size="small" |
| | |
| | | :column="column" |
| | | :page="page" |
| | | :tableLoading="tableLoading" |
| | | :height="'calc(100vh - 290px)'" |
| | | :height="700" |
| | | @pagination="pagination" |
| | | style="height: 100%; margin-top: 16px" |
| | | ></lims-table> |
| | |
| | | show-overflow-tooltip |
| | | ></el-table-column> |
| | | </el-table> |
| | | </el-drawer> |
| | | <el-drawer :size="500" :visible.sync="taskVisible" title="任务切换"> |
| | | <lims-table |
| | | :tableData="tableData0" |
| | | :column="column0" |
| | | :page="page0" |
| | | :tableLoading="tableLoading0" |
| | | :height="'calc(100vh - 90px)'" |
| | | :currentChange="handleChangeTask" |
| | | ></lims-table> |
| | | </el-drawer> |
| | | <el-dialog |
| | | title="哑铃片设备试样类型" |
| | |
| | | :purchaseDialog="purchaseDialog" |
| | | @resetPurchaseDialog="resetPurchaseDialog" |
| | | ></purchase-verification> |
| | | <!--查看工时弹框--> |
| | | <viewManHourDia |
| | | ref="viewManHourDia" |
| | | @submit="openAddVerifyDia" |
| | | ></viewManHourDia> |
| | | <!-- IFS物料属性编辑弹框--> |
| | | <el-dialog |
| | | title="更新IFS库存物料批次属性" |
| | |
| | | import DataWorker from "@/workers/DataWorker.worker.js"; |
| | | import html2canvas from "html2canvas"; |
| | | import { mapGetters } from "vuex"; |
| | | import viewManHourDia from "@/views/business/inspectionTask/components/viewManHourDia.vue"; |
| | | import { |
| | | getOneByIfsId, |
| | | saveOrUpdateProps, |
| | |
| | | export default { |
| | | name: "Inspection", |
| | | components: { |
| | | viewManHourDia, |
| | | PurchaseVerification, |
| | | AddUnPass, |
| | | limsTable, |
| | |
| | | dataGetDia: false, |
| | | fileAdd: false, |
| | | sampleVisible: false, |
| | | taskVisible: false, |
| | | submitLoading: false, |
| | | searchForm: { |
| | | sampleName: null, |
| | |
| | | } |
| | | } |
| | | }, |
| | | // 改变任务 |
| | | handleChangeTask(row) { |
| | | if (row) this.id = row.id; |
| | | this.taskVisible = false; |
| | | }, |
| | | // 字典获取信息 |
| | | getTypeDicts() { |
| | | this.getDicts("urgency_level").then((response) => { |
| | |
| | | } else { |
| | | this.$message.error("未输入不通过原因"); |
| | | } |
| | | }, |
| | | // 查看工时 |
| | | viewManHour() { |
| | | this.$refs.viewManHourDia.showDialog(this.id, 99); |
| | | }, |
| | | openAddVerifyDia() { |
| | | this.addVerifyDia = true; |