| | |
| | | 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="结束日期" |
| | |
| | | |
| | | } |
| | | }, |
| | | activated() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | this.getHeight() |
| | | }, |
| | | created() { |
| | | this.getAttendanceRecordSearch() |
| | | }, |
| | |
| | | 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('考勤核算成功!') |
| | | } |
| | | }, |