| | |
| | | </template> |
| | | <ProductionCard :data="cardAttr" :value="item" /> |
| | | <template #footer> |
| | | <wd-button size="small" plain @click="toAttachment(item)" style="margin-right: 10px"> |
| | | 附件 |
| | | </wd-button> |
| | | <wd-button size="small" plain @click="toCheck(item.id)">自检</wd-button> |
| | | </template> |
| | | </wd-card> |
| | |
| | | dialog.visible = false; |
| | | }; |
| | | |
| | | const toAttachment = (item: any) => { |
| | | uni.navigateTo({ |
| | | url: "/pages/production/wire/attachment/index", |
| | | success: () => { |
| | | // 页面跳转成功后发送事件传递数据 |
| | | uni.$emit("detailData", item); |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | | const toCheck = (id: number) => { |
| | | uni.navigateTo({ |
| | | url: `/pages/production/wire/selfInspect/index?id=${id}`, |