ll
liukangdong
2025-01-24 52c15f14c6a71dda31780ad92e6cbe881a6a635a
h5/pages/applicationRecord/applicationRecord.vue
@@ -36,8 +36,8 @@
        :key="index"
      >
        <view class="box_list_item_head">
          <text>{{ item.name }}的劳务入园申请</text>
          <text class="loading">{{ statusMap[item.status] }}</text>
          <text>{{ item.name }}提交的访客申请</text>
          <text class="loading" :class="{error: item.status == 3}">{{ statusMap[item.status] }}</text>
        </view>
        <view class="box_list_item_nr">
          <view class="box_list_item_nr_item">
@@ -90,28 +90,39 @@
      status: '',
      statusMap: {
        0: '待审核',
        1: '已提交',
        0: '待审批',
        1: '审批中',
        2: '审核通过',
        3: '审核不通过',
        3: '审核驳回',
        4: '取消',
        5: '下发成功',
        6: '下发失败',
        7: '拜访中',
        8: '已签离',
        9: '已失效',
      }
    }
  },
  onLoad() {
    this.getList()
  onShow() {
     this.pagination.page = 0
     this.list = []
     this.getList()
  },
  onReachBottom() {
    if (this.total > 10) {
      this.getList()
    }
      const {
         total,
         list
      } = this
      if (list.length < total) {
         this.getList()
      } else {
         this.showToast('暂无更多数据')
      }
  },
  methods: {
    handleDetail(id) {
      uni.navigateTo({
        url: "/pages/appointmentDetails/appointmentDetails?id=" + id
        url: "/pages/appointmentDetails/appointmentDetails?detail=1&id=" + id
      })
    },
    tabsClick(val) {