| | |
| | | ref="showInfoDialog" |
| | | :showInfoDialog="showInfoDialog" |
| | | ></ShowInfo> --> |
| | | <!--修改检验值弹框--> |
| | | <edit-inspection-item ref="editInspectionItem"></edit-inspection-item> |
| | | <!--查看工时弹框--> |
| | | <viewManHourDia ref="viewManHourDia"></viewManHourDia> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import { getYearAndMonthAndDays } from "@/utils/date"; |
| | | import EditInspectionItem from "./components/EditInspectionItem.vue"; |
| | | import limsTable from "@/components/Table/lims-table.vue"; |
| | | import viewManHourDia from "./components/viewManHourDia.vue" |
| | | import { |
| | | claimInsOrderPlan, |
| | | upPlanUser2, |
| | |
| | | components: { |
| | | EditInspectionItem, |
| | | limsTable, |
| | | viewManHourDia |
| | | }, |
| | | dicts: ["urgency_level", "inspection_task_state"], |
| | | computed: { |
| | |
| | | }, |
| | | disabled: (row) => { |
| | | return (row.userName == null || row.insState == 3 || row.insState == 5) && this.checkPermi(['update:product:onPlan']) |
| | | }, |
| | | }, |
| | | { |
| | | name: "查看工时", |
| | | type: "text", |
| | | clickFun: (row) => { |
| | | this.viewManHour(row); |
| | | }, |
| | | showHide: (row) => { |
| | | return this.checkPermi(['get:working:hours:byOrder']) |
| | | }, |
| | | }, |
| | | { |
| | |
| | | editInspection(row) { |
| | | this.$refs.editInspectionItem.showDialog(row.id); |
| | | }, |
| | | // 刷新页面 |
| | | refreshView() { |
| | | this.getList(); |
| | | // 查看工时 |
| | | viewManHour(row) { |
| | | this.$refs.viewManHourDia.showDialog(row.id, row.insState); |
| | | }, |
| | | // 数据查看 |
| | | handleDataLook(row) { |