| | |
| | | <template> |
| | | <div class="JobRelatedEvents"> |
| | | <div class="machineTableDetailsTitle"> |
| | | <img src="/src/assets/images/task/sign.svg" alt=""> |
| | | <p> |
| | | 关联事件 |
| | | <span>{{ total }}</span> |
| | |
| | | const loading = ref(false) |
| | | const list = ref() |
| | | const params = ref({ |
| | | way_line_jod_info_id: null, |
| | | way_line_job_info_id: null, |
| | | event_name: '', |
| | | ai_types: [], // 算法类型 |
| | | start_date: null, |
| | |
| | | }, |
| | | }); |
| | | } |
| | | const wayLineJodInfoId = inject('wayLineJodInfoId') |
| | | const wayLineJobInfoId = inject('wayLineJobInfoId') |
| | | |
| | | const getList = () => { |
| | | if (!wayLineJodInfoId.value) return |
| | | params.value.way_line_jod_info_id = wayLineJodInfoId.value |
| | | if (!wayLineJobInfoId.value) return |
| | | params.value.way_line_job_info_id = wayLineJobInfoId.value |
| | | params.value.batchNo = props.batchNo |
| | | loading.value = true |
| | | getDeviceEventList(params.value, sizeParams.value).then(res => { |
| | |
| | | .JobRelatedEvents { |
| | | .machineTableDetailsTitle { |
| | | margin-bottom: 16px; |
| | | background: url('/src/assets/images/task/detailtitle.png') no-repeat center; |
| | | // background: url('/src/assets/images/task/detailtitle.png') no-repeat center; |
| | | border-bottom: 2px solid #e4e7ed; |
| | | background-size: 100% 100%; |
| | | img{ |
| | | width: 15px; |
| | | height: 15px;} |
| | | p { |
| | | display: inline-block; |
| | | margin-left: 30px; |
| | | margin-left: 10px; |
| | | font-size: 16px; |
| | | color: #363636; |
| | | line-height: 20px; |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | font-size: 14px; |
| | | |
| | | |
| | | .btn { |
| | | width: 80px; |
| | | height: 32px; |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | |
| | | |
| | | img { |
| | | width: 14px; |
| | | height: 14px; |