| | |
| | | <template> |
| | | <view class="page pt-2"> |
| | | <CardTitle title="报工信息" :hideAction="true" @action="addReport" /> |
| | | <view class="list"> |
| | | <z-paging ref="paging" refresher-only class="list"> |
| | | <template #top> |
| | | <CardTitle title="报工信息" :hideAction="true" :full="false" @action="addReport" /> |
| | | </template> |
| | | <wd-card v-for="(item, index) in 6" type="rectangle" custom-class="round"> |
| | | <template #title> |
| | | <view class="flex justify-between"> |
| | |
| | | </view> |
| | | </template> |
| | | <ProductionCard :data="cardAttr" /> |
| | | <template #footer> |
| | | <wd-button size="small" plain @click="toCheck">自检</wd-button> |
| | | </template> |
| | | </wd-card> |
| | | <wd-loadmore custom-class="loadmore" state="loading" /> |
| | | </view> |
| | | </z-paging> |
| | | |
| | | <wd-popup v-model="dialog.visible" position="bottom" custom-class="yl-popup"> |
| | | <view class="action px-3"> |
| | |
| | | toast.show("取消"); |
| | | dialog.visible = false; |
| | | }; |
| | | |
| | | const toCheck = () => { |
| | | uni.navigateTo({ |
| | | url: "/pages/production/twist/selfInspect/index", |
| | | }); |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | |
| | | background: #f3f9f8; |
| | | |
| | | .list { |
| | | height: calc(100vh - 120px); |
| | | margin: 12px; |
| | | overflow: scroll; |
| | | |
| | | :deep() { |
| | | .round { |