liukangdong
2025-03-12 908ce43ff21c2068ef5148b0a417423c8ed9eae5
admin/src/views/platform/components/PlatformSign.vue
@@ -96,21 +96,23 @@
    handleCall(item) {
      // const activePlatform = this.activePlat
      platformJobSign({ jobId: item.id, signType: '2' }).then(res => {
        Message.success('签到成功')
        this.$emit('success')
        this.getList()
        if (res.code == 200) {
          Message.success('签到成功')
          this.$emit('success')
          this.getList()
        }
      })
    },
    getList(page) {
      const { activePlat, pagination, carCodeFront } = this
      if(page){
      if (page) {
        pagination.page = page
      }
      }
      platformJobPage({
        model: { platformGroupId: activePlat.id, queryStatus: '0,1', carCodeFront },
        page: pagination.page,
        capacity: pagination.pageSize
      }).then(res => {
      }).then(res => {
        this.dataList = res.records
        this.pagination.total = res.total
      })
@@ -140,7 +142,7 @@
    },
    handleSizeChange(e) {
      this.pagination.pageSize = e
      this.getList()
      this.getList(1)
    },
    handlePageChange(e) {
      this.pagination.page = e