曹睿
2025-04-21 1e5646aadae902d9f9043cc0d79395bf6b06a38c
src/pages/production/twist/report/index.vue
@@ -1,7 +1,9 @@
<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">
@@ -14,9 +16,12 @@
          </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">
@@ -97,6 +102,12 @@
  toast.show("取消");
  dialog.visible = false;
};
const toCheck = () => {
  uni.navigateTo({
    url: "/pages/production/twist/selfInspect/index",
  });
};
</script>
<style lang="scss" scoped>
@@ -104,9 +115,7 @@
  background: #f3f9f8;
  .list {
    height: calc(100vh - 120px);
    margin: 12px;
    overflow: scroll;
    :deep() {
      .round {