| | |
| | | <template #top> |
| | | <CardTitle title="报工信息" :hideAction="true" :full="false" @action="addReport" /> |
| | | </template> |
| | | <wd-card v-for="(item, index) in twistReportList" type="rectangle" custom-class="round"> |
| | | <wd-card v-for="item in twistReportList" :key="item.id" type="rectangle" custom-class="round"> |
| | | <template #title> |
| | | <view class="flex justify-between"> |
| | | <view> |
| | |
| | | </template> |
| | | <ProductionCard :data="cardAttr" :value="item" /> |
| | | <template #footer> |
| | | <wd-button size="small" plain @click="toAttachment(item.id)" 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 = (id: number) => { |
| | | uni.navigateTo({ |
| | | url: `/pages/production/twist/attachment/index?reportId=${id}`, |
| | | }); |
| | | }; |
| | | |
| | | const toCheck = (id: number) => { |
| | | uni.navigateTo({ |
| | | url: `/pages/production/twist/selfInspect/index?id=${id}`, |