小小儁爺
2024-09-09 19a02db65a717d22138a623a425040dfba292eb8
src/views/attendanceModule/attendanceRecord.vue
@@ -351,6 +351,10 @@
    }
  },
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
  },
  created() {
    this.getAttendanceRecordSearch()
  },
@@ -514,11 +518,12 @@
      const data = {
        wkshop_code: this.form.wkshop_code,
        creatusercode: this.form.creatusercode,
        status: 'Y',
        status: this.form.status,
        creatdate: tempDate
      }
      const res = await AttendanceRecordSave(data)
      if (res.code === '200') {
        await this.getAttendanceRecordSearch()
        return this.$message.success('考勤核算成功!')
      }
    },