小小儁爺
2024-09-11 b5a291291c5813605ed3f66aee82c4bce4aaf7b6
src/views/attendanceModule/attendanceRecord.vue
@@ -57,7 +57,7 @@
                range-separator="~"
                class="timeMini"
                size="mini"
                style="width: 200px;display: flex;line-height: 34px;height: 34px;"
                style="width: 240px;display: flex;line-height: 34px;height: 34px;"
                :clearable="false"
                start-placeholder="开始日期"
                end-placeholder="结束日期"
@@ -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('考勤核算成功!')
      }
    },